/*
 Theme Name: Theme enfant DIVI
 Theme URI: https://www.peal-solutions.com/
 Description: Theme enfant pour site Web DIVI
 Author: Webwikan
 Author URI: http://www.webwikan.com
 Template: Divi
 Version: 1.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Add your custom styles below */

/****fulwidth CPT**/
/*.container {
width: 100%;
max-width: 100%;
}
#left-area .post-meta {
display: none;
}
.entry-title {
display:none;
}
#main-content .container {
padding-top: 0;
}
.container.et_menu_container {
max-width: 1080px;
}*/
/****END fullwidth cpt****/

.mobile_menu_bar:before{color:black!important;}
.black a{color:black!important;}

/*****afficher le menu caché****/
header.et-l.et-l--header {
    z-index: 99999;
    position: relative;
}

/*adjust Divi Menu module breakpoint*/
.wpsl-search{display:none!important;}

/***************reduction menu****/
/*reduce menu item spacing*/
.et_pb_menu .et-menu > li {
    padding-right: 6px;
    padding-left: 6px;
}
/*reduce menu item spacing at specific breakpoint*/
@media screen and (max-width: 1366px) {
.et_pb_menu .et-menu > li {
    padding-right: 6px;
    padding-left: 6px;
}
}
/*************fin reduction menu*****/

/*adjust Divi Menu module breakpoint*/
@media only screen and (max-width: 1149px) {
    .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
    .et_mobile_nav_menu {
        display: block
    }
}

/***reduction du menu au defilement***/
/*set the transition for the spacing shrinking action*/
/*.pa-header .et_pb_row {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/

/*set the background color of the fixed header when scrolling*/
/*.pa-fixed-header .et_pb_row {
	padding: 0px 0;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/

/*set the transition for the logo shrinking action*/
/*.pa-header .et_pb_menu__logo img {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/

/*change the logo size when the header shrinks*/
/*.pa-fixed-header .et_pb_menu__logo img {
	max-width: 80%;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/

/*set the transition for the font size shrinking action*/
/*.pa-header .et_pb_menu ul li a {
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/

/*change the menu font size when the header shrinks*/
/*.pa-fixed-header .et_pb_menu ul li a {
	font-size: 16px!important;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}*/
/*****fin réduction menu********/

/****modification sous-menu*****/
/*add point on top of the Divi menu submenu dropdown*/
nav > ul > li > ul:after {
    position: absolute;
    left: 20%;
    margin-left: -20px;
    top: -14px;
    width: 0;
    height: 0;
    content:'';
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #efefef;
}

/*change Divi hamburger menu to X*/
.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d';
}

/*position menu fixe pas sur tablet et phone*/
@media all and (max-width:980px){
#et-main-area{
padding-top:0px !important;
}
}

/*make entire Divi Theme Builer header template fixed*/
header.et-l.et-l--header {
	position: fixed;
	width: 100%;
	z-index: 9999;
}

/*bouton header alignés*/
@media only screen and (max-width: 480px) {
.et_pb_fullwidth_header .et_pb_fullwidth_header_container .et_pb_button_two {
margin-left: 0;
}
}

/***centrer verticalement***/
.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;
}

/*Taille du logo sur tablette et téléphone*/
@media only screen and (max-width: 980px) {
#logo {
min-height: 100px;margin-top:20px!important;
}
}

/*****bullet checklist*****/
/*.pa-bullet-list-1 ul {
list-style-type: none!important;
}

.pa-bullet-list-1 ul li:before {
content: '\e052'!important;
color: #2cba6c;
font-family: 'ETMODULES'!important;
margin-right: 10px;
margin-left: -14px;
font-size: 1.2em!important;
}*/

/* START: Collapse Divi Menu Module Submenus and Keep Parent Items Clickable on Mobile */
/* Parent menu item
.et_pb_module .et_mobile_menu .menu-item-has-children.clickable,
.et_pb_module .et_mobile_menu .menu-item-has-children > a {
  position: relative;
} */
/* Parent menu item icon
.et_pb_module .et_mobile_menu .menu-item-has-children:not(.clickable) > a:after,
.et_pb_module .et_mobile_menu .menu-item-has-children.clickable > span.parent_icon:after {
  font-family: "ETmodules";
  text-align: center;
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
} */
/* Disabled parent menu item icon positioning
.et_pb_module .et_mobile_menu .menu-item-has-children:not(.clickable) > a:after {
  position: absolute;
  top: 13px;
  right: 10px;
} */
/* Clickable parent menu item icon
.et_pb_module .et_mobile_menu .menu-item-has-children.clickable > span.parent_icon {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  align-items: center;
  position: absolute;
  width: 46px;
  height: 46px;
  background: rgba(0, 0, 0, 0);
  border-left: 1px solid #dcdcdc;
  right: 0;
  top: 0;
  z-index: 9;
} */
/* Collapsed submenu parent menu item icon
.et_pb_module .et_mobile_menu .menu-item-has-children:not(.clickable) > a:after,
.et_pb_module .et_mobile_menu .menu-item-has-children.clickable > span.parent_icon:after {
  content: "\33";
} */
/* Expanded submenu parent menu item icon
.et_pb_module .et_mobile_menu .menu-item-has-children:not(.clickable).visible > a:after,
.et_pb_module .et_mobile_menu .menu-item-has-children.clickable.visible > span.parent_icon:after {
  content: "\32";
} */
/* Hide submenu by default
.et_pb_module .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu > ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
} */
/* Show submenu
.et_pb_module .et_mobile_menu .visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu .visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu .visible > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
} */
/* END: Collapse Divi Menu Module Submenus and Keep Parent Items Clickable on Mobile */

/***menu responsive avec scroll***/
.et_pb_menu .et_mobile_menu {
max-height: 60vh !important;
overflow-y: scroll !important;
}
.et-menu-nav li.mega-menu>ul{
max-height: 60vh !important;
overflow-y: scroll !important;
}


/* Bouton appel à l'action */
.btn-appel-action a {
background-color: #fab91f;
border-radius: 20px;
padding:10px 10px !important;
color: white!important;height:40PX!important;margin-top:20px;
}
/* Bouton appel à l'action */
.btn-appel-action2 a {
background-color: #9e554c;
border-radius: 20px;
padding:10px 10px !important;
color: white!important;height:40PX!important;margin-top:20px;
}
/* Bouton appel à l'action */
.btn-appel-action3 a {
background-color: #a59f9b;
border-radius: 20px;
padding:10px 10px !important;
color: white!important;height:40PX!important;margin-top:20px;
}

/*SCROOLBAR*/
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.6); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);background-color:#fab91f;
}

/*****aligner les boutons en bas*****/
  
        /* buttons fixed to the bottom */
            .bottom-buttons .et_pb_column {
                padding-bottom:30px;}
            .bottom-buttons .et_pb_button_module_wrapper {
                position: absolute;top:20;
                bottom: 0;
                left: 0;
                right: 0;
                margin: auto;}

/****modification blog*****/
/*add media query so changes only affect tablet and desktop*/

@media (min-width: 767px) {

/*set the image width*/

.entry-featured-image-url  {
width: 30%;
float: left;
margin-bottom: 0!important;
}

/*set the details width*/

.entry-title,
.post-meta,
.post-content {
width: 70%;
float: left;
padding-left: 30px;
}
}
/*style the individual posts*/

.et_pb_post {
box-shadow: 0px 2px 80px 0px rgba(160,190,212,0.22);  
border-radius: 6px;
padding: 60px;
}
/*FAIRE DEPASSER LE LOGO DU MENU DE DIVI*/

/*Taille du logo sur tablette et téléphone*/
/* Overlapping logo for desktop*/

@media (min-width: 981px) {
.et_pb_menu__logo-wrap {
position: absolute;
max-height: 350%;
margin-top: 15px;border-radius:0 0 0 20px;
}}
.et_pb_menu__logo-wrap img{border-radius:0 0 50px 0;}
/* Overlapping logo for tablet & mobile*/

@media (max-width: 980px) {
.et_pb_menu__logo-wrap {
position: absolute;
max-height: 100%;
margin-top: 30px;
}}
/*.kb-zoomout {
   animation: zoomout 7s forwards;
  -ms-animation: zoomout 7s forwards;
  -webkit-animation: zoomout 7s forwards;
  -0-animation: zoomout 7s forwards;
  -moz-animation: zoomout 7s forwards;
 
}*/
/*@keyframes zoomout{
0% {
    -ms-transform: scale3d(1.5, 1.5, 1.5) translate3d(-0px, 0px, 0px);
    -webkit-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    transform: scale3d(1.5, 1.5, 1.5) translate3d(0px, 0px, 0px);
    animation-timing-function: linear;
}
 
 
100% {
    -ms-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -webkit-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -o-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    -moz-transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
    transform: scale3d(1.1, 1.1, 1.1) translate3d(0px, 0px, 0px);
 
}
}*/

/*effacer markeur rouge*/
#wpsl-gmap img[src*="red@2x"] {
    display: none !important;
}