.login-pf body,
.login-pf-page {
    background: #ffffff;
    height: 100%;
}

.login-pf-page {
    height: auto;
    padding-bottom: 20px;
}

.login-pf-page .login-pf-page-header {
    margin-bottom: 65px !important;
}

.btn-retour {
    margin-left: 25px;
}

.btn-retour a {
    display: flex;
    color: #000000;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
}

.btn-retour a::before {
    content: "";
    background: url("../img/arrowLeft.png");
    background-size: cover;
    width: 20px;
    height: 20px;
    display: block;
    margin-right: 10px;
}

h1#kc-page-title {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 20px;
    color: #000000;
}

/* H1 sur la page register pour personnaliser*/
h1 .register {
    background-color: #ffed00;
    padding: 10px 20px;
    position: absolute;
    top: -3%;
    font-size: 23px;
    right: 31%;
    border-radius: 5px;
}

h1 .register::after {
    content: "";
    display : inline-block;
    height : 0;
    width : 0;
    border-top : 10px solid #ffed00;
    border-left : 10px solid transparent;
    position: relative;
    top: 23px;
    right: 90%;
}

h2 {
    color: #34c8c5;
    text-align: center;
    text-transform: uppercase;
    font-size: 35px;
    font-weight: 600;
    margin-bottom: 25px;
    margin-top: 0;
}

.card-pf {
    position: relative;
    margin: 0 auto;
    padding: 20px 80px !important;
    max-width: 768px;
    background-color: #EFEFEF;
    border-radius: 5px;
    box-shadow: none;
}

label {
    font-weight: 700;
    font-size: 14px;
    color: #000000;
}

input {
    width: 100%;
    padding: 7px;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus {
    background-color: #ffffff;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus {
    outline: none !important;
    border: 2px solid #ffed00 !important;
}

.optinBayardEducation {
    margin-left: 20px;
}

.optinBayardEducation label {
    padding-left: 0 !important;
}

input[type=checkbox] {
    width: auto;
}

input[type="checkbox"]::before {
    background-color: #000000;
    border: 2px solid #000000 !important;
}

input[type="checkbox"]:focus {
    border: transparent;
}

span.starsRed {
    color: #ff0000;
}

label.rememberMe {
    font-weight: 600 !important;
    color: #000000;
}

input.pf-c-button.pf-m-primary {
    background-color: #34c8c5;
    color: #000000;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 10px 50px;
    width: auto;
    margin: 0 auto;
    border: none !important;
    border-radius: 25px !important;
}

input.pf-c-button.pf-m-primary:hover {
    background-color: #FFED00;
}

.hidden-optin {
    display: none
}

.forgotPwd {
    text-align: center;
}

.forgotPwd a {
    color: #000000 !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
}

.forgotPwd a:hover {
    text-decoration: none;
}

#kc-info {
    border-top: 1px solid #ffffff;
    margin-top: 25px !important;
}

.btnValider {
    text-align: center;
}

.login-pf-page .card-pf #kc-content #kc-content-wrapper .form-group {
    position: relative;
}

.form-group input#password ~ img#eye,
.position-relative input#password-new ~ img#eye,
.position-relative input#password-confirm ~ img#eyeConfirm {
    position: absolute;
    top: 58%;
    left: 92%;
    cursor: pointer;
    width: 25px;
}

#kc-register-form .form-group input#password ~ img#eye {
    top: 12%;
}

#kc-passwd-update-form .position-relative input#password-new ~ img#eye {
    top: 17%;
    left: 83%;
}

#kc-passwd-update-form .position-relative input#password-confirm ~ img#eyeConfirm {
    left: 83%;
}

#kc-passwd-update-form .position-relative input#password-confirm.is-invalid ~ img#eyeConfirm {
    top: 40%;
}

#kc-registration {
    margin-top: 25px;
}

#kc-registration span {
    display: flex;
    flex-direction: column;
    font-weight: 600;
}

#kc-registration span a {
    background-color: #ffed00;
    color: #000000;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 10px 50px;
    width: auto;
    margin: 0 auto;
    border: none !important;
    border-radius: 25px;
    margin-top: 10px;
}

#kc-registration span a:hover {
    text-decoration: none;
    background-color: #34c8c5;
}

p.infoCreateCompte,
p.infosPwd,
p.instructionForgotPwd,
span#input-error {
    text-align: center;
    font-size: 13px;
    color: #000000;
    font-weight: 600;
}

p.infosPwd {
    text-align: left;
    font-weight: 500;
}

p.instructionForgotPwd {
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-weight: 500;
    margin-bottom: 20px;
}

p.infoCreateCompte {
    width: 100%;
    margin: 0 auto 30px;
    font-size: 14px;
}

p.infoCreateCompte span {
    color: #34c8c5;
}

p.infosPwd {
    color: #000000 !important;
}

p.infosPwd span {
    font-weight: 600;
}

span#input-error,
.alert-error,
.alert-success,
.alert-warning {
    display: block;
    margin-bottom: 15px;
    font-size: 15px;
    background-color: #fbe1e1;
    padding: 10px;
    text-align: center;
}

.alert-warning,
.alert-error {
    border: 1px solid #f7afaf;
}

.alert-success {
    background-color: #e9f4e9;
    border: 1px solid rgba(93, 158, 90, 0.49);
}

.backLogin a,
p.instruction {
    color: #000000;
    font-size: 14px;
}

p.instruction {
    text-align: center;
}

.fieldRequire {
    margin-bottom: 15px;
}

.fa-exclamation-circle:before,
.fa-check-circle:before,
.fa-exclamation-triangle {
    display: none;
}

#kc-form-options.horizon-options-check {
    padding-right: 20px;
    padding-left: 20px;
    margin-bottom: 15px;
}

.horizon-options-check label {
    font-weight: 500 !important;
    font-size: 13px !important;
}

.readMoreInput {
    display: none;
}

.readMoreContent {
    display: none;
}
.readMoreContent.visible {
    display: block;
}

.fakeBtn {
    float: right;
}

.fakeBtn .close,
.fakeBtn .open {
    font-size: 12px;
    text-decoration: underline;
    color: #72767b;
    font-weight: 500;
}

.fakeBtn .close:hover,
.fakeBtn .open:hover {
    cursor: pointer;
    text-decoration: none;
    color: #72767b;
    font-weight: 500;
}

.readMoreInput:checked + .readMorePlus .readMoreContent {
    display: block;
}

.readMoreInput:not(:checked) + .readMorePlus .close {
    display: none;
}

.readMoreInput:checked + .readMorePlus .open {
    display: none;
}

.rgpd {
    margin-bottom: 35px;
    margin-top: 50px;
}

.rgpd p.readMore {
    margin: 0;
}

#kc-passwd-update-form #kc-form-buttons {
    text-align: center;
}

#kc-passwd-update-form label,
#kc-passwd-update-form p.feedback,
#kc-passwd-update-form .rules-detail .validation-message {
    font-size: 13px ;
}

#kc-passwd-update-form .invalid-feedback {
    display: none;
    color: #ff0000;
    font-size: 13px;
    line-height: 1.3;
}

#kc-passwd-update-form .pf-c-form-control.is-invalid {
    border: 2px solid #ff0000 !important;
}

#kc-passwd-update-form .rules-detail-list {
    list-style: none;
    padding: 0;
}

#kc-passwd-update-form .rules-detail-list .validation-message:before {
    content: " ";
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("../img/ico-check-grey.png");
    background-size: contain;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 0.5rem;
}

#kc-passwd-update-form .rules-detail-list .validation-message.invalid:before {
    background-image: url("../img/ico-cross.png");
    animation: bounce 0.3s ease-out;
}

#kc-passwd-update-form .rules-detail-list .validation-message.valid:before {
    background-image: url("../img/ico-check-green.png");
    animation: bounce 0.3s ease-out;
}

@media only screen and (max-width: 768px) {
    .login-pf-page .card-pf {
        margin: 0 15px;
        padding: 0 20px 20px !important;
    }

    .form-group input#password ~ img#eye,
    .position-relative input#password-new ~ img#eye-confirmPwd,
    .position-relative input#password-confirm ~ img#eye {
        left: 90%;
    }
}

@media only screen and (max-width: 425px) {
    .login-pf-page .login-pf-page-header {
        margin-bottom: 45px !important;
    }

    h1 .register {
        width: 100%;
        right: 0%;
    }

    h1 .register::after {
        display: none;
    }

    h1#kc-page-title {
        font-size: 28px;
        margin: 0 0 10px;
    }

    p.infoCreateCompte {
        margin: 0;
    }

    #kc-register-form .form-group input#password ~ img#eye {
        top: 10% !important;
        left: 85%;
    }
}

