:root {
    --mes-blue-color: #153980;
    --mes-white-color: #ffffff;
    --main-color: #1C497E;
    --input-color: #040865;
    --footer-color: #D9D9D9;
    --background-color: #EEEEEE;
    --bs-font-sans-serif: Montserrat, sans-serif;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
}

body {
    color: var(--main-color);
}

.form {
    width: 625px;
    border: 0.1rem solid #ced4da;
    border-radius: 40px;
    box-shadow: 0px 4px 30px 0px #34405447;
    padding: 104px 64px 40px;
    background-color: var(--mes-white-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    max-height:800px;
}

.with-title {
    padding-top: 0;
}

.title {
    padding: 2rem;
}

.text-link {
    color: var(--main-color);
    text-decoration: none;
    font-size: 14px;
}

.login-container {
    display: flex;
    flex-direction: row;
}

.login-form {
    width: 40rem;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.login-logo {
    height: 38%;
    max-height: 300px;
}

.login-section {
    align-self: stretch;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.logo {
    width: 256px;
}

.form-inputs {
    flex-grow: 1;
}

.form-actions {
    padding-bottom: 8rem;
}

.login-form .form-group {
    height: 70px;
}

::placeholder {
    color: var(--input-color) !important;
    opacity: 1;
}

:-ms-input-placeholder {
    color: var(--input-color) !important;
}

::-ms-input-placeholder {
    color: var(--input-color) !important;
}

.login-screen {
    background-image: url(/assets/png/login-metrics-portal.png);
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    background-color: color(srgb 0.8465 0.8621 0.8997);
}

.page-as-popup {
    background-color: var(--background-color);
}

.register-form {
    width: 45rem;
}

.reset-password-form {
    width: 45rem;
}

.form-header {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
    .form-header img {
        backface-visibility: hidden;
        width:349px;
    }

    .form-buttons {
        flex-wrap: wrap;
        align-content: center;
        display: flex;
        margin: 1rem 0;
    }

.login-form-buttons {
    justify-content: space-between;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    font-family: Montserrat;
    background-color: var(--footer-color);
    height: 28px;
    display: flex;
    align-items: end;
    margin-left: 0px !important;
}

    .footer div.leftalign {
        padding-left: 1rem !important;
        text-align: left;
    }

    .footer div.rightalign {
        padding-right: 1rem !important;
        text-align: right;
    }

.company-select {
    width: 350px;
    margin: 2rem auto;
}

.company-select-btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.company-select-radio-div {
    width: 350px;
    margin: auto;
    height: auto !important;
}
.form-control-wrapper {
    position: relative;
}

.form-control-wrapper i {
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/assets/svg/eye-off-outline.svg);
    width: 24px;
    height: 24px;
    position: absolute;
    right: 10px;
    top: 11px;
    cursor: pointer;
    background-position-y: 3px;
}

.form-control-wrapper i.on {
    background-image: url(/assets/svg/eye-outline.svg);
    background-position-y: 0px;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}

input::-webkit-credentials-auto-fill-button {
    visibility: hidden;
    position: absolute;
    right: 0;
}

.registration-screen {
    background-image: url(/assets/png/metrics-portal.png);
    background-position: center;
    background-repeat: no-repeat;
    height: calc(100vh - 460px);
    width: 100%;
    background-color: color(srgb 0.8465 0.8621 0.8997);

    @media only screen and (min-width: 1500) {
        height: calc(100vh - 460px);
    }

}


.form-control, .form-control:focus {
    border-radius: 15px;
    border: none;
    background-color: #E5E6EE;
    height: 45px;
    color: var(--input-color);
}

.btn-group-lg > .btn, .btn-lg {
    border-radius: 20px;
    height: 43px;
    font-size: 16px;
    padding: 8px 70px;
    font-weight: 700;
}

.dark-color {
    color: var(--input-color);
}

.main-color {
    color: var(--main-color);
}

.form-label {
    margin-bottom: 0;
}

.form-group .form-label, .field-validation-error {
    padding-left: 10px;
}

.field-validation-error {
    font-size: 12px;
    display:block;
}

.form-group {
    height: 90px;
}

.checkbox-icon {
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/assets/svg/unsuccess.svg);
    width: 24px;
    height: 24px;
    display: inline-block;
}

.checkbox-icon.success {
    background-image: url(/assets/svg/success.svg);
}

ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

ul li {
    font-size: 14px;
    display: flex;
    gap: 0.5rem;
}

.close {
    float: right;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: #fff;
    opacity: .5;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

.close:not(:disabled):not(.disabled) {
    cursor: pointer;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
}

.btn-success {
    background-color: #2BAC62;
}

.btn-primary, .btn-primary:hover {
    border: none;
    background-color: var(--mes-blue-color);
}
.btn-primary:disabled {
    border: none;
    background-color: #b1b6c2;
    opacity:1;
}

.btn-light, .btn-light:hover {
    background-color: var(--mes-white-color);
    color: var(--mes-blue-color);
    border: 3px solid var(--mes-blue-color);
}

.rounded-9 {
    border-radius: 1.5rem;
}

.text-register {
    position: relative;
    margin-top: -15px;
}

.registration-form-container .validation-summary-errors ul li {
    display: block;
    text-align: right;
}

.forgot-password {
    color: var(--input-color);
    text-decoration: none;
}

.form-check-input:focus {
    outline: 1px solid var(--input-color);
    outline-offset: 1px;
}

.forgot-password:hover {
    color: var(--input-color);
    text-decoration: underline;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.info-text {
    color: #8F90A6;
    opacity: 100%;
    font-size: 14px;
    font-family: Montserrat;
}

.nav-link {
    text-decoration: underline;
    margin: auto;
}

@media only screen and (max-width: 768px) {
    .login-form {
        width: 100%;
    }

    .login-screen {
        display: none;
    }

    .footer {
        font-size: 10px;
    }

    .form {
        width: 100%;
    }
}

.text-color-header {
    color: var(--dark-blue, #040865);
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px; /* 150% */
    letter-spacing: -0.3px;
}

strong {
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
}

.login-text {
    padding-left: 10px
}
.text-wrap {
    color: #040865;
    font-size: 24px;
    font-family: Montserrat;
    font-weight: 600;
    line-height: 30px;
    word-wrap: break-word
}
/*Checkbox CSS*/
.registration-form-container .form-check-input {
    width: 21px;
    height: 21px;
    border-radius: 5px;
    border-color: #153980;
    box-shadow: none;
    vertical-align:middle;
}
.registration-form-container .form-check-input:checked[type=checkbox] {
    background-color: #fff;
    background-image: url(/assets/svg/check-bold.svg);
    background-size: 16px;
    background-position: 1px 1px;
}
.registration-form-container .form-check-input[type=checkbox]:focus,
.registration-form-container .form-check-input[type=checkbox]:active {
    background-color: #fff;
    filter: none;
}
.registration-form-container .form-check .form-check-label {
    padding-left: 10px;
    vertical-align:middle;
}
/*Scroll CSS*/
/* Works on Firefox */
.modal-body {
    scrollbar-width: 16px;
    scrollbar-color: #153980;
}

    /* Works on Chrome, Edge, and Safari */
    .modal-body::-webkit-scrollbar {
        width: 16px;
        background-color: transparent;
        height: 16px;
    }

    .modal-body::-webkit-scrollbar-track {
        background: #cacddd;
        border-radius: 5px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background-color: #153980;
        border-radius: 5px;
    }
/*Checkbox CSS End*/
.company-select-radio-div {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.company-select-radio-div input[type="radio"] {
    display: none;
}

    .company-select-radio-div label {
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        font-size: 16px;
        line-height: 24px;
        color: #344054;
        font-weight: 400;
    }

    .company-select-radio-div label:before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        border: 1px solid #CACDDD;
        border-radius: 50%;
        background-color: #fff;
    }

    .company-select-radio-div input[type="radio"]:checked + label:before {
        border-color: #FF7D05; /* Orange color */
    }

    .company-select-radio-div input[type="radio"]:checked + label:after {
        content: '';
        position: absolute;
        left: 4px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 15px;
        background-color: #FF7D05;
        border-radius: 50%;
    }
.form-group.company-select {
    height: auto;
    margin: 21px auto 20px;
}
.login-top-text {
    width: 350px;
    margin: auto;
}
    .login-top-text p {
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: #040865;
        font-family: Montserrat;
    }
    .login-top-text p .hello-txt{ margin-bottom:10px; display:block; }
.continue-btn {
    margin-top: 100px;
    margin-bottom: 16px;
}
.bottom-link .nav-link{ padding-bottom:0px; }
.login-btn{
    margin-top:92px;
    margin-bottom:15px;
}
    .login-btn .small-btn {
        width: 138px;
        padding: 8px 10px;
        margin-left: 10px;
        margin-right: 10px;
    }
    .btn-full-width {
        width: 286px;
        padding: 8px 20px;
    }
select {
    background: url('../assets/svg/dropdown_arrow.svg');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 37px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media only screen and (max-width: 1800px) {
    body{
        padding-bottom:40px !important;
    }
}
@media only screen and (max-width: 991px) {
    body {
        background-color: #f5f5f8 !important;
    }
    .registration-screen {
        height: 120px;
        background-position-x: 49%;
        background-position-y: 40%;
        background-size: 790px;
    }
    .register-page {
        margin: 12px;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 0px 5px #0000001a, 1px 1px 2px #0000000f;
    }
    .register-page .text-link {
        margin-top: 10px;
        display: inline-block;
    }
    .register-page .form-group{ height:revert; margin-bottom:12px; }
    .text-register {
      margin-top: 0px;
      margin-bottom: 12px;
    }
    .password-text{ margin-bottom:10px !important; }
    .registration-form-container .form-check .form-check-label{ line-height:28px; }
    .footer div.rightalign{ margin-bottom:3px; text-align:center; }
    .footer{ height:38px; }
    .footer div.leftalign {
        padding-top: 4px;
        padding-bottom: 0 !important;
        text-align: center;
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    body{ padding-bottom: 35px !important; }
    .register-page .dark-color ul {
        margin-bottom: 0px;
    }
    .register-page .dark-color ul li{ padding-bottom:4px; }
    .register-page .m-3.text-center {
        margin-top: 0px !important;
        margin-bottom: 12px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    .register-page .m-3.text-center .btn-success{ width:100%; }
    .row.mt-3.mb-3 {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
    .login-container{ margin:12px; }
    .login-form {
        border-radius: 10px;
        height: auto;
        box-shadow: 0px 0px 5px #0000001a, 1px 1px 2px #0000000f;
        transform: revert;
        margin-top: 0px;
    }
    .login-form h5.dark-color{ text-align:center; }
    .login-form .info-text { text-align: center; opacity: 100%; }
    .login-logo img{ max-width:235px; }
    .login-logo{ height:revert; text-align:center; }
    .login-section .form-inputs{ flex-grow:revert; }
    .form.select-company {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-right: 12px;
        transform: revert;
        position: relative;
        margin-top: 12px;
        top: revert;
        left: revert;
        padding: 54px 0px 40px;
        box-shadow: 0px 0px 5px #0000001a, 1px 1px 2px #0000000f;
        border:0px;
        border-radius:10px;
    }
    .form.select-company .form-header img{ max-width:235px; }
    .login-section .form-actions { padding-bottom:40px; }
    .login-top-text{ width:auto; }
    .company-select{ width:auto; padding-left:12px; padding-right:12px; }
    .login-top-text p{ font-size:14px; line-height:20px; text-align:center; }
    .continue-btn{ margin-top:60px; }
    .form.forgot-password-page {
        width: calc(100% - 24px);
        margin-left: 12px;
        margin-top: 12px;
        position: static;
        transform: revert;
        border-radius: 10px;
        box-shadow: 0px 0px 5px #0000001a, 1px 1px 2px #0000000f;
        border: 0px;
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 30px;
    }
    .forgot-password-page .text-center.title {
        padding: 30px 0px 20px;        
    }
    .forgot-password-page .text-center.title h4 {
        color: var(--dark-blue, #040865);
        font-family: Montserrat;
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: -0.3px;
        margin-bottom:0px;
    }
    .forgot-password-page .pass-text {
        color: #8F90A6;
        font-size: 14px;
        line-height:18px;
        font-family: Montserrat;
        text-align: center;
        padding:0px !important;
    }
    .forgot-password-page .pass-text + .pass-text{ margin-top:10px; margin-bottom:10px; }
    .forgot-password-page .company-select {
        padding-left: 0px;
        padding-right: 0px;
    }
    .login-links .col-md-6{ width:50%; margin-top:20px; }
    .text-center.pass-text { padding-left: 30px !important; padding-right: 30px !important; }
    .modal-title {
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        color: #040865;
        font-family: Montserrat, sans-serif;
    }
    .modal-header{ padding:16px 16px 0px 16px; border-bottom:0px; }
    .modal-header .close{ opacity:1; }
    .modal-header .close span {
        color: #153980;
        font-size: 32px;
    }
    .check-mail-page{ padding-top:42px; }
    .check-mail-page .form-header img{ max-width:235px; }
    .check-mail-page .text-wrap {
        font-size: 20px;
        font-family: Montserrat;
        line-height: 25px;
    }
}
    @media only screen and (max-width: 767px) {
        .login-btn .small-btn {
            margin: 0
        }
    }