/*
 Theme Name:     Divi Child Theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */
/* DÉBUT AJOUT DES FONTS CUSTOM */
	@font-face {
    	font-family: BebasNeue-Bold;
    	src: url('fonts/BebasNeue-Bold.otf');
	}
	@font-face {
    	font-family: BebasNeue-Reg;
    	src: url('fonts/BebasNeue-Regular.otf');
	}
	@font-face {
    	font-family: GothamNarrow-Bold;
    	src: url('fonts/GothamNarrow-Bold.otf');
	}
	@font-face {
    	font-family: GothamNarrow-med;
    	src: url('fonts/GothamNarrow-Medium.otf');
	}

/* FIN AJOUT DES FONTS CUSTOM */
/* ÉlÉMENT GLOBALE */
h1,h2,h3,h4{
	line-height: 1.25em;
}

.zeroPaddingTop{
	padding-top: 0 !important;
}

.zeroPaddingBottom{
	padding-bottom: 0 !important;
}
.et_right_sidebar #sidebar{
	display: none;
}

.fwidget .icon-footer {
    display: none;
}

.textwidget p:last-of-type {
    white-space: nowrap;
}

/* ARRANGER LE MENU */

#logo{
	max-height: 70%;	
}

#main-header.et-fixed-header{
	background-color: #fff;
}

.et-fixed-header .logo_container a{
	background-image: url("https://foret.constella.ca/wp-content/uploads/2017/10/logo-footer.png");
	padding: 15px 53px;
	background-repeat: no-repeat;
	background-size: cover;
}

.et-fixed-header .logo_container a img{
	display: none !important;
}

#main-header{
	box-shadow: none;
}

/*.et_fixed_nav.et_show_nav #page-container{
	padding-top: 0 !important;
}*/

/* MODIFICATIONS CSS POUR LA PAGE D'ACCUEIL */
.accueil-entete .header-content-container .header-content{
	background-color: rgba(0,0,0,0.5);
	max-width: 950px !important;
	padding: 25px;
}

.font-entete .header-content-container .header-content h1,
.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper{
	font-family: "BebasNeue-Bold","Open Sans",Arial,sans-serif;
}

.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper{
	text-align: center;
	font-size: 50px;
	line-height: 1.4em;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
}

.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-imp{
	font-size: 65px;
	color: #11bf9f;
}

.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-high{
	font-size: 65px;
}

.btn-accueil{
	display: inline-block;
}

.btn-accueil a{
	text-align: center;
	background-color: #11bf9f;
	font-family: "Open Sans",Arial,sans-serif;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	padding: 16px 15px;
	min-width: 150px;
	float: left;
	margin-top: 16px;
}

.btn-accueil a:first-child{
	margin-right: 20px;
}

.btn-accueil a:hover{
	background-color: #06aa8a;
}

/* CSS POUR LES ICÔNES DE LA PAGE CONTACT ET LE FOOTER */
.icon-contact,
.icon-footer{
	color: #000;	/* À Modifier */
	font-size: 16px;
	opacity: 1;
	margin-top: 5px;
	margin-right: 8px;
}

.icon-footer{
	color: #11bf9f;
}

#media_image-2{
	margin-bottom: 30px;
}

/* FIN CSS POUR LES ICÔNES DE LA PAGE CONTACT ET LE FOOTER */

/* TOGGLE PERSONALISÉ DANS LA PAGE FAQ */

.border .et_pb_toggle{
	border: none;
}

.et_pb_toggle.et_pb_toggle_close,
.et_pb_toggle.et_pb_toggle_open{
	/*background-color: #fff !important;*/
background: rgb(249,249,249); /* Old browsers */
background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(239,239,239,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(239,239,239,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, rgba(249,249,249,1) 0%,rgba(239,239,239,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f9f9', endColorstr='#efefef',GradientType=0 ); /* IE6-9 */
}

.et_pb_toggle h5,
.et_pb_toggle_open h5.et_pb_toggle_title{
	font-family: 'GothamNarrow-Bold',"Open Sans",Arial,sans-serif;
	font-weight: bold;
	color: #992821 !important;
}

/* DÉBUT DE LA PAGE AGENCE */

.agence-titreh2 h2{
	font-size: 48px;
	color: #992821;
	font-family: 'BebasNeue-Bold';
}

.agence-titreh3 h3{
	font-size: 72px;
	color: #992821;
	font-family: 'BebasNeue-Bold';
	padding-bottom: 5px;
	display: none;
}

.agence-icon span{
	color: #11bf9f;
}

.agence-titreh2 h2 strong{
	border-bottom: 1px solid black;
}

.agence-liste-territoire ul li{
	font-size: 20px;
	margin-bottom: 30px;
	font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
}

/* DÉBUT DES PAGES ÉTAPES */

.etape-titreh1 h1{
	/*font-size: 72px;*/
	color: #992821;
	font-family: 'BebasNeue-Bold';
}


/* Customisation des cartes flips */
.flip-container{
	perspective: 1000px;
}

.flip-container:hover .cardflip{
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
}


.flip-container, .flip-front, .flip-back {
	width: 100%;
	height: 320px;
}

.cardflip{
	-webkit-transition: 0.6s;
	transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	position: relative;
	
}

.flip-front, .flip-back{
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	padding: 40px;
	display:flex;
	flex-direction: column;
	justify-content:center;
	-webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);
	-moz-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);
	box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);

}

.flip-front{
	z-index: 2;
	/* for firefox 31 */
	-webkit-transform: rotateY(0deg);
	transform: rotateY(0deg);
	background-color: #fcfcfc;
}

.flip-back {
	-webkit-transform: rotateY(180deg);
	transform: rotateY(180deg);
	background-color: #fcfcfc;
}

.flip-front h3,
.flip-back h3{
	font-size:30px;
	font-family: 'BebasNeue-Bold';
}

.flip-front h3,
.flip-front h4{
	text-align: center;
}

.flip-front h4{
	font-size: 20px;
	font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
}

.flip-front img{
	max-width: 120px;
	margin: 0 auto;
}

.flip-back p:nth-child(4){ /* À VERIFIER */
	font-size: 13px;
}

.et_pb_team_member{
	background-color: #fcfcfc;
	padding: 25px;
	height: 420px;
	-webkit-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);
    -moz-box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);
    box-shadow: 0px 3px 5px 1px rgba(0,0,0,0.6);
}

.et_pb_team_member h4.et_pb_module_header{
	font-family: 'BebasNeue-Bold';
	font-size: 30px;
}

.et_pb_team_member_no_image .et_pb_team_member_description{
	display: flex!important;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


/* Customisation des bouton des étapes suivante et précédante */

.container-etapeSP{
}

.actuel{
	margin-top: 8px;
}
.btn-precedent,
.btn-suivant{
	width: 300px;
    height: 100px;
    position: relative;
    background: #11bf9f;
	cursor: pointer;
}
 .btn-suivant {
	float: right;
  }

.btn-precedent {
	float: left;
 }

.btn-precedent:after {
    content: "";
    position: absolute;
    left: -50px;
    bottom: 0px;
    width: 0;
    height: 0;
    border-right: 50px solid #11bf9f;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
  }
  
.btn-suivant div,
.btn-precedent div{
	  padding: 20px 15px;
}



.btn-suivant:before {
    content: "";
    position: absolute;
    right: -50px;
    bottom: 0px;
    width: 0;
    height: 0;
    border-left: 50px solid #11bf9f;
    border-top: 50px solid transparent;
    border-bottom: 50px solid transparent;
 }

	
.btn-suivant:hover,
.btn-precedent:hover {
    background: #06aa8a;
 }
 
.btn-suivant:hover:before{
	 border-left: 50px solid #06aa8a;
 }
 .btn-precedent:hover:after{
	 border-right: 50px solid #06aa8a;
 }
 
  
 /**** BTN ÉTAPES FONT ET COULEUR *****/
.actuel h4{
	font-size: 28px;
	font-family: 'BebasNeue-bold';
 }
 
.actuel p{
	font-size: 14px;
	font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
 }

.btn-precedent h4,
.btn-suivant h4{
	 color: #fff;
	 font-size: 28px;
	 font-family: 'BebasNeue-bold';
	 padding-bottom: 2px;
 }
 
.btn-precedent p,
.btn-suivant p{
	 color: #fff;
	 font-size: 14px;
	 font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
	 line-height: 1.25em;
 }
 
 .btn-precedent h4{
	text-align: right;
 }
 
 .btn-precedent p{
	text-align: right; 
 }
 /******** FIN BTN ÉTAPES FONT ET COULEUR **********/
  /******** DÉBUT TABLEAU **********/
  
  .tableau-fp table tbody{
	border: 1px solid #028c70;  
  }
  
  .tableau-fp table tbody tr:nth-child(odd) td{
   	 background-color: #f2f2f2;
  }
  
  .tableau-fp table tbody tr:nth-child(even) td{
   	 background-color: #fff;
  }
  
  .tableau-fp table tbody tr:not(:first-child):hover td{
   	 background-color: #fffddd;
  }
   
   .tableau-fp table tbody tr td{
   		border-top: none;
   }
  
  .tableau-fp table tbody tr:first-child td{
	  background-color: #06AA8A;
	  text-align: center;
	  color: #fff;
	  text-transform:uppercase;
	  padding: 10px 24px;
	  font-size: 16px;
	  font-weight: bold;
  }
  
  .tableau-fp table tbody tr td:first-child{
	  font-weight: bold;
  }
  
  .tableau-fp table tbody tr td:first-child a{
	 color: #000;
  }
 
 /* ÉTAPE 2  et 3*/
 .et2-paf,
 .et3-paf{
	width: 100%;
	background-color: #f2f2f2;	 
 }
 
 .et2-paf h3,
 .et3-paf h3{
	width: 100%;
	color: #fff;
	font-family: 'BebasNeue-bold';
	font-size: 26px;
 }
 
 .et2-paf h3{
	 background-color: #992821;
 }
 
 .et3-paf h3{
	background-color: #06AA8A;
 }
 
 .et2-paf h3,
 .et2-paf p,
 .et3-paf h3,
 .et3-paf p{
	padding: 10px 15px;
 }
 
 .et2-paf .rouge{
	 color: #992821;
 }
 
 .et3-paf .vert{
	 color: #06AA8A;
 }
 
 /* CUSTOM MEGA MENU CSS */
 
ul.sub-menu{
	display: none; 
}

 .c-mega-menu {
	display: block;
	position: absolute;
    width: 800px;
    left: -300px;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#feffff+0,f2f2f2+100 */
	background: rgb(254,255,255); /* Old browsers */
    background: -moz-linear-gradient(top, rgba(254,255,255,1) 0%, rgba(242,242,242,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(254,255,255,1) 0%,rgba(242,242,242,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(254,255,255,1) 0%,rgba(242,242,242,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#feffff', endColorstr='#f2f2f2',GradientType=0 ); /* IE6-9 */
	padding: 10px 0px 30px;
	opacity: 0;
	visibility: hidden;
	overflow-y: hidden;
	max-height: 0px; /* approximate max height */
	transition-property: all;
	transition-duration: .5s;
	transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}


ul li.has-mega-menu:hover .c-mega-menu{
	opacity: 1;
	visibility:visible;
	max-height: 310px; /* approximate max height */
}

.c-mega-menu .mega-menu-content{
	width: 23%;
	margin-left: 1.75%;
	padding: 5px 15px;
	border-right: 2px solid grey;
	float: left;
}

.c-mega-menu .mega-menu-content:last-child {
	border-right: none;
}

.c-mega-menu .mega-menu-content h2{
	font-size: 28px;
	font-family: 'BebasNeue-bold';
	padding-bottom: 5px;
}

.c-mega-menu .mega-menu-content h3{
	font-size: 12px;
	font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
}

.c-mega-menu .mega-menu-content a.learn-more{
	font-size: 12px;
	font-family: "Open Sans",Arial,sans-serif;
	text-align: center;
	color: #000;
	margin-top: 12px;
	padding: 8px 0;
	border: 2px solid #11bf9f;
}

.c-mega-menu .mega-menu-content a.learn-more:hover{
	background-color: #fff;
	color: #11bf9f !important;
}



 
 @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
	 
	 /* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
	transform-style: preserve-3d;
}
	/*  UPDATED! flip the pane when hovered */
	.flip-container:hover .flip-back {
		transform: rotateY(0deg);
	}
	.flip-container:hover .flip-front {
	    transform: rotateY(180deg);
	}


/* flip speed goes here */
.cardflip {
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;
}

/* hide back of pane during swap */
.flip-front, .flip-back {
	backface-visibility: hidden;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: absolute;
	top: 0;
	left: 0;
}

/*  UPDATED! front pane, placed above back */
.flip-front{
	z-index: 2;
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.flip-back{
	transform: rotateY(-180deg);
}

.flip-back h3,
.flip-back p,
.flip-back a{
	transform: rotateY(-180deg);
}

.flip-back p a{
	transform: rotateY(0deg);
}


/* Problème avec les images */
.et_pb_image .et_pb_image_wrap{
	display: block;
}

}

 @media all and (max-width: 1366px) {
.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper{
	font-size: 40px;
	line-height: 1.4em;
}

.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-imp{
	font-size: 48px;
}


 #main-header .container{
	 width: 92%;
 }
 
  .c-mega-menu {
    left: -380px;
  }
  
.btn-precedent,
.btn-suivant{
	width: 275px;
}
	
	 
}

 @media all and (max-width: 980px) {
.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper{
	font-size: 30px;
	line-height: 1.25em;
}

.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-imp,
.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-high{
	font-size: 35px;
}
	
	/* POUR LA PAGE AGENCE */
.agence-liste-territoire ul li{
	font-size: 18px;
	margin-bottom: 15px;
	font-family: 'GothamNarrow-med',"Open Sans",Arial,sans-serif;
	text-align: center !important;
	list-style-type: none;
}

 .c-mega-menu {
	display: none;
}


ul li.has-mega-menu:hover .c-mega-menu{
	display: none;
}

html,body{
	overflow-x: hidden;
}
}

 @media all and (max-width: 768px) {
	 .agence-titreh2 h2{
		font-size: 40px;
	}
	
	.agence-titreh2 h2 strong{
		border-bottom: none;
	}
	
	.territoire{
		width: 80% !important;
	}
	
	/* MODIFICATIONS CSS POUR LA PAGE D'ACCUEIL */
	
	.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper{
		font-size: 20px;
		line-height: 1.25em;
	}

	.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-imp,
	.accueil-entete .header-content-container .header-content .et_pb_header_content_wrapper span.acc-high{
		font-size: 25px;
	}
	

}

 @media all and (max-width: 425px) {
	
	.territoire{
		width: 90% !important;
	}
	
	.btn-precedent,
	.btn-suivant{
		width: 250px;
	}
}

.smol {
    font-size: 24px!important;
}