/*
 Theme Name:   Storefront Child
 Theme URI:    http://www.expression-bretagne.com
 Description:  Storefront child theme pour Cavasso
 Author:       Pierre Réguer
 Author URI:   http://www.expression-bretagne.com
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         responsive-layout, accessibility-ready
 Text Domain:  storefront-child
*/


/*______________LARGEUR DU SITE_________________*/
@media (min-width: 768px) {
  .col-full {
    max-width: 1170px;
    background-color:#f0f0f0;
    padding: 0;
  }
}
.site-header {
    padding-top: 0;
    background-color:#fff;
}
body,  #primary, .site-header{
    background-color: #f0f0f0;
}

.site-main {
    padding: 4%;
}

/*______________HEADER_________________*/
#filet {
    height: 20px;
    background-color: #015675;
    margin-bottom: 30px;
}

.col-full-header {
    max-width: 1170px;
    margin: 0 auto;
    background-color: #fff;
    position: relative;
}

.woocommerce-active .site-header .site-header-cart {
    width: 20%;
    position: absolute;
    right: 40px;
    top: 100px;
}

.woocommerce-active .site-branding {
    margin-left: 2%;
}


.woocommerce-active .site-header .site-search {
    width: 16%;
    margin-right: 2%;
}


/* Bouton Facebook */

#menu-item-291 {
    text-align: right;
    line-height: 13px;
    font-size: 16px;
    line-height: 18px;
    margin-right: 60px;
    vertical-align: -15px;
    margin-left: -50px;
}

#menu-item-291::after {
    content: url(/wp-content/design/picto-facebook.png);
    position: absolute;
    top: 12px;
}
#menu-item-291 a {
    font-weight: 400;
}


/*______________MENU_________________*/

.woocommerce-active .site-header .main-navigation {
    width: 100%;
}

.primary-navigation {
    background-color: #f0f0f0;
    margin-top: 30px;
    padding: 0 20px;
    height: 50px;
}

.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
    padding: 0.809em 1em 0.809em 1em;
}

.secondary-navigation .menu a {
    padding: 1em .575em;
    color: #015675 !important;
    font-weight: 800;
}



/*______________ FOOTER _________________*/


.footer-widgets .block {
    border-top: solid 1px black;
    padding: 2% 0;
}

.site-content::after {
    margin-bottom: 60px;
}

.site-footer, .site-footer .col-full {
    background-color: #fff;
}

.site-footer {
    margin-top: 50px;
} 

.site-footer::before {
    content: "Kerrous - 29400 Bodilis";
    margin: -80px auto 30px auto;
    background: url(/wp-content/design/cavasso-signature.png) no-repeat;
    width: 177px;
    text-align: center;
    font-weight: 600;
    color: #015675;
    padding-top: 89px;
}

.site-info {
    display: none;
}

.cadre-footer {
    float: left;
    width: 30%;
    border-top: solid 1px black;
    margin-left: 3%;
    padding: 30px 0 20px 0;
    height: 150px;
    text-align: center;
}
.cadre-footer img {
    margin: 0 auto;
}

/*______________PAGE D'ACCUEIL _________________*/

.home .entry-content {
    padding: 0 !important;
}
.home .entry-title {
    margin-top: 1.5em;
}
/*
.storefront-best-selling-products {
    display: none;
}
*/
.home #primary {
    background-color: #f0f0f0;
}

.col-full-accueil .entry-content {
    padding: 0;
}

.page-template-template-homepage .entry-content, .page-template-template-homepage .entry-header {
    max-width: 61.0994671405em;
}

.page-template-template-homepage .entry-header h1 {
    font-size: 2em !important;
    margin-bottom: 1em;
}


.product-category.product::after {
    content: 'Je découvre la gamme';
    background-color: #f0f0f0;
    padding: 12px;
    font-weight: 800;
    color: #363636;
    line-height: 5vw;
}
.product-category.product:hover::after {
    background-color: #00526f;
    color: #fff;
}
.product-category.product {
    border: 1px solid #00526f;
    background-color: #fff
}
.woocommerce-loop-category__title {
    text-transform: uppercase;
    font-weight: 700 !important;
    color: #015675;
}

.storefront-product-section {
    margin-bottom: 1.618em;
    margin-top: 3.2em;
}
.home .columns-4 ul.products li.product {
    width: 22.5% !important;
    margin-right: 2% !important;
    box-shadow: 6px 6px 18px #cbcbcb;
    margin-bottom: 0 !important;

}

ul.products li.product.first {
    margin-left: 2%;
}

.home .columns-4 .products {
    margin-bottom: 50px;
}




/*__ Meilleures ventes __*/

#slider-meilleures-ventes {
    float: left;
    width: 34%;
    margin-top: 30px;
    background-color: #fff;
    padding: 1%;
    box-shadow: 6px 6px 18px #cbcbcb;
	height: 325px;
}
#slider-meilleures-ventes .slick-prev.slick-arrow, #slider-meilleures-ventes .slick-next.slick-arrow {
    display: none !important;
}
#slider-meilleures-ventes ul.products li.product img {
    margin: 0 0 4% 0;
    width: 56%;
    float:left;
}
#slider-meilleures-ventes .woocommerce-loop-product__title {
    float: left;
    width: 36%;
    margin-left: 6%;
    margin-top: 10%;
    clear: none;
}


#slider-meilleures-ventes a {
    display: block;
} 



#slider-meilleures-ventes .button {
    position: absolute;
    bottom: 5.5%;
    right: 2%;
    width: 37%;
    font-size: 0.9em;
}

#slider-meilleures-ventes h2 {
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 600;
    margin-left: 1em;
    margin-top: 0.5em;
}

.titre-meilleures-ventes::before {
  content: "";
  display: block;
  float: left;
  width: 1.6em;
  height: 1.6em;
  background-image: url(/wp-content/design/picto-coeur.png);
  background-size: 100% 100%;
  margin: -0.3em 0.4em 0 0;
}

.woocommerce-loop-product__title {
    text-transform: none !important;
    font-size: 1.2em !important;
}

#bandeau-cheval {
    float: left;
    width: 58%;
    display: block;
    margin-left: 2%;
}

#en-ce-moment, #nouveau-blog {
    float: left;
    width: 29%;
    background-color: #fff;
    height: 272px;
	padding:1.5%;
    margin: 5px 0 20px 2%;
    box-shadow: 6px 6px 18px #cbcbcb;
}

#en-ce-moment h2, #nouveau-blog h2 {
    font-weight: 700;
    font-size: 1.1em;
	line-height: 1.1em;
}

#evenements-cavasso {
    float: left;
    margin-left: 2%;
    margin-bottom: -8%;
    margin-top: 3%;
}

#evenements-cavasso h2 {
    text-transform: uppercase;
    font-size: 1.5em;
    font-weight: 600;
}

.titre-encadre {
    font-size: 1.4em;
    line-height: 1em;
    padding-top: 0;
}

.image-encadre {
	float: left;
    height: 100%;
    width: 50%;
    background-size: cover;
    background-position: center;
}

.contenant-texte-encadre {
    float: left;
	padding: 2% 2% 2% 4%;
    width: 50%;
}
.contenant-texte-encadre p {
    line-height: 1.2em;
}

.image-encadre::before {
    content: "Je découvre";
    background-color: #f0f0f0;
    margin: 18%;
    padding: 4%;
    margin-top: 140%;
    float: left;
    font-size: 85%;
    font-weight: 800;
    text-align: center;
}

#cadre-passion {
    width: 50%;
    margin-top: 4%;
    padding: 2% 2% 15vw 2%;
    background: no-repeat url("/wp-content/design/fond-mer-logo.jpg");
    float: left;
    background-position: left bottom;
    background-size: 100%;
    background-color: #fff;

}
#cadre-passion h2 {
    font-size: 1.7vw;
    text-align: center;
}

#texte-passion {
    width: 70%;
    float:left;
}
#cadre-passion p {
    color: #363636;
    font-size: 1.16vw;
    line-height: 1.3vw;
    font-weight: 600;

}
#jelis, #jeregarde {
   float:left;
   width: 20%;
   margin-left: 10%;
}
#jeregarde {
    margin-top: 20px;
}

#cadre-temoignage {
    margin-top: 4%;
    float: left;
    width: 44%;
    margin-left: 2%;
}

#cadre-conseils {
    margin-top: 2%;
    float: left;
    width: 44%;
    margin-left: 2%;
}

/*______________ TYPO GÉNÉRALE _________________*/

body {
color: #5e5e5d; 
}

h1, h2, h3, h4, strong {
  color: #015673;
}
h2 {
	margin-top: 0;
}
p {
    margin-bottom: 0.5em;
    line-height: 1.5em;
}

blockquote + h2, blockquote + h3, blockquote + h4, blockquote + header h2, form + h2, form + h3, form + h4, form + header h2, ol + h2, ol + h3, ol + h4, ol + header h2, p + h2, p + h3, p + h4, p + header h2, table + h2, table + h3, table + h4, table + header h2, ul + h2, ul + h3, ul + h4, ul + header h2 {
    margin-top: 0.5em;
}

hr {
    margin: 1em 0 1.41575em;
    float: left;
    width: 100%;
}

/*______________ PAGES _________________*/

.right-sidebar .widget-area, .left-sidebar .widget-area {
    padding: 2%;
    background-color: #fff;
}
#primary {
    background-color: #fff;
}


.page .entry-title, .page .entry-content {
    padding: 4% 4% 0 4%;
}
.page .entry-header {
    margin-left: -4.4%;
    margin-right: -4.4%;
    margin-top: -4.4% !important;
}
.hentry .wp-post-image {
	margin-bottom: 0;
}




/*______________ WIDGETS _________________*/

.footer-widgets {
    text-align: center;
}


.footer-widgets img {
  clear: both;
  display: block;
  margin: 0 auto;
}

.gamma.widget-title {
    text-transform: uppercase;
    font-weight: 400;
    color: #00526f;
}

.widget_product_categories a {
    text-transform: uppercase;
    text-decoration: none !important;
}
.widget-area .widget a {
    color: #5e5e5d;
}
.widget_product_categories a:hover {
    color: #111;
    margin-left: 0.2em;
}

.widget_product_categories ul li::before {
    content: ">";
}
.widget_recent_entries ul li::before, .widget_pages ul li::before, .widget_categories ul li::before, .widget_archive ul li::before, .widget_recent_comments ul li::before, .widget_nav_menu ul li::before, .widget_links ul li::before, .widget_product_categories ul li::before, .widget_layered_nav ul li::before, .widget_layered_nav_filters ul li::before {
    margin-right: 0;
    opacity: 1;
    width: 1em;
}



/*______________ PRODUITS _________________*/

.hentry.type-page .entry-header {
    margin-top: 2%;
}

ul.products {
    margin-left: 0;
    margin-bottom: 0;
    clear: both;
    margin-top: 4%;
}

ul.products li.product.first {
    margin-left: 0;
}

ul.products li.product.last {
    margin-right: 0;
}

.columns-4 ul.products li.product {
    width: 21% !important;
    margin-right: 4% !important;
    box-shadow: 4px 4px 8px #f0f0f0;
    margin-bottom: 4% !important;
}


.single-product div.product {
    padding: 4%;
}




/*______________ RESPONSIVE _________________*/

@media screen and (max-width: 750px)

{
  .home .columns-4 ul.products li.product {
    width: 100% !important;
    margin-bottom: 20px !important;
    height: 110vw;
  }
  ul.products li.product img {
    width: 100%;
  }
  .product-category.product::after {
    font-size: 4vw;
	padding: 4vw;
	line-height: 12vw;
 }
  ul.products li.product.product-category .woocommerce-loop-category__title, ul.products li.product.product-category h2, ul.products li.product.product-category h3 {
    font-size: 6vw;
 }
	
  #slider-meilleures-ventes {
    float: left;
    width: 100%;
  }
  #evenements-cavasso {
    margin-top: 40px;
	margin-left: 0;
  }	
  #bandeau-cheval {
    width: 100%;
    margin-left: 0;
  }	
  #en-ce-moment, #nouveau-blog {
    width: 100%;
    margin: 30px 0 20px 2%;
	margin-left: 0;
  }	
  #cadre-passion {
    width: 100%;
	display:none;
	}
	
	#cadre-temoignage, #cadre-conseils {
    width: 100%;
    margin-left: 0;
		margin-bottom: 2em ;
}
	
	
  .columns-4 ul.products li.product {
    width: 100% !important; 
    margin-bottom: 4em !important;
  }
	

}
