/*---------------------------------------------------------------------------------

 Theme Name:   EPrevost
 Theme URI:    https://www.eprevost.fr/
 Description:  
 Author:       Aymeric Marquant
 Author URI:   https://aymericmarquant.fr/
 Template:     Divi
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

@font-face {
    font-family: 'colaborate-thinregular';
    src: url('fonts/colaborate_thin/ColabThi-webfont.eot');
    src: url('fonts/colaborate_thin/ColabThi-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/colaborate_thin/ColabThi-webfont.woff') format('woff'),
         url('fonts/colaborate_thin/ColabThi-webfont.ttf') format('truetype'),
         url('fonts/colaborate_thin/ColabThi-webfont.svg#colaborate-thinregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

h1, h2, h3, h4, h5, h6 {
	font-family: 'colaborate-thinregular', sans-serif;
	line-height: 1.1em;
}

li {
    list-style-position: inside;
}


/*------- Header -------*/
#main-header {
	-webkit-box-shadow: 0 1px 5px rgba(131,112,64,.1);
	-moz-box-shadow: 0 1px 5px rgba(131,112,64,.1);
	box-shadow: 0 1px 5px rgba(131,112,64,.1);
}

/*------- Footer -------*/
#footer-info {
    float: none;
    text-align: center;
    padding-bottom: 0;
}

#footer-info img {
	max-width: 50px;
}

/*------- Home -------*/
#et_pb_contact_form_0 input, #et_pb_contact_form_0 textarea {
    box-shadow: inset 0px -1px 0px 0px rgba(255, 255, 255, 0.8);
}

.partenaires-references img {
	max-width: 60px;
}

.partenaires-references .et_pb_main_blurb_image {
	margin-bottom: 0;
}

/*------- Article -------*/
.et_pb_post {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

#left-area {
	padding-bottom: 0 !important;
}

.mfp-title {
	display: none;
}

/* Code de changement d'ordre sur mobile-tablette */
@media all and (max-width: 980px) {
	.custom_row {
		  display: -webkit-box;
		  display: -moz-box;
		  display: -ms-flexbox;
		  display: -webkit-flex;
		  display: flex;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
	}
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	}
	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	}
	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	.custom_row:last-child .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

.vertical-align { 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}

/* Désactivation de toutes les animations sur mobile */
@media (max-width: 767px) {
  #et-main-area *,
  #et-main-area *::before,
  #et-main-area *::after {
    animation: none !important;
    transition: none !important;
  }

  /* Supprime les classes d'animation Divi les plus courantes */
  .et_pb_animated,
  .et_pb_module.et-waypoint {
    opacity: 1 !important;
    transform: none !important;
  }
}