/*
Theme Name: Hexagone
Description: Thème adapté par EOLIS, nettoyé par Asenar
Author: Asenar
Template: Newspaper
Version: 1.0.0
*/

/** Michael des modifications trouvées dans le theme avant mise à jour
 * A réactiver si des bugs d'affichage apparaissent - 2024-03-03
 *
 *
 * .alignnone img,
 * .aligncenter img {
 *   width: 100%;
 * }
 * .td_module_15 .td-post-content > * {
 *   max-width: none !important;
 * }
 * 
 * .wp-block-image figcaption {
 *   margin: 6px 0 26px 0;
 * }
*/

/***** Stylesheet EOLIS ****/
html{
  overflow-x: hidden;
}
.td-header-template-wrap .vc_row{
  margin-left: 0;
  margin-right: 0;
}

/***** Boutique ****/

.bloc-revues h3 span{
  background: #7FABDC;
  padding:5px 10px;
  color:white;
}
.bloc-revues {
  background: #7FABDC;
}

.bloc-revues:hover .kt-inside-inner-col{
  opacity: 0.7;
}


.bloc-boutique h3 span{
  background: #000000;
  padding:5px 10px;
  color:white;
}
.bloc-boutique {
  background: #000;
}

.bloc-boutique:hover .kt-inside-inner-col{
  opacity: 0.8;
}




.top-level-cat-revue img.attachment-woocommerce_thumbnail{
  border-bottom: solid 5px #7FABDC;
}
.top-level-cat-boutique img.attachment-woocommerce_thumbnail{
  border-bottom: solid 5px #000;
}
.wc-block-grid__product-title{
  color:#000;
}

/*span.woocommerce-Price-amount.amount{*/
/*	font-weight: bold;*/
/*}*/

.wp-block-button:not(.is-style-outline) .wp-block-button__link:not([class*="has-background"]){
  border-radius: 18px;
  background: #232d35;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not([class*="has-background"]):hover{
  background:#7fabdc !important;
}


.wc-block-grid__product-onsale{
  position: absolute;
  top: 0;
  right: 0;
  background: #ED5454;
  border:none;
  border-radius: 50%;
  padding: 16px 8px;
}
.wc-block-grid__product-onsale span{
  font-size:10px;
  color:white;
}

li.wc-block-grid__product{
  margin-bottom: 40px;
}

ul.wc-block-product-categories-list--depth-1 li.wc-block-product-categories-list-item{
  list-style-type: none;
  margin-bottom: 20px;
}

ul.wc-block-product-categories-list--depth-1 li.wc-block-product-categories-list-item a{
  border:solid 1px black;
  padding:10px;
  text-align: center;
  text-transform: uppercase;
  display: block;
  color:black;
}



ul.wc-block-product-categories-list--depth-1 li.wc-block-product-categories-list-item a:hover{
  border:solid 1px black;
  background: black;
  color:white;

}

ul.wc-block-product-categories-list--depth-1 li.wc-block-product-categories-list-item a{
  color:black;
}

.sidebar-categ .kt-inside-inner-col{
  height: 100%;
}

ul.wc-block-product-categories-list--depth-0 li{
  visibility: hidden;
}

ul.wc-block-product-categories-list--depth-1 li{
  visibility: visible;
}
ul.wc-block-product-categories-list--depth-1:last-child{
  margin-top:-50px;
}

ul.wc-block-product-categories-list--depth-1:first-child{
  margin-top:50px;
}


#td-outer-wrap {
  overflow: visible;
}
/*
.is-sticky {
position: sticky;
top: 100px;
}*/

h2.citation:before{
  content:url("/wp-content/uploads/2022/01/guillemet-gauche.png");
  position: relative;
  right: 15px;
}

h2.citation:after{
  content:url("/wp-content/uploads/2022/01/guillemet-droit.png");
  position: relative;
  right: -8px;
}


.page-template-boutique .wc-block-grid__product-image, .wc-block-grid__product-image {
  height:280px;
}

.page-template-boutique .wc-block-grid__product-image img, .wc-block-grid__product-image img{
  height: 100% !important;
  object-fit: cover;
}

li.wc-block-grid__product{
  position: relative;
  padding-bottom: 40px;
  padding-top: 30px;
}


li.wc-block-grid__product a.wp-block-button__link{
  position: absolute;
  bottom: 0px;
  left: 20%;
}

.woocommerce ul.products li.product-category a img{
  display: none;
}


.woocommerce ul.products li.product-category h2.woocommerce-loop-category__title .count{
  background: #232d35;
  color:white;
  font-style:italic;
  font-weight: 300;

}
.woocommerce ul.products li.product-category a:hover > h2.woocommerce-loop-category__title,
.woocommerce ul.products li.product-category a:hover > h2.woocommerce-loop-category__title .count{
  background: #fff;
  color:#232d35;
}

.woo-cat-page-wrapper{
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
}
.woo-cat-page-sidebar{
  width: 25%;
}
.woo-cat-page-sidebar ul.products{
  margin: 0;
}
.woo-cat-page-sidebar ul.products li.product{
  float: none;
  margin: 10px 0;
  width: 100%;
}
.woo-cat-page-content{
  width: 72%;
}
@media (max-width: 768px){
  .woo-cat-page-wrapper .woo-cat-page-item{
    width: 100%;
  }
}

.woo-cat-page-sidebar ul.products li.product-category h2.woocommerce-loop-category__title{
  border: solid 1px black;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  display: block;
  color: black;
  background-color: #fff;
}
.subcategories-list{
  display: flex;
}
.subcategories-list li{
  flex: 1;
  margin-left: 0;
}


.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
  margin-bottom:20px;
  background: #FFF;
}


.sidebar-revue .woocommerce ul.products li.product-category:hover h2.woocommerce-loop-category__title{
  background: #7fabdc;
  color:#fff;
  text-decoration: none;
}
.sidebar-boutique .woocommerce ul.products li.product-category:hover h2.woocommerce-loop-category__title{
  background: #000 ;
  color:#fff;
  text-decoration: none;
}

.sidebar-boutique .woocommerce ul.products li.product-category:hover {
  text-decoration: none;

}

.sidebar-revue .woocommerce ul.products li.product-category h2.woocommerce-loop-category__title,
.sidebar-boutique .woocommerce ul.products li.product-category h2.woocommerce-loop-category__title{

  border: solid 1px black;
  padding: 10px;
  text-align: center;
  text-transform: uppercase;
  display: block;
  color: black;
  background-color: #fff;
}
/**** OPtion categ haut de page produit {

	/*background: #232d35;
	color:white;
	text-transform: uppercase;
	text-align: center;
	font-weight: 600;
	border:solid 1px #232d35;*/

/*.woocommerce section.related.products ul.products,
.woocommerce section.up-sells.products ul.products{
display: flex;
}*/

.woocommerce-shop ul.products li.product{
  width:100%;
}
/*.related ul.products li.product{
	width: inherit;
}*/
.woocommerce section.related h2,
.woocommerce section.up-sells h2{
  color: white;
  display:inline;
  padding: 0 5px;
}

.woocommerce section.related ul li h2,
.woocommerce section.up-sells ul li h2{
  color:black;
}

.textwidget .woocommerce ul.products li:hover a,
.textwidget .woocommerce ul.products li:hover a:hover{
  text-decoration: none !important;
}
.green-button,
.grey-button{
  margin-bottom: 10px;
}
.green-button a,
.grey-button a{
  display: block;
  text-align: center;
  transition: all ease 0.2s;
  padding: 15px;
  text-transform: uppercase;
}
.green-button a{
  background: #77a464;
  color: #fff;
}
.grey-button a{
  background: #ebe9eb;
  color: #111111;
}
.widget .green-button a:hover,
.green-button a:hover,
.widget .grey-button a:hover{
  background: #7fabdc;
  color: #fff;
  text-decoration: none !important;
}
.widget .grey-button a:hover{
  color: #111;
}
.woocommerce a.kt-button{
  font-weight: inherit;
}
.woo-cat-page-wrapper ul.products li.product a img{
  height: 280px;
  object-fit: cover;
}
.woo-cat-page-wrapper nav.woocommerce-pagination{
  margin-bottom: 100px;
}
.woocommerce div.product form.cart .variations select{
  width: 100%;
}
.woocommerce-cart .cart-button,
.woocommerce-cart .shop-button{
  display: none;
}
.td-header-template-wrap .td-a-rec-id-custom-spot{
  /*display: none;*/
}
.td-header-template-wrap #tdi_41{
  display: none;
}

/* VERSION RESPONSIVE */
@media (max-width: 768px){
  .td-header-mobile-wrap .tdi_19 {
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
  .woocommerce-shop ul.products[class*="columns-"] li.product,
  .woo-cat-page-wrapper ul.products[class*="columns-"] li.product{
    width: 100%;
  }
  .green-button{
    margin-bottom: 25px;
  }
  .woo-cat-page-wrapper ul.products li.product .onsale{
    right: auto;
  }
  .woo-cat-page-wrapper ul.products li.product a img{
    max-width: 240px;
  }
  #tdi_105 .td_module_wrap{
    width: 100%;
    max-width: 100%;
    float: none;
  }
  #tdi_105 .td_module_wrap:nth-last-child(-n+3) {
    margin-bottom: 15px !important;
    padding-bottom: 15px !important;
  }
}

/***** AJOUT MICHAEL ***/
body .td_block_template_17 h4.td-block-title,
body .td_block_template_17 h4.td-block-title > span
{
  background-color: #ffffff; /* var(--td_header_color, var(--td_black, #222222));*/
  color: #222222; /* var(--td_text_header_color, #ffffff);*/
}
