﻿#login-form {
    position: relative;
    width: 390px;
    height: auto;
    margin: 70px auto 0 auto;
    background-color: white;
    opacity: 0.95;
    padding-bottom: 28px;
}

#login-form #company-logo {
    background-image: url('images/MCLLogo.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100px;
}

#login-ctrl {
    width: 300px;
    margin: 0 auto;
}

.input-container {
    position: relative;
    margin-top: 20px;
}

.input-container label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 18px;
    font-weight: 300;
    line-height: 40px;
    color: #757575;
    -webkit-transition: 0.2s ease;
    transition: 0.2s ease;
}

.input-container input, .input-container select {
    position: relative;
    width: 100%;
    height: 40px;
    z-index: 1;
    font-size: 18px;
    font-weight: 400;
    outline: none;
    border: 0;
    background: none;
    color: #212121;
    margin-top: 5px;
}

.input-container .bar {
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    background: #757575;
}

.input-container select ~ label, .input-container input:focus ~ label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -55%) scale(0.75);
            transform: translate(-12%, -55%) scale(0.75);
}

.input-container input:valid ~ label {
    color: #9d9d9d;
    -webkit-transform: translate(-12%, -55%) scale(0.75);
            transform: translate(-12%, -55%) scale(0.75);
}

.input-container .bar:before, .input-container .bar:after {
    content: '';
    position: absolute;
    background: #ed2553;
    width: 0;
    height: 2px;
    -webkit-transition: .2s ease;
    transition: .2s ease;
}

.input-container input:focus ~ .bar:before, .input-container select:focus ~ .bar:before, .input-container input:focus ~ .bar:after, .input-container select:focus ~ .bar:after {
    width: 50%;
}

.input-container .bar:before {
    left: 50%;
}

.input-container .bar:after {
    right: 50%;
}

#login-submit {
    display: block;
    width: 300px;
    height: 50px;
    margin: 25px auto 0 auto;
    font-size: 20px;
    line-height: 50px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
    color: white;
    background-color: #E30707;
    outline: none;
    border: 0;
}

#confirm-otp {
    position: relative;
    margin: -545px auto auto auto; 
    opacity: 1;  
}

@media screen and (max-width: 420px) {
    #login-form {
        width: 95%;
    }
    #confirm-otp {
        width: 250px;
    }
    #login-ctrl {
        width: 250px;
    }
    #login-submit {
        width: 250px;
    }
} 

img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 100%;
	
  /* Set up proportionate scaling */
  width: 100%;
  height: 100%;
	
  /* Set up positioning */
  position: fixed;
  top: 0;
  left: 0;
}

@media screen and (max-width: 1024px) { /* Specific to this particular image */
    img.bg {
        left: 50%;
        margin-left: -512px;   /* 50% */
    }
}