/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    TRONICO Theme
 Author:         Julien Pelloquin
 Author URI:     https://www.tronico.fr
 Template:       Divi
 Version:        1.0.0
*/

/*** Variables ***/
/*
Bleu TRONICO : #4066aa
Orange TRONICO : #ec7404
*/

#input_2_4_3, #input_2_4_6, #input_2_5, #input_2_6, #input_2_3 {
	background-color: #efefe8;
}

.et_pb_post{
	margin-bottom: 0px!important;
}
.cvp-live-filter.cvp-button input[type=radio]:checked+div {
    background: #00aeef !important;
    color: #fff !important;
	border-radius: 25px;
	margin-right: 10px;
}

.cvp-live-filter.cvp-button input[type=radio]:not(checked)+div {
    background: #efefe8 !important;
    color: #fff !important;
	border-radius: 25px;
	margin-right: 10px;
	color: #666666!important;

}

html, body {
max-width: 100% ! important;
overflow-x: hidden ! important;
}

a{
	text-decoration:none!important;
}
.et_pb_text_inner h3{
	margin-top: 0;
}

/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}


/*adjust the new toggle element which is added via jQuery*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
ul.et_mobile_menu li.page_item_has_children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.page_item_has_children .mobile-toggle {
	width: 44px;
	height: 100%;
	padding: 0px !important;
	max-height: 44px;
	border: none;
	position: absolute;
	right: 0px;
	top: 0px;
	z-index: 999;
	background-color: transparent;
}


/*some code to keep everyting positioned properly*/

ul.et_mobile_menu>li.menu-item-has-children,
ul.et_mobile_menu>li.page_item_has_children,
ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.page_item_has_children,
.et-db #et-boc .et-l ul.et_mobile_menu>li.menu-item-has-children .sub-menu li.menu-item-has-children {
	position: relative;
}


/*remove default background color from menu items that have children*/

.et_mobile_menu .menu-item-has-children>a,
.et-db #et-boc .et-l .et_mobile_menu .menu-item-has-children>a {
	background-color: transparent;
}


/*hide the submenu by default*/

ul.et_mobile_menu .menu-item-has-children .sub-menu,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu {
	display: none !important;
	visibility: hidden !important;
}


/*show the submenu when toggled open*/

ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
#main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #et-boc .et-l ul.et_mobile_menu .menu-item-has-children .sub-menu.visible,
.et-db #main-header ul.et_mobile_menu .menu-item-has-children .sub-menu.visible {
	display: block !important;
	visibility: visible !important;
}


/*adjust the toggle icon position and transparency*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle {
	text-align: center;
	opacity: 1;
}


/*submenu toggle icon when closed*/

ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children .mobile-toggle::after {
	top: 10px;
	position: relative;
	font-family: "ETModules";
	content: '\33';
	color: #29529e;
	background: #f0f3f6;
	border-radius: 50%;
	padding: 3px;
}


/*submenu toggle icon when open*/

ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after,
.et-db #et-boc .et-l ul.et_mobile_menu li.menu-item-has-children.dt-open>.mobile-toggle::after {
	content: '\32';
}


/*add point on top of the menu submenu dropdown*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu:after {
	position: absolute;
	right: 5%;
	margin-left: -20px;
	top: -14px;
	width: 0;
	height: 0;
	content: '';
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	border-bottom: 20px solid #ffffff;
}


/*adjust the position of the hamburger menu*/

.mobile_menu_bar {
	position: relative;
	display: block;
	bottom: 10px;
	line-height: 0;
}


/*force the background color and add a rounded border*/

.et_pb_menu_0.et_pb_menu .et_mobile_menu,
.et_pb_menu_0.et_pb_menu .et_mobile_menu ul {
	background-color: #ffffff!important;
	border-radius: 10px;
}

.et_mobile_menu {
	overflow: scroll !important;
	max-height: 80vh;
	}

.et-db #et-boc .et-l .et-menu li li.menu-item-has-children>a:first-child:after{
	right: 0px!important
}

h3, h4 {
	font-family: 'Poppins'!important;
	font-weight: normal!important;
}

.zoom-image {
	overflow:hidden;
	image-rendering: pixelated;  /* pour un rendu net dans Chrome */
  }
  
  .zoom-image img{
	transition:0.5s;
  }
  
  .zoom-image img:hover{
	transform : scale(1.2);
  }

.flex-row-wrapper .et_pb_post .et_pb_column .dsm_card_wrapper{
	display: flex;
	flex-direction: column;
	justify-content: space-between;  
   }

h2{
	margin-top: 30px;
	margin-bottom : 25px;
	line-height : 1.2em;
}

h3{
	margin-top : 1em;
	margin-bottom : 1em;
}

h2.gform_title{
	margin-top: 0px;
}

fieldset.gfield{
	background-color:transparent !important
}

.gform_fields{
	background-color:transparent !important
	
}

.ginput_container{
	background-color : transparent;
}

.gform_button button {

	border-radius: 50px;
	border: none !important;
	width : 100%
}

input[type=submit] {
	width:100%;
	color:white;
}

input[type=submit]:hover {
	transform: scale(1.02);
	transition: transform .5s ease;
}



.gfield{
	background-color: none!important;
}


select.gfield_select{
	background-color: white;
	border-radius: 8px;
	border: solid 1px white;
}

textarea{
	background-color: white;
	border-radius: 8px;
	border: solid 1px white;
}

textarea:focus{
	border: solid 1px #29529e!important;
}

input[type=email], input[type=text], input[type=tel], input[type=url]{
	background-color: white;
	border-radius: 8px;
	border: solid 1px white;
}

input[type=email]:active, input[type=text]:active, input[type=tel]:active{
	border: solid 1px #29529e!important;
}

input[type=email]:focus, input[type=text]:focus, input[type=tel]:focus{
	border: solid 1px #29529e!important;
}

labelgfield_label gform_wrapper{
	border : none;
}

input.gform_button{
	background-color: #f26e27;
	border-radius: 130px;
	border: none;
	line-height : 2.5rem;
}

.centrer-verticalement {
  display: flex;
  flex-direction: column;
  justify-content: center;

/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  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;
}

.et-db #et-boc .et-l .dsm_content_toggle_0_tb_footer .dsm-content-toggle-front, .et-db #et-boc .et-l .dsm_content_toggle_0_tb_footer .dsm-content-toggle-back{
	background:transparent!important;
}