@font-face {
  font-family: 'DaxlineWeb Bold';
  src: url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb_Bold.woff2') format('woff2'),
       url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb_Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'DaxlineWeb Extrabold';
  src: url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Extrabold.woff2') format('woff2'),
       url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Extrabold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'DaxlineWeb Black';
  src: url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Black.woff2') format('woff2'),
       url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Black.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'DaxlineWeb Regular';
  src: url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Regular.woff2') format('woff2'),
       url('https://static.europ-assistance.fr/fonts/DaxlineWeb/DaxlineWeb W07 Regular.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'din-rg';
  src: url('./../fonts/DIN-Regular/DIN2014-Regular.woff2') format('woff2'),
       url('./../fonts/DIN-Regular/DIN2014-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Folks-Bold';
  src: url('./../fonts/Folks-Bold/Folks-Bold.woff2') format('woff2'),
       url('./../fonts/Folks-Bold/Folks-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.kcHtmlClass{
    min-height: 100vh;
    height: fit-content;
}

body{
    height: 100vh !important;
}

.sd-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: max-content;
    min-height: 100vh;
}

.sd-navbar, .sd-footer{
    background: #0A1388;
    height: 45px;
    z-index: 1;
    color: #ffffff;
    font-size: 12px;
    line-height: 3.5em;
    white-space: nowrap;
    width: 100%;
}

.sd-footer{
    margin-top: 100px;
}

.sd-banner-container{
    width: 100%;
    background: #ffffff;
}

.sd-banner{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 80%;
    margin: auto;
}

.sd-banner-1, .sd-banner-2, .sd-banner-3{
    padding: 15px;
}

.sd-banner-1 a img{
    width: 115px;
}

.sd-banner-3 img{
    width: 180px;
}

.sd-banner-2{
    max-width: 600px;
}

.sd-banner-2 h1{
    font-size: 4rem;
    font-family: "Folks-Bold";
    color: #0A1388;
}

.sd-banner-2 h3{
    font-family: "din-rg";
    color: #0A1388;
    line-height: 25px;
    font-weight: bold;
    margin-left: 15%;
    margin-top: -7px;
}

/* #kc-header{
background-image: url(../img/logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 120px;
    margin: auto;
} */

#kc-header-wrapper{
    opacity: 0;
}

.kcFormHeaderClass .subtitle{
    display: none;
}

.kcFormHeaderClass div{
    padding-left: 0;
}

.kcBodyClass, body {
    background: #f5f2f2 !important;
}

.kcFormCardClass{
    display: flex;
    flex-direction: column;
    align-items: start;
    box-shadow: none;
    border: none;
    position: relative;
    font-family: 'DaxlineWeb Bold';
    background-color: #fff;
    margin: 32px auto 0;
    width: 35%;
    max-width: none;
    min-width: 500px;
}

.kcFormHeaderClass{
    width: 100%;
    display: flex;
    flex-direction: row !important;
    align-items: baseline;
    justify-content: space-between;
}

.sd-champsObligatoire{
    font-family: arial;
    font-size: 13px;
    font-weight: 300;
    line-height: 2.33;
    color: #666;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: italic;
    display: flex;
    justify-content: right;
    text-align: right;
}

.sd-infos{
    font-family: Arial;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.33;
    color: #666;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    text-align: justify;
    letter-spacing: -.1px;
    margin-bottom: 22px;
    margin-top: 15px;
}

.kcInputClass[aria-invalid="true"]{
    border-color: #e4002b !important;
    background-image: url("../img/error-red-cross.svg")
}

.kcInputGroup{
    position: relative;
}

.kcFormPasswordVisibilityButtonClass[aria-label="Show password"]{
    background: url("../img/hide_password.png");
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 14px;
    z-index: 999;
}
.kcFormPasswordVisibilityButtonClass[aria-label="Hide password"]{
    background: url("../img/show_password.png");
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 14px;
    z-index: 999;
}

.kcFormPasswordVisibilityButtonClass[aria-label="Show password"]{
    background: url("../img/hide_password.png");
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    border: none;
    position: absolute;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 14px;
    z-index: 999;
}



.kcFormPasswordVisibilityButtonClass[aria-label="Show password"].pf-c-button i,
.kcFormPasswordVisibilityButtonClass[aria-label="Hide password"].pf-c-button i{
    opacity: 0;
}

.kcFormPasswordVisibilityButtonClass[aria-label="Show password"].pf-c-button:after,
.kcFormPasswordVisibilityButtonClass[aria-label="Hide password"].pf-c-button:after{
    border: none;
}

#kc-current-locale-link{
    position: relative;
    right: 0;
    top: 0;
}

.kcFormGroupClass{
    font-family: 'DaxlineWeb Extrabold';
    font-size: 12px;    
    /* flex-direction: row; */
    align-items: baseline;
    margin-bottom: 0;
}

#kc-form-login .kcFormGroupClass{
    margin-top: 15px;
    justify-content: space-between;
}

.kcFormGroupClass input[type="text"],
.kcFormGroupClass input[type="password"]{
    border: #ddd 1px solid;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    padding: 21px 11px;
}

.kcButtonClass[name="cancel"]{
    color: #666;
}

.kcButtonClass:hover{
    opacity: .5;
}

.kcFormGroupClass input[type="text"]:focus,
.kcFormGroupClass input[type="password"]:focus{
    outline: none;
    border: 1px solid transparent;
    box-shadow: 0 0 3px 1px #2693d7;
    transition: .5s;
}

#kc-form-options {
    margin: 25px 0;
}

.kcInputErrorMessageClass{
    font-family: Arial, Helvetica, sans-serif;
    color: #e4002b;
    font-size: 12px;
}

.kcFormOptionsWrapperClass{
    font-family: "DaxlineWeb Bold";
}

.kcFormOptionsWrapperClass span:first-child{
    color: #78aeff;
    text-decoration: underline;
}

.kcFormPasswordVisibilityButtonClass {
    border: #ddd 1px solid;
}

.kcButtonClass{
    border: none;
    color: #fff;
    background-color: #00239c;
    background-image: none;
    padding: 15px;
    font-size: 13px;
    font-family: "DaxlineWeb Bold";
    width: fit-content !important;
    text-align: left;
}

.kcButtonClass{
    background: url("../img/btn-link-arrow-white.svg") right 20px top 50% no-repeat #00239c !important;
    padding-right: 108px;
    color: #fff !important;
}

.kcButtonClass[name="submitAction"]{
    background-image: none;
}

.kcButtonClass[name="cancel"]{
    background-image: none;
    background-color: #eee;
}

.kcButtonClass[name="cancel-aia"]{
    background: transparent;
    color: #00239c;
}

#kc-info-register.kcSignUpClass {
    margin: 40px 0 0;
}

#kc-info.kcSignUpClass {
    margin: 40px 0 0;
}

#kc-info-wrapper{
    background-color: #00239c;
    color: #fff;
    font-size: 14px;
    font-family: "DaxlineWeb Bold";
    position: relative;
}

#kc-registration{
    margin-top: -15px;
}

#kc-registration a{
    color: #fff;
    text-decoration: underline;
}

#kc-info-wrapper::before{
    position: absolute;
    content: " ";
    background: #00239c;
    top: -20px;
    left: 0;
    width: 100%;
    height: 121%;
    z-index: -1;
    transform: skew(0,-1.5deg);
}

.kcInfoAreaWrapperClass .instruction{
    color: #fff !important;
}

.sd-parent-block-left{
    display: flex;
    justify-content: left;
}

.sd-parent-block-center{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.sd-nodivhere-why{
    display: flex;
}

.kcFormClass{
    padding: 0 !important;
}

.kcFormClass .kcButtonClass[name="cancel-aia"]{
    background: #eeeeee;
    padding: 15px;
}

#kc-info-message{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 40px;
}

#kc-error-message{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#kc-error-message .instruction{
    width: 50%;
}

#kc-reset-password-form .kcLabelWrapperClass,
#kc-reset-password-form .kcInputWrapperClass{
    padding: 0;
}

#kc-reset-password-form .kcFormGroupClass{
    padding: 0;
    margin: 0;
}

.sd-parent-block-center .kcFormOptionsClass,
.sd-parent-block-center .kcFormButtonsClass{
    margin: 0;
    padding: 0;
}

.sd-parent-block-center .kcFormButtonsClass{
    display: flex;
    justify-content: right;
}

#kc-user-verify-device-user-code-form .kcFormOptionsClass{
    display: none;
}

#kc-reset-password-form .kcFormGroupClass:last-child{
    display: flex;
    width: 100%;
}

#kc-oauth{
    margin-top: 15px;
}

.kcFormHeaderClass .kcContentWrapperClass .col-md-10{
    float: none !important;
}

.sd-p-color-blue{
    color: #00239c;
}

span[data-kc-msg="proceedWithAction"]{
    border: none;
    color: #fff;
    background-color: #00239c;
    padding: 15px;
    font-size: 13px;
    font-family: "DaxlineWeb Bold";
    min-width: 180px;
    text-align: left;
    margin-top: 15px;
}

span[data-kc-msg="backToApplication"]{
    border: none;
    color: #fff;
    background-color: #00239c;
    padding: 15px;
    font-size: 13px;
    font-family: "DaxlineWeb Bold";
    min-width: 180px;
    text-align: left;
    margin-top: 15px;
}

.kcLoginOTPListClass::before {
    border: none;
}

.kcLoginOTPListClass::before {
    padding: 10px;
    margin-right: 15px;
}

#kc-content-wrapper{
    margin-top: -10px;
}

#kc-form-buttons{
    width: fit-content;
}

#kc-login {
    padding-right: 108px;
}

.kcFormGroupClass.kcFormSettingClass{
    margin-top: 40px;
}

#kc-username.kcFormGroupClass {
    background: #00239c;
    color: #fff;
    padding: 15px;
    /* margin: auto; */
    width: 100%;
    margin-bottom: 30px;
}

#kc-sms-code-login-form .kcFormGroupClass.kcFormSettingClass{
    margin-top: 0;
}

#kc-username.kcFormGroupClass .kc-login-tooltip {
    color: #fff;
}

#kc-info-wrapper a {
    color: #fff;
    text-decoration: underline;
}

#kc-form-options{
    display: none;
}

.sd-new-password{
    text-decoration: none;
    color: #b5b5b5;
}

.sd-info {
    /* position: absolute;
    bottom: 0; */
    width: 100%;
    background: #e8e8e8;
    left: 0;
    padding: 10px;
    text-align: center;
}

.sd-info {
    width: 35%;
    max-width: none;
    min-width: 500px;
    margin: auto;
    text-align: center;
    background: #dedede;
    padding: 14px;
}

input#saveTOTPBtn {
    margin-top: 25px;
}

@media (max-width: 767px) {
    #kc-locale {
        width: 200px;
        top: 20px;
        right: 20px;
        text-align: right;
        z-index: 9999;
    }

    #kc-header {
        padding-left: 15px;
        padding-right: 15px;
        float: none;
        text-align: left;
        height: 100px;
    }

    .kcFormCardClass{
        margin: 32px auto 0 !important;
        width: 95%;
        min-width: auto;
    }

    .sd-banner{
        flex-direction: column;
    }

    .sd-banner img {
        display: none;
    }
}

body[data-page-id="login-trusted-device-register"] h2 {
    text-align: center;
}
 
body[data-page-id="login-trusted-device-register"] .kcButtonClass {
    margin: 0 !important;
    margin-top: 0 !important;
}
 
body[data-page-id="login-trusted-device-register"] .sd-div-trusted-device-register {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    margin: 0 auto 10px auto;
    width: 45%;
}
 
body[data-page-id="login-trusted-device-register"] .kcFormButtonsClass h2 {
    font-size: unset;
}