body {
    overflow: auto;
}

.display-table {
    display: table;
    height: 100%;
    width: 100%;
    padding-top: 30px;
}

.display-table-cell {
    display: table-cell;
    height: 100%;
    vertical-align: middle;
}

.login-card-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1;
    position: relative;
}

.login-card {
    box-shadow: 4px 4px 20px 0px #00000026;
    width: 100%;
    max-width: 641px;
    padding: 40px;
    background-color: white;
    margin-bottom: 30px;
}

.login-card-wrapper .error-message {
    width: 641px;
}

.login-card-wrapper .error-message ul {
    margin: 0;
}

.login-card .login-title {
    margin-top: 0;
    margin-bottom: 32px;

    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 44px;
    color: #003765;
}

.login-card .login-label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    color: #003765;
    margin-bottom: 8px;
    display: block;
}

.login-card .login-input {
    padding: 15px 20px;
    background: #FFFFFF;
    border: 1px solid #A1BECA;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #003765;
}
.login-card .login-input::placeholder {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #A1BECA;
}
.login-card .login-input-group {
    margin-bottom: 28px;
    position: relative;
}
.login-card .login-input-group .input-icon {
    height: 24px;
    width: 24px;
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 16px;
    cursor: pointer;
}

.login-card .flex {
    display: flex;
    justify-content: flex-end;
}
.login-card .mb-0 {
    margin-bottom: 0;
}

.login-card .forgot-password {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #003765;
    text-decoration: none;
    margin-top: 8px;
}

.login-card .forgot-password:hover {
    text-decoration: underline;
}

.login-card .login-btn {
    padding: 14px 34px;
    background: linear-gradient(90deg, #F9B53A 0%, #FFD784 100%);
    border-radius: 50px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #003765;
    margin-top: 43px;
    border: none;
    display: flex;
    gap: 10px;
}

.login-card .login-btn .login-btn-icon {
    margin-right: 10px;
}

.login-card .login-divider {
    border-bottom: 1px solid #A1BECA;
    display: block;
    margin: 40px 0;
}

.login-card .register-link {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #003765;
    text-decoration: none;
}

.login-card .register-btn {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #003765;
    padding: 14px 34px;
    border: 1px solid #003765;
    border-radius: 50px;
    background: transparent;
    display: inline-block;
    margin-top: 26px;
}

@media (max-width: 767px) {
    .login-card {
        box-shadow: none;
        padding: 16px;
        background-color: transparent;
        box-sizing: border-box;
    }

    .login-card-wrapper {
        display: block;
    }

    .login-card .login-title {
        font-family: 'Open Sans';
        font-style: normal;
        font-weight: 400;
        font-size: 24px;
        line-height: 34px;
        margin-top: 16px;
    }

    .login-card .login-input-group {
        margin-bottom: 24px;
    }

    .login-card .login-btn {
        margin-top: 41px;
    }

    .login-card .login-divider {
        margin: 32px 0 30px 0;
    }

    .login-card .register-btn {
        margin-top: 24px;
    }

    .login-card .register-link {
        font-size: 24px;
    }

    .login-card-wrapper .error-message {
        width: auto;
        margin: 16px;
        padding-bottom: 16px;
    }
}

.login-card-wrapper .alert.alert-danger {
    background: #f2dede!important;
    border: none;
}
.login-card-wrapper .alert.alert-danger li {
    font-size: 16px;
    color: #a94442;
}

header.tenant-it ul {
    min-height: 78px;
}

header.tenant-it ul.list-horizontal li {
    display: flex;
    align-items: center;
}

header.tenant-it ul li.synlab {
    max-width: 200px;
}

header.tenant-it ul li.lang-select .language-selector-container {
    justify-content: flex-start;
}

@media (max-width: 768px) {
    header.tenant-it ul {
        position: relative;
    }
    header.tenant-it ul li.lang-select span.selected-language{
        position: relative;
        top: 7px;
    }

    header.tenant-it + div.display-table {
        height: auto;
        display: block;
    }
    header.tenant-it + div.display-table .display-table-cell{
        display: initial;
    }
}
