/*

 Theme Name:   Divi Child

 Theme URI:    http://example.com/twenty-fifteen-child/

 Description:  Divi Child super theme

 Author:       John Doe

 Author URI:   http://example.com

 Template:     Divi

 Version:      1.0.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         Responsive

 Text Domain:  divi-child

*/

@font-face {
  font-family: 'MarthinSlant';
  src: url('font/MarthinSlant/font.woff2') format('woff2'), url('font/MarthinSlant/font.woff') format('woff');
}


h1, h2, h3, h4, h5, h6, .et_pb_slide_content{
	font-family: 'MarthinSlant',handwriting!important;
}

.home h2{
	font-size: 50px;
}

.home #et-main-area{
	margin-top: -3px;
}

body:not(.home) .et_pb_section_0{
	padding-top: 0;
}

h2:after, .entry-title:after{
	content: "";
	display: block;
	width: 35px;
	height: 2px;
	background-color: #952437;
	margin: 0 auto;
	margin-top: 15px;
}

#main-header{
	background: url(img/bandeau-haut.jpg) top center no-repeat;
}

.et_secondary_nav_enabled #page-container #top-header, #top-header{
	background-color: transparent!important;
}

.et-social-facebook a.icon:before, .et-social-instagram a.icon:before, .et-social-rss a.icon:before{
	display: none;
}

#top-header .et-social-icon a{
	width: 25px;
	height: 25px;
}

.et-social-facebook{
	background:url(img/facebook.png) center center no-repeat;
}

.et-social-instagram{
	background:url(img/instagram.png) center center no-repeat;
}

.et-social-rss{
	background:url(img/linkedin.png) center center no-repeat;
}

/*#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, .et_color_scheme_red #top-menu li.current-menu-ancestor>a, .et_color_scheme_red #top-menu li.current-menu-item>a, .et_color_scheme_pink #top-menu li.current-menu-ancestor>a, .et_color_scheme_pink #top-menu li.current-menu-item>a, .et_color_scheme_orange #top-menu li.current-menu-ancestor>a, .et_color_scheme_orange #top-menu li.current-menu-item>a, .et_color_scheme_green #top-menu li.current-menu-ancestor>a, .et_color_scheme_green #top-menu li.current-menu-item>a{
	color: #fff!important;
}*/

/*Slide*/
.et_pb_slide_description .et_pb_slide_title{
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	text-transform: uppercase;
	font-size: 28px!important;
}

.et_pb_slide_content{
	font-size: 54px!important;
	line-height: 1em!important;
	margin-top: 20px;
}


#section-breadcrumbs{
	padding:0;
}

body.et_fixed_nav.et_secondary_nav_enabled #main-header, body.et_non_fixed_nav.et_transparent_nav.et_secondary_nav_enabled #main-header{
	top: 0!important;
	padding-top: 30px;
}

@media (min-width: 981px){
	.et_fullwidth_nav #main-header .container{
		padding-left: 0;
		padding-right: 0;
	}

	.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item{
		width: 30%;
		margin-right: 3%;
	}
}

#et-top-navigation{
	background-color:  #952437;
	padding-top: 20px;
	margin-top: 30px;
}

#logo-tagline{
	opacity: 1!important;
	color: #000;
	text-transform: uppercase;
	display: inline-block!important;
	max-width: 400px;
	text-align: left;
	position: relative;
	top: 46px;
}


.tfree-testimonial-title h3, h3.tfree-client-name, .et_pb_portfolio_grid_items .et_pb_module_header{
	color: #952437!important;
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	font-weight: normal!important;
}

.sp-testimonial-free-section .tfree-testimonial-title{
	margin-bottom: 0;
}

.sp-testimonial-free-section .tfree-testimonial-title h3{
	font-size: 16px;
}

.et_pb_filterable_portfolio .et_pb_module_header{
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	text-align: center;
}

.et_pb_filterable_portfolio .et_pb_module_header:after{
	display: none;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active{
	border:none;
	font-size: 20px;
	border-right: 2px solid lightgrey;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active, .et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover{
	background-color: transparent;
}

.et_pb_filterable_portfolio .et_pb_portfolio_filters li a{
	margin:0;
	border-radius: 0;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1), .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n+1), .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget:nth-child(4n+1), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n+1), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n+1), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_widget:nth-child(4n+1){
	clear: none;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n), .et_pb_gutters3 .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n), .et_pb_gutters3 .et_pb_column_4_4 .et_pb_widget:nth-child(4n), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_grid_item.et_pb_portfolio_item:nth-child(4n), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n), .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_widget:nth-child(4n){
	margin-right: 3%;
}


#sp-testimonial-free-wrapper-52 .sp-testimonial-free-section .tfree-client-testimonial{
	font-weight: 700;
	font-style: italic;
	margin-top: 30px;
}

.sp-testimonial-free-section .tfree-client-testimonial{
	line-height: initial;
}

.home #page-container{
	margin-top:-5px;
}

/*Projets home*/
/*.et_clickable:hover{
	opacity: 0.8;
}*/

.menu--cordelia .menu__item--current .menu__link{
	color: #952437!important;
}

.menu--cordelia .menu__item::after, .menu--cordelia .menu__item::before{
	background: #952437!important;
}

.jtg-title{
	font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif!important;
	font-size: 24px!important;
}

.stabilo a{
	background: url(img/stabilo.png) center center no-repeat;
	background-size: contain;
	display: inline-block;
	margin: 0 auto;
	min-width: 245px;
	width: auto;
	padding: 15px 20px;
	min-height: 50px;
	line-height: 50px;
	color: #fff;
	font-weight: 600;
	font-size: 20px;
}

.eg-filter-wrap.eg-filter-layout-6 ul li{
	margin-bottom: 15px;
}

.eg-filter-wrap.eg-filter-layout-6 ul li a{
	padding:12px 10px; 
}

.eg-filter-wrap ul{
	padding:0;
}

/*Footer*/
.et_pb_gutters3.et_pb_footer_columns1 .footer-widget{
	text-align: center;
	margin-bottom: 0;
}

.et_pb_gutters3.et_pb_footer_columns1 .footer-widget .widget_text{
	width: 100%;
}

#footer-widgets{
	padding: 20px 0 0 0;
}


/*Responsive*/
@media screen and (max-width: 980px){
	.mobile_menu_bar:before{
		color: #fff!important;
	}

	#et-top-navigation{
		padding-top: 0;
		margin-top: 50px;
	}

	.et_header_style_centered #logo{
		max-height: 115px;
	}

	.footer-widget:nth-child(n){
		width: 100%!important;
	}

	.eg-grid-wrap.eg-column-3.eg-grid-layout-2 .eg-each-item{
		width: 50%;
	}

	#et-secondary-menu, #et-secondary-nav{
		display: initial!important;
		padding-top: 20px;
	}
}

@media screen and (max-width: 770px){
	#logo-tagline{
		max-width: 240px;
	}
}

@media screen and (max-width: 767px){
	#top-header .et-social-icons{
		margin-top: 10px;
	}

	.home #et-main-area{
		margin-top: -35px;
	}
}

@media screen and (max-width: 570px){
	#logo-tagline{
		top: 10px;
		max-width: 100%;
		text-align: center;
	}

	.et_header_style_centered #et_mobile_nav_menu{
		margin-top: 90px;
	}

	.eg-grid-wrap.eg-column-3.eg-grid-layout-2 .eg-each-item{
		width: 100%;
	}

	.stabilo a{
		line-height: 25px;
	}
}

@media screen and (max-width: 468px){
	.container{
		width: 95%;
	}
}

@media screen and (max-width: 393px){
	#et-top-navigation{
		margin-top: 107px;
	}
}