/**
Theme Name: Asinerie
Author: Bzzz
Author URI: https://www.bzzz.be
Description: Thème enfant pour Astra développé par Bzzz pour l\'Asinerie du Pays des Collines
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asinerie
Template: astra
*/

.ml-2 {margin-left: 1rem;}
.mr-1 {margin-right: 0.5rem;}
.col-btn .wp-block-buttons {justify-content: center;}
.superposition {position: relative;}
.img-up {position:absolute;top:50%;right:0;transform: translateY(-50%);max-width: 70%;}

.ast-builder-language-switcher-menu-item-header {margin-left: 0.5rem;}

/* body:not(.page-template-m-page) #primary,
body:not(.page-id-208) #primary,
 {margin: 2rem 0!important;} */

body:not(.page-template-m-pasdemarge) #primary {margin: 4em 0!important;}
#primary.etroite {float:none;max-width: 800px;margin: 2rem auto!important;}

.flex-column .uagb-column__inner-wrap {display:flex;flex-direction: column;}
.flex-column .uagb-column__inner-wrap p {flex: 1;}

.home .ast-primary-header-bar, 
.home .ast-primary-header-bar *, 
.home .ast-sticky-active,
.page-template-m-pasdemarge .ast-primary-header-bar, 
.page-template-m-pasdemarge .ast-primary-header-bar *, 
.page-template-m-pasdemarge .ast-sticky-active {transition:all 0.3s ease-in-out;}

.home .ast-main-header-wrap div:first-child,
.page-template-m-pasdemarge .ast-main-header-wrap div:first-child {min-height: 0!important;}
.home .ast-primary-header-bar:not(.ast-sticky-active), 
.page-template-m-pasdemarge .ast-primary-header-bar:not(.ast-sticky-active) {background:none;position: absolute;width: 100%;border:none;}

.home .ast-primary-header-bar:not(.ast-sticky-active) a, 
.home .ast-primary-header-bar:not(.ast-sticky-active) .ast-site-header-cart .ast-addon-cart-wrap, 
.home .ast-primary-header-bar:not(.ast-sticky-active) .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset *,
.page-template-m-pasdemarge .ast-primary-header-bar:not(.ast-sticky-active) a, 
.page-template-m-pasdemarge .ast-primary-header-bar:not(.ast-sticky-active) .ast-site-header-cart .ast-addon-cart-wrap, 
.page-template-m-pasdemarge .ast-primary-header-bar:not(.ast-sticky-active) .ast-header-account-wrap .ast-header-account-type-icon .ahfb-svg-iconset * {color:white;fill:white;}

.uagb-post__cta {background: #385D48!important;}

/* SHOP */

li.product {display: flex;flex-direction: column;}
.astra-shop-summary-wrap {flex:1;display: flex;flex-direction: column;}
.ast-loop-product__link {flex:1;}

.wpmc-tabs-wrapper {margin:2rem 0;}

.anes h2 {margin: 2rem 0;}
.anes .ane {margin-bottom: 2rem;}
.anes .ane-img {display:block;width:100%;height: 15rem;background-size: cover;background-position: center center;}
.anes .ane-txt {padding:2rem 0;}
.ane-info {background:rgba(56,93,72,0.1);padding: 1rem 2rem;}
.ane-info ul {margin:0;}

.single-anes h1, .single-anes h2 {text-align:center;margin-bottom:2rem;}
.single-anes .ane-info {margin:2rem 0;}
.single-anes .ane-prix {background:rgba(56,93,72,0.1);padding: 1rem;font-size: 1.3rem;font-weight: bold;margin-bottom: 2rem;}

/* ACCOUNT */

.woocommerce-MyAccount-navigation-link--downloads {display:none;}

/* FACEBOOK FEED */

/* .cff-page-name, .cff-author-img {display:none;}
#cff .cff-author .cff-date {margin:0!important;} */

@media (min-width: 782px) {
.home-products h2 {
	height: 150px;
	border: 1px solid white;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	margin:0;
	transition: all 0.5s ease-in-out;
}
.home-products h2 a {color: white;}
.home-products .wp-block-column:hover h2 a {color: rgba(56,93,72,1)!important;}

.home-products {
	position: relative;
	top: -149px;
	margin-bottom: -149px;
	z-index:2;
}

.home-products .wp-block-column:hover h2 {
	color: #385d48;
	background:#f7f7f7;
	border: 1px solid #f7f7f7;
}
.anes .ane {display:flex;}
.anes .ane-img {width:30%;}
.anes .ane-txt {width:50%; padding:0 2rem;}
.anes .ane-info {width:20%;}
}