/**
Theme Name: Piscine O Jardin
Author: Agence Réceptive
Author URI: https://www.receptive.biz/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: piscine-o-jardin
Template: astra
*/

/* Carousels - keep box within column (desktop, narrow widths) */
@media (min-width: 993px) {
	html body .fl-col-group .fl-module-box:has(.fl-module-pp-image-carousel) {
		max-width: 100% !important;
		min-width: 0 !important;
	}
}

/* ==== Moved from Customizer Additional CSS ==== */
.pp-image-carousel .pp-image-overlay{
   
    transform: translateY(0px) !important;

    overflow: hidden;
    outline: 0;
	border: 0;
}
.mega-menu-item .menu-link {
    position: relative;
}
.mega-sub-menu li.mega-menu-row .mega-sub-menu li {
    list-style: none !important;
    font-weight: 500;
    padding: 4px 0;
}
#masthead .ast-container{
    max-width: 1200px!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
}
.ast-header-button-1 .ast-builder-button-wrap {
	    display: inline-flex;
}
.ast-header-button-1 .ast-builder-button-wrap a{
  position: relative;
  padding-left: 35px;
}

.ast-header-button-1 .ast-builder-button-wrap a:before {
content: "\f095";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg); 
  color: #014674;
  font-size: 14px;
}


.mega-menu-item li a:hover{
	font-weight: 700!important;
	color:#014674!important;
}
 .pp-image-carousel .pp-caption::after{
	
	     top: -1px!important;
	 border-bottom: 1px solid #afddeb !important;
}

.pp-image-carousel .pp-image-overlay {
  
    background: linear-gradient(to right, #0b4f7c 0, #014674 calc(100% - 70px), #014674 calc(100% - 70px), #afddeb 100%)!important;
   
}

 .pp-image-carousel .pp-caption::after {

	font-size: 21px!important;
	outline:0!important;
}
.pp-image-carousel .swiper-slide.swiper-slide-active .pp-image-carousel .pp-caption::after{
	height:500px!important;
}

.mega-menu-item .menu-link:hover:before {
    content: "";
    position: absolute;
    top: 5px;
    left: -13px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid #cfeaf3;
}

ul#mega-sub-menu-227 #mega-menu-227-0, ul#mega-sub-menu-228 #mega-menu-228-0{
	max-width: 1240px !important;
	margin: auto !important;
}
.mega-sub-menu #mega-menu-227-0-0 .mega-sub-menu, .mega-sub-menu #mega-menu-228-0-0 .mega-sub-menu{
	display: flex !important;	
	justify-content: flex-start;
}
.mega-sub-menu #mega-menu-227-0-1, .mega-sub-menu #mega-menu-228-0-1{
	border-left: 1px solid #cfeaf3 !important;
	padding-left: 30px !important;
}
.mega-sub-menu #mega-menu-227-0-1 #mega-menu-item-media_image-12, .mega-sub-menu #mega-menu-228-0-0 #mega-menu-item-media_image-14{
	padding-left: 40px !important;
}
.mega-sub-menu li.mega-menu-row, .mega-sub-menu li.mega-menu-row .mega-sub-menu li{
	list-style: none !important;
}
#menu-mega-sub-menu-1 #menu-item-393 .sub-menu, #menu-mega-sub-menu-2 #menu-item-476 .sub-menu{
	box-shadow: none !important;
}
.mega-sub-menu #mega-menu-227-0-0 .mega-sub-menu #mega-menu-item-media_image-11, .mega-sub-menu #mega-menu-228-0-0 .mega-sub-menu #mega-menu-item-media_image-14{
	flex: 0 0 100px; 
}
#menu-mega-sub-menu-1{
	margin-left: 0;
}
/*
#menu-item-393 .sub-menu, #menu-item-476 .sub-menu{
	margin-left: 0;
	border: none;
}
#menu-item-393 .sub-menu li, #menu-item-476 .sub-menu li{
	padding-left: 0;
}
#menu-item-393 > .menu-link, #menu-item-476 > .menu-link {
		font-weight: 600;
		position: relative;
}
#menu-item-393 > .menu-link:before,
 #menu-item-476 > .menu-link:before{
  content: "";
  display: inline-block;
	position: absolute; 
	top: 5px;
	left: -13px;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #cfeaf3; 
}

*/
a.fl-module.fl-module-box.fl-node-o8rek9svuztx {width: 160px;transform: translateX(99px);gap: 25px;}

a.callback-side-buttons {position: fixed;top: 360px !important;right: 0;z-index: 999;background-color: #cfeaf3;padding: 5px 12px;border-top-left-radius: 15px;border-bottom-left-radius: 15px;width: 160px;transform: translateX(99px);transition: transform 0.3s ease;cursor: pointer;gap: 20px !important;}
a.callback-side-buttons:hover {transform: translateX(0);background-color: #014674;color: #fff;box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;}
a.callback-side-buttons:hover .fl-photo-content.fl-photo-img-png img {filter: brightness(0) invert(1);}
a.quote_btn {position: fixed;top: 420px !important;right: 0;z-index: 999;background-color: #cfeaf3;padding: 5px 12px;border-top-left-radius: 15px;border-bottom-left-radius: 15px;width: 180px;transform: translateX(120px);transition: transform 0.3s ease;cursor: pointer;gap: 25px !important;}
a.quote_btn:hover {transform: translateX(0);background-color: #014674;color: #fff;box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;}
a.quote_btn .fl-photo-content.fl-photo-img-png img {filter: invert(20%) sepia(60%) saturate(1900%) hue-rotate(171deg) brightness(62%) contrast(110%);position: relative;left: 2px;}
a.quote_btn:hover .fl-photo-content.fl-photo-img-png img {filter: brightness(0) invert(1);}
@media (max-width: 767px) {
  .callback-side-buttons,
  .quote_btn {
    display: none !important;
  }
}

/* Rappel gratuit - formulaire GF #5 (rangée globale « Nous sommes à votre service ») */
body .gform_wrapper.pojd-callback_wrapper{margin:0}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback{display:flex;justify-content:center;align-items:flex-start;gap:10px}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_body,
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_footer{margin:0;padding:0}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_fields{display:block}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gfield{margin:0;padding:0}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback input[type="tel"]{
  width:183px;height:42px;margin:0;padding:0 15px;
  border:1px solid #014674;border-radius:10px;background:#fff;box-shadow:none;
  color:#014674;font-family:Lato,sans-serif;font-size:18px;font-weight:700;line-height:40px;text-align:center}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback input[type="tel"]::placeholder{color:#757575;opacity:1}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback input[type="tel"]:focus{outline:2px solid rgba(1,70,116,.25);outline-offset:1px}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_footer .gform_button{
  width:42px;height:42px;min-height:0;margin:0;padding:0;
  border:0;border-radius:10px;cursor:pointer;
  font-size:0;line-height:0;color:transparent;
  background:#014674 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2a9 9 0 0 1 9 9'/%3E%3Cpath d='M13 6a5 5 0 0 1 5 5'/%3E%3Cpath d='M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384'/%3E%3C/svg%3E") center/20px 20px no-repeat}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_footer .gform_button:hover{opacity:.85}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gfield{position:relative}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gfield_validation_message,
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .validation_message{position:absolute;top:calc(100% + 6px);left:0;width:235px;margin:0;padding:4px 8px;font-size:13px;line-height:1.4;text-align:center;z-index:2}
body .gform_wrapper.pojd-callback_wrapper .gform_validation_errors{display:none}
body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform_ajax_spinner{position:absolute;margin:12px 0 0 8px}
body .pojd-callback_wrapper .gform_confirmation_message{color:#014674;font-weight:700;text-align:center}
/* Fin Rappel gratuit */

/* Cookies : bouton flottant SEOPress discret, masqué en mobile et tablette (lien dans le footer) */
.seopress-edit-choice #seopress-user-consent-edit {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: none;
  border-radius: 20px;
  opacity: .85;
}
.seopress-edit-choice #seopress-user-consent-edit:hover {
  opacity: 1;
}
@media (max-width: 921px) {
  .seopress-edit-choice { display: none !important; }
}

/* Callback form - mobile */
@media (max-width: 768px) {
  body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gform-body { flex: 1 1 auto; min-width: 0; }
  body .gform_wrapper.pojd-callback_wrapper form.pojd-callback .gfield input { width: 100% !important; max-width: 100%; }
}

/* Carousels - disable zoom effect on mobile */
@media (max-width: 768px) {
  .pp-image-carousel .swiper-slide,
  .pp-image-carousel .swiper-slide-active,
  .pp-image-carousel .swiper-slide-prev,
  .pp-image-carousel .swiper-slide-next {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .pp-image-carousel .swiper-slide img,
  .pp-image-carousel .swiper-slide-active img {
    margin-top: 0 !important;
  }
}

/* Carousels - overlap on coloured column (large screens and desktop only) */
@media (min-width: 993px) {
  html body .fl-col-group > .fl-col:last-child:not(:first-child) .fl-module.fl-module-pp-image-carousel:not(.fl-node-o8p2d7axwzt5) {
    position: relative !important;
    left: -56px !important;
    width: min(722px, calc(100% + 56px)) !important;
    min-width: 0 !important;
  }
  html body .fl-col-group > .fl-col:first-child:not(:last-child) .fl-module.fl-module-pp-image-carousel:not(.fl-node-o8p2d7axwzt5) {
    position: relative !important;
    left: 0 !important;
    width: min(722px, calc(100% + 56px)) !important;
    min-width: 0 !important;
  }
}

/* Mention RGPD sous le champ téléphone (modale de rappel) */
.gform_wrapper .gfield_description:has(a[href*="politique-de-confidentialite"]) {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
  padding-top: 0;
  text-align: center;
}
.gform_wrapper .gfield_description a[href*="politique-de-confidentialite"] {
  color: #014674;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Menu burger jusqu'à 1200 px (avec le snippet astra_header_break_point) */
.ast-header-break-point #ast-desktop-header { display: none; }

/* Réalisations : filtres en liste déroulante (tablette, mobile) alignés sur le bouton */
@media (max-width: 768px) {
	.fl-node-ipavf0g83x6l .pp-gallery-filters { margin-left: 0; }
}
