/*
Theme Name: Divi Community Child Theme
Description: Theme enfant de Divi par Divi Community
Author: Julien - WebMate
Author URI: https://www.divi-community.fr
Template: Divi
Version: 1.1
*/

/*
  ____ _____     _____      ____ ___  __  __ __  __ _   _ _   _ ___ _______   __
 |  _ \_ _\ \   / /_ _|    / ___/ _ \|  \/  |  \/  | | | | \ | |_ _|_   _\ \ / /
 | | | | | \ \ / / | |    | |  | | | | |\/| | |\/| | | | |  \| || |  | |  \ V /
 | |_| | |  \ V /  | |    | |__| |_| | |  | | |  | | |_| | |\  || |  | |   | |
 |____/___|  \_/  |___|    \____\___/|_|  |_|_|  |_|\___/|_| \_|___| |_|   |_|

*/


/* 
** CENTRER DU CONTENU VERTICALEMENT 
** Voir tuto : https://www.divi-community.fr/snippets-divi/centrer-du-contenu-verticalement
*/

.dc-centrer-verticalement {
	display: flex;
	flex-direction: column;
	justify-content: center;
  	display: -webkit-box;
	display: -webkit-flex;
	display: -moz-box;
	display: -ms-flexbox;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-webkit-flex-direction: column;
	 -moz-box-orient: vertical;
	 -moz-box-direction: normal;
	  -ms-flex-direction: column;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-moz-box-pack: center;
	-ms-flex-pack: center;
}


/*
** INVERSER LE SENS DES COLONNES SUR MOBILE
** Voir tuto : https://www.divi-community.fr/snippets-divi/inverser-ordre-des-colonnes-sur-mobile
*/

@media only screen and (max-width : 980px) {
	.dc-inverser-colonnes--section .dc-inverser-colonnes--ligne {
		display: -webkit-flex;
		display: -ms-flex;
		display: flex;
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}
}


/*
** MENU MOBILE : en pleine largeur et le hamburger devient une croix pour fermer
*/

.et_mobile_menu {
	margin-left: -30px;
	padding: 5%;
	width: calc( 100% + 60px);
}

.mobile_nav.opened .mobile_menu_bar:before {
	content: "\4d";
}


/* 
** AUGMENTER LA LARGEUR CHAMP RÉSULTAT CAPTCHA 
** Parfois, suivant la taille du texte, certains chiffres du résultat sont masqués
*/
.et_pb_contact_right p input {
	max-width: 50px;
}


/*
** METTRE EXPOSANTS ET INDICES À LA BONNE TAILLE
** Généralement, ils sont bien trop gros…
*/
sup, sub {
    font-size: 70%;
}


@media only screen and (min-width: 981px){
.et-fixed-header#main-header, .et-fixed-header#main-header .nav li ul, .et-fixed-header .et-search-form {
background-color: #fff !important;
}
}


#top-menu li a, .et_search_form_container input {
font-weight:600 !important;
}


/*** Modifier le point de rupture du menu mobile ***/
/*** On cache le menu standard et on affiche le menu mobile ***/
@media only screen and ( max-width: 1100px ) {
#top-menu-nav, #top-menu {
display: none;}
#et_top_search {
display: none;}
#et_mobile_nav_menu {
display: block;}
}

/***Box shadow static***/
#main-header{
	box-shadow: 0 0 0 rgba(255,255,255,0) !important;	
	-webkit-box-shadow: 0 0 0 rgba(255,255,255,0) !important;	
	-moz-box-shadow: 0 0 0 rgba(255,255,255,0) !important;	
	}


/***Box shadow scrolling***/
@media (min-width: 981px){
	#main-header.et-fixed-header{
	box-shadow: 0 0 15px rgba(0,0,0,.2)!important;	
	-webkit-box-shadow: 0 0 15px rgba(0,0,0,.2)!important;	
	-moz-box-shadow: 0 0 15px rgba(0,0,0,.2)!important;	
	}
}


.dsm_card_layout_inline, .dsm_card_layout_inline .et_pb_module_inner {
	justify-content:flex-end !important;
}

/*.et_pb_section.et_pb_section_0{
    padding-top: 158px !important;
}*/

/*
** EFFET SURVOL MENU

#top-menu .current-menu-item a::before,
#top-menu .current_page_item a::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
}
#top-menu li a:before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	right: 50%;
	bottom: 55%;
	color: #fff;
	background: #1F3C91; /*** COLOR OF THE LINE ***/
	/**height: 2px; /*** THICKNESS OF THE LINE ***/
	/**-webkit-transition-property: all;
	transition-property: all;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-in-out;
	transition-timing-function: ease-in-out;
	
}
#top-menu li a:hover {
	opacity: 1 !important;
}
#top-menu li a:hover:before {
	left: 0;
	right: 0;
}
#top-menu li li a:before {
	bottom: 65%;
}*/


/*
** Supprimer effet survole dans sous-menus
*/
#top-menu ul.sub-menu li a:before{
	height: 0;
	background:transparent;
}

/**Hover du menu**/
#top-menu-nav > ul > li > a:hover{
	color:#E4141F !important;
	opacity:1 !important;
	transition: all .2s ease-in-out;
}

/**Hover du sous-menu**/
#main-header .nav li ul a:hover{
	color:#E4141F !important;
	opacity:1 !important;
	transition: all .2s ease-in-out;
	background-color:#fff !important;
}

/***Hover overlay compétences***/
.dsm_blob_image_0 .dsm_blob_image_overlay:hover{
	background: #5da83a!important;	
	transition: all .2s ease-in-out;
}
.dsm_blob_image_1 .dsm_blob_image_overlay:hover{
	background: rgba(228,20,31,0.8)!important;
	transition: all .2s ease-in-out;
}
.dsm_blob_image_2 .dsm_blob_image_overlay:hover{
	background: #1F3C91!important;
	transition: all .2s ease-in-out;
}







