/*
Theme Name: krisken-jedeau
Description: Hello Elementor Child Theme
Author: Krisken
Author URL: https://krisken.fr
Template: hello-elementor
Version: 1.0.0
*/

/* GENERIQUES */
html{
	scroll-behavior: smooth;
}
h1 em,
.dark h2 em{
	font-style: normal;
	color: #2ceef0;
}
h2 em{
	font-style: normal;
	color: #9ba5bf;
}
p strong{
	font-weight: 700;
}
.chapo p strong{
	color: inherit;
	font-weight: 700;
}
.pre-titre p{
	font-weight: 700;
	text-transform: uppercase;
}
.chapo{
	font-size: 2em;
}

.container-bleu-medium{background-position: right 40px bottom 40px !important;}

/* BOUTONS */
.elementor-widget-button.plus a{
	position: relative;
	background: #041F60 url(./img/ico-more.svg) no-repeat 10px center/30px;
	transition: all 0.15s ease;
	text-indent: 0;
}
.elementor-widget-button.devis a{
	background: #041F60 url(./img/ico-devis.svg) no-repeat 10px center/30px;
	position: relative;
}
.elementor-widget-button.tel a{
	background: #041F60 url(./img/ico-tel.svg) no-repeat 10px center/30px;
	position: relative;
}
.elementor-widget-button a:hover{
	text-indent: 10px;
}
.elementor-widget-button a:after{
	content: '';
	position: absolute;
	left: -1px;
	top: -1px;
	border-radius: 4px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border: 1px solid #FFF;
	transition: all 0.15s ease;
}
.elementor-widget-button a:hover:after{
	border-color: #2ceef0;
	top: 3px;
	left: 3px;
}

/* NAVIGATION */
#k-nav{
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	max-height: 80px;
	max-width: 1340px;
	border-radius: 32px;
	margin: 0 auto;
	box-sizing: border-box;
	background: #cdd2dfCC;
	box-shadow: inset 1px 1px 2px 0 #FFFFFF80, inset -2px -2px 2px 0 #0476d080;
	transition: all .2s;
}
#k-nav.fixed{
	margin-top: -30px;
}
li.contact a{color: #2ceef0 !important;}
li.contact:hover a{color: #FFF !important;}
footer li.contact{display: none;}

/* #les-avantages */
.box-grise:after,
.box-grise:before{
	content: '';
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 10px;
	position: absolute;
	background-color: #2ceef0;
	font-size: 1em;
	top: -12px;
	left: -12px;
}
.box-grise:before,
#les-avantages .box-grise:not(:last-of-type):before{
	top: auto;
	left: auto;
	right: -12px;
	bottom: -12px;
}

#blog-actus article{
	border-radius: 0 0 8px 8px;
}
#blog-actus article:nth-child(n+1){
	background-color: #041f60;
}
#blog-actus article a.elementor-button{
	border: 0;
	display: block;
	align-content: end;
	padding: 0;
	height: 120px;
	background: url(./img/fleche-droite.svg) no-repeat right top/120px;
}
#blog-actus article a.elementor-button:hover{
	border: 0;
	background-image: url(./img/fleche-droite-hover.svg);
}
#blog-actus article a.elementor-button:after{display: none;}
#blog-actus .elementor-swiper-button ellipse:last-of-type,
#blog-actus .elementor-swiper-button path{
	fill: #c3c9d9;
	transition: all 0.2s;
}
#blog-actus .elementor-swiper-button:hover svg ellipse:last-of-type,
#blog-actus .elementor-swiper-button:hover svg path{fill: #2ceef0;}
#blog-actus .elementor-swiper-button-next{right: calc(-60% + 20px);}

/* slider logos clients */
.swiper-pagination span.swiper-pagination-bullet{
	border-radius: 0;
	width: 1.5em;
	height: 3px;
}

/* Entete de page */
body.page .entete{
	max-height: calc(100vh - 40px);
}
body.page .entete h1{
	text-shadow: 0 0 10px #0000004D;
}

ul.elementor-icon-list-items li.elementor-icon-list-item{
	background: #F5F6F9;
	border-radius: 8px;
	padding: 20px !important;
	margin-bottom: 10px;
	align-content: center;
}

.liste ul.elementor-icon-list-items li.elementor-icon-list-item:before,
.liste ul.elementor-icon-list-items li.elementor-icon-list-item:after{
	content: '';
	display: block;
	width: 10px !important;
	height: 10px;
	border-radius: 10px;
	position: absolute;
	background-color: #2ceef0;
	font-size: 1em;
	top: -12px;
	left: -12px;
}
.liste ul.elementor-icon-list-items li.elementor-icon-list-item:after{
	inset-inline-start: 100% !important;
	right: -12px;
}
.liste ul.elementor-icon-list-items li.elementor-icon-list-item{
	padding: 40px !important;
}

/* PAGE PRODUIT */
body.page header .entete-produit{
	top: 0;
	max-height: 60vh;
}
body.page header .entete-produit .gauche,
body.page header .entete-produit .droite{
	top: 50%
}
body.page header .entete-produit .centre > div img{
	max-height: 80vh;
	width: 100%;
}

/* Section produit */
#produit h2{
	text-shadow: 0 0 10px #0000004D;
}
#produit .animation{
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
	height: calc(100vh - 250px);
	overflow: hidden;
}
.elementor-editor-active #produit .animation,
#produit.visible .animation{
  opacity: 1;
  transform: translateY(0);
}
/* ANIMATION */
#produit .animation .elementor-element.etiquette{
	gap: 0;
	opacity: 0;
	transition: all 0.6s ease;
	transform: translateX(-50%);
}
#produit .animation .etiquettes-produit-droite .elementor-element.etiquette{transform: translateX(50%);}
#produit.visible .animation .elementor-element.etiquette{
	opacity: 1;
	transform: translateX(0);
}
.etiquette{
	max-width: 360px;
	position: relative !important;
	z-index: 99 !important;
}
/* le petit point au bout */
.etiquette:after{
	content: '';
	display: block;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #2ceef0;
	position: absolute;
	left: calc(100% + 80px);
	top: calc(50% - 3px);
}
/* la ligne en pointillé */
.etiquette:before{
	content: '' !important;
	display: block !important;
	width: 80px !important;
	height: 2px !important;
	border-top: 1px dotted #2ceef0 !important;
	position: absolute;
	left: 100% !important;
	top: calc(50% - 1px) !important;
}
.etiquettes-produit-droite .etiquette:before{
	left: auto !important;
	right: 100%;
}
.etiquettes-produit-droite .etiquette:after{
	left: auto !important;
	right: calc(100% + 80px);
}

.etiquette.potentiometre{}
.etiquette.moteur{}
.etiquette.vanne{position: absolute !important; bottom: 0;}
.etiquette.platine{position: absolute !important; top: 15vh;}
.etiquette.impulseur{position: absolute !important; top: 35vh;}
.etiquette.semelle{position: absolute !important; bottom: 0; right: calc(100% + 80px);}

#tab-compatibilite > div{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	column-gap: 10px;
}
#tab-compatibilite details,
#tab-compatibilite details:open{border-radius: 8px !important;}
#tab-compatibilite details:not([open]) summary{
	min-height: 260px;
}
#tab-compatibilite details:not([open]) summary:after,
#tab-compatibilite details:open:after{
	content: '';
	display: block;
	width: 100%;
	height: 100px;
	border-radius: 0 0 8px 8px;
	background: transparent url(./img/bg-tab.svg) no-repeat center bottom/100%;
	opacity: 0.05;
	position: absolute;
	z-index: 0;
	top: 160px;
}
	#tab-compatibilite details:open:after,
	#tab-compatibilite details:open summary:after{
		top: auto;
		bottom: -1px;
	}
	#tab-compatibilite details:not([open]):after{opacity: 0;}
	#tab-compatibilite summary span{
		z-index: 1;
		position: relative;
	}
	#tab-compatibilite summary span.e-n-accordion-item-title-header{
		width: 100%;
	}
#tab-compatibilite summary{
	flex-direction: column;
	justify-content: start;
	border-radius: 8px !important;
	transition: all .3s;
}
#tab-compatibilite summary[aria-expanded='true']{
	border-radius: 8px 8px 0 0 !important;
}
#tab-compatibilite details:open,
#tab-compatibilite summary:hover{
	box-shadow: 0 5px 10px #041F604C;
}
#tab-compatibilite details:open h3,
#tab-compatibilite summary:hover h3{
	color: #fff;
}
#tab-compatibilite summary:hover span.e-closed svg{visibility: hidden;}
#tab-compatibilite summary:hover span.e-closed{background: url(./img/icon-compatbilite-open.svg);}
#tab-compatibilite details:open span.e-n-accordion-item-title-icon{
	position: absolute;
	z-index: 9;
	bottom: 20px;
}
#tab-compatibilite .tab-content p{
	font-sioze: 0.9em;
	margin-bottom: 0;
	text-align: right;
	color: #fff;
}
#tab-compatibilite .tab-content p strong{
	font-weight: 700;
	color: #fff;
	display: inline-block;
	float: left;
}

/* FORMULAIRE DE CONTACT */
#contactForm form{
	max-width: 460px;
}
#contactForm .elementor-field-group{
	margin-bottom: 20px
}
#contactForm input,
#contactForm textarea{
	max-width: 100%;
	border-radius: 8px !important;
	border-color: #112969 !important;
	box-shadow: inset 2px -2px 2px 0 #0476d04D;
	outline: 0 !important;
}
#contactForm input:focus{
	box-shadow: none;
}
#contactForm label{
	font-weight: 700;
	color: #041F60;
	padding-left: 8px;
	padding-bottom: 3px;
}
#contactForm label{
	cursor: pointer;
}
#contactForm input[type="checkbox"]{display: none;}
#contactForm input[type="checkbox"] + label:before{
	content: '';
	display: inline-block;
	margin-right: 6px;
	width: 20px;
	height: 20px;
	margin-bottom: -3px;
	border-radius: 10px;
	border: 1px solid #112969;
	background-color: #FFF;
	box-shadow: inset 0 0 1px 0 #FFF;
}
#contactForm input[type="checkbox"]:checked + label:before{
	background-color: #0476D080;
}
/* Bouton Submit */
#contactForm button.elementor-button[type='submit']{
	background: #041F60 url(./img/ico-devis.svg) no-repeat 10px center/30px;
	position: relative;
	transition: all 0.15s ease;
	text-indent: 0;
	width: 100%;
	border: 0;
}
#contactForm button.elementor-button[type='submit']:after{
	content: '';
	position: absolute;
	left: -1px;
	top: -1px;
	border-radius: 4px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	border: 1px solid #FFF;
	transition: all 0.15s ease;
}
#contactForm button.elementor-button[type='submit']:hover:after{
	border-color: #2ceef0;
	top: 3px;
	left: 3px;
}

/* FAQ */
#faq .elementor-widget-n-accordion .e-n-accordion-item-title-header h3:hover{
	color: #0476D0;
}
.faq-content ul{
	list-style: none !important;
	padding-left: 0;
}

/* RESPONSIVE */
@media screen and (max-width: 1340px) {
	#k-nav{
		top: 30px;
		margin: 0 20px;
		width: calc(100% - 60px);
	}
	#k-nav.fixed{margin-top: 0;}
	#k-nav .k-nav-menu nav ul{
		background: #cdd2dfCC;
		box-shadow: inset 1px 1px 2px 0 #FFFFFF80, inset -2px -2px 2px 0 #0476d080;
		margin: 0 auto;
		width: 80%;
		border-radius: 8px;
	}
	
	.e-con>.e-con-inner{max-width: calc(100% - 40px) !important;}
	
	#blog-actus .elementor-swiper-button-next{right: -30px;}
	.none1340{display: none !important; width: 0 !important;}
	/* PAGE PRODUIT */
	body.page header .entete-produit .centre > div img{max-height: 60vh;}
	.etiquette.vanne,
	.etiquette.platine,
	.etiquette.impulseur,
	.etiquette.semelle{
		position: relative !important;
		top: 0;
		right: 0;
		left: 0;
		bottom: 0;
	}
	.etiquette:after, .etiquette:before{display: none !important;}
}

@media screen and (max-width: 1024px){
	.etiquette.potentiometre,
	.etiquette.moteur,
	.etiquette.vanne,
	.etiquette.platine,
	.etiquette.impulseur,
	.etiquette.semelle{
		position: relative !important;
		top: 0;
		left: 0
	}
	#tab-compatibilite > div{grid-template-columns: 1fr 1fr 1fr;}
}

@media screen and (max-width: 767px) {
	#k-nav{
		max-height: none;
		margin: 0 auto;
		width: 320px;
		max-width: 320px;
	}
	.elementor-widget-text-editor{columns: auto !important;}
	#tab-compatibilite > div{grid-template-columns: 1fr;}
	footer nav ul li a{justify-content: start !important;}
	
	/* PAGES */
	body.page .entete{max-height: none;}
	
	body.page header .entete-produit{max-height: none;}
	body.page header .entete-produit .gauche,
	body.page header .entete-produit .droite{
		position: relative !important;
		top: 0
	}
}