/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


/**
    Fonts
*/


/**
    General Style
*/

html,body{
    overflow-x: hidden;
}

.loader{
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    width: 100%;
    height: 100%;
}

.admin-bar{
    #nav_header{
        margin-top: 30px;
    }
    #nav_header_mobile{
        margin-top: 46px;
    }
}

footer{
    &.et-l--footer{
        &.fixed{
            position: fixed;
            width: 100%;
            bottom: 0;
            left: 0;
        }
    }
}

#main-content{
    overflow: hidden;
}



/* Single :  Redesign product page */

.single-product .variations_form.cart {
  width: 100%;
}

.single-product  .woocommerce div.product form.cart .variations td select {
  padding: 0.75rem 1rem !important;
}

.single-product .variations_form.cart th.label {
    width: 25%;
}

.single-product .reset_variations {
  /*visibility: visible;
    background-color: black;
    padding: 4px 10px;
    color: white;
    border-radius: 3px;*/
    display: none !important;
}

.cout-revient {
    font-weight: 500;
    font-size: 24px;
    color: #7dc63b;
}

.cout-revient-prix {
  font-weight: 900;
} 

.single-product.single-product.postid-7010 .woocommerce-Price-amount.amount:not(form .woocommerce-Price-amount.amount) {
  display: none;
}

/* Home slider */

.a-partir-de {
  display: block;
    font-size: 1rem;
    text-transform: lowercase;
}

/* WC notice */

.woocommerce-store-notice__dismiss-link {
  display: none;
}

/* Entreprise : hide js btn */

.bio-granules-content-qualite .link-livraison {
    display: none !important;
}

/* Widget avis */

.ti-footer-filter-text {
  display: none;
}

/* DF REVIEWS at HOME */

.df-reviews-container h4 {
    font-weight: bolder;
    text-align: center;
    margin: 3rem auto;
}

.review-item-container {
    padding: 1rem;
}

.review-item {
    background-color: #f4f4f4;
    border-radius: 5px;
    padding: 1.5rem;
    height: 230px;
    overflow: auto;
}

.review-name {
    font-weight: 900;
    color: black;
    margin-bottom: .5rem;
}

.review-etoiles {
    display: flex;
    margin-bottom: 1rem;
}

.review-etoiles .etoile img {
  width: 17px;
  height: 17px;
}

.df-reviews .slick-dots {
    display: flex;
    justify-content: center;
}

.df-reviews .slick-dots li {
    list-style: none;
    margin: 0 5px;
}

.df-reviews .slick-dots  button {
    background-color: #8dc452;
    color: white;
    border: none;
    border-radius: 3px;
}

.df-reviews .slick-dots .slick-active button {
  opacity: .75;
}


.home .sp-buttons {
  transform: translateY(-3rem);
}

.home .sp-selected-button {
    background-color: #7dc63b;
    border: 2px solid #7dc63b;
}

.et-search-form input {
  width: 100%;
  right: 0;
  background: white;
}

.header-cart-icon a {
  color: #7dc63b !important;
}

/* Single product */

.single-product .variable-item.button-variable-item.selected {
    background-color: #8ec353 !important;
    color: white !important;
    box-shadow: none !important;
}

.single-product .variations .label, .single-product .variations .variable-items-wrapper {
  padding-left: 0 !important;
  display: flex !important;
  align-items: baseline;
  font-size: 18px;
}

.payment_method_cheque span{
  font-size: 16px!important;
  text-decoration: underline!important;
}

.img-cheque{
  width: 200px;
}
.img-cheque img{
  margin-top: 20px;
}
.img-cheque p{
  text-align: center;
  font-size: 16px;
}

.woocommerce div.product p.price del, .woocommerce div.product span.price del{
  opacity: .5;
  display: inline-grid;
  color: #64C800;
}
/*PRIX SAC 15 KG ENHANCED*/

.prix {
	color: red;
	font-size: 140%;
	font-weight: bolder;
}

.et_pb_wc_add_to_cart form.cart .variations td.value span:after{
    display: none !important;
}

/*TARTEAUCITRON*/

html body #tarteaucitronRoot.tarteaucitronBeforeVisible{
    z-index: 999999;
    &:before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
    }
    #tarteaucitronAlertBig {
        display: flex !important;
        flex-direction: column;
        max-width: 285px !important;
        @media screen and (max-width: 980px){
            max-width: 100% !important;
        }
        @media screen and (max-width: 600px) {
            width: 85%;
            padding: 20px 15px;
        }
        &:before{
            font-size: 26px !important;
            font-weight: 700 !important;
            padding-top: 20px !important;
            @media screen and (max-width: 600px) {
                font-size: 24px;
            }
        }
        #tarteaucitronPersonalize, #tarteaucitronPersonalize2,.tarteaucitronCTAButton,.tarteaucitronAllow {
            font-size: 18px !important;
            height: 40px !important;
            border-radius: 10px !important;
            border: 1px solid #F1F0F2;
        }
        #tarteaucitronPersonalize2 {
            order: 1;
            border-color: transparent;
            &:hover {
                opacity: 0.8;
            }
        }
        #tarteaucitronCloseAlert {
            order: 2;
            font-size: 18px !important;
            height: 40px !important;
            border-radius: 10px !important;
        }
        #tarteaucitronAllDenied2 {
            order: 3;
            border-color: #D9DCE0;
        }
        #tarteaucitronPrivacyUrl{
            color: #ADADAD !important;
            text-decoration: underline;
            padding-top: 10px;
            order: 4;
            background: none;
            font-weight: 400;
            font-size: 12px !important;
            margin-top: 5px;
            width: auto;
            &:hover {
                opacity: 0.8;
            }
        }
        #tarteaucitronDisclaimerAlert {
            font-size: 17px !important;
            font-weight: 500 !important;
            margin-top: 20px !important;
            @media screen and (max-width: 600px) {
                font-size: 16px;
            }
        }
        #tarteaucitronCloseCross{
            font-size: 1rem !important;
            right: 6px !important;
        }
    }
}