/*
Theme Name: Extra Child
Theme URI: 
Description: child theme for the Extra theme
Version: 1.0.0
Author: Yann PETIT
Author URI: 
Template: Extra
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: 
Text Domain: 
*/
/** Divi Override **/

.et_pb_section{padding: 0}
#main-content {padding-top: 0;}
#top-header {background-color: #c43b28}
.et_pb_extra_module{border-top-color: transparent }
.et_pb_row.et_pb_row_fullwidth{width: 95% !important}
.page article{border-color: #c43b28;}
.posts-carousel-module{box-shadow: none}
/** Logo **/
#et-secondary-nav{padding-left: 100px;}
#top-header{z-index: 0}
#main-header {box-shadow: 0 2px 5px rgba(0,0,0,.1);}
#et-navigation li li {
	padding:0 20px;
    line-height: 1.5em;
}
#main-header .logo{overflow: visible !important; }
.et-fixed-header #main-header #logo{margin: 0 }
.et_pb_row.full-width{width:90%; padding: 0; margin: 0 auto; max-width: 100%}
.et_pb_gutters3 .et_pb_column_1_2 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_1_2 .et_pb_module{margin-bottom: 0}
.et_pb_row{padding-top:0; padding-bottom: 0}
.et_pb_row:first-child{padding-top:4%}
.et_pb_row:last-child{padding-bottom:4%}
p:last-of-type{margin-bottom: 1.6em}

.et_pb_pagebuilder_layout .page .post-wrap.keep-padding {padding: 40px 60px;}
/** Divi Posts **/
.single-post-module .post-header{padding: 60px 60px 0;}
.single-post-module .post-thumbnail{margin: 0 auto 40px !important; width: 50%;}

.et_pb_gallery_image.landscape a{display: block; width:100%; padding-bottom: 50%; background-position: center; background-repeat: no-repeat; background-size: contain  }
.et_pb_gallery_image.landscape a img{display: none; max-height:100%; }
.mfp-bottom-bar{display: none;}
@media only screen and (min-width: 1025px) and (max-width: 1280px) {
	#main-header .logo{margin:15px 0 0 !important}
	.et-fixed-header #main-header .logo{margin:10px 0 0 !important}
	#logo{height:75%;}
	#et-navigation > ul > li{margin: 0 10px}
	#et-navigation a {font-size:14px}
	.container{width:95%;}
	
	#main-header-wrapper, #main-header, #et-navigation{max-height:85px}
	#et-navigation > ul > li > a{padding:0 0 54px}
	.header.left-right #et-navigation > ul > li > a {padding-bottom: 35px !important; transition: 0.3s ease;}
	.et-fixed-header .header.left-right #et-navigation > ul > li > a{padding-bottom: 12px !important;}
	#et-navigation ul > li > ul > li > a {padding:5px 0;}
	
}

@media only screen and (max-width: 1024px) {
	#et-info{display: none;}
	#et-navigation nav{padding: 20px}
	#main-header .container, #et-navigation{max-height: 70px}
	.container {width:90%;}
	h4{font-size:15px}
	.et_pb_slider .et_pb_slide{padding: 30%;}
}

/** Slider Home **/
.et_pb_code_inner{background-color: #004136; background-image: url(img/loader.gif); background-position: center; background-repeat: no-repeat}

/** Text style **/
#main-content {padding-top: 5px;}
#main-content h2, #main-content h3 {position: relative; margin-bottom: 20px; line-height: 1}
#main-content h3{font-size: 18px; margin-top: 20px}
#main-content h2 em {font-family: 'Open Sans'; display: block; font-size: 60%; font-style: normal; }
#main-content h2:after, #main-content h3:after{display: block; content: ''; width:80px; bottom:0; height:1px; background-color: #004136; left:50%; transform: translateX(-50%); position: absolute}
#main-content .et_pb_bg_layout_dark h2:after, #main-content .et_pb_bg_layout_dark h3:after {background-color: #fff;}

#main-content h2{display: inline-block; }
#main-content h3{ margin:20px auto 5px; }
#main-content h2+h3{margin-top: 0}
#main-content h2:after, #main-content h3:after {left:0; transform: translateX(50%); transition: 0.3s ease;}
#main-content h2[style='text-align: center;'], #main-content h3[style='text-align: center;']{display: block;}
#main-content h2[style='text-align: center;']:after, #main-content h3[style='text-align: center;']:after{left:50%; transform: translateX(-50%)}

/** list-contact **/
#main-content .list-contact ul, #main-content .list-contact li {line-height: 1.2; list-style: none; padding-left: 0}
#main-content .list-contact li {margin: 0 20px; padding:5px; color: #000}
#main-content .list-contact li:nth-child(even) {background: rgba(255,255,255,0.5); }
#main-content .list-contact li:nth-child(odd) {background: #c7e3d1; }
#main-content .list-contact li:after{clear: both; display: block; content: "";}

#main-content .list-contact .et_pb_bg_layout_dark li{color: #fff}
#main-content .list-contact .et_pb_bg_layout_dark li:nth-child(odd) {background: rgba(255,255,255,0.05); color: #fff}

#main-content .list-contact li em { float: right; font-weight: bold}
.tp-bullets {display: none;}
#main-content p, #main-content li{text-align: justify !important}
#main-content .et_pb_image+.et_pb_text{font-size:13px; background: #fafafa; padding:0 10px; margin: 0 -10px;}


/** CTA **/
.et_pb_column_1_2 .et_pb_promo, .et_pb_column_3_5 .et_pb_promo, .et_pb_column_1_3 .et_pb_promo, 
.et_pb_column_2_5 .et_pb_promo, .et_pb_column_1_4 .et_pb_promo, .et_pb_column_1_5 .et_pb_promo, 
.et_pb_column_1_6 .et_pb_promo, .et_pb_promo {padding:0; background-size: cover; }
.et_pb_promo .et_pb_promo_description{padding:0;  transition: 0.3s ease;}
.et_pb_promo .et_pb_promo_description h2{display: block; padding:20px; background-color: rgba(0,65,54,0.8);}
.et_pb_promo .et_pb_promo_description p {opacity: 0.0; transition: 0.3s ease; padding: 5.5%; min-height: 170px;}
.et_pb_column_1_3 .et_pb_promo .et_pb_promo_description p{padding-top:11%;}
.et_pb_promo .et_pb_promo_description:hover {background: rgba(0,65,54,0.5);}
/*
.et_pb_promo {
		-moz-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
         -o-filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
         -webkit-filter: grayscale(100%);
         filter: gray;
         filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
}
*/

.et_pb_promo .et_pb_promo_description:hover p {opacity: 1.0}
#main-content .et_pb_promo h2:after{bottom: 3px;}


/** footer **/
footer h3 {color: #fdfdfd}

/** fullwidth header **/
.et_pb_fullwidth_header{min-height:350px;}
.et_pb_fullwidth_header h1.et_pb_module_header{color: #004136 !important; background-color: rgba(199, 227, 229, 0.8); padding:5.5%}

.et_pb_fullwidth_header{background-size: 1080px; background-color: #004136;}

/** specifique **/

#main-content .leaflet {width:100%; height:250px; background: #fafafa; margin-bottom: 20px}

input.active{background-color:#c7e3d1 }

/** Partners Grid Home */
#main-content #partners{padding-top: 10px;}

#partners h4{background: none; color:#bda06c; text-transform: none; font-size:24px; font-weight: normal}
#partners h4::before{ content:''; height:2px; left:-10px; width:30px; background-color:#bda06c; display: inline-block; margin-bottom:5px; margin-right:15px;}
#partners.et_pb_row{padding:1% 0;}
#partners .et_pb_module_header{display: none;}
#partners .et_portfolio_image {background-position: center; background-size: contain; background-repeat: no-repeat;}
#partners .et_portfolio_image img{background-color: #fff; padding:1%;}
.et_pb_gutters3 .et_pb_column_4_4 .five_cols .et_pb_grid_item{
    width: 13.5%;
    margin: 0 3% 3% 0;
}
.et_pb_gutters3 .et_pb_column_4_4 .five_cols  .et_pb_grid_item:nth-child(4n+1){
    clear: none;
}
.et_pb_gutters3 .et_pb_column_4_4 .five_cols  .et_pb_grid_item:nth-child(6n+1){
    clear: both;
}

span.et_overlay:before{color: #c7e3d1}

.et-pb-slider-arrows a:before{color:#c7e3d1; text-shadow: 0px 0px 4px #000000;} 
.et_pb_bg_layout_light .et-pb-controllers a {background-color: #004136; box-shadow: 0px 0px 4px #fff;}
.et_pb_bg_layout_light .et-pb-controllers a.et-pb-active-control {background-color: #c7e3d1; box-shadow: 0px 0px 4px #000000;} 

