/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/* FIL ARIANE */
nav#breadcrumbs span span {
    font-weight: 400;
}
nav#breadcrumbs strong.breadcrumb_last {
    font-weight: 400;
}
/* TITRE hX PAR DEFAUT */
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-theme-post-content h5,
.elementor-widget-theme-post-content h6 {
	color: var( --e-global-color-primary );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-primary-font-weight );
    line-height: var( --e-global-typography-primary-line-height );
}

.elementor-widget-theme-post-content .elementor-widget-text-editor {
    color: var( --e-global-color-text );
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    font-weight: var( --e-global-typography-text-font-weight );
    line-height: var( --e-global-typography-text-line-height );
}
/* Articles sous les catégories de produits */
.articles_sous_cat_prod .su-posts.su-posts-default-loop {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 2%;
}
.articles_sous_cat_prod p.a_lire_sur_blog {
    font-weight: 600;
    font-size: 1.3em;
    text-align: center;
}
@media (max-width: 1024px) {
	.articles_sous_cat_prod .su-posts.su-posts-default-loop {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 2%;
	}
}
@media (max-width: 767px) {
	.articles_sous_cat_prod .su-posts-default-loop h2.su-post-title {
		font-size: 1em;
	}
	.articles_sous_cat_prod .su-post-excerpt {
		font-size: 0.9em;
	}
	.articles_sous_cat_prod .su-posts-default-loop .su-post-meta {
		font-size: 0.7em;
	}
}
@media (max-width: 495px) {
	.articles_sous_cat_prod .su-posts.su-posts-default-loop {
		display: grid;
		grid-template-columns: 1fr;
		grid-column-gap: 2%;
	}
}
/* Archive produits */
@media (max-width: 495px) {
	.elementor-products-grid ul.products.elementor-grid {
		display: block;
	}
}
/* Fiche produits */
body.single-product table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #0000!important;
}
/* Miniatures sous grande image produit */
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
    clear: none;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 19%;
    padding: 1%;
}
.woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(5n+1) {
    clear: left;
}
/* Rupture de stock */
.woocommerce div.product .out-of-stock {
    color: #fefefe;
    background: #77a464;
    padding: 1%;
    display: block;
    width: 23%;
    text-align: center;
    margin: auto;
    border-radius: 21px;
}
/* Masque le poids des produits dans informations complémentaires */
table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
    display: none;
}

/* ARTISANS PRODUITS */

.creations_artisans ul.products li.product {
    text-align: center;
}
.creations_artisans ul.products li.product h3.woocommerce-loop-product__title {
    font-size: 1.2em;
    font-weight: 600;
    color: var( --e-global-color-secondary );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}
.creations_artisans ul.products li.product .star-rating {
    color: var( --e-global-color-accent );
    margin-bottom: 17px;
    margin-right: auto;
    margin-left: auto;
}
.creations_artisans ul.products li.product span.price {
    font-size: 1.3em;
    font-weight: 600;
    line-height: 2em;
    color: var( --e-global-color-primary );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
}
.creations_artisans ul.products li.product .button {
    font-family: var( --e-global-typography-accent-font-family ), Sans-serif;
    line-height: var( --e-global-typography-accent-line-height );
    font-weight: 500;
    margin-top: 0px;
}

@media (max-width: 495px) {
	.woocommerce.columns-3.creations_artisans ul li {
		width: 100%!important;
	}
}
.elementor-post__text .elementor-post__excerpt a.read-more {
    clear: both;
    display: block;
    color: var( --e-global-color-accent );
    font-weight: 500;
    text-decoration: none !important;
    font-size: 12px;
    margin-top: 2%;
}


/* MEDIAS */
.elementor-post__text .elementor-post__excerpt a.read-more {
    font-weight: 600;
    text-transform: uppercase;
	text-align: right;
}

/* BOUTON */
/*.ywctm-button-18973 .ywctm-custom-button {
    padding: 7px 10px;
	font-family: var( --e-global-typography-accent-font-family ), Sans-serif;
	text-transform: uppercase;
	font-size: 12px;
    font-weight: var( --e-global-typography-accent-font-weight );
    line-height: var( --e-global-typography-accent-line-height );
    background-color: var( --e-global-color-accent );
}*/
span.ywctm-inquiry-title div {
	color: var( --e-global-color-primary );
    font-family: var( --e-global-typography-primary-font-family ), Sans-serif;
	font-size: 1.3em;
    font-weight: 600;
    line-height: 2em;
	display: block;
}
ul.products .ywctm-custom-button-container a.ywctm-custom-button {
    color: inherit!important;
    background-color: #0000!important;
}
ul.products .ywctm-custom-button-container a {
    border: none;
}