/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Thème enfant basé sur Hello Elementor
Author: Ton Nom
Author URI: https://ton-site.com
Template: hello-elementor
Version: 1.0
Text Domain: hello-elementor-child
*/

body, html{ overflow-x:hidden;}

/* FIXED SCROLL HEADER */
header { height: auto !important;}
#header, #header #logo img {transition: .5s ease-in;}
.fixed #header, .fixed #header-mob {position: fixed; background-color: #FFF;z-index: 999; box-shadow: 0 0 2px 0 #999;}
.down #header {transform: translateY(-100%);}
.fixed #header #logo img{width:50%; display:inline-block;}

.single, .archive .banner-page { padding-top:6.5em !important;}
.single ul{ margin-bottom:1em;}
.single ul li p{ margin:0;}
.page-id-28 #content, .home #content, #content { padding-top:6.5em !important;}

.wrapper{ padding-top:4em;}
.banner-page p, footer p{ margin-bottom:0 !important}
footer h2{ color:#FFF !important;}

/*h2{ font-size:2.1em !important;}
footer h2.wp-block-heading{color:#FFFFFF !important;}*/

/* BORDS ARRONDIS - FILTRES GALLERY */
.eael-filter-gallery-control ul li.control.active{border-radius:100px !important;}

/* MENU PRINCIPAL */
#menu-nav img{ display:inline-block; height:18px;width:auto;}
#menu-nav .menu-item-605 a{background-color:#222222; border-radius:100px; padding:0.5em 1.5em;color:#FFF;font-size:1.1em; display:inline-block;}
#menu-nav .menu-item-605:hover a {background-color:#54595F;}

/* MENU RESPONSIVE */
.elementor-1290 .elementor-element.elementor-element-79552b0e .elementor-menu-toggle { display: none;}
.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main { display: inline-block !important;}

/*Hover vertical bar menu header*/
#menu-nav .menu-item a { position: relative; padding-bottom:8px; display:flex;}
#menu-nav .menu-item a::after { content: ""; position: absolute; left: 0%; bottom: 0; width: 0; height: 1px; background-color: #222222; transition: width 0.3s ease;}
#menu-nav .menu-item:hover a::after,.menu-item-title:focus a::after,.current-menu-item .menu-item-title a::after {width: 100%;}
#menu-nav .menu-item .sub-menu a::after, #menu-1-76985f6 .menu-item a::after{ display:none !important;}
#menu-nav .elementor-sub-item.elementor-item-active{ color:inherit;}

/* HP SECTION */
.section-presta-hp h2 a, .section-presta-hp a{ text-decoration:none !important; font-weight:700; transition:all ease-in 0.2;}
.section-presta-hp h2 a:hover {font-weight:700; color:#666 !important;}
.section-presta-hp a:hover{font-weight:700;}

/* SINGLE PRESTATION */
.container-titre{ padding:4em 0 2em 0;}
.elementor-element.elementor-pagination-position-outside .swiper{padding-bottom:0 !important;}
.swiper-logos .swiper-slide {display: flex;align-items: center;justify-content: center; }
.swiper-logos img { max-height: 120px;  width: auto; height: auto; object-fit: contain;}

/* Correction paragraphe avec marges */
[data-id="3b84c03"] {padding:0 !important;}

/* LISTE NEWS */
.card-news h2, .card-news h2 a{font-weight:700 !important;}
.card-news:hover h2 a, .card-news:hover h2{color:#54595F !important;}
.card-news:hover .img-news, .last-news .elementor-post__card:hover .elementor-post__thumbnail { box-shadow: rgba(0, 0, 0, 0.15) 0px 20px 20px; transform: translateY(-5px);}
.last-news .elementor-post__thumbnail  {transition: all 0.2s ease-in !important;}
.last-news .elementor-post__thumbnail__link{ display:inline-block;}
.last-news .elementor-post__card:hover .elementor-post__read-more{ color:#54595F !important;}

/* SINGLE NEWS */
.content-news-detail { text-align:left;}
.content-news-detail h2{ font-size:2em !important; max-width:80%}
.content-news-detail h3{ font-weight:700; font-size:1.3em !important;}
.content-news-detail ul{ margin-bottom:1em;}
.content-news-detail img{width:100%;}
.content-news-detail .wp-element-button { color:#FFF;}
.content-news-detail .wp-element-button:hover { background-color:#666;color:#FFF;}

/* NEWS */
.banner-cat { background-color:#000 !important; padding:0.5em 1em; display:inline-block !important;}
.banner-cat a{ text-transform:uppercase; letter-spacing:2px;}
.banner-cat .elementor-icon-list-icon { display:none !important;}
.wp-element-button

/* FIL ARIANE / BREADCRUMBS ELEMENTOR */
ul.hfe-breadcrumbs li a{ text-decoration:none !important}

/* FIL ARIANE / BREADCRUMBS YOAST SINGLE NEWS */
#breadcrumbs{ line-height:0.5 !important;}
#breadcrumbs span, #breadcrumbs a {color:#A6A4A5; font-size:14px; font-style:italic;line-height:0.5 !important;}
#breadcrumbs::before {   font-family: "Font Awesome 5 Free";  content: "\f015"; font-weight: 900;  margin-right: 8px;display: inline-block;	color:#A6A4A5; font-size:14px;}

/* FOOTER LEGALS */
.footer-legal{ text-align:center; font-size:14px; color:#CCC}
.footer-legal a, footer a{ color:#FFF !important;}
.footer-legal a:hover{ color:#CCC !important;}


/* FORMULAIRE */
#nf-form-3-cont .nf-form-title, .nf-before-form-content { display:none !important;}

form nf-field{ float:left; width:48%; padding: 0 0.5em;}
form nf-field:nth-of-type(1), form nf-field:nth-of-type(5), form nf-field:nth-of-type(6), form nf-field:nth-of-type(7){ width:100% !important;}
form #nf-field-25{ border:none;}

/* HN pages annexes */
.page-id-30 h2, .page-id-32 h2{ margin:1em 0;}

/* FIX Epaisseur buttons */
button,input[type="button"],input[type="submit"],.btn {font-weight: 500 !important; }
button:hover,input[type="button"]:hover,input[type="submit"]:hover,.btn:hover {font-weight: 500!important;}

/* MEDIA QUERIES */

@media screen and (max-width: 1024px) {
	.wrapper{ padding-top:1em !important;}
}

/* GESTION HEADER RESPONSIVE */
@media (max-width: 881px) {
  #header { display: none !important; }
}
@media (min-width: 882px) {
  #header-mob { display: none !important;}
}

@media (max-width: 881px) {
	#header-mob .elementor-widget-theme-site-logo{ width:50% !important; max-width:50% !important}
}

#header-mob,#header { visibility: visible;}

@media screen and (max-width: 880px) { 
	.fixed #header #logo img{width:100% !important;}
	#menu-1-79552b0e ul {position: static !important;}
	#menu-1-79552b0e .elementor-item::after{display:none !important;}
	#menu-1-79552b0e .elementor-nav-menu--dropdown{ background:transparent;}
	#menu-1-79552b0e .elementor-nav-menu--dropdown a{ color:#FFF; font-size:16px}
	#menu-1-79552b0e .elementor-nav-menu--dropdown .elementor-sub-item.elementor-item-active, #menu-1-79552b0e .elementor-nav-menu--dropdown .elementor-sub-item:hover{ background:transparent;}
	#menu-1-79552b0e .elementor-nav-menu--dropdown .elementor-sub-item:hover{color:#A6A4A5;}
	.elementor-1290 .elementor-element.elementor-element-78f8d5f9 {padding-top: 4em;padding-bottom: 4em;padding-left: 2em;padding-right: 2em;}
	#header-mob{height:80px;}
	.type-prestations, #content, .banner-page{ top:-20px !important; position:relative;}
	#content-actu{padding-top:0em !important;}
	.single{ padding-top:6.5em !important;}
	
}


@media screen and (max-width: 766px) { 
	.img-news { width:100% !important; max-width:100% !important}
	.content-news-detail h2{ font-size:2em !important;}
	.content-news-detail h3{ font-weight:700; font-size:1em !important;}
	form nf-field{ float:none !important; width:100%!important; }
	.nf-field-container {margin-bottom: 0 !important;}
	#header-mob .elementor-widget-theme-site-logo{ width:100% !important; max-width:100% !important}
	.single{ padding-top:6.5em;}
}
@media screen and (max-width: 390px) { 
	.fixed #header #logo img {width:100% !important;}
}
