/*
Theme Name: Diapaz thème
Theme URI: 
Author: Xelya
Author URI: https://www.xelya.com/
Version: 1.1
Description: Thème interne à Xelya.

Template: Divi
*/

/**********-- Global --**********/
body, #et-top-navigation{
	font-weight: normal;
}

img[data-lazyloaded]{ /* avant le chargement de l'image (lazy loading) */
    opacity: 0;
}
img.litespeed-loaded{ /* après le chargement de l'image (lazy loading) */
    opacity: 1;
    transition: opacity .5s linear 0.2s;
}

/* 1ère section de chaque page */
.breadcrumb, .breadcrumb a{
	font-size: 13.6px;
}
.breadcrumb_last{
	text-decoration: underline;
}
#section_titre .breadcrumb, #section_titre .breadcrumb a{
	color: #FFFFFF !important;
}
#section_titre .breadcrumb a:hover{
	color: #1C4F7F !important;
}

#main-content h1, #main-content h2, #main-content h3, #main-content h4, #main-content .et_pb_slide_description .et_pb_slide_title{
	line-height: 1em;
}

.et_pb_gutters3 .et_pb_column_4_4 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module{
	margin-bottom: 0;
}
.texte_secondaire{
	font-size: 11px;
}
.et_post_meta_wrapper{
	text-align: center;
}
.rouge{
	color: red;
}
.petit{
    font-size: .6em;
    font-style: italic;
}

.grand_icone .ph-light{
	font-size: 100px;
	color: #13294B;
}

a:hover{
    color: #1C4F7F !important;
}

div.et_pb_section { /* Section (bleue) Divi */
    padding: 40px 0;
}
div.et_pb_section#section_intro { /* 1ère section des pages*/
    padding: 60px 0;
}
div.et_pb_row { /* Rangée (vert) Divi */
    padding: 25px 0;
}

/* Elements de mise en avant dans fiche produit */
.mise_en_avant{
	width: 350px;
	margin: 10px auto;
	padding: 10px 15px;
	
	color: #1C4F7F;
	border: 1px solid #1C4F7F;
	border-radius: 25px;
}
.mise_en_avant .ph-light{
	font-size: 50px;
}
.point_fort .ph-light{
	font-size: 50px;
	color: #1C4F7F;
}

/* Page "Logiciel métier" */
.modules i.ph-light{
  display: block;
  text-align: center;
  margin-bottom: 0px;
  
  font-size: 75px;
  color: #1C4F7F;
}
.modules .et_pb_with_border{
  transition: transform .2s, box-shadow .2s ;
}
.modules .et_pb_with_border:hover{
  box-shadow: 0 0 0 0 #0216b9;
  transform: translate(5px, 5px);
}

/**********-- CTA principal --**********/
.et_pb_button, .wpcf7-form .wpcf7-submit{
	min-width: 300px;
	padding: 10px 0;
	
	background-color: #1C4F7F;
	background-image: none;
	color: #FFF;
}
.et_pb_button:hover{
	background-color: #FFF;
	color: #1C4F7F;
}

.CallToAction{	
	background-color: #1C4F7F;
	background-image: none !important;
	color: #FFFFFF;
}
.CallToAction:hover{	
	background-color: #FFFFFF !important;
	background-image: none !important;
	color: #1C4F7F !important;
}

/*
.et_pb_button, .wpcf7-form .wpcf7-submit{
	--c: no-repeat linear-gradient(#FFF 0 0);
	background: 
	var(--c)  calc(-101% + var(--p,0%)) 100%,
	var(--c)  calc( 201% - var(--p,0%)) 0;
	background-size: 50.1% var(--p,.08em);
	transition: .3s var(--t,0s), background-position .3s calc(.2s - var(--t,0s));
}
.et_pb_button:hover, .wpcf7-form .wpcf7-submit:hover{
	--p: 101%;
	--t: 0.3s;
	color: #fff;
	
	transition: all .8s;
}
*/

.et_pb_button{
	margin-top: 25px !important;
}
#section_intro .et_pb_button{
	margin-top: 25px !important;
}

/**********-- Menus --**********/
#top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a, #top-menu li.current_page_item>a{
	font-weight: 600;
}

/**********-- Header --**********/
#et-info{
	float:right;
}

#main-header{
	border-bottom: 4px solid #1C4F7F;
}
#main-header.active{ /* ajouter au scroll via js dans functions.php */
	border-bottom: 3px solid #1C4F7F;
    box-shadow: 0 0 1px #1C4F7F; /* ombre en bas du header quand on commence à scroller */
}
#main-header #top-menu .menu-item a:hover{
	color: #1C4F7F !important;
}

#main-header #top-menu .sub-menu{
	width: 250px;
}
#main-header #top-menu .sub-menu .menu-item{
	width: 100%;
    padding: 0;
}
#main-header #top-menu .sub-menu .menu-item a{
	width: 100%;
}

#main-header #top-menu .sub-menu .sub-menu{
	/*width: 250px;*/
}

#top-header #et-info #et-info-phone{
	margin-right: 8px;
}
#top-header #et-info .separateur{
	margin-right: 5px;
}
#top-header #et-info a:hover{
	color: #1C4F7F;
}

/**********-- Articles --**********/


/**********-- Formulaires --**********/
.ligne_form{
	clear: both;
}
.col1_form, .col2_form{
	float: left;
	padding: .5em;
}
.col1_form, .col1_form label{
	width: 100%;
}
.col2_form, .col2_form label{
	width: 50%;
}
.col1_form label, .col2_form label{
	width: 100%;
}

.wpcf7-form{
	background-color: #FFFFFF;
}
.wpcf7-form .wpcf7-list-item{ /* Case à cocher (RGPD et autres ?) */
	margin: 0;
	
	font-size: var(--e-global-typography-secondary-font-size );
}
.wpcf7-form .label{
	line-height: 1.5em;
}
.wpcf7-form .wpcf7-form-control-wrap{
	display: block;
	width: 100;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="number"], .wpcf7-form select, .wpcf7-form textarea{
	display: block;
	width: 100%;
	padding: 7px;
	background-color: rgba(237, 238, 249, .5);
	border: 1px solid #EDEEF9;
	border-radius: 0;
}
.wpcf7-form input[type="text"]:active, .wpcf7-form input[type="email"]:active, .wpcf7-form input[type="tel"]:active, .wpcf7-form input[type="number"]:active, .wpcf7-form textarea:active{
	border-color: #000000;
}
.wpcf7-form .wpcf7-submit{
	display: block;
	min-width: 300px;
	margin: 0 auto;
	padding: 10px 0;
	
	font-size: 16px;
	background-color: #1C4F7F;
	color :#ffffff;
	border: 2px solid #1C4F7F;
}
.wpcf7-form .wpcf7-submit:hover{
	background-color: #ffffff;
	color: #1C4F7F;
}

/**********-- Footer --**********/
#main-footer{
	background-color: #13294B !important;
	border-top: 4px solid #13294B !important;
	color: white;
}
#main-footer a:hover{
	color: #1C4F7F !important;
}
.logo_footer{
	width: auto !important;
	height: 75px !important;
}

#footer-widgets .footer-widget li:before{
	border-width: 0 !important;
}

#menu-footer1, #menu-footer2{
	list-style: none !important;
}
#menu-footer1 ::before, #menu-footer2 ::before{
	content:"| ";
}

#footer-bottom{
	background-color: #13294B !important;
}

#footer-widgets .footer-widget li a{
	color: white !important;
}
#footer-widgets .footer-widget li a:hover{
	color: #1C4F7F !important;
}

#footer-info, #footer-info a{
	margin: 0 auto !important;
	color: #fff !important;
}

#home { /* 1ère section de page */
    padding-top: 5%;
    padding-bottom: 4%;
}
.et_pb_section { /* Section (bleue) Divi */
    padding: 40px 0;
}
.et_pb_row { /* Rangée (vert) Divi */
    padding: 25px 0;
}

/***** A VALIDER ******/
/*
@media screen and (min-width: 1080px){
	#et-info{
		float:right;
	}
}
*/

/**********-- Page webinars --**********/
.et_pb_section .ligne_webinar .et_pb_column, .et_pb_section .ligne_document .et_pb_column{
	border-radius: 0;
	padding: 20px 10px;
	box-shadow: 0 0 0;
	
	background-color: #EDEEF9;
}

/******************------------------- Mode tablette -------------------******************/
@media screen and (max-width: 1024px){	
	/**********-- Global --**********/
	.et_pb_row{
		width: 95%;
	}
	
	div.et_pb_section#section_intro { /* 1ère section des pages*/
		padding: 30px 0;
	}

	/**********-- Formulaires --**********/
	.col1_form, .col2_form{
		float: none;
		padding: .5em;
	}
	.col1_form, .col1_form label{
		width: 100%;
	}
	.col2_form, .col2_form label{
		width: 100%;
	}
	.col1_form label, .col2_form label{
		width: 100%;
	}
}

/******************------------------- Mode mobile -------------------******************/
@media screen and (max-width: 767px){
	
}

/******************------------------- Mode petit mobile -------------------******************/
@media screen and (max-width: 375px){
	
}