/*
 Theme Name:    Club Manage
 Description:   Thème gestion de club
 Author:        MyDeveloper
 Author URI:    https://www.mydeveloper.fr
 Template:      hello-elementor
 Version:       0.2
*/

body {
    --red-dark: #641c34;
    --red-light: #DA1D25;
    --grey-blue: #24333D;
    --gold: #D4A017;
    --white-light: #F5F5F5;
    --grey-light: #E0E0E0;
    --grey-medium: #A29D9D;

    overflow-x: hidden;
    background-color: var(--white-light);

    font-family: "Inter", sans-serif;
    letter-spacing: .5px;
}

h1 {
    font-size: 3em;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

h2 {
    font-size: 2.7em;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    line-height: 1.2em !important;
}

h3 {
    font-size: 2.43em;
    font-weight: 300;
    font-family: 'Inter', sans-serif;
    line-height: 1.2em !important;
}

h4 {
    font-size: 2em;
    font-weight: 400;
    line-height: 1.2em !important;
    font-family: 'Inter', sans-serif;
}

h5 {
    font-size: 1.9683em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

h6 {
    font-size: 1.77147em;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1025px) {
    body {
        font-size: .88em;
    }
    p, li {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: .6em;
        line-height: 1.6em;
    }
    p, li {
        font-size: 12px;
    }
}

/************************************************************* CLASS CUSTOM */

.hidden {
    display: none;
}

.w-20 {
    width: 20%;
}

.ml-auto {
    margin-left: auto;
}

.button-red {
    background-color: var(--red-dark);
    font-weight: 500;
    border-radius: 8px;
    color: var(--white-light);
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid var(--red-dark);
}

.button-red:hover {
    background-color: var(--white-light);
    font-weight: 500;
    border-radius: 8px;
    color: var(--red-dark);
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid var(--red-dark);
}

.button-red:disabled, .button-red:disabled:hover {
    background-color: rgba(0, 0, 0, .3) !important;
    border-color: rgba(0, 0, 0, .3) !important;
    cursor: not-allowed !important;
    color: white !important;
}

.button-white {
    background-color: #FFF;
    font-weight: 500;
    border-radius: 8px;
    color: var(--red-dark);
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid var(--red-dark);
}

.button-white:hover {
    background-color: var(--red-dark);
    font-weight: 500;
    border-radius: 8px;
    color: var(--white-light);
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
}

/*
.btn-white {
    box-shadow: -8px 8px 0px 0px var(--grey-blue), -9px 9px 0px 1px red;
}
*/

/************************************************************* MENU HEADER */

.block-rs-navigation:after {
    content: "";
    position: absolute;
    width: 75%;
    right: -200px;
    z-index: 25;
    top: -100px;
    background: var(--red-dark);
}

@media (max-width: 991px) {
    nav.elementor-nav-menu--dropdown {
        position: absolute;
        top: 40px;
        right: -16px;
        width: 100vw;
        height: calc(100vh - 40px);
        z-index: 1000;
        background-color: var(--white-light);
    }

    nav.elementor-nav-menu--dropdown {
        padding: 2rem 0;
    }

    nav.elementor-nav-menu--dropdown li {
        padding: .5rem 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    nav.elementor-nav-menu--dropdown .elementor-item {
        justify-content: center !important;
        background-color: transparent !important;
        font-size: 1.5em !important;
        letter-spacing: 2px;
    }

    nav.elementor-nav-menu--dropdown .elementor-item:focus, nav.elementor-nav-menu--dropdown .elementor-item:hover {
        color: var(--red-dark) !important;
    }

    nav.elementor-nav-menu--dropdown .elementor-item-active {
        background-color: transparent !important;
        color: var(--red-dark) !important;
        font-weight: 600 !important;
    }
}

/************************************************************* FORMULAIRE */

fieldset {
    border: none;
    padding: 0;
}

fieldset legend {
    font-weight: 800;
    font-size: 1.5em;
    color: var(--red-dark);
    margin-bottom: 2rem;
}

fieldset p, fieldset label {
    color: var(--grey-blue)
}

[data-step="1"], [data-step="1"] #legal_form_second_parent fieldset,
[data-step="2"] {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0;
    padding: 2rem 0;
    margin-top: 3rem;
}

[data-step="1"] > div, [data-step="1"] #legal_form_second_parent fieldset > div,
[data-step="2"] > div {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0;
    column-gap: 0;
}

.form-legal__block {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.form-legal__block-radio {
    width: 100%;
    margin: 2rem 0 2rem;
}

.form-legal__radio--title {
    display: block;
    font-size: 1.2em;
    font-weight: 700;
    margin: 2rem 0 1rem
}

.form-legal__block-radio label {
    padding: 12px 24px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}

.form-legal__block-radio label div {
    margin-right: 1rem;
    flex: 0 0 auto;
}

.form-legal__block label {
    display: block;
    padding: 0 1rem;
}

.form-legal__label--input {
    color: var(--white-light);
    font-size: .5em;
}

.form-legal__label--radio {
    color: var(--grey-blue);
}

.form-legal__label--checkbox {
    color: var(--grey-blue);
}

.form-legal__button button {
    margin: 2rem 0 0 1rem;
}

.form-legal__block--button {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 3rem 0;
}

.form-legal__block--button button {
    margin: 0 1rem;
}

.field-w15 {
    width: 15%;
}

.field-w20 {
    width: 20%;
}

.field-w25 {
    width: 25%;
}

.field-w30 {
    width: 30%;
}

.field-w35 {
    width: 35%;
}

.field-w50 {
    width: 50%;
}

.field-w75 {
    width: 75%;
}

.field-w100 {
    width: 100%;
}

label input[type="radio"] {
    margin-top: 0;
    border: none;
    background-color: var(--grey-light);
    color: var(--grey-blue);
}

[data-step="1"] label input[type="radio"] {
    margin-left: 1rem;
}

label input[type="text"],
label input[type="tel"],
label input[type="number"],
label input[type="email"],
label input[type="date"] {
    border: none;
    background-color: var(--grey-light);
    height: 35px;
    border-radius: 5px;
    color: var(--grey-blue);
    width: 100%;
    padding: 0 10px;
    margin-top: 5px;
}

.field-error {
    border: 2px solid #e53935 !important;
    background-color: #ffecec;
    border-radius: 4px;
    padding: 3px;
}

label.field-error {
    display: inline-block;
    padding: 5px 8px;
    background: #ffecec;
    border: 2px solid #e53935;
    border-radius: 5px;
}

/* Input file */
.form-legal__title {
    width: 100%;
}

.form-legal__block--file {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 400px;
    height: 45px;
    margin-bottom: 10px;
    margin-left: 1rem;
}

.form-legal__file--input {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
}

.form-legal__file--label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    padding: 0 0 0 1rem;
    background-color: #E0E0E0;
    border: none;
    border-radius: 0.25rem;
    font-weight: 400;
    color: var(--grey-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.form-legal__file--label::after {
    content: "Choisir un fichier";
    background-color: var(--white-light);
    padding: 0.5rem 1rem;
    border-radius: 0 0.25rem 0.25rem 0;
    color: var(--red-dark);
    border: 1px solid var(--red-dark);
    line-height: 28px;
    z-index: 5;
}

.form-legal__file--label:hover::after {
    background-color: var(--red-dark);
    color: var(--white-light);
    border: 1px solid var(--red-dark);
}

@media (max-width: 767px) {
    .form-legal__radio--title {
        font-size: 16px;
    }
}

/* Template step-2 */
.form-legal__block-adherent {
    width: 100%;
    row-gap: 1rem !important;
    column-gap: 3% !important;
    flex-wrap: wrap !important;
    margin-bottom: 2rem !important;
}

.form-legal__block-adherent .block-adherent__item, #toggle-nouveau-adherent {
    padding: 1rem;
    width: 30%;
    border: 1px solid var(--red-dark);
    border-radius: 8px;
    color: var(--red-dark);
    background-color: transparent;
    font-size: 1em;
    cursor: pointer;
}

.form-legal__block-adherent .block-adherent__item span {
    color: var(--grey-blue);
    font-size: .8em;
    margin-left: 25px;
}

@media (max-width: 767px) {
    .form-legal__block-adherent .form-legal__radio-group {
       flex-direction: column;
    row-gap: 1rem;
    }
}


/* Template step-5 */
.list__bloc-paiement-inscription {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 4%;
    row-gap: 2rem;
    margin: 3rem 0 5rem;
}

.bloc-paiement-inscription {
    padding: 2rem 1rem;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    width: 100%;
    background-color: #FFF;
}

.bloc-paiement-inscription hr {
    border-color: rgba(0, 0, 0, .1);
}

.bloc-paiement-inscription .form-legal__block {
    margin-bottom: .5rem;
}

.bloc-paiement-inscription label {
    font-weight: 400;
    padding: 0;
}

.bloc-paiement-inscription .inscription-title {
    color: var(--red-dark);
    font-weight: 600;
    font-size: 1.2em;
}

.bloc-paiement-inscription .inscription-title span {
    color: rgba(36, 51, 61, .6);
    font-weight: 800;
    font-size: 1.2em;
    margin-bottom: .5rem;
    display: block;
}

.bloc-paiement-inscription .inscription-tarif {
    display: flex;
    column-gap: 2rem;
    align-items: center;
    margin-bottom: 1rem;
}

.bloc-paiement-inscription .inscription-tarif__toggle {
    font-size: .9em;
    font-weight: 600;
    color: var(--e-global-color-text);
    cursor: pointer;
}

.bloc-paiement-inscription .inscription-tarif__toggle:hover {
    color: var(--red-dark);
}

.bloc-paiement-inscription .inscription-tarif .inscription-tarif__price {
    color: white;
    font-weight: 400;
    display: block;
    width: fit-content;
    padding: .5rem;
    background-color: var(--grey-blue);
}

.bloc-paiement-inscription .form-legal__block.checkbox-input {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.bloc-paiement-inscription .form-legal__block.checkbox-input:last-child {
    line-height: 45px;
}

.bloc-paiement-inscription .form-legal__block.checkbox-input label {
    width: 50%;
}

.bloc-paiement-inscription .form-legal__block.checkbox-input label input[type="number"] {
    width: 100%;
}

.bloc-paiement-inscription .bloc-paiement-inscription__cta {
    margin-top: 2rem;
}

.inscription-inactive {
    background-color: transparent;
    border: 1px dashed rgba(128, 0, 32, .5);
    box-shadow: none;
}

.inscription-inactive .inscription-title {
    opacity: .5;
}

.inscription-inactive .inscription-tarif {
    opacity: .5;
}

.inscription-inactive .help-payments {
    display: none;
}

.inscription-inactive .notice-infos-inscription-remove {
    display: block;
}

.inscription-active .notice-infos-inscription-remove {
    display: none;
}

.form-payment .form-payment__question {
    text-align: center;
    margin-top: 2rem;
}

.form-payment .form-payment__methods {
    display: flex;
    column-gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
}

.form-payment .form-payment__methods label {
    width: 40%;
    text-align: center;
    padding: 1rem 0;
}

.form-payment .form-payment__buttons {
    margin: 3rem 0;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    justify-content: center;
}

.help-payments .help-payments__method {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    row-gap: .5rem;
    column-gap: 5%;
}

.help-payments .help-payments__method .help-payments__label {
    width: 30%;
}

.help-payments__method .help-payments__method__title {
    width: 100%;
    margin-bottom: 0;
    font-weight: 600;
}

.bloc-paiement-inscription .i-solid-comment-exclamation {
    font-size: 25px;
    color: var(--red-dark);
    margin-right: 5px;
    vertical-align: sub;
}

.bloc-paiement-inscription a {
    color: var(--red-dark);
    text-decoration: underline;
}

.bloc-paiement-inscription a:hover, .bloc-paiement-inscription a:focus {
    color: var(--grey-blue);
    text-decoration: none;
}

@media (max-width: 767px) {
    .form-payment .form-payment__methods {
        row-gap: 1rem;
    }

    .form-payment .form-payment__methods label {
        width: 100%;
    }

}

/************************************************************* PAGE INSCRIPTION */

.list-groups-club {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 2rem;
    column-gap: 3%;
}

.courses-cards {
    width: 30%;
    display: flex;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.courses-cards .courses-cards__image {
    width: 50%;
}

.courses-cards .courses-cards__image img {
    height: 100%;
    width: 100%;
    border-radius: 12px 0 0 12px;
}

.courses-cards .courses-cards__body {
    width: 50%;
    text-align: center;
    padding: .5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.courses-cards .courses-cards__body::before {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    background: white;
    clip-path: polygon(100% 0, 100% 100%, 0% 100%);
    z-index: 2;
    left: -49px;
}

.courses-cards .courses-cards__body::after {
    content: "";
    position: absolute;
    top: 0;
    width: 130px;
    height: 100%;
    background: rgba(36, 51, 61, .85);
    clip-path: polygon(62% -15%, 50% 135%, 0% 100%);
    z-index: 1;
    left: -79px;
}

.courses-cards .courses-cards__title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--red-dark);
    width: 70%;
    line-height: 35px;
    height: 80px;
    margin: 0 auto;
}

.courses-cards .courses-cards__age {
    color: var(--e-global-color-text);
    font-weight: 600;
    font-size: 1.2em;
}

.courses-cards .courses-cards__week {
    width: 80%;
    color: var(--e-global-color-text);
    font-weight: 400;
    font-size: .9em;
    margin: 0 auto;
    line-height: 20px;
}

.courses-cards .open-modal a {
    margin-top: 1rem;
    background-color: var(--red-dark);
    font-weight: 500;
    border-radius: 8px;
    color: var(--white-light);
    display: inline-block;
    font-size: 16px;
    line-height: 1;
    padding: 12px 24px;
    text-align: center;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid var(--red-dark);
}

@media (max-width: 1365px) {
    .list-groups-club {
        row-gap: 4rem;
        column-gap: 5%;
    }

    .courses-cards {
        width: 40%;
    }
}

@media (max-width: 992px) {
    .courses-cards {
        width: 47%;
    }
}

@media (max-width: 767px) {
    .courses-cards {
        width: 100%;
    }
}


/* FORM RADIO */

.form-legal__radio-group {
    display: flex;
    column-gap: 1rem;
    margin-left: 1rem;
}

.form-legal__radio-group label {
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--e-global-color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-radio-option input[type="radio"] {
    display: none;
}

input[type="radio"]:disabled + label.form-radio-option {
    border-radius: 8px;
    color: rgba(36, 51, 61, .3);
    background-color: rgba(0, 0, 0, .05);
    cursor: not-allowed;
    border-color: transparent;
}

input[type="radio"]:disabled + label.form-radio-option span {
    color: var(--red-dark);
    display: block;
    font-size: .8em;
    margin-top: 5px;
}


.form-radio-option {
    display: inline-block;
    padding: 0.5em 1em;
    margin-right: 0.5em;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="radio"]:checked + .form-radio-option {
    background-color: var(--red-dark);
    color: white;
    border-color: var(--red-dark);
}


.radio-group {
    margin-bottom: 1rem;
    display: flex;
    column-gap: 1rem;
}

.radio-group__label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
}

.radio-btn {
    display: inline-block;
    margin-right: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    color: var(--e-global-color-text);
    transition: 0.2s ease;
}

input[type="radio"]:checked + .radio-btn {
    background-color: var(--red-dark);
    color: #fff;
    font-weight: bold;
}


.form-checkbox-wrapper {
    display: inline-block;
    margin-right: 1rem;
    cursor: pointer;
}

.form-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.form-checkbox-option {
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: 0.3s;
    color: #000;
}

.form-checkbox-wrapper input[type="checkbox"]:checked + .form-checkbox-option {
    background-color: var(--red-dark);
    color: white;
    border-color: var(--red-dark);
}

.form-checkbox-wrapper input[type="checkbox"]:disabled + .form-checkbox-option {
    background-color: #eee;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.stage-day-slot--am {
    margin-bottom: 1rem;
}

/************************************************************* WOO COMMERCE ORDER */

.woocommerce-order {
    background-color: white;
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.woocommerce-order ul {
    padding: 0;
}

.woocommerce-order .order_details li {
    margin-bottom: 2rem;
}

body.page-id-36 .woocommerce #order_review {
    background-color: #FFFFFF;
    padding: 2rem;
}

.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions {
    display: flex;
    justify-content: space-around;
}

@media (max-width: 992px) {
    .woocommerce-MyAccount-content-wrapper {
        padding: 0 !important;
    }

    .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce tr {
        border: none;
        margin-bottom: 2rem;
        background-color: rgba(0, 0, 0, .05);
        padding: .7rem;
    }
    .elementor-37 .elementor-element.elementor-element-34c3e5a .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table .button {
        margin: 0 7px;
        font-size: 14px;
    }
    .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions[data-title="Actions"]:before {
        display: none;
    }
    .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .shop_table td {
        border: unset;
    }
    

}

@media (max-width: 767px) {
    .woocommerce-order .order_details li {
        margin: 0 0 1rem 0 !important;
        width: 100%;
        text-align: center;
        border-right: none !important;
        padding: 0 !important;
    }

    .woocommerce-thankyou-order-received {
        text-align: center;
    }

    body.page-id-36 .woocommerce #order_review {
        padding: 1rem;
    }
}

/************************************************************* form inscription*/
#legal_form_add_legal_2 {
    margin-bottom: 1rem;
}

.action-step-1 {
    display: flex;
    justify-content: center;
    width: 100%;
}

.list-groups-club .courses-cards:first-of-type {
    display: none;
}

/************************************************************* page mon-compte invoice */

.my-account-invoices .my-account-invoices__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 10px 0;
}

.my-account-invoices .invoices-item__number {
    margin: 0;
    color: var(--grey-blue);
    font-size: 1.2em;
}
.my-account-invoices .invoices-item__action {
    color: #FFF !important;
    font-size: 1em;
}
.my-account-invoices .invoices-item__action:hover {
    color: var(--red-dark) !important;
    background-color: #FFF;
}
