* {
    outline: none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active  {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
}

h1,h3,h5,label,button,a {
    font-family: 'nobel-regular';
}

[data-page-id="login-login-config-totp"] .kcLoginClass{
    margin-bottom: 54px;
}

[data-page-id="login-sms_login"] button:disabled {
    opacity: 0.5;
    border: none;
    background-color: #565656 !important;
}

@font-face {
    font-family: "nobel-regular";
    src: url("https://static.europ-assistance.fr/fonts/Nobel/Nobel-Regular.otf");
}

@font-face {
    font-family: "nobel-light";
    src: url("https://static.europ-assistance.fr/fonts/Nobel/Nobel-Light.otf");
}

html, body{
    height: 100% !important;
}

/* [data-page-id="login-sms_number_form"] .kcLoginClass,
[data-page-id="login-phonecall_number_form"] .kcLoginClass,
[data-page-id="login-login"] .kcLoginClass{
    margin-top: 125px;
} */

.kcLoginClass {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

[data-page-id="login-enforce-mfa"] .kcLoginClass {
    margin-top: 25px;
}

.sd-logo {
    width: 250px;
    height: 48px;
    position: absolute;
    left: 9px;
    top: 13px;
    background: url("./../img/logo.svg") no-repeat;
    background-size: contain;
}

.sd-flag{
    width: clamp(14px, 100%, 23px);
    margin: 0 5px;
}

a {
    outline: none;
}

#kc-logo{
    width: auto;
    max-width: 250px;
    padding-left: 10px;
    margin-top: 10px;
}

.sd-welcome{
    text-align: center;
}

.sd-welcome-title{
    text-transform: uppercase;
    color: #243276;
}

.sd-welcome-title h3{
    font-size: 20px;
}

.sd-welcome-text {
    max-width: 750px;
    margin: auto;
    font-size: 14px;
    font-family: 'nobel-regular';
    width: 95%;
    line-height: 1.3;
}

ul.kcLocaleListClass {
    max-width: 95px;
}

.kcLocaleListClass .kcLocaleItemClass{
    display: flex;
    justify-content: end;
}

#kc-locale{
    position: absolute;
    z-index: 9999;
    top: 0;
    right: 0;
    margin: 25px;
}

#kc-current-locale-link{
    display: flex;
    justify-content: end;
    align-items: center;
}

.sd-flag{
    width: clamp(14px, 100%, 23px);
    margin: 0 5px;
    display: flex;
    align-items: center;
}

.sd-language {
    display: inline;
    font-family: 'nobel-regular';
}

#kc-header-wrapper{
    opacity: 1 !important;
}

#kc-locale-dropdown:hover ul{
    display: flex;
    flex-direction: column;
    width: min-content;
}

#kc-locale ul {
    padding: 6px;
    min-width: 95px !important;
}

.kcBodyClass, body {
    background-image: url("./../img/background.jpg") !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
}

#kc-locale ul li {
    display: flex;
    justify-content: end;
    cursor: pointer;
}

#kc-header-wrapper{
    padding: 0 !important;
}

/* .sd-blank-bg-logo{
    background: url("../img/LCL-Icon-material-lock-open.svg") no-repeat;
    width: 39px;
    height: 37px;
    background-size: 24px 32px;
    background-position: center;
    margin: 10px 10px;
} */

.kcFormHeaderClass{
    flex-direction: column !important;
    margin-bottom: -12px !important;
}

.kcFormCardClass{
    background-color: #fff;
    border: none;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .2);
    background-color: rgba(255, 255, 255, .5);
    border-radius: 0px;
    max-width: 555px;
    width: 95%;
    margin: 20px auto 30px !important;
}

#kc-form-buttons {
    width: fit-content;
    margin: auto;
}

#kc-login{
    padding: 10px 50px;
    padding: 10px 50px;
    font-family: 'nobel-regular';
}

#kc-login:hover{
    opacity: .7;
}

.kcFormGroupClass{
    position: relative;
}

/* .kcFormGroupClass button,
.kcFormGroupClass button span{
    color: #203274 !important;
} */

.input-group-addon{
    background: none;
    border: 0 none;
    position: absolute;
    z-index: 5;
    left: 10px;
    color: #ccc;
    font-size: 14px;
    top: 34px;
}

.sd-addon-1{
    top: 34px;
}

.sd-addon-2{
    top: 114px;
}

#kc-oauth{
    color: #203274;
}

.kc-recovery-codes-warning{
    background: #d7aa24;
}

.kcButtonClass,
#updateProfile {
    background: #243276!important;
    color: #fff!important;
    border: 1px solid #203274;
    margin: 15px auto 0;
    border-radius: 0px;
    text-transform: uppercase;
}

.kcResetFlowIcon{
    color: #203274;
}

.kcFormPasswordVisibilityButtonClass[aria-label="Hide password"],
.kcFormPasswordVisibilityButtonClass[aria-label="Show password"]{
    filter: hue-rotate(0deg);
}

input:checked ~ .checkmark{
    background-color: #0F4C86;
}

.checkmark{
    background-color: #fff;
}

.kcFormGroupClass div span a,
span[data-kc-msg="doForgotPassword"]{
    color: #203274 !important;
    text-decoration: underline;
    font-size: 14px;
    font-family: 'nobel-light' !important;
}

#kc-page-title{
    color: #203274;
    font-size: 14px;
    text-align: left;
    text-transform: uppercase;
    font-weight: 700;
}

.sd-header-baseline{
    text-align: center;
    color: #203274;
}

.sd-barStyle {
    display: none !important;
    border: 0;
    height: 1px;
    background: #cecece;
    width: 100%;
    margin: 10px auto 0px;
}

.checkbox span{
    color: #203274;
    font-size: 14px;
}

#input-error,
.kcInputErrorMessageClass,
#input-error-otp-code,
#input-error-username,
#input-error-password{
    color: #b10000 !important;
}

.alert-success{
    background: #00d46a;
}

.alert-warning, .kcRecoveryCodesWarning{
    background: #d3f0eb !important;
}

/* .alert-error, #error-mobile-format{
    display: inline-block !important;
} */

.pf-c-alert__icon{
    color: #203274;
}

.kcLabelWrapperClass .subtitle{
    color: #203274 !important;
}

.kcLabelClass{
    color: #535353;
    font-weight: 700;
    font-size: 14px;
}

/* .kcButtonClass[name="login"]{
    background-image: url("../img/LCL-Icone-fleche-horizontale-btn-bleu.svg") !important;
    background-repeat: no-repeat;
    background-position: 85% center;
    padding-right: 50px;
} */

#certificate_subjectDN, label#username{
    color: #8c8c8c;
}

#kc-attempted-username{
    color: #203274;
}

#printRecoveryCodes, #downloadRecoveryCodes, #copyRecoveryCodes{
    color: #203274 !important;
}

/* -- RAJOUT -- */

.checkbox label,
.checkbox span{
    color: #535353;
    font-size: 14px;
    font-family: 'nobel-light';
}

.kcInputGroup{
    display: flex;
    align-items: center;
}


[data-page-id="login-login"] .kcInputGroup.pf-c-input-group {
  --pf-c-input-group--child--ZIndex: 0 !important;
}

.kcSelectAuthListItemClass:first-child {
    border-top: none !important;
}

/* inverser les couleurs du thèmes*/
.kcSelectAuthListItemClass:hover {
    background: #F0F0F0;
    color: #203274;
}

#kc-content{
    position: relative;
}

#kc-content-wrapper,
#kc-content-wrapper a,
#kc-content-wrapper p,
#kc-content-wrapper li {
    color: #203274;
}

#kc-content-wrapper {
    margin-top: 0;
}

.select-auth-box-headline{
    color: #203274;
}

#kc-page-title p,
#kc-page-title span{
    color: #203274;
}

.kcLoginOTPListItemIconBodyClass,
.kcLoginOTPListItemTitleClass{
    color: #203274;
}

.kcFormGroupClass.kcFormSettingClass{
    display: flex;
    flex-direction: column;
}

.kcRecoveryCodesWarning,
.kcRecoveryCodesWarning p,
.kcRecoveryCodesWarning span,
.kcRecoveryCodesWarning i,
.kcFeedbackErrorIcon,
.kcRecoveryCodesWarning i::before,
.kcRecoveryCodesWarning i::after,
.kcAlertTitleClass,
.kcAlertTitleClass p,
.kcAlertTitleClass span,
.kcAlertTitleClass i,
.kcFeedbackErrorIcon,
.kcAlertTitleClass i::before,
.kcAlertTitleClass i::after{
    color: #203274;
}

#kc-recovery-codes-list li,
#kc-recovery-codes-list p,
#kc-recovery-codes-list span{
    color: #203274;
}

.color-on-hover {
    color: #203274 !important;
}

.checkbox span:not(.checkmark){
    margin-left: 5px;
    color: #203274;
    font-family: "Montserrat Light";
}

input[type="password"] {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#kc-form-login{
    position: relative;
}

.kcFormPasswordVisibilityButtonClass {
    border: 1px solid #000;
    height: -webkit-fill-available;
    display: none;
}

#kc-info-wrapper{
    background-color: #fff;
    color: #203274 !important;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="password"]:focus {
    box-shadow: 1px 1px 7px 0px #243276;
    transition: all .2s;
}

input[type="text"], input[type="email"], input[type="password"] {
    border: 1px solid #dee2e6 !important;
    padding-top: 20px;
    padding-bottom: 20px !important;
    border-radius: 0px;
    color: #757575;
    font-size: 13px;
    font-family: 'nobel-regular';
}

input[type="password"] {
    border: 1px solid #cecece !important;
    padding-top: 20px;
    padding-bottom: 20px !important;
}

.sd-form-options {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.lien-form-home {
    color: #535353;
}

.lien-form-home:hover {
    color: #0088ce;
    text-decoration: none;
}

.containerFooter{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #243276;
    width: 100%;
    min-width: 320px;
    height: 60px;
}

.containerFooter .lienFooter {
    color: #fff;
}

.containerFooter .baseLineEA {
    color: #fff;
    font-size: 10px;
    margin: 0 10px 0;
}

.containerFooter .lienFooter a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
    text-transform: uppercase;
    font-size: 11px;
}

.sd-first-visit {
    font-family: 'nobel-regular';
    margin-top: 15px;
}

.sd-first-visit .text-center{
    color: #535353 !important;
    font-size: 14px;
}

.lienFooter.text-light {
    display: flex;
    align-items: center;
}

@media only screen and (max-width: 425px) {
    .containerFooter {
        display: flex;
        align-items: end;
        min-width: 320px;
        height: auto !important;
    }

    .lienFooter.text-light {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

#username[aria-invalid="true"],
#password[aria-invalid="true"] {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + .75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

#username[aria-invalid="true"]:focus,
#password[aria-invalid="true"]:focus {
    box-shadow: 0 0 0 .2rem #dc354540 !important;
}

.alert.alert-info {
    background: #d3f0eb;
    border: none;
    width: 90%;
    margin: auto;
    max-width: 800px;
}

.alert.alert-info a {
    font-family: "Open Sans", Helvetica, Arial, sans-serif !important;
    font-weight: bold;
}

.bold {
    font-weight: bold;
}

.sd-icon{
    display: flex;
}

.sd-icon .input-group-addon{
    display: flex;
    align-items: center;
    background: #f8f9fa;
    justify-content: center;
    min-width: 44px; 
    border: 1px solid #dee2e6;
    border-radius: 5px 0 0 5px;
    position: initial;
}

#kc-form-login h5{
    margin-bottom: 4px;
    font-size: 14px;
}

