/*
Theme Name: ADS
Theme URI: https://studiosablais.fr/
Description: Le thème du site de la société ADS
Author: Studio Sablais
Author URI: https://studiosablais.fr/
Template: fifthavenue
Version: 1.0.0
*/

/******************************************/
/*************** GENERAL ******************/
/******************************************/
/* a {color:red !important;} */

/******************************************/
/************** HEADER ********************/
/******************************************/

/**** on fixe le header ******/
.header.fixed.headroom--not-top.headroom--unpinned {transform: inherit;}
/**** notif ****/
.thb-global-notification p {
  margin: 0;
  text-transform: uppercase;/* vg */
}
/*
.logo-holder .logoimg {
  max-height: 19px;
  object-fit: contain;
}
*/
.thb-woocommerce-header .woocommerce-breadcrumb {text-transform: uppercase;}


/****** MENU ********************/

/******************************************/
/**************** HOME ********************/
/******************************************/
.banniere-accueil {text-align: center;}

.home h1
{ color: #fff !important;}
/*
.home h2,
.home h2 span,
p em
{ color: #89133d !important;}
*/
/*
@media print, screen and (min-width: 48em) {
  .home h2 {font-size: 2.5rem;}
}
*/
.wp-block-button.is-style-outline .wp-block-button__link {border-color:#fff;}
/******************************************/
/*********** CATALOGUE ********************/
/******************************************/
/* .related products .thb-product-inner-wrapper .product-thumbnail > a, */
.products .product .product-thumbnail > a,
.wc-block-grid__products .product .product-thumbnail > a {
  display: block;
  /* line-height: 0; */ /* vg */
  /* line-height: 300px;*/ /* 3 produits par ligne */
  /* height: 300px;*/ /* 3 produits par ligne */
   line-height: 200px; /* 4 produits par ligne */
  height: 200px; /* 4 produits par ligne */
  text-align: center; /* vg */
}

.products .product .product-thumbnail img,
.wc-block-grid__products .product .product-thumbnail img {
  /* width: 100%; */ /* VG */
  width: auto;
    /*max-height: 300px;*/ /* 3 produits par ligne */
    max-height: 200px; /* 4 produits par ligne */
}

.related.products .thb-product-inner-wrapper .product-thumbnail img {display: inline-block;}
/******************************************/
/*********** PAGE PRODUIT *****************/
/******************************************/
.thb-carousel img {
  width: auto;
  margin:0 auto;

}
/******************************************/
/*********** PAGE COMPTE ******************/
/******************************************/
.thb-myaccount-login .thb-overflow-container {padding-top:2px;}

/******************************************/
/*********** CONTACT **********************/
/******************************************/
p.contact-gen {margin-bottom:2px;}
.wpcf7-form-control-wrap input[type="text"]{margin-bottom:10px;}

@keyframes ads-slide-in {
  0% {
    transform: translateX(-150%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes ads-slide-out {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-1000%);
  }
}


.thb-temp-message,
.woocommerce-message,
.woocommerce-error,
.woocommerce-info:not(.cart-empty):not(.woocommerce-notice--info) {
  /* background: #cdb092;
  border: none;
  position: fixed;
  top: 15px;
  right: 15px;
  margin-top: 15px;
  max-width: calc(100% - 30px);
  width: 400px;
  min-height: 50px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 15px 15px 15px 60px;
  z-index: 100;*/
  /* overflow: hidden;
  transform: translateX(150%);
  font-weight: 400;
  color: #fff;
  font-size: 16px;
  animation: thb-slide-in, thb-slide-out;
  animation-duration: 1.5s, 1.5s;
  animation-delay: 0.5s, 5s;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
  -moz-box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15); */
}

@media only screen and (min-width: 768px) {
  .admin-bar .thb-temp-message,
  .admin-bar .woocommerce-message,
  .admin-bar .woocommerce-error,
  .admin-bar .woocommerce-info:not(.cart-empty):not(.woocommerce-notice--info),
  .thb-temp-message,
  .woocommerce-message,
  .woocommerce-error,
  .woocommerce-info:not(.cart-empty):not(.woocommerce-notice--info) {
    top: 170px;
    right: inherit;
    left: 45px;
    transform: translateX(-150%);
    animation: ads-slide-in, ads-slide-out;
    animation-duration: 1.5s, 1.5s;
    animation-delay: 0.5s, 5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease;

  }
}

.pswp__caption .pswp__caption__center {display: none;}
