/*
Theme Name: Enfold Child
Description: Theme enfant pour Enfold.
Author URI: Romain
Template: enfold
Version: 1.0
*/

/* ---- PAGE BOUTIQUE ---- */
/* Apparence des produits */
.inner_product_header_cell .woocommerce-loop-product__title{
    text-align:center;
}

#top .inner_product_header_cell .price{
    display:none;
}

.inner_product .avia_cart_buttons{
    background-color:#6d071a;
    opacity:1;
}
#top .inner_product:hover .avia_cart_buttons{
    background-color:#880921;
}


#top .main_color .avia_cart_buttons .button{
    color:#fff;
}

/* on enlève la séparation entre l'image et le nom du vin */
#top .inner_product_header{
    border:none;
    min-height:65px;
}

/* Couleur de fond du titre du produit 
#top .inner_product .inner_product_header, .inner_product_header .avia-arrow{
    background-color:rgba(136, 9, 33, 0.7);;
    border:none;
}

#top .inner_product:hover .inner_product_header, .inner_product_header .avia-arrow{
    background-color:#880921;
    border:none;
}

#top .inner_product_header h2{
    color:#fff !important;
}*/

/* FORMULAIRE NEWSLETTER */
  #sib-container input:-ms-input-placeholder {
    text-align: left;
    font-family: "Helvetica", sans-serif;
    color: #c0ccda;
  }

  #sib-container input::placeholder {
    text-align: left;
    font-family: "Helvetica", sans-serif;
    color: #c0ccda;
  }

  .sib-form{
    padding:0 !important;
}
#sib-form{
    margin-bottom:0 !important;
}
  #sib-form-container{
      width:100%;
      background-color: #F6F5F1 !important;
  }
  #sib-container{
    background-color: #F6F5F1 !important;
  }
  #sib-container p{
      line-height:1.3em;
  }


/* Elements à aligner verticalement*/
@media screen and (min-width:767px){
	.vertical-align-mid{
	margin-top: 50%;
    transform: translateY(-50%);
}
}

/* Code promo */
.mtsnb-show{
	right:60px !important;
}
.mtsnb{
	background-image:url('https://chateau-la-pierriere.com/wp-content/uploads/2021/12/fond-banniere-noel-chateau-la-pierriere.jpg');
	background-position:bottom;
}
.mtsnb .mtsnb-text{
	text-shadow: 1px 1px 2px #4A4A4A;
}
/* Top banner */
#header_meta{
	border:none;
}

/* Header main */
#header_main{
	background-color:#1F1F1F;
	opacity:1 !important;
}

/* ICONE PANIER */
/* Couleur du total panier */
#top .dropdown_widget .total strong{
	color:#D02A2A;
}
.html_visible_cart .cart_dropdown{
	right:10px;
}
@media screen and (max-width:768px){
	.html_visible_cart .av-burger-menu-main{
		padding-right:0;
		margin-right:25px;
	}
}

/* -- PAGE DESCRIPTIVES VINS -- */
/* Alignement tableau description des vins */
.woocommerce-product-details__short-description table td{
	vertical-align:middle;
}

.woocommerce-product-details__short-description table tr{
	background-color:#f6f5f1 !important;
}
.woocommerce-product-details__short-description table tr:not(:last-of-type){
	border-bottom:1px solid black;
}
.woocommerce-product-details__short-description table tr:nth-child(even){
	color:#383838;
}
.woocommerce-product-details__short-description table td{
	border:none;
}

.woocommerce-product-details__short-description table td.col1{
	width:20%;
	min-width:80px;
	padding-left:20px;
}
.woocommerce-product-details__short-description table td.col2{
	width:80%;
	padding-right:20px;
}

/* Tableaux Label HVE */
.woocommerce-product-details__short-description table.hve{
	background:transparent;
}
.woocommerce-product-details__short-description table.hve tr{
	background-color:transparent !important;
}
.woocommerce-product-details__short-description table.hve td:first-of-type img{
	width:50px;
	padding:0;
}
.woocommerce-product-details__short-description table.hve td:first-of-type{
	padding:0;
}
.woocommerce-product-details__short-description table.hve td:last-of-type{
	width:auto;
}

/* Taille de l'image */
.single-product-main-image{
	width:50%;
}

/* -- PAGE ACCUEIL -- */
/* Titre et sous-titre */
.titre-centre h1{
	font-size:70px;
}
.titre-centre.av-special-heading.av-ktip0qt6-da617b0fbfb3ce6db40c860912e3f927 .av-subheading{
	font-size:40px;
}
@media screen and (max-width:989px) and (min-width:769px){
	.titre-centre h1{
	font-size:50px;
}
.titre-centre.av-special-heading.av-ktip0qt6-da617b0fbfb3ce6db40c860912e3f927 .av-subheading{
	font-size:35px;
}
}
@media screen and (max-width:768px){
	.titre-centre h1{
	font-size:45px;
}
.titre-centre.av-special-heading.av-ktip0qt6-da617b0fbfb3ce6db40c860912e3f927 .av-subheading{
	font-size:30px;
}
}
/* slogan rotatif */
.slogan-rotatif-accueil h3 span{
	font-family:Lora !important;
}

/* -- FOOTER -- */
.footer main{
	padding:20px;
}
.footer p{
	font-size:14px;
	line-height:1.3em;
}

@media screen and (max-width:768px){
	.footer .footer-fb .av_textblock_section p, .footer .footer-fb span.av_font_icon{
	text-align:left !important;
}
}

.footer .flex_column.first a.alignnone{
	vertical-align:middle;
}
.footer .flex_column.first a.alignnone img{
	margin-left:20px;
}

/* -- PAGE BOUTIQUE -- */
/* Marges pages boutique */
.template-shop .container{
	padding-top:50px;
}

main.template-shop{
	padding-top:0px;
}

/* On enlève la possibilité au client de choisir manuellement la quantité de bouteilles */
#top div .quantity input.qty{
	pointer-events:none;
}

/* Suppresion systeme de tri par défaut */
.product-sorting{
	display:none;
}
#top .inner_product_header{
    border:none;
    min-height:65px;
}

/* Nom article */
#top .inner_product_header h2{
    text-transform: uppercase;
    font-weight: bold;
}
#top .inner_product:hover .inner_product_header h2{
    color:#880921;
}

/* Zoom sur l'image du produit */
.inner_product .thumbnail_container{
    overflow: hidden;
    position: relative; 
}
.inner_product .thumbnail_container img.wp-post-image{
    max-width: 100%;
    -moz-transition: all 0.8s;
    -webkit-transition: all 0.8s;
    transition: all 0.8s;
}
.inner_product .thumbnail_container * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.inner_product:hover .thumbnail_container img.wp-post-image {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.inner_product{
    /*border:none;*/
    border-radius:0px;
}

/* Marges entre les produits */
.shop_columns_3 .products .product {
    margin: 0px 5% 1% 0;
    width: 30%;
}

/* Couleur des traits de séparation */
div.hr-default .hr-inner{
	border-color:#6d071a;

}

/* PANIER */
.woocommerce-shipping-calculator{display:none;}

/* RESPONSIVE */
@media screen and (max-width:767px){
	/* Marges réduites sur mobile */
	body .container_wrap .hr{
		margin:10px 0 !important;
	}
	#top .hr.hr-invisible{
		height:30px !important;
	}
	
	/* Taille logo */
	.responsive #top .logo{
		width:50%;
	}
}

.retour-boutique{
	  margin-top: -50px;
    position: absolute;
}

/* Bouton retour aux vins */
a.retour-boutique{
	padding: 5px 10px;
	background-color:#6C0503;
	color:#fff;
}
a.retour-boutique:hover{
	background-color:#D02A2A;
	color:#fff;
	text-decoration:none;
}
a.retour-boutique::before{
	content:url(https://chateau-la-pierriere.com/wp-content/uploads/2021/09/chevron-left-arrow-16.png);
	vertical-align:middle;
	margin-right:5px;
}


/* FORMM */
#top .entry__field input[type="text"]{
    margin-bottom:0 !important;
    padding: 0 5px !important;
}
  .sib-form{
    padding:0 !important;
}
#sib-container{
	padding:6px;
	background-color:#F6F5F1;
	border:none;
}
#sib-container label.entry__specification{
	line-height:14px;
}
#sib-container input.input{
	font-size:14px;
}
#sib-form{
	margin-bottom:0 !important;
}
.sib-form-block__button{
	background-color:#6d071a;
	color:#fff;
	border-radius:4px;
	font-weight:normal !important;
}

/* -- PAGE PRODUIT -- */
/* Sous image */
div.product div.images div.thumbnails {
    padding-top: 0 !important;
}
.single-product-main-image .thumbnails {
    margin-top: 0 !important;
}
#top #main .single-product-main-image .sidebar, #top #main .single-product-main-image .inner_sidebar{
	padding:0 !important;
}
.single-product-main-image{
	padding-bottom:0 !important;
}

div a.remove{
background:url('https://chateau-la-pierriere.com/wp-content/uploads/2021/10/cancel.png') !important;
	background-size:18px !important;
	background-repeat:no-repeat !important;
}
