:root {
    --primary: #005DA6;
}

body {
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-display: swap;
    font-family: "Roboto";
    src: url("../fonts/roboto-regular.woff2") format("woff2"),
        url("../fonts/roboto-regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold.woff2') format('woff2'),
    url('../fonts/roboto-bold.woff') format('woff');
    font-style: normal;
    font-weight: 700;
}

body {
    font-family: "Roboto", sans-serif;
    color: #1b1d20;
}

#kc-locale ul {
    background-color: #fff;
    display: none;
    top: 100%;
    right: 20px;
    min-width: 100px;
    padding: 0;
}

.pf-c-dropdown {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    color: white;
    z-index: 2;
}

.val-card-wrapper {
    background-color: #fff;
    padding: 32px;
    border-radius: 15px;
    flex: auto;
    max-width: 560px;
    position: relative;
}

.val-forgot-password {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 46px;
    right: 32px;
    text-align: right;
    width: calc(50% - 32px);
}

#kc-content-wrapper .val-forgot-password a {
    color: #646D75;
}

#kc-locale-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin: 0 auto;
}

#kc-locale-dropdown{
    display: inline-block;
}

#kc-locale-dropdown:hover ul {
    display:block;
}

#kc-locale-dropdown a {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding: 10px 40px 10px 20px;
    text-decoration: none;
}

#kc-locale-dropdown a:hover,
#kc-locale-dropdown a:active {
    text-decoration: none;
}

#kc-locale-dropdown:hover ul {
    display: none;
}

#kc-locale-dropdown ul li a {
    color: #1B1D20;
}

a#kc-current-locale-link {
    padding: 20px;
    line-height: 20px;
}

a#kc-current-locale-link::before {
    content: url('../icon/fa-globe.svg');
    display: block;
    width: 16px;
    height: 16px;
    color: #fff;
    margin-right: 4px;
}

a#kc-current-locale-link::after {
    content: url('../icon/fa-caret-down.svg');
    display: block;
    width: 10px;
    height: 17px;
    margin-left: 4px;
}

.login-pf body {
    background-image: none;
    background-color: #fff;
}

.login-pf-page {
    padding: 30px 10px;
    font-family: 'Roboto', sans-serif;
    max-height: 100%;
    overflow: auto;
    z-index: 2;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-pf-page .card-pf {
    margin: 0;
    padding: 0;
    border: 0 none;
    box-shadow: none;
}

.login-pf-page .login-pf-header h1 {
    margin: 0;
    font-size: 20px;
    line-height: 24px;
    font-weight: 700;
    text-align: left;
}

.login-pf-page label {
    font-size: 14px;
    line-height: 19px;
    margin-bottom: 6px;
}

.val-form-subtitle {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 5px;
}

.login-pf-page .form-group input:not(.pf-c-button) {
    background-color: #E6EFF6;
    border-radius: 18px;
    height: 36px;
    line-height: 24px;
    padding: 5px 12px;
    border: 0 none;
}

.login-pf-page .form-group {
    margin-bottom: 0;
}

#kc-form-login .form-group:first-of-type {
    margin-bottom: 16px;
}

#kc-form-login .login-pf-settings #kc-form-options .checkbox,
#kc-form-login .login-pf-settings #kc-form-options label {
    margin: 0;
}

#kc-form-login .login-pf-settings #kc-form-options #rememberMe {
    height: 16px;
    width: 16px;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid #9d9d9c;
    appearance: none;
    print-color-adjust: exact;
    transition: all 0.2s ease-in-out;
    padding: 0;
    border-radius: 4px;
    top: -2px;
    margin-left: -22px;
}

#kc-form-login .login-pf-settings #kc-form-options #rememberMe:focus {
    border-color: #005da6;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 93, 166, 0.25);
}

#kc-form-login .login-pf-settings #kc-form-options #rememberMe:checked {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-color: #005da6;
    border-color: #005da6;
}

.login-pf-page .form-group.login-pf-settings {
    margin: 6px 0 16px;
}

.login-pf-settings #kc-form-buttons {
    padding: 0;
}

.login-pf-page .form-group.login-pf-settings a{
    line-height: 16px;
}

#kc-content-wrapper #kc-form-options {
    order: 1;
    position: static;
}

.val-page-title {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 16px;
}

.kc-social-links .pf-c-button,
.login-pf-page .btn-lg {
    padding: 8px 20px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
}

.login-pf-page .btn-lg {
    background-color: var(--primary);
    color: #fff;
}

#kc-social-providers {
    margin-top: 12px;

    .val-social-separator {
        margin-bottom: 12px;
        text-align: center;
        font-size: 14px;
        line-height: 19px;
    }
}

#kc-content-wrapper .kc-social-links a.pf-c-button {
    padding: 7px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    height: 36px;
}

#kc-content-wrapper .kc-social-links .pf-c-button:not(:first-of-type) {
    margin-top: 8px;
}

.pf-c-button.pf-m-control::after {
    border: 0 none;
}

.login-pf-page .btn-lg:disabled {
    color: #fff;
}

.login-pf-page .login-pf-signup {
    margin-top: 16px;
    text-align: left;
}

#kc-info-wrapper .val-footer-links {
    margin-top: 32px;
}

#kc-info-wrapper .val-footer-links a {
    font-size: 14px;
    line-height: 19px;
    color: #1B1D20;
    text-decoration: none;
}

#kc-info-wrapper .val-footer-links a:hover {
    text-decoration: underline;
}

#kc-info-wrapper .val-footer-links a:not(:first-of-type) {
    margin-left: 16px;
}

#kc-content-wrapper a {
    text-decoration: underline;
    color: var(--primary);
}

.val-form-subtitle {
    margin-bottom: 16px;
    font-weight: 700;
}

.kc-logo-text {
    background-image: url(../img/logo.svg);
    background-repeat: no-repeat;
    height: 36px;
    max-width: 50%;
    background-size: contain;
}

.kc-logo-text span {
    display: none;
}

.val-login-wrapper {
    height: 100%;
}

#kc-register-form .btn-lg,
#kc-reset-password-form .btn-lg {
    margin-top: 16px;
}

#kc-reset-password-form .login-pf-settings {
    margin: 0;
}

#kc-reset-password-form ~ .login-pf-signup {
    margin: 0;
}

#kc-register-form .form-group:last-of-type {
    display: flex;
    flex-direction: column;
}

.val-login-image {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.val-login-image .tns-outer,
.val-login-image .tns-ovh,
.val-login-image .tns-inner,
.val-login-image .val-image-slider,
.val-login-image .tns-item,
.val-login-image img {
    height: 100%;
}

.val-login-image .tns-nav {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 10px;
}

.val-login-image .tns-nav button {
    width: 30px;
    height: 5px;
    margin: 0 3px;
    background-color: #fff;
    border: 0 none;
    border-radius: 5px;
}

.val-login-image .tns-nav button.tns-nav-active {
    background-color: var(--primary);
}

.val-login-image img {
    object-fit: cover;
    object-position: 35% 100%;
    width: 100%;
}

.login-pf-page .login-pf-header {
    margin: 0;
}

#kc-registration {
    font-size: 16px;
    line-height: 24px;
}

.login-pf-page .login-pf-signup a {
    margin-left: 0;
}

@media screen and (min-width: 768px) {
    .login-pf-page .login-pf-page-header {
        margin-bottom: 24px;
    }
}

