/*
Theme Name:  Made by LCF
Theme URI:   https://lecollectiffreelance.fr
Version:     1.0
Description: Thème crée par Le Collectif Freelance
Author:      Le Collectif Freelance
Author URI:  http://lecollectiffreelance.fr/
Template:    Divi
*/


/* Menu 1 */


.fixed-header {transition: padding 0.3s ease-in;}

.fixed-header.onscroll {
  position: fixed !important;
  padding-top: 20px !important;
  /* box-shadow: 0px 0px 11px 0px #828282; */
}

.fixed-header > .et_pb_row {
  /* background-color: rgba(255, 255, 255, 0); */
  transition: background 0.3s ease-in;
}
.fixed-header.onscroll > .et_pb_row {
  /* background-color: #ffffff; */
}
.fixed-header.onscroll p, .fixed-header.onscroll a {color: #000;}
/* .fixed-header.onscroll img {transform: scale(0.8);} */


/********************* 
 
	  Slider Parcs
 
 *********************/
.slider-chateaux svg{
  width: 25px;
 }
 /* css slider */
 .slider-chateaux{
  min-height: 800px;
  position: relative;
  width: 100%;
 }
 .slider-chateaux .list .item{
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  opacity: 0;
  transition: .5s;
 }
 .slider-chateaux .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(closest-side, black 70%, transparent 100%);
  mask-image: radial-gradient(closest-side,black 70%, transparent 100%);  
 }
 
 
 /* .slider-chateaux .list .item::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgb(0 0 0 / 40%) 0%, transparent 60%);
  background-image: radial-gradient(transparent, hsl(0deg 0% 100% / 40%));
 } */
 
 
 
 
 
 

 
 
 
 /* On masque les débordements */
 .slider-chateaux .list .item .content {
  color: #353535;
  position: absolute;
  left: 5%;
  top: 30%;
  width: 600px;
  /* max-width: 45%; */
  max-width: calc(80% - 80px);
  z-index: 1;
 }
 .slider-chateaux .list .item .content .description {max-width: 500px;}
 
 .slider-chateaux .list .item .content div {
  display: block;
  overflow: hidden;
  position: relative;
  line-height: 1.8;
  /* text-shadow: 0 0 4px rgb(0 0 0 / 40%); */
 }
 
 .slider-chateaux .list .item .content > div:first-child div {color: #7a2a32;}
 
 
 /* .slider-chateaux .list .item .content h2 {color: #fff;} */
 .slider-chateaux .list .item .content p,
 .slider-chateaux .list .item .content h2 {
  display: block;
  width: 100%; 
  margin: 0;
  color: var(--gcid-heading-color);
 }
.slider-chateaux .list .item .content .divider {
  width: 50px;
  height: 6px;
  background-color: #c7a35c;
  border-radius: 36px;
  margin-bottom: 25px;
}


.slider-chateaux .list .item .content a {
	background-color: #7a2a32;
	color: #e9e5dd;
	font-size: 16px;
	padding: 12px 24px;
	display: inline-block;
	border-radius: 40px;
	margin-top: 28px;
	line-height: 1.7em;
  transition: background 0.2s ease-in;
}

.slider-chateaux .list .item .content a:hover {
	background-color: #c7a35c;
	color: #e9e5dd;
}

 
/* .slider-chateaux .list .item .content a {
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}
.slider-chateaux .list .item.active .content a {transform: translateY(0);} */
 
 
 
 
 
 
 
 
 
 
 
 
 
 /* Effet de sortie : L'ancien texte glisse vers le haut et disparaît */
 .slider-chateaux .list .item.exiting .content p,
 .slider-chateaux .list .item.exiting .content h2,
 .slider-chateaux .list .item.exiting .content a {
  transform: translateY(-100%);
 }
 /* .slider-chateaux .list .item .content a {width: fit-content;} */
 
 
 
 
 
.slider-chateaux .list .item .content:before {
  content: "";
}
 
 
 
 .slider-chateaux .list .item .content p:nth-child(1) {
  font-size: 15px;
  /* text-transform: uppercase; */
  /* letter-spacing: 2px; */
 }
 .slider-chateaux .list .item .content h2 {
  font-size: 52px;
  margin: 0;
 }
 
 .slider-chateaux .list .item .content h2 .line {
  line-height: 1.5;
  vertical-align: top;
 }
 .slider-chateaux .list .item .content h2 .line:not(:first-child) {margin-top: -13px;}
 .slider-chateaux .list .item.active{
  opacity: 1;
  z-index: 10;
 }
 
.slider-chateaux .arrows{
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 25px;
  margin-left: 55px;
}
.slider-chateaux .arrows button {
  background-color: #7a2a32;
  border: none;
  font-family: monospace;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  font-size: x-large;
  color: #e9e5dd;
  transition: .5s;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  border: 1px solid rgb(255 255 255 / 20%);
  cursor: pointer;
  /* box-shadow: rgba(0, 0, 0, 0.3) 0px 25px 50px -12px; */
 }
 .slider-chateaux .arrows button:hover {
  background-color: #c7a35c;
  color: #e9e5dd;
 }

.slider-chateaux #prev:before {
  content: "";
  border-style: solid;
  border-width: 2px 2px 0 0;
  margin-right: -4px;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(-135deg);
}
.slider-chateaux #next:before {
  content: "";
  border-style: solid;
  border-width: 2px 2px 0 0;
  margin-left: -4px;
  display: inline-block;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
} 


 
 
 

.slider-wrapper {
  position: relative;
  height: 100%;
  z-index: 11;
  display: flex;
  gap: 10px;
  margin-left: auto;
  margin-top: auto;
  margin-bottom: auto;
  width: calc(50% + 80px);
  box-sizing: border-box;
  overflow: hidden;
  justify-content: flex-end;
  right: 0;
  padding: 0 0 0 0;
}
 
 
 
.slider-chateaux .thumbnail {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-right: 40px;
  margin-bottom: -50px;
}
 

.slider-chateaux .thumbnail .swiper-wrapper {
  height: fit-content;
}
 
 /* .thumbnail::-webkit-scrollbar{width: 0;} */
 /* .thumbnail .swiper-slide {
  width: 150px;
  height: 100%;
  filter: brightness(.7);
  transition: .5s;
  flex-shrink: 0;
  user-select: none;
 } */
 
 .slider-chateaux .thumbnail .swiper-slide {
	box-shadow: rgba(0, 0, 0, 0.3) 0px 25px 50px -12px;
	border-radius: 24px;
	cursor: pointer;
	border: 12px solid #FFF;
 }
 .slider-chateaux .thumbnail .swiper-slide:first-child {
	margin-left: 40px;
 }
 .slider-chateaux .thumbnail .swiper-slide img:first-child {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  pointer-events: none;
  aspect-ratio: 3 / 4;
  filter: brightness(.5);
  transition: .5s;
 }
 .slider-chateaux .thumbnail .swiper-slide.active img:first-child {
  filter: brightness(1);
 }
 
.slider-chateaux .thumbnail .swiper-slide img.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-width: 60%;
  max-height: 48%;
  object-fit: contain;
  filter: saturate(0);
  transition: transform 0.3s ease-in, filter 0.3s ease-in;
}
 
.slider-chateaux .thumbnail .swiper-slide.swiper-slide.active img.logo {
  filter: saturate(1);
  transform: translate(-50%, -50%) scale(1);
}
 
 
 
 
 .overlay {
  position: absolute;
  top: -2px;
  left: -2px;
  display: block;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
	background-color: hsl(0deg 0% 100% / 80%);
 }
 
 /* .slider-chateaux .thumbnail .swiper-slide .content{
  color: #fff;
  position: absolute;
  text-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
  left: 100%;
  bottom: 0;
  transform-origin: bottom left;
  transform: rotate(-90deg);
  width: 100%;
  padding: 15px 20px;
  font-size: 30px;
  font-family: 'Ogg Roman';
  text-shadow: 0px 0px 15px rgb(0 0 0 / 40%);
 } */
 
 .slider-chateaux .thumbnail .swiper-slide .content {
   background-color: #fff;
   color: #7a2a32;
   border-radius: 16px 0 0 0;
   position: absolute;
   right: -6px;
   bottom: -5px;
   padding: 14px 22px 8px 22px;
   font-size: 16px;
   line-height: 1;
   font-family: var(--et_global_heading_font);
   z-index: 99999;
}
.slider-chateaux .thumbnail .swiper-slide .content:before,
.slider-chateaux .thumbnail .swiper-slide .content:after {
	
}
 
.slider-chateaux .thumbnail .swiper-slide .content:before {
	content: "";
	position: absolute;
	bottom: 5px;
	left: -20px;
	background: transparent;
	width: 20px;
	height: 20px;
	border-bottom-right-radius: 28px;
	box-shadow: 4px 4px 0 4px #fff;
} 
 
.slider-chateaux .thumbnail .swiper-slide .content:after {
	position: absolute;
	content: "";
	top: -1.25rem;
	right: 0.375rem;
	background: transparent;
	width: 1.25rem;
	height: 1.25rem;
	border-bottom-right-radius: 1.25rem;
	box-shadow: 0.313rem 0.313rem 0 0.313rem #fff;
} 



 
 
 
 /* @media screen and (max-width: 678px) {
	.thumbnail{
	  justify-content: start;
	}
	.slider-chateaux .list .item .content h2{
	  font-size: 60px;
	}
	.arrows{
	  top: 10%;
	}
 } */