/* 
Theme Name: Storefront Child 
Version: 1.0 
Description: Guillaume's Child theme for Storefront. 
Author: Guillaume Agard
Template: storefront 
*/

/** Pour centrer le titre .alpha, h1 {text-align:center} */

/*New font
@font-face {
	font-family: CarolusRoman;
	src: url(https://sagot-legarrec.fr/wp-content/themes/storefront-child/fonts/carolus_roman/carolusr.ttf);
	font-weight: normal;
}*/

/*.site-title {
	font-family: "CarolusRoman", "Noto Sans", sans-serif;
}*/

.site-description {
	display: block;
/*	font-family: "CarolusRoman", "Noto Sans", sans-serif;*/
}

.carolus {
/*	font-family: "CarolusRoman", "Noto Sans", sans-serif;*/
	text-align: center;
}

/** Centrer titres widgets */
.widget .widget-title, .widget .widgettitle {
    text-align: center;}

/** Pour mettre en place le secondary menu qui est utilsé dans le HTML personnalisé du widget de bas de page avec une balise div ajoutée et une autre enlevée */

.secondary-navigation {
    display: block;
	margin:10px 10px 0;
	}
.secondary-navigation .menu {
    float: none;
    font-size: 1.5em;
	margin,padding: 0;}
.secondary-navigation ul {
    display: block;
    list-style: none;
	margin:0;}
.secondary-navigation ul li {
    position: relative;
    display: inline-block;
    text-align: left; }
.secondary-navigation ul li a {
    display: block; }
.secondary-navigation .menu a {
    padding:3px 10px 10px 0 ; }
.menu-item{	
	margin:0 20px 10px 0 !important;
}














/** Pour centrer le titre .alpha, h1 {text-align:center} */

@media (min-width: 768px) {
.col-full { padding: 0.654481em 2.617924em 0em;}	/** Add a 0.654481em padding above the main content to compensate for Breadcrum removal */
.site-header {padding-top: 0; padding-bottom: 0;}
.site-footer {padding: 0;}
.site-info {padding: 1.308962em 0}
.single-product #primary { width:100%;}				/** Remove side bar from single product pages */
.single-product #secondary { display:none;}			/** Remove side bar from single product pages */
.single-product div.product .woocommerce-product-gallery {width: 47.0588235294%;}
.single-product div.product .summary {width: 47.0588235294%;}
.single-product div.product .woocommerce-product-gallery img {width:100%;}
.footer-widgets { padding-top: 1em;}
.content-area, .widget-area { margin-bottom: 1em;}
/** .single-product div.product .woocommerce-product-gallery {width: 52.9411764706%;} */
/** .single-product div.product .summary {width: 41.1764705882%;} */
}

@media (max-width: 66.4989378333em) {
.col-full { margin-left: 1em; margin-right: 1em; }
}

@media (min-width: 600px) {
.hentry .entry-content .wp-block-columns .wp-block-column:not(:last-child) { margin: 1em; padding-left: 0 ; padding-right:0em }
}

@media (min-width: 600px) {
.wp-block-columns { flex-wrap: nowrap; }
}

.wp-block-columns { margin-bottom: 1em; }

.site-main { margin-bottom: 1em; }

.col-full { padding-top: 0em;}

/** Pour enlever l'espace sous les titres des filtres */
.widget .widget-title, .widget .widgettitle {
	font-size: 1em;
	padding: 0;
	margin-bottom: 0;
	font-weight: bold;
}

p { text-align: justify; margin-bottom: 1em;}

h1, h2, h3, h4, h5, h6 { margin: 0.5em auto; color: black; font-weight: bold;}

p + h1, p + h2, p + h3, p + h4, p + h5, p + h6 { text-align: justify; margin: 0.5em auto; color: black; font-weight: bold; }

h1, h2, h3, h4, h5, h6 { margin: 0.5em auto; color: black; font-weight: bold; }

.widget {
    margin: 0 0 1em;
}

.wp-block-button__link:not(.has-background) {
    background-color: #92946B;
	color: #f3f3f3;
} 

a, h1 a,h2 a,h3 a,h4 a,h5 a,h6 a  {
    color:#92946B; font-weight: bold;
}

hr {
  color: #92946B;
  background-color: #333333;

}

p.has-background {
    padding: 10px 10px;
}

/**
a {
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size .3s;
}
a:hover, a:focus {
    background-size: 100% 1px;
}
 */

a:hover, a:focus {
    text-decoration: none;
}

.hentry .entry-content a:not(.button) {
    text-decoration: none;
}

.button, .widget a.button {
    background-color: #92946B;
	color: #f3f3f3;
	padding: 0.5em;
	margin: 0.5em;
}

button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .widget-area .widget a.button.alt {
    background-color: #92946B;
	color: #f3f3f3;
}

button.alt:hover, input[type="button"].alt:hover, input[type="reset"].alt:hover, input[type="submit"].alt:hover, .button.alt:hover, .widget-area .widget a.button.alt:hover {
    background-color: #dadada;
    color: #000000;
}

.site-footer a:not(.button):not(.components-button) {
    color: #92946B;
    text-decoration: none;
}

.added_to_cart.alt, .added_to_cart, .widget a.button.checkout {
    background-color: #92946B;
	color: #f3f3f3;
}

.added_to_cart, .button, button, input[type=button], input[type=reset], input[type=submit] {
    padding: .5em;
}

/** .alpha,h1{font-size:1.618em} */
.alpha,h1{font-size:1.4635em}
.beta,h2{font-size:1.4635em}
.gamma,h3{font-size:1.309em}
.delta,h4{font-size:1.1545em}

/** Pour enlever le compteur de résultats sur la page qui liste les produits https://www.youtube.com/watch?v=v0dz3PoDXZ0 */
.woocommerce-result-count {display:none}

/** Mise en page notification shop */
.demo_store {
    background-color: #92946B;
    color: #f3f3f3;
}

/** Enlever le titre H2 de plus d'info */
.woocommerce-tabs .panel h2:first-of-type {
    display: none;
}

/** Fond blanc bouton newsletter email  */
.input-text, input[type=email], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], textarea {
    padding: .6180469716em;
    background-color: white ;
}

/** Espace autour de la partie basse du footer  */
.site-info {
    padding: 0 0 2.617924em 0;
}

/** Definition d'une classe inline-block utilisé pour les logos paiement du widget du footer  */
.inline-block {
   display: inline-block;
}

/** Espace autour de la partie basse du footer  */
.editor-styles-wrapper .wp-block-button:not(.is-style-squared) .wp-block-button__link, .hentry .entry-content .wp-block-button:not(.is-style-squared) .wp-block-button__link {
    border-radius: 0;
	margin-bottom: .5em;
}

.wp-block-button__link {
    font-size: 1em;
	margin: .5em;
}

/** Pour enlever un espace à la con sous le formulaire d'inscription à la newsletter  */
form {
    margin: 0em;
}

/** Réduire le padding des tableaux (notamment celui sur groupe de produit)  */
table td {
    padding: 0.2em;
	vertical-align: middle;
}

/** Taille logo */
.site-header .custom-logo-link img, .site-header .site-logo-anchor img, .site-header .site-logo-link img {
    max-width: 180px;
}

.home.page:not(.page-template-template-homepage) .site-header {
    margin-bottom: 0em !important;
}

.site-header {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

@media (min-width: 768px) {
.custom-logo-link, .site-branding, .site-header-cart, .site-logo-anchor, .site-logo-link, .site-search {
    margin-bottom: 0em;
}}

@media (min-width: 768px) {
.main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a {
    padding: 0em 0.5em 0em 1em;
}}

.main-navigation ul.menu ul li a, .main-navigation ul.nav-menu ul li a {
    padding: .25em 1.41575em;
}

.site-header-cart .cart-contents {
    padding: 0em 0;
}

/** Merde à supprimer  */
.avecfond {
	background-size: 200%; background-color:red;
	background-image:url(images/image_de_fond.png);
}

/** Pour réduire les espaces au dessus et en-dessous des séparateurs */
.hentry .entry-content .wp-block-separator {
    margin: 0.5em auto 0.5em;
}

@media (min-width: 768px) {
ul.products li.product {
    font-size: 1em;
}}

ul.products li.product img {
    margin: 0 auto 0.5em; border: 1px solid; border-color: #92946B; box-shadow: 5px 5px 5px #f3f3f3;
}

.single-product div.product .woocommerce-product-gallery img {
    margin: 0 auto 0.5em; border: 1px solid; border-color: #92946B; box-shadow: 5px 5px 5px #f3f3f3;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    margin: 0 auto 0.5em; border: 1px solid; border-color: #92946B; box-shadow: 5px 5px 5px #f3f3f3;
}

/** .wp-block-group {
	box-shadow: 5px 5px 5px #f3f3f3;
} */

ul.products li.product {
    margin-bottom: 1.5em;
}

ul.products li.product .price {
    margin-bottom: 0.5em; font-size:0.85em;
}

ul.products li.product .woocommerce-loop-product__title, ul.products li.product h2, ul.products li.product h3 {
    font-weight: bold; margin: 0; line-height: 1.2;
}

/** This CSS also adds 3 dots ... at the end of each product title when too long */
ul.products li.product .woocommerce-loop-product__title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	padding-left:1em;
	padding-right: 1em
}

.home.page-template-template-fullwidth .hentry .entry-content > .wp-block-cover {
    margin-bottom: 0;
}

.hentry .entry-content .wp-block-cover .wp-block-cover__inner-container h1 {
    font-size: 1.618em;
}

.hentry .entry-content .wp-block-cover .wp-block-cover__inner-container h2 {
    font-size: 1em;
}

.hentry .entry-content .wp-block-cover .wp-block-cover__inner-container p:not(.has-huge-font-size), .hentry .entry-content .wp-block-cover .wp-block-cover__inner-container p:not(.has-large-font-size), .hentry .entry-content .wp-block-cover .wp-block-cover__inner-container p:not(.has-small-font-size) {
    font-size: 1.4635em;
}

.hentry .entry-content .wp-block-cover .wp-block-cover__inner-container p:not(.has-huge-font-size), .hentry .entry-content .wp-block-cover .wp-block-cover__inner-container p:not(.has-large-font-size) {
    font-size: 1em; font-weight: bold;
}

body, button, input, textarea {
    line-height: 1.5em;
}

.wp-caption .wp-caption-text {
    padding: 0.25em 0;
}
.single-product div.product form.cart {
    margin-bottom: 0;
}

.button {
    margin: 0.5em 0;
}

.hidden-title-form a.hide-title-form, .wishlist-title a.show-title-form, .wishlist_manage_table a.create-new-wishlist, .wishlist_manage_table button.submit-wishlist-changes, .wishlist_table .add_to_cart.button, .wishlist_table a.ask-an-estimate-button, .woocommerce .yith-wcwl-wishlist-new button, .yith-wcwl-add-button a.add_to_wishlist, .yith-wcwl-popup-button a.add_to_wishlist, .yith-wcwl-wishlist-search-form button.wishlist-search-button {
    margin: 0.5em 0;
}

.yith-wcwl-add-to-wishlist {
    margin-top: 0;
}

.single-product div.product form.cart {
    padding: 0;
}

table {
    line-height: 1em;
}

td > .stock.in-stock {
    font-size: 0.85em; font-weight: normal; display:none;
}
td > .stock.out-of-stock {
    font-size: 0.85em; font-weight: normal; display:none;
}

.stock.in-stock {
    font-size: 1em; font-weight: bold; display:none;
}
.stock.out-of-stock {
    font-size: 1em; font-weight: bold; display:none;
}

/** Enleve les smileys devant les quantités */
.stock.in-stock::before {
    display:none;
}
.stock.out-of-stock::before {
    display:none;
}

.woocommerce .wishlist-title {
    display:none;
}

/** Pour la taille de la boite de menu */
button.menu-toggle {
    padding: .875em 2.2em .875em .875em;
}

.summary .single_add_to_wishlist.button {
    margin: 0.5em 0;
}

table {
    margin: 0.5em 0em;
}

table.cart {
    margin: 0.5em 0em;
}

/** Réduire l'espace shopping en bas sur mobile */
.storefront-handheld-footer-bar ul li > a::before {
    font-size: 1em; 
}
.storefront-handheld-footer-bar ul li.cart .count {
    font-size: .5em;
    left: 60%;
}
.storefront-handheld-footer-bar ul li > a {
    height: 2.5em;
}

/** Bouton home en bas sur mobile */
.storefront-handheld-footer-bar ul li.home > a:before {
	content: "\f015";
}

.single-product div.product .product_meta {
    font-size: 1em;
	padding-top: 0.5em;
}

.product_meta a, a:not(.button) {
    text-decoration: none;
}
	
.single-product div.product .product_meta a {
    color: #92946B;
    font-weight: bold;
	text-decoration: none;
}

/** Reduire la marge du breadcrumb */
.storefront-breadcrumb {
    margin: 0 !important;
	padding: 0.5em 0 !important;
}

/** Mise en page titre oeuvre das npage produit */
h2.product_title_entry_title {
	font-size:1.309em;
	margin: 0 0 0.5em 0;
}

/** Mise en page des puces (trop à droite par défault) */
ul {
	margin: 0 0 1.41575em 1em;
}

/** Suppression du panier dans le menu   */
.site-header-cart .cart-contents {
    display: none;
}

/* XXXXX */


/*Suppression des lignes autours des cadres */
.site-footer {
	box-shadow: none !important;
}

.hentry,
	.page-header,
	.page-content {
	box-shadow: none;
	margin: 0 7.6923%;
}

body:before {
	box-shadow: none !important;
}

.hentry .entry-content .wp-block-button, .editor-styles-wrapper .wp-block-button {
    margin-bottom: 0em;
}

/*Remove Author, date,... aka Entry Footer
.entry-footer {
	display: none !important;
}

/*Remove navigation for post Précedent...Suivant
.post-navigation {
	display: none !important;
}

/*Remove navigation for image Précedent...Suivant
.image-navigation {
	display: none !important;
}

/*Typo titre widget Articles récents
.widget-title {
	font-family: Times New Roman, "Noto Sans", sans-serif;
	text-transform: none !important;
}

/** Au-dessus, ce qui était dans Personnaliser CSS - Ci-dessous ce qui était ici avant

/**
 * 10.0 Header

body,
button,
input,
select,
textarea {
	font-family: Times New Roman, "Noto Serif", serif;
}

.wp-caption-text {
	font-family: Times New Roman, "Noto Sans", sans-serif;
}

h1, h6 {
	font-family: "CarolusRoman", "Noto Sans", sans-serif;
}

h2, h3, h4, h5 {
	font-family: Times New Roman, "Noto Sans", sans-serif;
}

/*Je viens de faire passer le H2 de H1 vers le groupe h3
.entry-content h6,
.entry-summary h6,
.page-content h6,
.comment-content h6 {
	margin-top: 0;
	margin-bottom: 0;
}

/**
 * 16.1 Mobile Large 620px

@media screen and (min-width: 38.75em) {
	.site-main {
		padding: 0;
	}
}

/**
 * 16.4 Desktop Small 955px


@media screen and (min-width: 59.6875em) {
	.site-main {
		padding: 0;
	}
	}

/**
 * More room for content

  .entry-content {
		padding: 0;
	}

/**  Liens de bas de page centrés
  .site-info {
		text-align: center;
	}


/** Supprime le tab "Plus d'info" d'une fiche produit
.woocommerce div.product {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    display: none;
}

.woocommerce table.shop_attributes th {
    padding: 0px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    display: none;
}