/* 
Theme Name: Grainedid
Version: 1.0.0 
Description: Child theme for Divi. 
Author: ALOA Informatique
Author URI: https://aloa-informatique.com/ 
Template: Divi
*/

/* ----------------------------------------- */
/* ------------ Specific fonts ------------- */
/* ----------------------------------------- */

/* ----------------------------------------- */
/* ---------------- Global ----------------- */
/* ----------------------------------------- */
#page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}
#et-main-area {
    display: flex;
    flex-direction: column;
    flex: 1;
}
#main-content {
    flex: 1;
}
input.text,
input[type=email],
input[type=password],
input[type=tel],
input[type=text],
textarea,
input[type=number],
input[type=url],
input[type=search] {
    padding: .6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgb(0 0 0 /13%);
}
.woocommerce-page #et-main-area .container input.text,
.woocommerce-page #et-main-area .container input[type=email],
.woocommerce-page #et-main-area .container input[type=password],
.woocommerce-page #et-main-area .container input[type=tel],
.woocommerce-page #et-main-area .container input[type=text],
.woocommerce-page #et-main-area .container textarea,
.woocommerce-page #et-main-area .container input[type=number],
.woocommerce-page #et-main-area .container input[type=url],
.woocommerce-page #et-main-area .container input[type=search] {
    padding: .6180469716em !important;
    background-color: #f2f2f2 !important;
    color: #43454b !important;
    border: 0 !important;
    -webkit-appearance: none !important;
    box-sizing: border-box !important;
    font-weight: 400 !important;
    box-shadow: inset 0 1px 1px rgb(0 0 0 /13%) !important;
}
.woocommerce-page #et-main-area .container .button {
    padding: 0.58em 1.42em !important;
}
/* ----------------------------------------- */
/* ---------------- Header ----------------- */
/* ----------------------------------------- */
#logo {
    max-height: unset;
}
#page-container #main-header #et-top-navigation {
    width: 80%;
}
#top-menu li.current-menu-item>a {
    color: rgba(0,0,0,0.6);
}
.et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 33px;
}
#et-top-navigation #top-menu li {
    font-size: 16px;
    font-weight: 700;
}
#et-top-navigation #top-menu .shop a {
    color: red;
}
div.shop_under {
    display: flex;
    justify-content: center;
    width: 100%;
    border-bottom: 1px solid transparent;
    border-bottom-color: #f0f0f0;
    visibility: hidden;
    opacity: 0;
    transition: all 250ms cubic-bezier(.509, .001, .485, 1.019);
    -webkit-transition: all 250ms cubic-bezier(.509, .001, .485, 1.019);
    background-color: #fff;
    /*position: absolute;*/
    position: fixed;
    box-shadow: 0 1px 0 rgb(0 0 0 / 10%);
    z-index: 10;
}

/*div.shop_under:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    z-index: 1;
    width: 100%;
    height: 3px;
    background-image: linear-gradient(to right, #6699cc, #19a8d5, #00b6ce, #00c0b6, #00c891, #3dc06b, #5fb742, #7bac00, #989200, #b07400, #c24e00, #cc0000);
}*/

div.shop_under.is-active {
    visibility: visible;
    opacity: 1;
    z-index: 200;
}

div.shop_under ul {
    list-style: none;
    display: flex;
    width: 50%;
    justify-content: space-evenly;
    align-items: center;
    margin: auto;
    height: 100%;
}

div.shop_under ul li {
    height: 100%;
    width: 33.33%;
    display: flex;
    justify-content: center;
}

div.shop_under ul a {
    padding: 1.618em 1em;
    /*color: #333333;*/
    color: rgba(0,0,0,0.6);
    font-size: 16px;
    font-weight: 600;
}

/*div.shop_under ul a:focus {
    outline: 2px solid #96588a;
    outline-color: #96588a;
}*/

div.shop_under ul a:active,
div.shop_under ul a:hover {
    outline: 0;
}

div.shop_under ul a:hover {
    opacity: 0.7;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}
/* ----------------------------------------- */
/* ---------------- Footer ----------------- */
/* ----------------------------------------- */
#menu-menu-bas {
    display: flex;
    justify-content: space-between;
}
#footer-bottom {
    display: none;
}
/* ----------------------------------------- */
/* ----------------- Shop ------------------ */
/* ----------------------------------------- */
#home_blog .column.size-1of3 {
    margin-right: 3.5%;
}
#home_blog .column.size-1of3:last-child {
    margin-right: 0;
}
#home_shop .et_pb_module,
#home_pres_shop .et_pb_module {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#home_shop .et_pb_promo_description {
    padding-bottom: 0;
}
#home_shop .et_pb_button.et_pb_promo_button {
    padding-top: 0.62em!important;
    padding-right: 1.42em!important;
    padding-bottom: 0.62em!important;
    padding-left: 1.42em!important;
    margin-top: 1.7em!important;
}
/* ----------------------------------------- */
/* --------------- Messages ---------------- */
/* ----------------------------------------- */
.woocommerce-page #et-main-area .container .woocommerce-error {
    background: red;
}
.woocommerce-page #et-main-area .container .woocommerce-message .restore-item {
    text-decoration: underline;
}
/* ----------------------------------------- */
/* ----------------- Panier ---------------- */
/* ----------------------------------------- */
.woocommerce-cart #main-content .wc-backward {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}
/* ----------------------------------------- */
/* ---------------- Checkout --------------- */
/* ----------------------------------------- */
.woocommerce-checkout #main-content .checkout > button {
    float: right;
}
.woocommerce-checkout #main-content .checkout .pickup_form {
    width: 80%;
    margin-bottom: 10px;
}
.woocommerce-checkout #main-content .checkout .pickup_form input {
    width: 100%;
}
#adhesion_message {
    margin-bottom: 4%;
}
#adhesion_message p {
    font-style: italic;
}
/* ----------------------------------------- */
/* ----------------- Pages ----------------- */
/* ----------------------------------------- */
body.single:not(.woocommerce-page) #et-main-area .container h1 {
    margin: 1.5em 0;
    text-align: center;
    font-weight: 700;
    font-size: 45px;
}
.btn_commande {
    line-height: 60px !important;
}
#img_legumes img {
    width: 300px;
}
#gallery_legumes img {
    width: 400px;
}
#gallery_legumes .et_overlay,
#gallery_maroquinerie .et_overlay,
#gallery_traiteur .et_overlay {
    display: none;
}
.et_pb_gallery .et_pb_gallery_items {
    display: flex;
    align-items: center;
    justify-content: center;
}
.et_pb_gallery .et_overlay {
    display: none;
}
#cta_ca_ch h4 {
    color: #333 !important;
}
#adherer_product .products li {
    margin-right: 0;
}
#adherer_product .products li .et_overlay {
    display: none;
}
/* ----------------------------------------- */
/* ------ Categories & products pages ------ */
/* ----------------------------------------- */
body.archive #et-main-area .container,
body.single #et-main-area .container {
    padding-top: 10px;
}
body.archive #et-main-area .container h2.woocommerce-loop-product__title,
body.single #et-main-area .container h2.woocommerce-loop-product__title {
    text-align: center;
    font-size: 1rem;
    font-weight: 400;
}
body.archive #et-main-area .container .category-description,
body.single #et-main-area .container .category-description {
    margin-top: 10px;
}
body.archive #et-main-area .container span.price,
body.single #et-main-area .container span.price {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #666;
}
.woocommerce #main-content ul.products li form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.woocommerce #main-content ul.products li form.cart .quantity {
    display: flex !important;
    justify-content: center !important;
}
.woocommerce #et-main-area .quantity .qty {
    width: 4.235801032em;
    text-align: center;
    font-size: 16px !important;
}
/* ----------------------------------------- */
/* ----------- Categories pages ------------ */
/* ----------------------------------------- */
#page-container #main-content header.woocommerce-products-header {
    display: flex;
    flex-direction: column;
}
#page-container #main-content h1.woocommerce-products-header__title {
    font-weight: 700;
    text-align: center;
    font-size: 45px;
    line-height: 1.7em;
    margin-bottom: 0.5em;
}
#page-container #main-content .term-description {
    text-align: center;
    margin-bottom: 4%;
    font-size: 18px;
    font-weight: 500;
}
#page-container #main-content .archive-image {
    margin: auto;
    padding-bottom: 2%;
}
#page-container #main-content .product-category .woocommerce-loop-category__title {
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
}
.woocommerce #main-content ul.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.woocommerce #main-content ul.products li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.woocommerce #main-content .friday_link {
    text-align: center;
    margin: 4% 0;
    font-size: 20px;
    font-weight: 500;
}
.woocommerce #main-content .friday_link p {
    margin-bottom: 4%;
}
.woocommerce #main-content .friday_link a {
    padding: 1em 2em !important;
}
/* ----------------------------------------- */
/* -------------- Tablepress --------------- */
/* ----------------------------------------- */
.woocommerce.postid-121 .tablepress thead th:not(.column-1) {
    text-align: center;
    width: 16.66%;
}

.woocommerce.postid-121 .tablepress tbody tr:after {
    content: "";
    display: inline-block;
    vertical-align: top;
    min-height: 70px;
}

.woocommerce.postid-121 .tablepress tbody td:not(.column-1) {
    text-align: center;
    width: 16.66%;
    word-break: break-word;
    vertical-align: middle;
}

body:not(.woocommerce.postid-121) .tablepress .column-1, .tablepress .column-2 {
    width: 50%;
}

body:not(.woocommerce.postid-121) #tablepress-4 .row-1 th {
    font-size: 20px;
    text-align: center;
}

body:not(.woocommerce.postid-121) #tablepress-4 .row-2 td {
    font-size: 16x;
    text-align: center;
    font-weight: 600;
}
/* ----------------------------------------- */
/* ------------ Products pages ------------- */
/* ----------------------------------------- */
.woocommerce.postid-121 #main-content h1 {
    font-weight: 700;
    text-align: center;
    font-size: 45px;
    line-height: 1.7em;
    margin-bottom: 0.5em;
}
.woocommerce-cart .shop_table tbody tr:last-child {
    display: none;
}
.related {
    margin-top: 3em;
    text-align: center;
}
.related .et_overlay {
    display: none;
}
.single-product div.product p.price {
    font-size: 20px;
    margin: 1.25em 0;
    color: #666;
}
.single-product div.product p.price span {
    font-size: 20px !important;
    color: #666;
}
.woocommerce #main-content ul.products li.post-121 h2 {
    text-align: center;
    font-size: 1.5em;
    font-weight: 700;
}
.woocommerce #main-content ul.products li.post-121 .price {
    display: none;
}
.woocommerce #main-content ul.products li.post-121 a.add_to_cart_button {
    display: none;
}
.woocommerce #main-content #product-121 table.variations {
    margin: 0;
}
.woocommerce #main-content #product-121 table.variations tbody tr {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.woocommerce #product-121 form.cart .variations td.label,
.woocommerce #product-121 form.cart .variations td.value {
    padding: 0 !important;
}
.woocommerce #product-121 form.cart .variations td label {
    font-weight: 400;
    padding: 0;
}
.woocommerce #product-121 form.cart .variations td select {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 0px;
    border-width: 1px;
    color: #4e4e4e;
    font-size: inherit;
    padding: 7px;
    font-weight: 400;
    max-width: 70%;
    vertical-align: middle;
    margin-top: 5px;
    margin-bottom: 10px;
    width: 100%;
    min-width: unset;
}
.woocommerce #main-content div#product-121 div.summary {
    width: 100%;
}
.woocommerce.postid-121 #main-content h1 {
    font-weight: 700;
    text-align: center;
    font-size: 45px;
}
.woocommerce #main-content div#product-121 div.summary .single_variation {
    margin-bottom: 1em;
}
.woocommerce #main-content div#product-121 div.summary .single_variation .woocommerce-variation-description p {
    margin-bottom: 0.3em;
}
.woocommerce #main-content div#product-121 div.summary .single_variation .woocommerce-variation-price .price {
    margin-bottom: 0.3em;
}
.woocommerce #main-content div#product-121 div.summary .order-menu-select {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}
.woocommerce #main-content div#product-121 div.summary #order-menu-select-day {
    max-width: 70%;
    vertical-align: middle;
    font-size: 14px;
}
.woocommerce #main-content div#product-121 div.summary .entree-field-wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 1em;
}
.woocommerce #main-content div#product-121 div.summary #entree_field {
    max-width: 70%;
    vertical-align: middle;
    font-size: 14px;
}
.woocommerce #product-68 .single_variation {
    margin-bottom: 4%;
}
.woocommerce #product-68 .related {
    display: none;
}

/* ----------------------------------------- */
/* ------------- Responsive ---------------- */
/* ----------------------------------------- */
@media (min-width: 981px) {
    .et_full_width_page.woocommerce-page ul.products li.product:nth-child(4n), .et_pb_row .et_full_width_page.woocommerce-page ul.products li.product:nth-child(4n), .single.et_left_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n), .archive.et_left_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n), .et_pb_row .et_left_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n), .single.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n), .archive.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n), .et_pb_row .et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n) {
       margin-right: auto; 
    }
}
@media screen and (min-width: 980px) and (max-width: 1320px) {
    #page-container #main-header #et-top-navigation {
        padding-left: 0 !important;
    }
    #et-top-navigation #top-menu li {
        font-size: 14px;
    }
}

@media screen and (min-width: 980px) and (max-width: 1044px) {
    #main-footer .container {
        width: 90%;
    }
}

@media screen and (min-width: 680px) and (max-width: 980px) {
    #page-container #main-header #et-top-navigation {
        width: 50%;
    }
}

@media screen and (min-width: 580px) and (max-width: 679px) {
    #page-container #main-header #et-top-navigation {
        width: 60%;
    }
}

@media screen and (min-width: 480px) and (max-width: 579px) {
    #page-container #main-header #et-top-navigation {
        width: 70%;
    }
}

@media screen and (max-width: 479px) {
    #page-container #main-header #et-top-navigation {
        width: 100%;
    }
}