.b-login-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bg-login.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 767px) {
    .b-login-container {
        padding: 30px;
    }
}

span.field-validation-error {
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 1;
    color: red;
}

.b-login-input {
    position: relative;
    margin-bottom: 35px;
}

.b-login-container section {
    display: block;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,.4);
    animation: .6s ease-out slideBottonIn;
}

@keyframes slideBottonIn {
    0% {
        transform: translate(0,100px) rotateX(-20deg);
        opacity: 0;
    }

    100% {
        transform: translate(0,0) rotateX(0);
        opacity: 1;
    }
}

.b-login-inner {
    width: 320px;
}

@media (max-width: 767px) {
    .b-login-inner {
        width: auto;
    }
}

.b-login {
    padding: 25px 40px;
}

.b-login-image {
    margin: 0 auto 15px;
    width:100%;
    max-width: 240px;
}

@media (max-width: 767px) {
    .b-login-image {
        margin: 0;
        width: 100%;
        margin-bottom: 30px;
    }
}

.b-login-input input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #BBB;
    padding: 1em 0 0.1em 0;
    outline: none;
    font-size: 16px;
    height: 40px;
    background: transparent;
    z-index: 2;
    position: relative;
}

.b-login-input .input-validation-error {
    border-bottom: 1px solid red;
}

.label-validation {
    color: red;
}

.b-login-input .placeholder {
    position: absolute;
    top: 12px;
    left: 0;
    margin: 0;
    font-size: 16px;
    font-weight:normal;
}

.b-login-input input:focus ~ .placeholder, .b-login-input .placeholder.active {
    transform: scale(.6);
    transform-origin: top left;
    top: 0;
}

.b-login-button {
    text-align: center;
}

.b-login-button button {
    background-color: #007e82;
    border: none;
    font-size: 16px;
    width: 100%;
    padding: 8px 0;
    transition: background-color .2s ease-in-out;
    outline: none;
    border-radius: 50px;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.b-login-button button:hover {
    background: #2bb8bc;
}

.b-login-button button:active:focus, .b-login-button button:active:hover, .b-login-button button:active, .b-login-button button:focus {
    background: #159a9e;
    border-color: #159a9e;
}

.b-login-azure {
    background: white;
    text-align: center;
    margin-bottom: 25px;
}

.b-login-link {
    text-decoration: underline;
    font-family: "Open Sans",sans-serif;
    font-size: 16px;
    color: #007e82;
}

    .b-login-link:hover {
        color: #007e82;
    }

.b-login-azure button {
    border: none;
    font-weight: 600;
    color: #999;
    background: none;
    border-bottom: 1px solid #666;
    outline: none;
    transition: color .2s ease-in-out;
}

.b-login-azure button:hover {
    color: #777;
}

.b-login-validation {
    background-color: #C34A4A;
    width: 100%;
    color: white;
    font-weight: 500;
    text-align: center;
}

.b-login-validation span span {
    display: block;
    padding: 15px 0;
}

input[type="checkbox"] {
    display: none;
}

.custom-checkbox {
    margin: 0;
    cursor: pointer;
}

.custom-checkbox.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.custom-checkbox .custom-check {
    background-color: #CCCCCC;
}

.custom-check {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: white;
    border: 1px solid #CCCCCC;
    line-height: 1;
}

.custom-check::before {
    content: url('/styles/IC_Check.png');
    display: block;
    transition: all .2s;
    opacity: 0;
    transform: scale(0);
}

input[type=checkbox]:checked + .custom-check::before {
    opacity: 1;
    transform: scale(1);
}

.check-label {
    padding-left: 0.5em;
    font-size: 14px;
}
