

/* css du module inscription */

:root{
    --Blanc-insc: #FFF;
    --Brun-insc: #39322B;
    --Orange-insc: #BE6A14;
    --taille-angle: 12px;
    --taille-angle-mort: 17px;
}

.small_title{
    line-height: normal;
    margin-bottom: 31px;
}

/* Bouton */

.btn_inscr{
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 6px 14px 8px 11px;
    font-size: 24px;
    color: var(--Brun-insc);
    text-decoration: none;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    width: fit-content;
    margin-top: 25px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 44px;

    cursor: pointer;
}

.btn_inscr:hover, .continues-item .btn_inscr:hover{
    color: var(--Blanc-insc);
    text-decoration: none;
}

.btn_inscr svg{
    transition: 0.2s;
}

.btn_inscr:hover svg{
    transform: translateX(4px);
}

.btn_orange{
    background-color: var(--Orange-insc);
    color: var(--Blanc-insc);
    clip-path: polygon(100% 0, 100% calc(100% - var(--taille-angle)), calc(100% - var(--taille-angle)) 100%, 0 100%, 0 0);
}

.btn_orange:hover{
    --taille-angle: 15px;
}

.btn_gris, .continues-item .btn_gris:hover{
    color: var(--Brun-insc);
    /*overflow: hidden;*/
    background-color: var(--Blanc-insc);
    border: 1.9px solid var(--Brun-insc);
    position: relative;
}

.btn_gris svg path{
    stroke: var(--Brun-insc);
}

.btn_gris::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--Blanc-insc);
    border-left: 1.9px solid var(--Brun-insc);
    height: var(--taille-angle-mort);
    width: var(--taille-angle-mort);
    transform: translate(52%, 52%) rotate(45deg);
    pointer-events: none;
    transition: 0.2s;
}


.btn_gris:hover{
    color: var(--Brun-insc);
    --taille-angle-mort: 20px;
}

.continues-item .btn_inscr{
    font-size: 13px;
    padding: 2px 7px 2px 7px;
    gap: 10px;
    margin-top: 10px;

    --taille-angle: 6px;
    --taille-angle-mort: 9px;

    height: 24px;
}

.continues-item .btn_inscr svg{
    width: 10px;
    height: 9px;
}

.continues-item .btn_inscr:hover{
    --taille-angle: 8px;
    --taille-angle-mort: 11px;
}

.continues-item .btn_inscr:hover svg{
    transform: translateX(3px);
}


/* Popup inscription */

#popup-inscription{
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(37, 21, 4, 0.87);
    display: none;

}

#popup-inscription>div{
    background: #FFF;
    padding: 60px 60px 45px 60px;
    max-width: 700px;
    min-height: 300px;
    width: 100%;
    margin: auto;
    position: relative;
}

#popup-inscription.pop{
    display: flex;
}

#popup-inscription>div>.close_pop{
    position: absolute;
    top: 24px;
    right: 33px;
    cursor: pointer;
    border: unset;
    background: transparent;
    padding: 30px 30px 6px 6px;
}

.popup-title{
    max-width: 600px;
    color: var(--Orange-insc);
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-right: 20px;
}

#popup-inscription>div h3{
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    margin-top: 45px;
}

.table-sceances{
    width: 100%;
    border-collapse: collapse;
}

.table-sceances .col-date{
    width: 100%;
}

.table-sceances .col-label,
.table-sceances .col-select,
.table-sceances .col-dispo{
    white-space: nowrap;
    width: 1%;
}

.table-sceances{
    color: #39322B;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 15px 0 75px;
}

.table-sceances tr{
    border-bottom: 1px solid #E0E0E0;
}

.col-date,
.col-label,
.col-participant{
    padding: 20px 0px 22px;
}

.col-select{
    padding-left: 25px;
    padding-right: 25px;
}

.ligne_complet{
    pointer-events: none;
}

.ligne_complet .col-date,
.ligne_complet .col-label,
.ligne_complet .col-select{
    opacity: 0.5;
}

.nb_place{
    color: #00A519;
    font-style: italic;
}

.nb_place.presque_complet{
    color: #D28C00;
}

.nb_place.complet{
    color: #DD3538;
}


.select_inscr{
    position: relative;
    width: 100%;
    height: 38px;
    border: 1.9px solid var(--Brun-insc);
}

.select_inscr select, .select_inscr select:focus-visible{
    height: 100%;
    width: 60px;
    padding: 7px 2px 7px 10px;
    background-color: var(--Blanc-insc);
    color: var(--Brun-insc);
    border: unset;
    outline: unset;
    cursor: pointer;
    min-width: 100%;

    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;

    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select_inscr::after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--Blanc-insc);
    border-left: 1.9px solid var(--Brun-insc);
    height: var(--taille-angle-mort);
    width: var(--taille-angle-mort);
    transform: translate(52%, 52%) rotate(45deg);
    pointer-events: none;
    transition: 0.2s;
}

.select_inscr svg{
    transition: 0.2s;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.select_inscr select:focus-visible + svg{
    transform:  translateY(-50%) rotate(180deg);
    pointer-events: all;
}

#popup-inscription>div .btn_inscr{
    margin-left: auto;
    margin-right: 0;
    display: flex;
}





/* Page inscription */

.single-formation .sous_titre_inscr{
    color: var(--Brun-insc);
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
}

.single-formation .sous_titre_inscr span{
    font-size: 20px;
    font-weight: 400;
}

.single-formation .sous_titre_inscr::before {
    background-color: var(--Brun-insc);
    top: 6px;
}

.single-formation .sous_titre_orange{
    font-size: 26px;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 0;
}

.single-formation .sous_titre_orange::before {
    top: 6px;
}

.single-formation .sous_titre_orange>span{
    color: #898989;
    font-size: 20px;
    font-weight: 400;
}

.form_insc{
    margin: 25px 0;
}


.formation-header-img-single a.btn_inscr {
    color: var(--Blanc-insc);
}


.prix_participant{
    margin-bottom: 57px;
}

.participant-prix{
    color: #898989;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    white-space: nowrap;
}


.section_total, .prix_participant{
    display: flex;
    width: 100%;
    align-items: baseline;
    justify-content: space-between;
    flex: 0 0 auto;
    white-space: nowrap;
    gap: 20px;
}

.prix_participant{
    align-items: center;
}

.section_total .prix_total,
.section_total .prix_total_resume{
    color: var(--Orange-insc);
    text-align: right;
    font-size: 26px;
    font-weight: 700;
    line-height: normal;

    flex: 0 0 auto;
}


#participant .btn_commande {
    display: flex;
    margin: 55px 0 0 auto;
}


.participant-types{
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    flex-wrap: wrap;
}

.participant-type input{
    display: none;
}

.participant-type>span{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.participant-type>span::before{
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #BDBDBD;
    flex-shrink: 0;
}

.participant-type input:checked + span::before{
    background: var(--Orange-insc);
    border: 2px solid var(--Orange-insc);
}

.input_banq, .payment-info{
    margin: 30px 0 48px;
    display: none;
}

#card-element{
    border-bottom: 1px solid var(--Orange-insc);
    padding-bottom: 4px;
}


/* afficher si la radio Carte est cochée */
.moyen_paiement:has(#paiement_card:checked) ~ .input_banq {
    display: flex;
    flex-direction: column;
}

.moyen_paiement:has(#paiement_twint:checked) ~ #twint-payment-info {
    display: flex;
    flex-direction: column;
}


.page-template-template-inscriptions .wpcf7-text{
    color: #39322B;
}














    /*********************
    Custom select
    *********************/

.custom_select{
    position:relative;
    width:100%;
    margin-bottom: 30px;
}

.with_arrow{
    position: relative;
    transition: 0.5s;
    z-index: 5;
    width: 100%;
}

.with_arrow>svg{
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    transition: 0.2s;
    pointer-events: none;
}

.custom_select.open .with_arrow>svg {
    pointer-events: all;
}

.with_arrow>svg.suppr{
    right: 40px;
    opacity: 0;
    cursor: pointer;
}

.open .with_arrow>svg:last-child{
    transform: translateY(-50%) rotate(180deg);
}

.open .with_arrow>svg.suppr{
    opacity: 1;
    pointer-events: all;
}


.custom_select_input{
    width: 100%;
    height: auto;
    color: var(--Brun-insc);

    font-style: normal;
    font-weight: 500;
    /*line-height: normal;*/


    /*width: 100%;*/
    font-size: 2rem;
    border: 2px solid #E0E0E0;
    padding: 15px 20px;
}

.custom_select_input::placeholder{
    color: var(--Brun-insc);
}


.display-actions .theme-color-green .with_arrow svg path{
    stroke: var(--Brun-insc);
}


.custom_select_input:focus-visible{
    outline: unset;
}

.custom_select_dropdown{
    box-sizing: border-box;
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 0;
    width: 100%;
    overflow: hidden;
    /*display:none;*/
    padding: 0 0 0 8px;
    background: #E0E0E0;

    /* ombre-mobile */
    box-shadow: 0 0 13px 0 rgba(0, 0, 38, 0.12);

    max-height: 0;
    transition: 0.5s;
}


.display-actions .theme-color-green .custom_select_dropdown {
    background: #E0E0E0;
}

.open .custom_select_dropdown {
    display: flex;
    max-height: 400px;
}

.custom_select_option {
    line-height: normal;
    padding: 8px 10px;
    cursor: pointer;
    transition: 0.2s;
    color: var(--Brun-insc);
    font-weight: 500;
    border-bottom: 1px solid #b3aeaa;
}

.custom_select_option:hover, .custom_select_option.active {
    color: var(--Orange-insc);
}

.inner_scroll {
    height: auto;
    width: 100%;
    /*overflow: auto;*/
    overflow-y: scroll;
}


.custom_select_dropdown .inner_scroll {
    margin-top: 35px;
}


.custom_select_dropdown .inner_scroll > div:last-child,
.custom_select_dropdown .inner_scroll > div.last-visible {
    margin-bottom: 10px;
    border-bottom: 0 solid transparent;
}

.custom_select.open, .week_picker.open {
    z-index: 998;
}


/* width */
.inner_scroll::-webkit-scrollbar {
    width: 19px;
}

/* Track */
.inner_scroll::-webkit-scrollbar-track, .display-actions .theme-color-green .inner_scroll::-webkit-scrollbar-track{
    background: #E0E0E0;
}

/* Handle */
.inner_scroll::-webkit-scrollbar-thumb, .display-actions .theme-color-green .inner_scroll::-webkit-scrollbar-thumb{
    background: var(--Brun-insc);
    border: 8px solid #E0E0E0;
    border-radius: 10px;
}

/* Handle on hover */
.inner_scroll::-webkit-scrollbar-thumb:hover, .display-actions .theme-color-green .inner_scroll::-webkit-scrollbar-thumb:hover{
    background: #E0E0E0;
    width: 2px;
}

.custom_pilule .with_arrow input{
    min-width: 126px;
    width: 100%;
}

input.erreur, input.invalide{
    border-color: #ff9c9c;
}

/* calendrier */

span.flatpickr-day {
    border-radius: 0;
}

span.flatpickr-day.selected, span.flatpickr-day.startRange, span.flatpickr-day.endRange, span.flatpickr-day.selected.inRange, span.flatpickr-day.startRange.inRange, span.flatpickr-day.endRange.inRange, span.flatpickr-day.selected:focus, span.flatpickr-day.startRange:focus, span.flatpickr-day.endRange:focus, span.flatpickr-day.selected:hover, span.flatpickr-day.startRange:hover, span.flatpickr-day.endRange:hover, span.flatpickr-day.selected.prevMonthDay, span.flatpickr-day.startRange.prevMonthDay, span.flatpickr-day.endRange.prevMonthDay, span.flatpickr-day.selected.nextMonthDay, span.flatpickr-day.startRange.nextMonthDay, span.flatpickr-day.endRange.nextMonthDay {
    background: var(--Orange-insc);
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--Blanc-insc);
    border-color: var(--Orange-insc);
}





.single-formation-content>div.valide{
    display: none;
}




/* Resumer */

.section_resume{
    height: fit-content;
    position: sticky;
    top: 20px;
}

.section_resume .sous_titre_inscr{
    color: #898989;
}

.section_resume .sous_titre_inscr::before{
    background: #898989;
}


.liste_resume{
    margin-top: 33px;
    margin-bottom: 33px;
}

.liste_resume .item_resum{
    color: #898989;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.liste_resume .item_resum .participant-prix {
    font-weight: 500;
}


.liste_resume .item_resum:last-child{
    margin-bottom: 0;
}

.liste_resume .titre_date_resum{
    margin-top: 23px;
    margin-bottom: 9px;
    font-size: 16px;
    color: #898989;
}

.resume_total{
    margin-top: 55px;
}

.ancien-total .participant-prix{
    text-decoration: line-through;
}



/* Etape 2  */

.block2{
    display: none;
}

.cote_champ{
    display: flex;
    gap: 20px;
}

.type_particulier{
    margin: 24px 0 25px;
}


/* Etape 3 */

.code_promo{
    display: flex;
    height: 44px;
    margin-top: 35px;
    margin-bottom: 37px;
}

.code_promo input{
    height: 100%;
    padding: 10px 32px 10px 20px;
    border: 1px solid #BDBDBD;
    border-right: unset;

    color: #898989;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    outline: none;
    width: 167px;
}

.code_promo .btn_inscr{
    margin-top: 0;
    height: 100%;
}




.btn_finale:disabled {
    opacity: 0.6;
    pointer-events: none;
}

.iscp_loading_active {
    cursor: wait !important;
}

#iscp_loading{
    background-color: white;
    color:  var(--Orange-insc);
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10;
    padding: 10px 20px ;
    font-weight: 400;
    border: solid 1px var(--Orange-insc);
    border-radius: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
}


.formation-header-img-single a.btn_inscr.btn_gris {
    color: var(--Brun-insc);
}

.formation_inscription .formation-header-img-single .sous_titre_inscr span {
     font-weight: 700;
}


@media (min-width:1200px) {

    .formation_inscription .formation-header-container {
        min-height: 550px;
    }

    .formation-header.formation_inscription  .black-bg{
        max-height: 600px;
    }


    .formation_inscription .formation-header-title.fixed {
        max-height: 600px;
        box-sizing: border-box;
    }
}



@media (max-width: 1000px) {

    .custom_select_input {
        width: 100%;
        border: none;
        font-size: 1.8rem;
        border: 1px solid #E0E0E0;
        padding: 10px 15px;
    }

    .custom_select {
        margin-bottom: 15px;
    }

    .code_promo input {
        width: 100%;
        border: none;
        font-size: 1.8rem;
        border: 1px solid #E0E0E0;
        padding: 10px 15px;
    }

    .form_insc {
        margin: 20px 0;
        gap: 15px;
    }
}



@media (max-width: 770px) {

    .btn_inscr {
        font-size: 18px;
    }

    .form_insc{
        grid-template-columns: 1fr;
        gap: 0;
    }


    .participant-type>span::before {
        width: 16px;
        height: 16px;
    }

    .participant-type>span {
        font-size: 14px;
    }

    .participant-prix {
        font-size: 18px;
    }


    .formation_inscription  .sous_titre_orange {
        font-size: 22px;

    }

    .formation_inscription .sous_titre_orange::before {
        top: 3px;
    }

    .section_total .prix_total, .section_total .prix_total_resume {
        font-size: 22px;
    }

    .formation_inscription.single-formation .sous_titre_orange>span {
        font-size: 14px;
    }


    .formation_inscription .block2 .form_insc {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }

    .section_resume{
        position: static;
    }
}



@media (max-width: 470px) {
    .formation_inscription .participant-types {
        gap: 10px;
    }

    .formation_inscription .section_total, .formation_inscription .prix_participant {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        flex: 0 0 auto;
        white-space: nowrap;
        gap: 15px;
        flex-direction: column;
        align-content: flex-start;
        text-align: left;
    }

    .formation_inscription .resume_total {
        display: block;
        align-items: flex-start;
        justify-content: space-between;
        flex: 0 0 auto;
        white-space: nowrap;
        gap: 15px;
        flex-direction: row;
        align-content: flex-start;
        text-align: left;
    }
}


@media (max-width: 400px) {

    .formation-header.formation_inscription .black-bg{
        max-height: 400px;
    }


    .formation_inscription .formation-header-title.fixed {
        max-height: 400px;
        box-sizing: border-box;
    }

    .btn_inscr {
        font-size: 14px;
        margin-top: 20px;
        height: 38px;
    }

    .btn_inscr svg{
        scale: 0.8;
    }

    .formation_inscription .sous_titre_inscr {
        font-size: 20px;
    }

    .formation_inscription .sous_titre_inscr::before {
        top: 2px;
    }
}