/*
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;

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

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

/**TEXT**/
a{
	font-weight: bold;
}
/* MOBILE ICON */
.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: 100vw;
   margin-left: -10vw;
}


/**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;
    }
}
/**BARRE HAUTE && MENU**/
body.home.page-template-default.page div#page-container{
	transition: none;
	padding-top:0px!important;
}
body.home.page-template-default.page header.et-l.et-l--header{

	transition: none;
	position: absolute;
    width: 100%;
}
body.home.page-template-default.page header.et-l.et-l--header .et_pb_section{
	 background: #ffffff00!important; 
	box-shadow:none;
}
body.home.page-template-default.page header.et-l.et-l--header div.has_et_pb_sticky .et_pb_section
{
	background:white!important;
	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.1);
}
body.home.page-template-default.page header.et-l.et-l--header div.et_pb_sticky>div{
	background:white!important;
}


/* MENU */

.dle-hd-9-section .et_pb_row_1-4_3-4 {
  display: flex;
  align-items: center;
}

  
@media screen and (max-width: 980px) {
.dle-hd-9-section .et_pb_row_1-4_3-4 > .et_pb_column_1_4 {
  display: none;
}
}


/**FLECHE SCROLL**/
div#home-cta-header .arrows {
	width: 80px;
	height: 98px;
	margin: 90px auto 0 auto;
    display: block;
	background: #00000026;
    padding: 10px;
    border-radius: 25px;
  }
  @media (max-width : 700px) {
	div#home-cta-header .arrows {
		margin: 30px auto 0 auto;
	  }
  }
  div#home-cta-header .arrows path {
	stroke: #fff;
	fill: transparent;
	stroke-width: 5px; 
	animation: arrow 2s infinite;
	-webkit-animation: arrow 2s infinite; 
  }
  
  div#home-cta-header  .arrows path.a1 {
	animation-delay:-1s;
	-webkit-animation-delay:-1s; /* Safari 和 Chrome */
  }
  
  div#home-cta-header  .arrows path.a2 {
	animation-delay:-0.5s;
	-webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
  }
  
  div#home-cta-header  .arrows path.a3 { 
	animation-delay:0s;
	-webkit-animation-delay:0s; /* Safari 和 Chrome */
  }


/**logo (A MODIFIER OU SUPPRIMER**/
/* VERSION MOBILE */
.et_pb_menu__wrap .mobile_menu_bar {
    background: var(--bleu);
    padding: 10px;
    border-radius: 10px;
}
.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before{
	color:white!important;
}
.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap .et_pb_menu__logo img, .et_pb_menu_0_tb_header .et_pb_menu__logo-slot .et_pb_menu__logo-wrap img {
	max-width: 200px !important;
    width: 100%;
}
header.et-l.et-l--header div.et_pb_section span.et_pb_image_wrap  img{
	max-width:200px!important;
	transition: 0.3s max-width;
}
header.et-l.et-l--header div.has_et_pb_sticky div.et_pb_section span.et_pb_image_wrap  img{
	max-width:200px!important;
	transition: 0.3s max-width;
}

/* BOUTON HEADER */
@media (max-width : 450px) {
	#page-container .et_pb_section .et_pb_button_0_tb_header, #page-container .et_pb_section .et_pb_button_1_tb_header{
		font-size: 17px!important;
	}
}
/* MENU */
@media (max-width : 1550px) {
	#page-container .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 23px;
	}
	#page-container .et_pb_menu .et-menu>li {
		padding-left: 8px;
		padding-right: 8px;
	}
}
@media (max-width : 1400px) {
	#page-container .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 21px;
	}
	#page-container .et_pb_menu .et-menu>li {
		padding-left: 8px;
		padding-right: 8px;
	}
}
@media (max-width : 1150px) {
	#page-container .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 16px;
	}
	#page-container .et_pb_menu .et-menu>li {
		padding-left: 8px;
		padding-right: 8px;
	}
}
@media (max-width : 1000px){
	#page-container .et_pb_menu_0_tb_header.et_pb_menu ul li a {
		font-size: 17.5px;
	}
}
/* HACK MENU MOBILE TRES PETIT */
@media only screen and ( min-width: 981px ) {
	.et_pb_menu__logo img.et_multi_view_swapped.et_multi_view__hover_selector {
		display:none;
	}
}


/* SYSTEME ONGLET */
.dle-services-58-tab-content {
	display: none;
}

#dle-services-58-tab-1-content {
	display: block;
}

.dle-services-58-tab {
    cursor: pointer;
}

.dle-services-58-active-tab.et_pb_module.et_pb_blurb {
    background: var(--bleu);
  	box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.12);
}
.dle-services-58-active-tab.et_pb_module.et_pb_blurb h3 {
    color: var(--white)!important
	
	;
}

/* FOOTER */

  .dle-ft-101 .et_pb_widget, .dle-ft-hz-menu-101 .et_pb_widget{
		margin-bottom: 0px !important;
	}

  .dle-ft-hz-menu-101 .et_pb_widget {
    width: 100% !important;
      margin-bottom: 0;
  }

  .dle-ft-hz-menu-101 .et_pb_widget ul li {
      display: inline-block;
      margin: 5px 0;
  }

  .dle-ft-hz-menu-101 .et_pb_widget ul li {
      padding: 0 8px;
  }
  
  .dle-ft-hz-menu-101 .et_pb_widget ul li:first-child {
    padding: 0 8px 0 0;
}
  
  .dle-ft-hz-menu-101 .et_pb_widget ul li:not(:last-child) {
  border-right: 1px solid;
}

@media (max-width: 1350px) and (min-width: 981px) {
	footer div.footer-photo {
		display:none;
	}
	footer div.footer-menu {
		width:40%!important;
	}
	footer div.footer-info {
		width:38%!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;
  }

/**contact**/
div#carte_contact div.et_pb_code, div#carte_contact div.et_pb_code div.et_pb_code_inner,div#carte_contact div.et_pb_code div.et_pb_code_inner .et-fb-editable-element {
	height: 100%;
}
@media screen and (max-width: 980px) {
	div#carte_contact div.et_pb_code, div#carte_contact div.et_pb_code div.et_pb_code_inner {
		height: 400px;
	}
	
}
div#et_pb_contact_form_0 p.et_pb_contact_field_last span.et_pb_contact_field_options_title,div#et_pb_contact_form_0   div.et-pb-contact-message{
 color:white;
}
div#et_pb_contact_form_0 .et_pb_contact_field_4 .input+label i:before{
	color:black!important;
}


/* NOS OFFRES */
div.frame_offres iframe{
	width:100%; min-height:800px;height:100%; border:0;overflow-x: hidden;
}
div.frame_offres2 iframe{
	width:100%; min-height:1100px;height:100%; border:0;overflow-x: hidden;
}

@media screen and (max-width: 980px) {
	div.frame_offres iframe{
	min-height:1000px;
	}
}


/**FOOTER**/



/**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**/


/**recaptcha**/
.grecaptcha-badge {
     visibility: visible; 
    z-index: 100;
}



div#wpadminbar {
	z-index:100000;
}


/* 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);
}
