/*
Theme Name:     Pixel Online Création
Description:    Thème enfant de DIVI
Author:         Anthony PARIS
Author URI:     https://www.pixel-online.fr
Template:       Divi                       
Version:        1.0.0
*/

:root {
	--white: #fff;
	--grisclair: #FCFCFC;
	--bleu:#223668;
	--rouge:#e62733;
	--marron: #c1b0a0;
	--vert: #B1B798;

  }
  
  /* SCROLL */
  ::-webkit-scrollbar {
	width: 20px;
  }
  
  ::-webkit-scrollbar-track {
	background-color: var(--grisclair);
  }
  
  ::-webkit-scrollbar-thumb {
	background-color: var(--vert);
	border-radius: 20px;
	border: 6px solid transparent;
	background-clip: content-box;
  }
  
  ::-webkit-scrollbar-thumb:hover {
	background-color: var(--vert);
  }

/* ANIMATION */
@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
		
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
	}
}

@keyframes arrow
{
	0% {opacity:0}
	40% {opacity:1}
	80% {opacity:0}
	100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
	0% {opacity:0}
	40% {opacity:1}
	80% {opacity:0}
	100% {opacity:0}
}

.pulse {
	animation: pulse 2s infinite;
}
@keyframes floating {
	0% {
	  transform: translatey(0px);
	}
	50% {
	  transform: translatey(-20px);
	}
	100% {
	  transform: translatey(0px);
	}
  }
  
  .floating {
	animation: floating 2s ease-in-out infinite;
  }

/* Ken zoom */
.ken-zoom{
	background-size: cover;
    background-repeat: no-repeat;
    animation-name: zoom;
    animation-duration: 20s;
    animation-direction: normal;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

.ken-zoom > div{
    animation-name: zoom2;
    animation-duration: 20s;
    animation-direction: normal;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
}

html:not(.et-fb-top-html) #main-content .et_builder_inner_content {
    overflow: hidden;
}


@keyframes zoom {
	0% {transform: scale(1,1); }
	49% {transform: scale(1.2,1.2);}
 
 }
 
 

 @keyframes zoom2 {
	0% {transform: scale(1,1); }
	49% {transform: scale(0.8,0.8);}
 
 }
 

/**TEXT**/
a{
	font-weight: bold;
}
/* MOBILE ICON */
@media (max-width: 981px) {
  .et_pb_menu.et_flex_module .et_pb_menu__wrap {
      flex: 1!important;
      justify-content: flex-end!important;
  }
}


.mobile_nav.opened .mobile_menu_bar:before {
    content: '\4d'!important;
}
.mobile_menu_bar:before {
	content: 'd'!important;
	transition: all .4s ease;
	transform: rotate(0deg);
	display: block;
}
/*rotate the Divi Menu icon on click*/
.mobile_nav.opened .mobile_menu_bar::before {
	transition: all .4s ease;
	transform: rotate(90deg);
	display: block;
}


/* Remove the top line in the mobile menu*/
.et_mobile_menu {
border-top:0;
}
/*making the Divi Menu full width*/
/* .et_pb_menu .et_mobile_menu{
    min-width: 98vw;

} */

.et_pb_menu__wrap .mobile_menu_bar {
    background: var(--vert);
    padding: 3px;
    border-radius: 10px
}

.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
    color: white!important
}


/**THEME (A MODIFIER)**/
/* HACK CORRECTIF ESPACEMENT BARRE LA BARRE DU HAUT EST CACH2 SUR MOBILE DONC L4ELEMENT EST POUSSE */
@media screen and (max-width: 600px) {
    div#wpadminbar {
        position: fixed;
    }
}

/* MENU */
.dle-hd-295-blurb .et_pb_blurb_container {
  vertical-align: middle;
}

.dle-hd-295-content-section .et_pb_row {
  align-items: center;
  display: flex;
  max-width: 100%;
  width: 100%;
}
  
.dle-hd-295 .et_mobile_menu .menu-item-has-children > a:after {
  content: '+';
  display: inline-block !important;
  font-weight: normal;
  position: absolute;
  right: 10px;
}

.dle-hd-295 .et_mobile_menu .menu-item-has-children > .dle-hd-menu-switched-icon:after {
  content: '-';
}

.dle-hd-295 .et_mobile_menu .menu-item-has-children .sub-menu li {
  display: none;
}

.dle-hd-295 .et_mobile_menu .menu-item-has-children .sub-menu .dle-hd-show-menu-items {
  display: block;
}
  
/* .dle-hd-295 .et-menu .menu-item-has-children>a:first-child:after {
  top: 30px !important;
} */
  
.dle-hd-295 .nav li li ul {
  top: -2px !important;
  left: 200px;
}
  
.dle-hd-295 .nav li.mega-menu li ul {
  top: auto !important;
  left: auto;
}
  
.dle-hd-295 .nav li {
  margin-top: 0 !important;
}

.dle-hd-295 .nav li li {
  padding: 0 !important;
}
  
.dle-hd-295 .et_pb_menu .et_mobile_menu,
.dle-hd-295 .et_mobile_menu {
  padding: 0 !important;
  border-width: 2px;
  margin-top: 10px;
}
  
.dle-hd-295 .et_pb_menu .et_mobile_menu a,
.dle-hd-295 .et_mobile_menu a {
  padding: 12px 20px !important;
  font-weight: 500;
  background-color: transparent;
}
  
.dle-hd-295.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu {
  border-width: 2px !important;
  padding: 10px 20px !important;
  width: 100% !important;
}
  
.dle-hd-295 .nav li.mega-menu li {
  border-bottom: none !important;
}
  
.dle-hd-295.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu a {
  padding: 12px 0 !important;
}
  
.dle-hd-295.et_pb_menu .et-menu-nav li.mega-menu li>a {
    width: 140px!important;
}
  
.dle-hd-295 button.et_pb_menu__icon {
  margin: 0 10px 0 20px;
}

.dle-hd-295 ul#mobile_menu1 li a{
  font-size:17px!important;
}
/* CUSTOM */



  
@media screen and (min-width: 981px) {
  div.bloc_menu div.header-btn-contact{
    justify-content: center!important;
  }
	.dle-hd-295 .et-menu .sub-menu .menu-item-has-children>a:first-child:after {
	top: 10px !important;
	}
	
	.dle-hd-295.et_pb_menu .et-menu-nav li.mega-menu ul.sub-menu li ul.sub-menu {
	padding: 0 !important;
	}

	div#et-boc .dle-hd-295.et_pb_menu .nav li li a:hover {
    background: var(--vert) !important;
    opacity: 1 !important;
    padding-left: 24px !important;
    color:#161616!important;
  }

  .dle-hd-295.et_pb_menu .nav li li a {
    position: relative;
    overflow: hidden;
    color: inherit;
    transition: color 0.4s ease;
  }

  .dle-hd-295.et_pb_menu .nav li li a::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--vert);
    z-index: -1;
    transition: left 0.4s ease;
  }

  .dle-hd-295.et_pb_menu .nav li li a:hover::before {
    left: 0;
  }

  .dle-hd-295.et_pb_menu .nav li li a:hover {
    color: #fff !important;
  }
  /* Remove the dropdown border and inner spacing */
  .dle-hd-295.et_pb_menu .et-menu-nav ul.sub-menu {
    padding: 0 !important;
    border: 3px solid var(--vert) !important;
  }
  /* Move the first-level dropdown to the left */
  .dle-hd-295.et_pb_menu ul.nav > li > ul.sub-menu {
    transform: translateX(-9px) !important;
  }
  /* Add rounded corners to the dropdown container */
  .dle-hd-295.et_pb_menu .et-menu-nav ul.sub-menu{
    border-radius: 15px !important;
	overflow: hidden;
  }

  /* Modify the dropdown shadow */
  .dle-hd-295.et_pb_menu .et-menu-nav ul.sub-menu {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.2) !important;
  }
  .dle-hd-295.et_pb_menu ul.nav > li {
    position: relative;
}
.dle-hd-295.et_pb_menu ul.nav > li.menu-item-has-children:hover:before {
    content: "";
    position: absolute;
    top: 63px; /* à ajuster selon ton header */
    left: 30%;
    transform: translateX(-30%);
    border-style: solid;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent var(--vert) transparent;
    
    z-index: 10000;
}

  /* Center-align the dropdown text */
  .dle-hd-295.et_pb_menu .sub-menu a {
    text-align: center;
  }

    .dle-hd-295.et_pb_menu li ul.sub-menu a {
    padding: 9px 8px !important;
  }
  /* Change the width of the dropdown container */
  .dle-hd-295.et_pb_menu ul.sub-menu {
    width: 300px !important;
  }

    .dle-hd-295.et_pb_menu ul.sub-menu li,
  .dle-hd-295.et_pb_menu ul.sub-menu li a {
    width: 100% !important;
	display: block;
  }
    .dle-hd-295.et_pb_menu .nav li li a {
    transition: all 0.4s ease-in-out !important;
  }

	
}
  
@media screen and (max-width: 980px) {
	.dle-hd-295 button.et_pb_menu__icon {
	margin: 5px 10px 0 20px;
	}
	
	.dle-hd-295-column-1 {
	display: none;  
	}
	
	.dle-hd-295.et_pb_menu .et_pb_menu__search-input,
	.dle-hd-295.et_pb_menu .et_pb_menu__search-input::placeholder {
	color: #fff; 
	}
	.dle-hd-295.et_pb_menu div.et_pb_menu__logo-wrap{
	position: absolute;
  top: -50px;
  left: 10px;	
	}
}


.dle-hd-295 .et_mobile_menu li:not(:last-child) a,
.dle-hd-295 .nav li li:not(:last-child),
.dle-hd-295 .et-menu-nav li.mega-menu>ul>li>a:first-child,
.dle-hd-295 .et-menu-nav li.mega-menu ul li ul li:not(:last-child) a {
  border-bottom: 1px solid rgb(125 125 125 / 13%) !important;
}

/* SPEICIFIQUE MENU */
div.dle-hd-295 ul#menu-header li a {
	transform: scaleY(1.04);
}
div.dle-hd-295 ul#menu-header li ul li a {
	transform: scaleY(1);
  font-size:17px;
}

@media only screen and (min-width: 1476px) {
	div.dle-hd-295 ul#menu-header li{
		padding-left:10px;
		padding-right:10px;
	}
}
@media only screen and (max-width: 1475px) {
	div.dle-hd-295 ul#menu-header li{
		padding-left:8px;
		padding-right:8px;
	}
}

@media only screen and (max-width: 1370px) {
	div.dle-hd-295 ul#menu-header li a{
		font-size:17px;
	}

}
@media only screen and (max-width: 1180px) {
	div.dle-hd-295 ul#menu-header li a{
		font-size:15px;
	}

}
@media only screen and (max-width: 1040px) {
	div.dle-hd-295 ul#menu-header li a{
		font-size:14px;
	}

}
@media only screen and (max-width: 1235px) {
	div.header-btn-contact{
		display:none;
	}
	div.header-bloc-menu{
		width:100%!important;
	}
}
@media only screen and (min-width: 1236px) {

	.dle-hd-295 li.disable-desktop{
		display:none!important;
	}
}
@media only screen and (min-width: 981px) {

	.dle-hd-295-content-section div.headline-menu{
		display:none!important;
	}
}

/* BOUTON CONTACT */
@media only screen and (min-width: 981px) {
	.pulse-menu {
		animation: pulse 2s infinite;
	}
}


/* INVERSION BLOC */
@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;
	}
  }



/**BREADCRUMB**/
#page-title {
	position: relative;
	padding: 10px 0;
  }
  .breadcrumb {
	padding: 8px 15px;
	list-style: none;
	padding: 0 !important;
	white-space: nowrap;
  }
  
  .breadcrumb > span {
	background: #e9e9e9;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 13px;
  }


/**FOOTER**/
@media only screen and (max-width: 980px) {
    div.footer-bloc div.et_pb_column {
        width: 42% !important;
        margin-right: 6% !important;
    }
}
@media only screen and (max-width: 767px) {
    div.footer-bloc div.et_pb_column {
        width: 100% !important;
    }
}

/* CONTACT */
div#date-event .et_pb_contact_form_label {
  display: block;
  position: absolute;
  top: -3px;
  left: 20px;
  font-size: 12px;
}


/**ARCHIVE**/
.archive div#sidebar {
display: none !important;
}
.archive.et_right_sidebar #main-content .container:before {
display: none !important;
}
.archive #left-area {
width: 100% !important;
}


/**blog**/
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 30px;
}
article > div.et_post_meta_wrapper{
	padding:20px!important;
	border-bottom:3px solid #f2f6f9;
}
article > div.et_post_meta_wrapper>h1{
	font-weight:bold;
	font-size:35px;
}
@media (max-width: 1140px) {
	article > div.et_post_meta_wrapper>h1{
		font-size:31px;
	}
}

@media (max-width: 900px) {
	article > div.et_post_meta_wrapper>h1{
		font-size:24px;
	}
}



/**CUSTOM THEME**/



/* BAS BLOG */
.et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) .et_post_meta_wrapper {
	max-width: none!important;
}
h2.jp-relatedposts-headline{
	font-weight: 700;
    font-size: 26px;
    margin: 36px auto;
    text-align: center;
}

div#jp-relatedposts{
	padding: 0 20px;
	max-width: 1650px;
    margin: 0 auto;
}
h3.jp-relatedposts-post-title{
	font-size: 18px!important;
	text-align:center;
    margin: 10px 0 0 0;
}
a.jp-relatedposts-post-a{
	font-weight: bold!important;
	text-transform: uppercase;
}
p.jp-relatedposts-post-date{
	padding-bottom:0!important;
}
div#jp-relatedposts div.jp-relatedposts-items{
	text-align:center!important
}
img.jp-relatedposts-post-img{
	text-align: center;
	border-radius:5px;
	display: inline-block!important;
	max-height: 150px;
    object-fit: cover;
    object-position: top;
}

@media only screen and (max-width: 640px) {
	div#jp-relatedposts .jp-relatedposts-items-visual .jp-relatedposts-post {
	padding-right: 0px;
	}
	div#jp-relatedposts .jp-relatedposts-items-visual {
        margin-right: 0px;
    }
    div#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post {
        width: 100%;
    }
	img.jp-relatedposts-post-img{
		max-height: 160px;
	}
}

#commentform input[type="email"], #commentform input[type="text"], #commentform input[type="url"] {
    width: 100%!important;
}

p#reply-title{
	font-size:20px;
}

#comment-wrap {
    padding-top: 25px;
}
#comment-wrap form input.submit.et_pb_button:hover {
    background: var(--rose-text);
}
/* BANNER COOKIES */
.cky-btn-accept {
    background: var(--vert) !important;
    color: #000;
    border: 2px solid var(--vert)!important;
}
.cky-btn-reject, .cky-btn-customize, .cky-btn-preferences {
    color: var(--vert) !important;;
    background: #fff0;
    border: 2px solid var(--vert) !important;;
}
.cky-btn-revisit-wrapper{
  background: var(--vert)!important;
}