/*
Theme Name: Optim2
Description: Theme enfant de Divi par noOpr
Author: Maxime Noppe
Author URI: https://www.noopr.fr
Template: Divi
Version: 1.1
*/

/* Styles générique */

/* Color */
.green{color:#048049 !important;}
.green-light{color:#49bc87 !important;}
/*
/* Typo */
.reg{font-weight:400 !important;}
.sembld{font-weight:600 !important;}
.fs19{font-size:19px !important;}
/* Padding */
.padlr15{padding:0 15px !important;}

/* Margin */
.martopneg80{margin-top:-80px;}

/* Menu Espace client */
.espaceclientmob{display:none !important;}

/* 
** CENTRER DU CONTENU VERTICALEMENT 
*/
.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}

/***** CUSTOM TABS */
.custom-tabs{
	    -ms-flex-align: center;
    -webkit-align-items: center;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
}
.custom-tabs ul.et_pb_tabs_controls {
  float: left;
  width: 45%;
  display: block;
  background: transparent;
}
.custom-tabs .et_pb_all_tabs {
  display: flex;
  width: 55%;
}

.custom-tabs .et_pb_tabs_controls li {
display: block;
width: 100%;
border: none;
margin-bottom: 0;
}

.et_pb_tabs.custom-tabs .et_pb_tabs_controls li.et_pb_tab_active a{
	color:#5da384 !important;
	font-weight:600 !important;
}

.custom-tabs .et_pb_tabs_controls li a {
   display: block;
  width: 100%;
  padding: 10px 0px ;
}

.custom-tabs ul.et_pb_tabs_controls:after {
content: none;
}

.custom-tabs .et_pb_tab {
    padding: 0;
}
.custom-tabs .et_pb_tab_content {
    text-align: center;
}
.custom-tabs .btn-tabs{
display: inline-block;
    line-height: 50px;
    position: relative;
    bottom: 70px;
    color: #ffffff;
    font-size: 22px;
    background: #48bc86;
    padding: 0 100px;
}

/***********************************************
 * *********** BOUTIQUE ***********************
 * *********************************************/
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals, .woocommerce-page table.cart td.actions, .wapf-product-totals .wapf--inner div{
display:none;
}
.woocommerce-error li, .woocommerce-info li, .woocommerce-message li{
	text-align:center;
}
.wapf-product-totals .wapf--inner div:last-child{
	display:block;
}
body #page-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button:after {
    margin-left: 0 !important;
}
.woocommerce-Price-amount.amount{
	font-size:46px;
}
.woocommerce-Price-amount.amount .woocommerce-Price-currencySymbol{
	font-size:20px;
}
.product .titre-fiche-produit .et_pb_module_inner h1 {
    font-size: 35px !important;
    font-weight: 400 !important;
}
/* Fil D'ariane produit */
.woocommerce .woocommerce-breadcrumb {
    font-size: 15px !important;
}
/* NAVIGATION PAGE PRODUITS */
.bellows .bellows-nav .bellows-active>.bellows-target .bellows-subtoggle .bellows-subtoggle-icon-collapse {
    color: #ccc !important;
}
.fa-chevron-down:before {
    content: "\f054";
}
.fa-chevron-up:before {
    content: "\f078";
}

.bellows.bellows-main{
	margin: 5px 0 0 0;
}
.bellows .bellows-nav .bellows-target{
padding:0px !important;
font-family: 'Din Regular',Helvetica,Arial,Lucida,sans-serif !important;
}
.bellows.bellows-main .bellows-menu-item a.bellows-target{
font-size: 17px;
font-weight:600;
color:#000000 !important;
}
.bellows .bellows-nav .bellows-submenu .bellows-target {
    padding-left: 20px !important;
    font-size: 14px !important;
}
#menu-categorie-produits.bellows-nav > li.bellows-item-level-0{
padding-bottom:5px !important;
}
#menu-categorie-produits.bellows-nav > li.bellows-item-level-0 a:first-child{
	margin-bottom:10px;
	font-size:14px !important;
	font-weight:600;
}
#menu-categorie-produits.bellows-nav li.bellows-item-level-1{
padding-bottom:5px !important;	
}
#menu-categorie-produits.bellows-nav li.bellows-item-level-1 .bellows-submenu{
padding-left: 10px !important;	
}
#menu-categorie-produits.bellows-nav > li.bellows-item-level-2{
padding-bottom:0px !important;		
}
.bellows.bellows-main .bellows-menu-item li.bellows-item-level-2.bellows-current-menu-item a.bellows-target{
	color:#49bc87 !important;
}
/* FIN NAV */

/* IMAGES PRODUITS */
.woocommerce div.product div.images .flex-control-thumbs{
margin-top: 3.6666%;
}
#add_payment_method table.cart img, .woocommerce-cart table.cart img, .woocommerce-checkout table.cart img {
    width: 150px !important;
}
/* FIN IMAGES PRODUITS */
.infoProduit p{
	font-weight:500 !important;
	font-size:15px !important;
	line-height:1.5em;
}
.infoProduit p strong{
	font-weight:700 !important;
}
.infoProduit span{
	color:#979797;
}
.wapf-field-input input[type=email], .wapf-field-input input[type=number], .wapf-field-input input[type=text], .wapf-field-input input[type=url], .wapf-field-input select, .wapf-field-input textarea {
    font-size: 15px !important;
    height: 2.5em !important;
}
.wapf-product-totals div span:last-child {
    float:none !important;
    margin-left: 20px;
    font-size: 35px !important;
    font-weight: 600;
}
.wapf-product-totals div span:last-child:after{
	content:" HT\0000B9";
	font-size: 18px;
}
/* cartouche */
.cartouche-vert{
display:inline-block;
background-color:#00bd85;
padding:3px 15px;
	width:100%;
	text-align:center;
}
span.cartouche-orange{
display:inline-block;
background-color:#ff6d00;
padding:3px 7px;
text-transform:uppercase;
color:#FFFFFF;
font-size:12px;
line-height:1em;
margin-top:5px;
}
.woocommerce-error .button, .woocommerce-info .button, .woocommerce-message .button, .woocommerce-error .button:hover, .woocommerce-info .button:hover, .woocommerce-message .button:hover{
background-color:#FFFFFF !important;	
}

/* CALCUL TVA */
.calculTVA a{
    color: #000000;
    border: 1px solid #000000;
    font-size: 18px;
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif!important;
    font-weight: 600!important;
    background-color: #FFFFFF!important;
    display: inline-block!important;
    padding: 14px 12px!important;
transition: all .3s ease !important;
}
.calculTVA a:hover {
background-color: #000000!important;
color: #FFFFFF !important;
}
.cp_cff_box #fbuilder {
    padding: 10px 20px !important;
    border-radius: 10px !important;
	max-width:490px !important;
	margin:0 auto !important;
}
.cp_cff_box #fbuilder .fform h1, .cp_cff_box #fbuilder .fform h2 {
    margin-bottom: 15px !important;
}
.cp_cff_box #fbuilder .top_aligned .fields>label {
    color: #048049 !important;
	font-weight:bold;
}
#fbuilder input[type="text"], #fbuilder input[type="date"], #fbuilder input[type="datetime"], #fbuilder input[type="email"], #fbuilder input[type="password"], #fbuilder input[type="number"], #fbuilder input[type="search"], #fbuilder input[type="time"], #fbuilder input[type="url"], #fbuilder textarea, #fbuilder select {
    font-size: 18px !important;
    font-family: 'Source Sans Pro',Helvetica,Arial,Lucida,sans-serif !important;
}
#fbuilder .totalTTC input[type="text"]{
	color: #048049 !important;
	font-weight:bold;
}

/* Mentions */
.mentions{
	font-size: 12px;
    line-height: 1.6em !important;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
}

/* PANIER */
#main-content table.cart th.product-quantity, #main-content table.cart th.product-subtotal, .woocommerce-cart table.cart td.product-quantity, .woocommerce-cart table.cart td.product-subtotal{display:none !important;}

/* GESTION DE LA MAP SHOWROOM */

#mapShowroom a{
position:absolute;
z-index:2;
background:url('https://optim2-gaindeplace.com/wp-content/uploads/2021/01/marker-b.png') top left no-repeat;
background-size:contain;
width:3.54%;
height:4.81%;
transition:all .3s;
}
#mapShowroom a:hover{
background:url('https://optim2-gaindeplace.com/wp-content/uploads/2021/01/marker-hover-b.png') top left no-repeat;
}

#mapsection .et_pb_row{
	width: 95%;
}

.newboxes sup{
	vertical-align: -55%;
}
.newboxes h2 span{
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.9em;
}

/*  GESTION DU SLIDER ON PARLE DE NOUS */
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}
#sliderPress .et_pb_slides .et_pb_slide{
padding: 0;	
}

#sliderPress .et_pb_slide_description .et_pb_slide_content h2{
	text-transform:uppercase;
	color:#000000;
	font-weight:600;
	font-size: 50px;
	line-height: 1.1em;
	padding-bottom:0;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content h2 span{
	font-weight:200;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content h3{
	font-size:19px;
	font-style:italic;
	color:#7e7e7e;
	font-weight:400;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p{
	position: relative;
    padding: 30px 50px;
    margin-top: 15px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:before, #sliderPress .et_pb_slide_description .et_pb_slide_content p:after{
	content:"";
	display:inline-block;
	width:53px;
	height:43px;
	position:absolute;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:before{
	background:url('/wp-content/uploads/2021/01/cote-before.png') top left no-repeat;
	top:0px;
	left:0px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:after{
	background:url('/wp-content/uploads/2021/01/cote-after.png') top left no-repeat;
}

/*** CUSTOM FIELD SEO PAGE PRODUITS ****/
.seo-produits h2{
	padding: 10px 0 5px 0 !important;
}
.seo-produits h2{
	padding: 5px 0 5px 0 !important;
}
/** PAGE ADHERENTS */
.intro-adherents h2 {
	font-size:55px;
	color:#019c7a;
}
.intro-adherents{
	padding:40px;
}
@media(max-width:980px){
/*** wrap row in a flex box ***/
.custom_row_rtl .et_pb_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1 !important;
order: 1!important;
}
.second-on-mobile{
-webkit-order: 2!important;
order: 2!important;
}

/* Menu principal mobile */
.three-columns .et_pb_column.col-menu-top{
width: 100% !important;
position: absolute;
right: 0px;
top:30px;
}
.three-columns .et_pb_column.col-menu-top .et_pb_menu_0_tb_header{
margin-right: 0px!important;	
	}
.three-columns .et_pb_column.col-menu-top .et_pb_menu__wrap{
	margin: 0 11px !important;	
	}
	.three-columns .et_pb_column.col-menu-top .et_pb_menu__wrap .mobile_menu_bar:before{font-size:40px;}
	/* Menu produit Fil ariane + menus footer no burger */
#menu-produit.et_pb_menu .et_pb_menu__menu, .footer-menu.et_pb_menu .et_pb_menu__menu {
    display:block !important;
  }
 #menu-produit.et_pb_menu .et_pb_menu__menu .et_pb_menu__wrap, .footer-menu .et_pb_menu__wrap{justify-content: flex-start !important;}
 #menu-produit .et_pb_menu__wrap .et_mobile_nav_menu, .footer-menu .et_pb_menu__wrap .et_mobile_nav_menu{ 
    display:none !important;
  }
	/* .footer-menu .et_pb_menu__menu{margin:0 auto;}*/
/*  PAGE PRODUIT */
.product .titre-fiche-produit .et_pb_module_inner h1 {
    font-size: 30px !important;
}	

/*  GESTION DU SLIDER ON PARLE DE NOUS */
.et_pb_bg_layout_dark .et_pb_slide_description {
    text-shadow: none !important;
}
#sliderPress .et_pb_slides .et_pb_slide{
padding: 0;	
}

#sliderPress .et_pb_slide_description .et_pb_slide_content h2{
	font-size: 30px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content h3{
	font-size:13px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p{
	position: relative;
    padding: 20px 40px;
    margin-top: 0px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:before, #sliderPress .et_pb_slide_description .et_pb_slide_content p:after{
	width:35px;
	height:28px;
	background-size:contain;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:before{
	top:15px;
}
#sliderPress .et_pb_slide_description .et_pb_slide_content p:after{
	right:0;
	bottom:0;
}
}
@media(max-width:767px){
.custom-tabs{
    display: block;
}
.custom-tabs ul.et_pb_tabs_controls.clearfix {
  float: left;
  width: 100%;
  display: inherit;
}
.custom-tabs .et_pb_all_tabs {
  display: flex;
  width: 100%;
}
	.custom-tabs .et_pb_tabs_controls li a {
text-align:center;
  padding: 5px 0px ;
}
.custom-tabs .btn-tabs{
    padding: 0 50px;
}
/*  PAGE PRODUIT */
.product .titre-fiche-produit .et_pb_module_inner h1 {
    font-size: 25px !important;
}
}
/* END CUSTOM TABS */
	

/* Section Testimonial */
.et-pb-controllers a {
    opacity: 1 !important;
    background-color: #333 !important;
    width: 12px;
    height: 12px;
}
.et-pb-controllers .et-pb-active-control {
    opacity: 1;
	background-color: #5dbb89 !important;
}
@media (max-width: 767px){
.et_pb_slide_image, .et_pb_slide_video {
    display: block !important;
}
	}
/* END Section testimonial */
/* MENU PAGE PRODUITS */
#menu-produit li:after{
content:"•";
position:absolute;
font-size:18px;
color:#909090;
right:-3px;
top:4px;
}
#menu-produit li:nth-last-child(1)::after{
display:none;
}
/* END MENU PAGE PRODUIT */
/* CUSTOM CONTACT FORM */
.et-pb-contact-message p{font-size: 22px;
    color: #49bc87;
    text-align: center;
    line-height: 1.3;
}
/* FOOTER */
/* Menu Footer */
.footer-menu.et_pb_menu .et_pb_menu__menu>nav>ul{
	display:block !important;
}

/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	/* Header : Garder 2 colonnes */
	 .three-columns .et_pb_column {
    width: 50%!important;
}
	/* Menu Espace client */
.espaceclientmob{display:flex !important;}

	/* Suppression des retour chariot */
	.noMobile{display:none;}
	
	/* GESTION DU RTL/LTR Mobile */
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}
/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

/*.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}*/

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}