body,
html {
    height: 100%;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

.container {
    position: relative;
    height: 100%;
    width: 100%;
}

.go-back {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #3b3e47;
    text-align: center;
    margin-top: 20px;
}

.set-password-info-title {
    font-size: 20px;
    line-height: 24px;
}

.login-img-wrapper {
    display: none;
    position: relative;
}

.login-img {
    background-image: url('https://s3.maxbrain.com/edu-public/img_login_mb.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
}

.powered {
    position: absolute;
    width: 150px;
    bottom: 40px;
    left: 40px;
}

.powered img {
    width: 100%;
}

.powered span {
    color: #ffffff;
    font-size: 12px;
    line-height: 16px;
    padding-bottom: 12px;
    display: block;
    margin-bottom: 12px;
}

.form-container-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    max-width: 500px;
    width: 100%;
    position: relative;
    padding: 0px 15px;
    margin-top: 43px;
}

.pointer {
    cursor: pointer;
}

.form-group .title {
    text-align: center;
    margin: 32px 0px 24px;
    font-size: 26px;
    font-weight: bold;
    line-height: 32px;
}

.resetPasswordForm {
    width: 100%;
}

.login-form {
    box-sizing: border-box;
    width: 100%;
}

.tenant-logo-wrapper {
    display: block;
    text-align: center;
}

#tenant-name {
    text-align: center;
    color: #3b3e47;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
}

.form-title {
    color: #3b3e47;
    font-size: 32px;
    font-weight: bold;
    line-height: 44px;
    text-align: center;
}

.input-wrapper {
    position: relative;
    padding-bottom: 16px;
}

.input {
    width: 100%;
    height: 52px;
    outline: none;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 0 15px;
}

.input.error {
    border: 1px solid #e75063;
}

.input[type='password'] {
    padding: 0 50px 0 15px;
}

.messages {
    text-align: center;
    margin-bottom: 10px;
}

.response-error-message {
    color: #e75063;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    display: none;
    word-break: break-word;
}

.response-success-message {
    color: #099b00;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    display: none;
    padding: 10px;
}

.sign-in-back {
    text-align: center;
    display: block;
    margin-top: 30px;
}

.sign-in-back span {
    color: #3b3e47;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.input-label {
    font-size: 14px;
    line-height: 20px;
    color: #3b3e47;
    margin-bottom: 8px;
    display: block;
}

.no-account-label {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #3b3e47;
    margin-bottom: 16px;
    display: block;
}

.input-label.forgot-password {
    font-weight: bold;
    font-size: 14px;
    line-height: 20px;
    text-align: right;
    margin: 8px 0px 14px;
}

.button {
    height: 48px;
    width: 100%;
    outline: none;
    border-radius: 2px;
    background-color: #a2c617;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    cursor: pointer;
    border: 0;
}

.button.transparent {
    background: #ffffff;
    border: 1px solid #7a7a7a;
    color: #212121;
}

.button:hover {
    filter: brightness(95%);
}

.button:active {
    filter: brightness(85%);
}

.hide-btn {
    position: absolute;
    left: -999px;
    top: -999px;
    height: 0;
    width: 0;
}

.note {
    color: #3b3e47;
    margin-bottom: 30px;
    display: block;
}

#forgot-password {
    cursor: pointer;
}

.label-wrapper {
    display: flex;
    justify-content: space-between;
}

#btn-login,
#btn-reset-pwd {
    text-align: center;
    color: #fff;
    padding: 12px 0;
    margin-top: 30px;
    cursor: pointer;
}

.box {
    height: 100%;
    display: flex;
    justify-content: center;
}

/* Solid border */
hr.solid {
    border-top: 1px solid #e0e0e0;
    margin: 32px 0px;
}

a {
    text-decoration: none;
}

a label {
    cursor: pointer;
}

.go-to-tenant {
    margin-bottom: 5px;
    cursor: pointer;
}

.go-to-tenant > img {
    border-radius: 4px;
}

.go-to-tenant {
    list-style-type: none;
}

.code-input {
    visibility: hidden;
    height: 0;
}

.reset-password-info h2 {
    font-weight: bold;
    color: #3b3e47;
}

.reset-password-info-list {
    padding-left: 20px;
    margin-bottom: 0;
}

.reset-password-form-has-value {
    padding: 0;
    list-style: none;
}

.reset-password-form-has-value li {
    padding-left: 24px;
}

.reset-password-form-has-value .glyphicon-remove {
    color: #ff0000;
}

.reset-password-form-has-value .glyphicon-remove::before {
    position: absolute;
    content: '\f00d';
    font: normal normal normal 18px/1 FontAwesome;
    left: 0;
    color: #ff0000;
    bottom: 0;
    height: 21px;
    width: 17px;
    z-index: 1;
}

.reset-password-info-list li {
    font-size: 14px;
    line-height: 24px;
    position: relative;
}

.reset-password-info-list .glyphicon-ok::before {
    position: absolute;
    content: '\f00c';
    font: normal normal normal 18px/1 FontAwesome;
    left: 0;
    color: #71b340;
    bottom: 0;
    height: 21px;
    width: 17px;
    z-index: 1;
}

.glyphicon-remove {
    color: #010101;
}

.glyphicon-ok {
    color: #71b340;
}

.go-back {
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #3b3e47;
    text-align: center;
    margin-top: 20px;
}

button:disabled,
button[disabled] {
    background: #e0e0e0 !important;
    cursor: not-allowed;
    pointer-events: all !important;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #fdfdfd inset !important;
}

.hide-form {
    display: none !important;
}

#submit-start-again {
    margin-top: 10px;
}

/* NEW PASSWORD PAGE */
.new-password-container,
.register-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 15px;
}

.new-password-page-container,
.login-page-container,
.register-page-container,
.new-password-register-page-container,
.registration-completed-page-container {
    display: flex;
    height: 100%;
}

.new-password-page,
.login-page,
.register-page,
.new-password-register-page,
.registration-completed-page {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.invalid-input {
    border: 1px solid #ff0000;
}

.has-error-message {
    padding-bottom: 0px;
}

.passwords-error-message {
    font-size: 14px;
    line-height: 20px;
    color: #f44436;
    display: none;
}

.passwords-error-message.visible {
    display: block;
}

#togglePassword,
#toggleNewPassword,
#toggleNewPasswordRepeat,
#toggleNewPasswordRegister,
#toggleNewPasswordRegisterRepeat {
    position: absolute;
    top: 39px;
    right: 20px;
    font-size: 24px;
    color: #a8a8a8;
    cursor: pointer;
}

.login-page-form-container,
.new-password-page-form-container,
.register-page-form-container,
.new-password-register-page-form-container {
    position: relative;
    align-items: center;
    justify-content: flex-end;
    padding: 0px 15px;
    overflow-y: scroll;
    height: 100%;
}

.login-page-form-container .login-form,
.new-password-page-form-container .login-form,
.register-page-form-container .login-form,
.new-password-register-page-form-container .login-form {
    margin: 60px auto 0px;
    max-width: 400px;
    z-index: 9;
    background: #fff;
    border-top: 4px solid #004f9a;
    padding: 38px 20px;
    box-shadow: 0 2px 43px 0 rgb(70 75 84 / 12%);
}

.login-header {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* fixes image-stretching-in-flexbox-in-safari */
}

.tenant-logo {
    max-width: 200px;
    width: 200px;
    height: auto;
}

.bg-image-login {
    position: relative;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    width: 70%;
    align-items: center;
    display: none;
}

.bg-image-login:after {
    content: '';
    background: rgba(59, 62, 71, 0.55);
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.bg-image-login .content {
    width: 100%;
    position: relative;
    z-index: 1;
    padding-left: 300px;
    max-width: 760px;
    padding-right: 40px;
}

.bg-image-login .info h1,
.bg-image-login .info p {
    color: #fff;
}

.bg-image-login .info h1 {
    font-size: 32px;
    font-weight: bold;
    line-height: 42px;
}

.bg-image-login .info p {
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
}

.messages {
    background: #ffffff;
    text-align: center;
    margin-bottom: 10px;
}

.response-error-message {
    color: #e75063;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    display: none;
    word-break: break-word;
}

.response-success-message {
    color: #099b00;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 30px;
    display: none;
}

/* FIXES BROWSER AUTO-FILL DOESN'T DETECT VALUES */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

.localization-tool-container,
.localization-tool-container-login,
.localization-tool-container-register,
.localization-tool-container-reset-password-register,
.localization-tool-container-reset-password-register {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 10;
}

@media screen and (max-width: 768px) {
    .login-container {
        max-width: 100%;
        flex-basis: 100%;
    }
}

.row-height-100 {
    height: 100%;
}

@media screen and (min-width: 768px) {
    .form-container {
        padding: 0px 30px;
        margin-top: 80px;
    }
}

@media screen and (min-width: 1022px) {
    .bg-image-login {
        display: flex;
    }

    .new-password-page-form-container,
    .login-page-form-container,
    .register-page-form-container,
    .new-password-register-page-form-container {
        display: flex;
        width: 100%;
        overflow-y: unset;
    }

    .login-page-form-container .login-form,
    .new-password-page-form-container .login-form,
    .register-page-form-container .login-form,
    .new-password-register-page-form-container .login-form {
        position: absolute;
        width: 100%;
        left: 50%;
        margin-top: 0px;
    }

    .new-password-page,
    .login-page,
    .register-page,
    .new-password-register-page,
    .registration-completed-page {
        display: flex;
        width: 30%;
    }

    .form-container {
        margin-top: 90px;
        padding: 0px 60px 20px;
    }

    .new-password-container,
    .register-container {
        flex-direction: row;
        align-items: unset;
    }

    .new-password-page-container .form-container {
        margin-top: 90px;
        padding: 50px 30px;
    }

    .login-img-wrapper {
        height: 100%;
        display: block;
    }
}

/* MAINTENANCE MESSAGE */

.maintenance-message {
    position: relative;
    width: 100%;
    min-height: 48px;
    left: 0px;
    top: 0px;
    background: #ffd363;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999999;
}

.maintenance-message .maintenance-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    padding: 5px 5px 5px 40px;
}

.maintenance-message .maintenance-close-icon {
    cursor: pointer;
    padding-right: 40px;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}
.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #a2c617 solid;
    border-radius: 50%;
    animation: sp-anime 5s infinite linear;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}
