/* Positionnement de la div des formulaires CIRD */
html, body {
    height: 100% !important;
}

.backward{
    display: flex;
    float: left;
    font-size: 12px;
    margin-top: 13px;
    margin-left: 25px;
}

.backward a{
    color: #9D9D9D;
}

.backward a:hover{
    text-decoration: underline;
}

.cdf_cird_body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    height: 100%;
    overflow: auto;
}

#loginContainer {
    max-width: 350px;
    width: 100%;
    transition: max-width 0.5s;

    /* Padding pour éviter les problèmes de cropping du formulaire CIRD */
    padding: 25px 5px;
}

.center_cird {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 400px;
    width: 400px;
    align-items: center;
    /* margin pour compenser la taille du footer */
    margin-bottom: 24px;
}

.ckw-cird__submit-button, .ckw-cird__input, .ckw-cird__login-with, .ckw-cird__button, .ckw-cird__back-button {
    /* Uniformisation de la taille des inputs / boutons */
    height: 40px;
}

.ckw-cird__form .ckw-cird__login-with {
    justify-content: center;
}

.ckw-cird__form .ckw-cird__login-with span {
    flex: unset !important;
    line-height: 1;
}

@media screen and (max-width: 480px) {
    #loginContainer {
        max-width: 280px;
        transition: max-width 0.5s;
    }

    .ckw-cird__register-input-base, .ckw-cird__register-input-pro, .ckw-cird__register-inputs {
        width: 280px !important;
        margin: 0 !important;
    }

}

/* Surcharge du CSS importé du CIRD */
.ckw-cird__login-with, .ckw-cird__form, .ckw-cird__button {
    /* On enlève le padding qui décale le texte des boutons */
    padding: 0 !important;
}

.ckw-cird__form .ckw-cird__submit-button{
    /* Compense le décalage du texte du bouton submit */
    padding: 0 0 1px 0 !important;
}

.ckw-cird__tos-field label, .ckw-cird__pro-field label {
    /* Alignement du texte en face de la checkbox d'inscription */
    align-self: center !important;
    margin-top: 0 !important;
}

/* Gestion des inputs pro responsive */
.ckw-cird__register-inputs {
    width: 720px;
    margin-left: -186px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.ckw-cird__register-input-base, .ckw-cird__register-input-pro {
    width: 350px;
    align-self: center;
}

@media screen and (min-width: 1300px) {
    .ckw-cird__register-inputs {
        flex-direction: row;
    }

    .ckw-cird__register-input-pro {
        align-self: baseline;
        margin-left: 20px;
    }
}

.mail_notification {
    position: relative;
    box-sizing: border-box;
    background-color: #46cbf4;
    margin-bottom: 25px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 1;
    padding: 12px 21px;
    max-width: 350px;
    width: 100%;
}

.mail_notification p {
    margin: 0;
    text-align: center;
    line-height: 1;
}

.mail_notification button {
    background-color: #fff0;
    border: none;
    color: white;
    cursor: pointer;
    margin: 1em;
    font-size: 0.9em;
    font-weight: bold;
    position: absolute;
    right: -9px;
}

.redirection_modal {
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.redirection_modal div {
    font-size: 1.8em;
    margin-bottom: 120px;
}

.ffr_sgvf-signup-required-modal {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    text-align: center;
    border-radius: 16px;
    padding: 22px;
    z-index: 10000;

    display: none;
}

.ffr_sgvf-signup-required-modal h1 {
    font-size: 18px;
    color: rgb(40, 89, 68);
    font-weight: 700;
    line-height: 1.25;
}

.ffr_sgvf-signup-required-modal img {
    width: 50%;
}

.ffr_sgvf-signup-required-modal p {
    font-size: 13.5px;
    line-height: 1.088;
    margin: 17px 0;
}

.ffr_sgvf-signup-required-modal .btn-redirect {
    background: rgb(40, 89, 68);
    color: #fff;
    font-size: 13.5px;
    line-height: 1.667;
    font-weight: 700;
    border: 0;
    border-radius: 26px;
    width: 100%;
    padding: 8px;
    cursor: pointer;
}

.ffr_sgvf-signup-required-modal .sign-in-btn {
    margin-top: 13.5px;
}

.ffr_sgvf-signup-required-modal .cancel-button {
    background: transparent;
    border: 0;
    color: rgb(40, 89, 68);
    text-decoration: underline;
    cursor: pointer;
    margin-top: 13.5px;
}

.ffr_sgvf-signup-required-overlay {
    display: none;
    position: fixed;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
}
