/*
 Theme Name:    School Manage
 Description:   Thème gestion d'école
 Author:        MyDeveloper
 Author URI:    https://www.mydeveloper.fr
 Template:      hello-elementor
 Version:       0.1
*/

body {
    --orange: #ff7d29;
    --orange-dark: #f24c0a;
    --grey: #555555;
    --white: #FFFFFF;
}

/* Header */
.header-account {
    margin-left: 1rem;
    display: flex;
}

.header-account a {
    display: block;
    height: 35px;
}

.header-account i {
    color: var(--orange);
    font-size: 35px;
    margin: 0 7px;
}

.header-account i:hover {
    color: var(--grey);
}

@media (min-width: 767px) and (max-width: 1024px) {
    .nav-custom nav ul li {
        width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .nav-custom nav > ul {
        height: 100vh;
        padding: 2rem 0;
    }

    .nav-custom nav ul li a {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .header-account {
        margin: 0;
    }

    .header-account i {
        font-size: 30px;
        margin: 0 10px;
    }

}

/* CLASS CUSTOM */
.alignleft {
    float: left;
}

img.alignleft {
    margin: 7px 24px 7px 0;
}

img.alignnone {
    margin: 7px 24px 7px 0;
}

img.alignright {
    float: right;
    margin: 0.5em 0 0.5em 1em;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.button-orange {
    padding: 12px 24px;
    color: var(--orange);
    border: 1px solid var(--orange);
    font-size: 16px;
    font-weight: 600;
    background-color: transparent;
    border-radius: 50px;
}

.button-orange:hover {
    background-color: var(--grey);
    color: var(--white) !important;
    border-color: var(--grey);
}

/************************************************************************
***                   OVERRIDE NOTICE WOOCOMMERCE                     ***
************************************************************************/

/* Info & message */
.woocommerce-info, .woocommerce-message {
    background: #F2F7FF;
    color: #283593;
    padding: 14px 16px;
    border-top: unset;
    font-weight: 500;
    letter-spacing: .9px;
    border-radius: 16px;
    border-color: #5C6BC0;
    border-width: 1px 7px;
    border-style: solid;
}

.woocommerce-info {
    padding: 14px 16px !important;
    color: #283593 !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
}

.woocommerce-info a {
    padding: 4px 16px 5px !important;
    background-color: #283593 !important;
    border-radius: 50px !important;
    font-weight: 500 !important;
    color: white !important;
    margin-left: 1rem;
}

/* Erreur */
.woocommerce-error {
    background: #FFF3F3;
    color: #B71C1C;
    padding: 14px 16px;
    border-top: unset;
    font-weight: 500;
    letter-spacing: .9px;
    border-radius: 16px;
    border-color: #E53935;
    border-width: 1px 7px;
    border-style: solid;


}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    display: none;
}

/* Add to cart */
form.variations_form table.variations tr {
    display: flex;
    flex-direction: column;
}

form.variations_form table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: transparent;
}

form.variations_form table th.label {
    padding: 0;
    text-align: start;
    font-size: 1.2em;
}

form.variations_form table th.label label {
    font-weight: 700;
}

form.variations_form .reset_variations {
    display: none !important;
}


form.variations_form .price {
    color: #283593 !important;
    font-weight: 600;
    display: block;
    margin-bottom: 2rem;
    padding: 8px 16px;
    width: fit-content;
    font-size: 1em !important;
    border-radius: 16px;
    border-color: #5C6BC0;
    border-width: 1px 7px;
    border-style: solid;
}

form.variations_form .woocommerce-Price-amount.amount::before {
    content: 'Montant de la formule - ';
}

form .mv-family-child-ui fieldset {
    border-color: rgba(0, 0, 0, .1);
    padding-bottom: 1rem;
    margin: 0 0 2rem;
}

form .mv-family-child-ui fieldset legend {
    padding: 0 1rem !important;
}

form .mv-family-child-ui fieldset label {
    margin: .5rem !important;
}

form .mv-family-child-ui strong {
    margin-bottom: 1rem;
}

/* Form register WOO */
/* Exemple minimal */
.woo-pwd-rules {
    font-size: .9em;
    margin-top: .5em;
    padding-left: 1.2em;
}

.woo-pwd-rules li.ko {
    opacity: .8;
}

.woo-pwd-rules li.ok {
    color: #257942;
    font-weight: 600;
}

/* Page order received */
.woocommerce-order h2 {
    font-size: 2em;
}

.woocommerce-order ul {
    padding: 0;
}

@media (max-width: 880px) {
    .woocommerce-order .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li,
    .woocommerce-order .wc-bacs-bank-details.order_details.bacs_details li {
        float: unset;
        border-right: unset;
        margin-right: unset;
        padding-right: unset;
    }
}

