/*
Theme Name: Divi Enfant par Incomm
Description: Theme enfant du theme Divi
Author: Incomm
Author URI: https://www.incomm.fr
Template: Divi
Version: 1.05
*/


/*------------------------- EDITO-------------------------------*/

.edito h2{color: #5a5a5a;font-family:"Yantramanav", sans-serif;font-size: 28px;font-weight:300;line-height:33px;text-align:left; text-transform: uppercase;}
.edito h2::before{border-top: 5px solid #a1230e; content: ""; display: block; width: 142px; padding-bottom: 25px;}
.edito h3{font-family: "Yantramanav", sans-serif;color: #a1230e;line-height:30px;font-size: 25px;font-weight:600;text-align: center;}
.edito h4{color:#222;font-family:"Yantramanav", sans-serif;; font-size: 22px;font-weight:500;line-height:28px;font-weight:600;}
.edito h5{color:#000;font-family:"Yantramanav"; font-size: 18px;font-weight:600;text-transform: none;font-weight:600;}

.edito p strong, .edito p b, .edito li strong, .edito li b{font-weight: 600;}

.edito .p_white p, .edito .p_white h2, .edito .p_white h3, .edito .p_white h4, .edito .p_white h5, 
.edito .p_white li {color: #fff !important;}
.edito .p_white h2::before{border-top: 5px solid #fff;}
.edito .p_white a{color: #fff !important;border-bottom: 2px dotted #fff;}
.edito .p_white a:hover{color: #a1230e !important;background: #fff;border-bottom: 2px dotted #fff;}

.edito a{ color: #000;border-bottom: 2px dotted #a1230e; font-weight: 600;transition: ease-in-out 0.2s;text-decoration: none; background: none; padding: 1px 2px;}
.edito .et_pb_text_inner a:hover
{ color: #fff!important;font-weight: 600;transition: ease-in-out 0.2s; background: #a1230e; padding: 1px 2px;text-decoration: none;}

.edito ul{list-style-image: url('https://www.mega-construction-31.fr/wp-content/uploads/2021/08/puce.png'); padding-left: 45px !important; margin: 0 !important;}

/* SMARTPHONES */
@media only screen and (min-width: 320px){	
 .edito p, .edito li{font: 300 15px/21px "Yantramanav";text-align: left;}       
} 
/* TABLETTES */
@media only screen and (min-width: 768px){	
.edito p, .edito li{font: 300 15px/21px "Yantramanav";text-align: left;}       
}

/* ORDINATEURS */
@media only screen and (min-width: 1024px) {
.edito p, .edito li {font: 300 107%/25px "Yantramanav";text-align: justify;color: #000;margin: 0; }
}

/* ORDINATEURS */
@media only screen and (min-width: 1900px) {
.edito p, .edito li {font: 300 107%/29px "Yantramanav";text-align: justify;color: #000;margin: 0; }
}

/*------------------------- FIN EDITO -------------------------------*/


a:hover {text-decoration:none!important;}
.rsociaux_top ul {
display: -ms-flexbox !important;
display: flex !important;
-ms-flex-pack: center !important;
justify-content: center !important;
-ms-flex-align: center !important;
align-items: center !important;	
}

.et_pb_contact_field_checkbox label a:hover {color:#AB1516!important;}

#menu-menu-principal li a {
	padding-bottom: 0!important;
	text-align: center;
	line-height: normal!important;
}

#menu-menu-principal li {
margin-top: 0!important;
padding: 0 1.0416666666666665vw;	
}



#menu-menu-principal li:nth-child(1) a::before {
background: url("/wp-content/uploads/2021/07/icone-accueil.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(1) a:hover::before, #menu-menu-principal li:nth-child(1).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-accueil-hover.png") no-repeat scroll top/contain;
}

#menu-menu-principal li:nth-child(2) a::before {
background: url("/wp-content/uploads/2021/07/icone-couverture.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(2) a:hover::before, #menu-menu-principal li:nth-child(2).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-couverture-hover.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(3) a::before {
background: url("/wp-content/uploads/2021/07/icone-couverture.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(3) a:hover::before, #menu-menu-principal li:nth-child(3).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-charpente-hover.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(4) a::before {
background: url("/wp-content/uploads/2021/07/icone-demolition.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(4) a:hover::before, #menu-menu-principal li:nth-child(4).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-demolition-hover.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(5) a::before {
background: url("/wp-content/uploads/2021/07/icone-isolation.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(5) a:hover::before, #menu-menu-principal li:nth-child(5).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-isolation-hover.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(6) a::before {
background: url("/wp-content/uploads/2021/07/icone-contact.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(6) a:hover::before, #menu-menu-principal li:nth-child(6).current-menu-item a::before {
background: url("/wp-content/uploads/2021/07/icone-contact-hover.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(7) a::before {
background: url("img/menu.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(7) a:hover::before, #menu-menu-principal li:nth-child(7).current-menu-item a::before {
background: url("img/menu.png") no-repeat scroll top/contain;
}


#menu-menu-principal li:nth-child(8) a::before {
background: url("img/contact.png") no-repeat scroll top/contain;
width: 2.708vw;
height: 2.188vw;
content:"";
display:block;
margin: 0 auto 15px;	
}

#menu-menu-principal li:nth-child(8) a:hover::before, #menu-menu-principal li:nth-child(8).current-menu-item a::before {
background: url("img/contact_roll.png") no-repeat scroll top/contain;
}

.metaslider .flexslider {
margin: 0 0 0!important;
}

.metaslider .flex-control-nav {
position: absolute;
bottom: 60px!important;
}

.metaslider .flexslider .flex-direction-nav li a.flex-next {  
background: url('./img/right.png') no-repeat!important;
width: 4.0625vw !important;
height: 4.0625vw!important;
background-size:contain!important;
}

.metaslider .flexslider .flex-direction-nav li a.flex-prev {  
background: url('./img/left.png') no-repeat!important;
width: 4.0625vw !important;
height: 4.0625vw!important;	
background-size:contain!important;	
}

.flex-control-paging li a.flex-active {
background: #606060 !important;
}
.flex-control-paging li a {
background: #fff !important;
}

#nav_menu-2 {
margin-bottom: 0!important;
}

.section_spe1 {
height: 400px;
justify-content: center !important;
margin-bottom: 20px !important;	
}

.et_pb_title_container h1.entry-title::after {
	display: block;
	content: '';
	background: #000;
	width: 46px;
	height: 6px;
	margin: 0px auto 0;
}

@media only screen and (max-width: 980px){	
	#div-speciale .encart-min {height:auto!important;}
	
	#souligne-gche::after {
		display: block;
		content: '';
		background: #a1230e;
		width: 46px;
		height: 6px;
		margin: 0px auto 0;
	}

	#souligne-droite::after {
		display: block;
		content: '';
		background: #a1230e;
		width: 46px;
		height: 6px;
		margin: 0px auto 0;
	}
}

@media only screen and (min-width: 768px){	
	#div-speciale {display:flex;justify-content:center;align-items:center;}
	#div-speciale .encart-min {width: 30%!important;}
	#div-speciale .encart-max {width: 70%!important;}
	
	#div-special2 {display:flex; width:100%;}
}



@media only screen and (min-width: 981px){
	#div-speciale {display:flex;justify-content:center;align-items:center;}
	#div-speciale .encart-min {width: 30%!important;}
	#div-speciale .encart-max {width: 70%!important;}
	
	#souligne-gche::after {
	display: block;
    content: '';
    background: #a1230e;
    width: 46px;
    height: 6px;
    margin: 0px auto 0 0;
}

#souligne-droite::after {
	display: block;
    content: '';
    background: #a1230e;
    width: 46px;
    height: 6px;
    margin: 0px 0 0 auto;
}
	
	#id-section-header.section-fixed {
		position:fixed!important;
		background: #fff!important;
    	background-color: #fff!important;
	}
	
	#section-footer {display:flex;}
	
	#section-footer .footer-col1 {align-self:center;padding-top: 0!important;}
	
	#block-footer .footer-col2 .coord-footer .cls-coord {flex-direction:row!important;}
	#section-header .nav-header {display:flex;}
	#section-header .nav-header .nav-div2 {align-self:center;}
	
	#block-footer .footer-col1 {
		margin-right: 2%!important;
	}
	

	#block-footer .footer-col2,
	#block-footer .footer-col3 {
		margin-right: 1.5%!important;
	}
	
	#block-footer .footer-col2 {
		width: 18.1667%!important;
	}
}

/*Retour haut*/

.et_pb_scroll_top.et-pb-icon {
    font-size: 55px;
    width: 66px;
    height: 66px;
    border-radius: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 0;
	color: #fff
}

/*Complianz*/
#cmplz-document {
 max-width : 100%
} 

