/*
 Theme Name: 	Divi La Bonne Composition
 Theme URI:  	https://www.labonnecomposition.fr
 Description:	Divi Child Theme
 Author:     	Samo9789
 Author URI: 	https://www.ads-software.net
 Template:   	Divi
 Version:    	1.0.0
*/

a,
a:visited,
a:hover {
	text-decoration: none !important;
	color: #173A3C !important;
}

a.btn-primary {
	border-radius: 20px;
	text-decoration: none;
}

a.btn-secondary {
	border-radius: 20px;
	background-color: white;
	border-width: 1px !important;
	border: solid 1px #c49e62 !important;
	color: #c49e62;
}

.woocommerce a.button:hover {
	padding: .3em 1em;
}

.button:hover:after {
       display: none;
}       

ul.socialnetworks {
	margin: 0 auto;
	width: 100%;
	justify-content: center;
	display: flex;
	list-style-type: none;
}

ul.socialnetworks li {
	margin: 0 20px;
	list-style-type: none;
}

ul.socialnetworks_footer {
        margin: 0 auto;
        width: 100%;
        justify-content: center;
        display: flex;
        list-style-type: none;
}

ul.socialnetworks_footer li {
        margin: 0 20px;
        list-style-type: none;
}

ul.socialnetworks_footer li img {
	max-height: 32px;
}

mark {
       background-color: transparent;
}

/* Header */

	header .et-menu.nav li:first-child{ 
		border-right: solid 1px #859394;
	}
	
	header .et-menu.nav li:last-child{ 
		border-left: solid 1px #859394;
	}
	
	.et_pb_image_1_tb_header,
        .et_pb_image_2_tb_header {
		margin-bottom: 0px !important;
		margin-left: 20px !important;
	}

	.et_pb_code_1_tb_header {
		margin-top: -20px;
		margin-left: -10px;
	}
	
	.et_pb_image_0_tb_header {
		max-width: none !important;
		text-align: center !important;
	}

	.wp-image-5443 {
		max-width: 150px !important;
	}


/* Mobile Header */

	.et_mobile_menu {
		border-top: solid 2px #173a3c !important;
	}
	
	.et_pb_menu__wrap .mobile_menu_bar:before,
	.et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before {
		color: #173a3c !important;
	}

.info-container > div {
	height: 100%;
}

.map-container,
.map-container > div {
	height: 100%;
}

.et_pb_column_1_2 .et_pb_map, .et_pb_column_3_5 .et_pb_map, .et_pb_column_3_8 .et_pb_map {
	height: 400px !important;
}

.et_pb_column_1_3 .et_pb_map, .et_pb_column_1_4 .et_pb_map, .et_pb_column_1_5 .et_pb_map, .et_pb_column_1_6 .et_pb_map, .et_pb_column_2_5 .et_pb_map {
height: 400px !important;
}

/* Home */

.price {
	color: #173A3C;
	font-weight: 600;
	font-size: 26px;
	line-height: 1.7em;
}

/* Page produit */

h2.woocommerce-loop-product__title {
	min-height: 84px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}

/* Page atelier */

.atelier-page-header {
	
}

.atelier-infos ol li {
font-size: 20px;
font-weight: bold;
}
.atelier-infos ol li span {
	font-size: 14px;
	font-weight: normal;
}
#atelier-map-col {
	background-image: url('https://labonnecomposition.fr/wp-content/uploads/2022/10/Capture-de%CC%81cran-2021-06-16-a%CC%80-14.59-1.png');
}


/* News */


/* GLOBAL */

h1 {
	font-weight: bold;
	font-size: 35px;
	color: #173A3C;
	text-align: center;
}

h2 {
	font-weight: bold;
	font-size: 25px;
	line-height: 34px;
	color: #173A3C;
}

h3 {
	font-weight: bold;
	font-size: 20px;
	line-height: 30px;
	color: #173A3C;
}

.add_to_cart_button {
	color: white !important;
}

a.et_pb_button {
	text-decoration: underline;
	background-color: blue;	
}

a.et_pb_button.secondary,
a.et_pb_button.secondary:hover,
a.et_pb_button.secondary:visited {
	background-color: #fff;
	color: #C49E62;
	border: solid 1px #C49E62;
	border-radius: 26px;
	font-size: 14px;
	line-height: 19px;
	padding: 8px 20px;
	width: fit-content
}

em {
	margin-left: 35px;
}

blockquote p {
	display: inline
}

blockquote {
	border-left: none;
	font-size: 18px;
	margin: 4px auto;
}

blockquote { quotes: '“' '”'}
blockquote:before { content: open-quote; }
blockquote:after  { content: close-quote; }

.homepage-title {
	text-align: center
}

.homepage-title h1 {
	color: #173a3c;
	font-weight: bolder;
}

.homepage-title p {
	color: #173a3c;
}

/* Homepage main buttons */

#home-main-links h3 {
	font-weight: 400 !important;
	text-transform: uppercase;
}

/* Homepage : actus */

#news-container > div {
	display: flex;
	flex-direction: column;
}

#news-container > div article {
	display: flex;
	justify-content: space-evenly;
}

#news-container div article  .et_pb_image_container {
	margin: 0 !important;
	width: 35%;
	margin-right: 2%;
	max-height: 240px;
}

#news-container .post-meta {
	display: none;
}

#news-container div article  .et_pb_image_container img {
	max-width: none !important;
	width: 100%;
	object-fit: cover;
	max-height: 240px;
}

.et_pb_post .entry-featured-image-url {
	margin: 0 !important;
	max-height: 400px;
	overflow: hidden;
}

#news-container  div article  .post-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	margin: 0 !important;
	width: 55%;
}

#news-container .more-link,
#news-container .more-link:visited, 
#news-container .more-link:hover {
	background: #C49E62;
	border-radius: 26px;
	color: white;
	font-size: 14px;
	line-height: 19px;
	padding: 8px 20px;
	width: fit-content
}

/* Basket counter */

#notif {
	z-index: 100;
	text-align: center;
	position: fixed;
	bottom: 30px;
	left: 20%;
	width: 60%;
	padding: 12px;
	background-color: #173A3C;
	color: white;
	-webkit-box-shadow: 0 0 5px black;
        -moz-box-shadow:    0 0 5px black;
	box-shadow:         0 0 5px black;
}

.added_to_cart {
	display: none !important;
}

#basket_count .counter {
	padding: 10px 16px;
	border-radius: 50px;
	background-color: #173A3C;
	color: white;
	font-weight: bold;
}

/* Testimonial Slider */


.tss-wrapper {
	box-sizing: border-box;
}


.item-content-wrapper {
	background-color: transparent !important;
}

.tss-wrapper .tss-even .tss-grid-item {
        min-height: 260px;
}

.tss-wrapper .item-content-wrapper {
	background-color: transparent;
}



.tss-wrapper .single-item-wrapper {
        border: solid 2px #859394;
        border-radius: 16px;
        margin: 0 20px;
	background-color: transparent;
}

.tss-wrapper .author-name {
	display: none;
}

.tss-wrapper .single-item-wrapper .rating-wrapper span.dashicons {
    	color: #859394;
}

.tss-wrapper .tss-layout3 .item-content-wrapper, .tss-wrapper .tss-isotope1 .item-content-wrapper, .tss-wrapper .tss-video1 .item-content-wrapper, .tss-wrapper .tss-carousel3 .item-content-wrapper {
    background-color: white;

}

.tss-wrapper .tss-layout3 .item-content, .tss-wrapper .tss-isotope1 .item-content, .tss-wrapper .tss-carousel3 .item-content {
    font-style: normal;
}

.tss-carousel-main .swiper-arrow, .tss-carousel .swiper-arrow {
    background-color: white;
    margin-top: -15px;
}

.tss-carousel-main .swiper-arrow > i, .tss-carousel .swiper-arrow > i {
     color: #C49E62;
}

/* Cart */

.cart_item a,
.cart_item a:visited,
.cart_item a:active {
	font-weight: bold;
	color: #173a3c !important; 
}


/* Footer */

/* 
#footer-info, #footer-menu, #footer-follow {
width: 100%;
        text-align: center;
}


.et_pb_column_0_tb_footer {
	border-right: none !important;
        width: 100%;
        text-align: center;
}

#footer-info a {
margin: 0 auto;
}

*/

.et-l--footer {
	margin-top: 60px;
}

.et_pb_column_1_tb_footer {
	border-right: none;
}

.et_pb_image_0_tb_footer {
	text-align: center !important;
	margin-left: auto !important;
	border-right: none !important;
}

.et_pb_menu_0_tb_footer.et_pb_menu {
	background-color: #173a3c !important;
}

@media only screen and (max-device-width : 960px) {
.et_pb_menu_0_tb_footer.et_pb_menu,
.et_pb_menu_1_tb_footer.et_pb_menu,
.et_pb_menu_2_tb_footer.et_pb_menu {
	width: 100%;
	justify-content: flex-start;
	padding-left: 40%;
}
}

#footer .et_pb_module {
	width: 100%;
	margin-bottom: 0 !important;
}

#footer h3 {
	color: white;
	padding: 0;
	margin:0;
	font-weight: bolder;
}

#footer a,
#footer a:hover,
#footer a:visited {
	text-decoration: none;
	color: white !important;
}

#footer-follow {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}

#footer-follow ul {
	margin-top: 25%;
}

/* 
#footer-menu {
	text-align: center;
}

#footer nav {
	margin: 0 auto;
}

#menu-footer-menu {
	display: grid !important;
	grid-template-columns: 200px 200px 200px;
}
*/

#menu-footer-menu-1,
#menu-footer-menu-2,
#menu-footer-menu-3 {
	flex-direction: column;
}


/* 
@media screen and (max-width: 600px) {
#menu-footer-menu {
        display: grid !important;
        grid-template-columns: 100%;
}
.et_pb_fullwidth_menu--style-left_aligned .et_pb_menu__wrap, .et_pb_menu--style-left_aligned .et_pb_menu__wrap {
justify-content: center;
}
}

#footer-menu ul {
	margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(8, auto);
    grid-auto-flow: column;
}

#footer-menu ul li {
	width: 250px;
	margin-top: 1px;
	margin: 0;
	margin-bottom: 1px;
}
*/

.lwp-hide-mobile-menu.et_pb_menu .et_pb_menu__menu,.lwp-hide-mobile-menu.et_pb_fullwidth_menu .et_pb_menu__menu { display: flex!important; } .lwp-hide-mobile-menu .et_mobile_nav_menu { display: none; }

/* WooCoomerce */

.woocommerce-breadcrumb a {
	color: #767676;
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
	background-color: #859394;
	color: #173A3C;
}

/* Cart page */

.shipping_information {
	color: #173A3C;
	width: 50%;
}

.shipping_information h2 {
	margin: 0 auto 10px 0;
	text-align: center;
}

.shipping_information p {
	margin-bottom: 30px
}

.shipping_information ul, .shipping_information li{
	list-style-type: none;
}

.shipping_information ul {
	display: flex;
	justify-content: space-evenly;
}

.shipping_information ul li {
	text-align: center;
}

.shipping_information ul li span {
	display: block
}

/* Mon compte */

.woocommerce-MyAccount-navigation-link a,
.woocommerce-MyAccount-navigation-link a:visited {
	color: #173a3c;
}

.woocommerce-MyAccount-content a,
.woocoomerce-MyAccount-content a:visited {
	font-weight: bold;
	color: #173a3c;
}

.woocommerce-page.et_pb_button_helper_class a.button {
	font-size: 1em;
	margin-right: 2px;
	margin-bottom: 2px;
	padding: 2px 10px !important;
}