/*
* Special home Design
*/

.subsection-full{
	padding-left: 0;
	padding-right: 0;
}

.home-encart{
	padding : 1.5rem 1rem 1rem;
	background-color : var(--primary);
	color : #fff;
	text-align: center;
}

.home-encart a{
	color : #fff!important;
}


/* 
* Rhinoplasty detail
*/
#home-section6 .subsection-0{
	margin-bottom:1.5rem!important;
}

#home-section8 .content>.row{
	filter: drop-shadow(var(--shadow));
}

#home-section8 .subsection-0 h2:after{
	color: var(--primary);
	box-shadow: 1px 1px 2px rgba(255,255,255,.3);
}

.encart-content .page-content{
	height:100%;
	padding : 2rem 1.5rem;
}

.encart-content.encart-white .page-content{
	background-color: rgba(255,255,255,.85);
}

.encart-content.encart-primary .page-content{
	background-color: var(--primary);
	color : #fff;
	box-shadow: var(--shadow);
}

.encart-content.encart-info .page-content .Icon{
	float: left;
	margin-left: -15px;
	margin-right : 10px
}

.encart-content.encart-info a{
	display: inline-block;
	margin-top : .5rem;
}



.encart-img-left .entry-content,
.encart-img-left .entry-content p{
	margin:0!important;
	height:100%;
	width:100%;
}

.encart-img-left .entry-content p>img{
	object-fit:cover;
	width:100%;
	height:100%;
}


/* 
* Avis 
*/

.review-section{
	background-color: var(--primary);
	background-blend-mode: soft-light;
	box-shadow: inset 0 10px 10px -10px rgba(0,0,0,.5),inset 0 -10px 10px -10px rgba(0,0,0,.5);
}

.review-section h2,
.review-section h2:after{
	color: #fff!important
}

.gg-review{
	padding : 0 25px;
}

.gg-review-slider .slick-prev {
    left: 0
}

.gg-review-slider .slick-next {
    right: 0
}

.gg-review-slider blockquote{
	padding: 50px 30px 30px;
	box-shadow: var(--shadow)
}

.gg-review-slider blockquote .gg-review-content{
	display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
	margin-bottom: 1.5em;
}

.gg-review .stars.rating i{
	padding : 0 2px;
}

.blockquote-footer .h3:after {
    content: "\00A0\2014";
	font-size : .8rem;
}

.gg-review-slider blockquote:before {
	color: var(--secondary);
	opacity : 1;
}

.gg-review-slider .slick-track{
	perspective: 1000px;
	perspective-origin:center center;
}

.gg-review-slider .slick-slide{
	transform-origin : right center;
	transform : rotateY(-10deg);
	opacity : .7;
	transition : .25s;
}

.gg-review-slider .slick-slide.slick-current{
	opacity : 1;
	transform : rotateY(0);
}

.gg-review-slider .slick-slide.slick-current + .slick-slide{
	transform-origin : left center;
	transform : rotateY(10deg);
}

/*
* Intervention Section
*/

.intervention-thumbnail{
	display : flex;
	flex-direction : column;
	height : 100%;
	padding : 30px 20px;
	background-size: cover;
	background-position: left center;
	box-shadow: var(--shadow);
	margin-right: var(--row-margin);
    margin-left: var(--row-margin);
	max-width : calc(100% + 2 * var(--col-padding))!important;
	width : calc(100% + 2 * var(--col-padding))!important;
}

.intervention-thumbnail p{
	margin-top : auto;
}

.intervention-thumbnail h3,
.intervention-thumbnail li:before,
.intervention-thumbnail a{
	color : #fff!important;
}

.intervention-thumbnail h3,
.intervention-thumbnail li{
	text-shadow: 1px 1px 3px rgba(0,0,0,.5)
}

.intervention-thumbnail ul{
	min-height: 6em;
}

.intervention-thumbnail.seins{
	background-image: url(https://www.rhinoplastie-ultrasonique.net/wp-content/uploads/2022/01/Seins-1.jpg);
}

.intervention-thumbnail.silhouette{
	background-image: url(https://www.rhinoplastie-ultrasonique.net/wp-content/uploads/2022/01/silhouette-scaled.jpg);
}

.intervention-thumbnail.autre{
	background-image: url(https://www.rhinoplastie-ultrasonique.net/wp-content/uploads/2022/01/autre.jpg);
	
}

.intervention-thumbnail.autre h3:after{
	color: #fff;
}


/*
*	Map section
*/
.maps-section{
	padding-bottom: 0!important;	
}

.maps-section .subsection-full{
	margin-bottom:0!important;
}

.maps-section #maps-container {
	margin-bottom : 0
}

.maps-section .acf-map {
    height: 400px;
}

.infos-pratiques .card{
	height: 100%;
}



@media(min-width:768px){
	/* 
	* General Sections
	*/
	.home-section:not(:last-of-type){
		padding-top: 5rem!important;
		padding-bottom: 2rem!important;
	}

	.subsection-none:not( .subsection-full ){
		padding-left: 30px;
		padding-right : 30px
	}

	
	.home-encart{
		padding : 1.5rem 3rem 1rem;
	}
	
	.encart-content .page-content{
		padding : 3rem;
	}
	
	/* 
	* Rhinoplasty section
	*/
	.rhinoplasty-section{
		padding-top : 6rem!important;
		padding-bottom : 6rem!important;
	}
	
	/* 
	* Avis 
	*/
	.gg-review-slider .slick-prev {
		left: calc(20% - 25px);
	}

	.gg-review-slider .slick-next {
		right: calc(20% - 25px);
	}
	
	/*
	* Intervention Section
	*/

	.intervention-section .content>.row{
		display: grid;
		grid-template-columns: repeat(2, 1fr);
	}

	.intervention-section .subsection-0{
		grid-column: 1 / 3;
	}

	

	.intervention-section .subsection-2{
		transform: translate(0%, 10%);		
		margin-left: -5%;
		max-width: 105%;
		width: 105%;
	}

	.intervention-section .subsection-3{
		transform: translate(50%, 10px);
	}

	.intervention-section .subsection:nth-of-type(n+2){
		margin-bottom:0!important
	}

	.intervention-thumbnail{
		padding : 30px 50px;
		margin-left : -30px;
		margin-right : -30px;
		max-width : calc(100% + 60px)!important;
		width : calc(100% + 60px)!important;
	}
	
	.maps-section .subsection-0{
		margin-bottom : 0!important;
	}
	
	.infos-pratiques{
		position: absolute!important;
		top : 70px;
		z-index:100;
	}
	
	.infos-pratiques .encart{
		flex: 0 0 365px;
		max-width: 365px;
	}
	
	.maps-section .acf-map {
		height: 800px;
	}

}

@media(min-width:1024px){
	.encart-img-left,
	.encart-img-left .entry-content{
		padding-right:0!important;
	}

	.encart-img-left+.encart-content{
		padding-left:0;
	}
	
	.infos-pratiques {
		position: absolute!important;
		top: 150px;
		z-index: 100;
	}
	
	.maps-section .acf-map {
		height: 700px;
	}
}

@media(min-width:1200px){
	.intervention-section .content>.row{
		grid-template-columns: repeat(3, 1fr);
		margin-bottom:2rem;
	}
	
	.intervention-section .subsection-0{
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		padding-right: 60px;
		max-width: 550px;
		justify-self: end;
		align-self: center;
		margin-bottom:0!important
	}
	
	.intervention-section .subsection-1{
		transform: translate(0%, -10%);
	}
	
	.intervention-section .subsection-2{
		transform: translate(0%, 10%);
	}
	
	.intervention-section .subsection-3{
		transform: translate(20%, 0px);
	}
	
	/*
	* Info Section
	*/
	
	.infos-pratiques .encart{
		flex: 0 0 400px;
		max-width: 400px;
	}
}

@media(min-width:1400px){
	.infos-pratiques {
		margin-left: 4%;
	}
}

@media(max-width:1023px){
	.encart-img-left ,
	.encart-img-left .entry-content p>img{
		margin-bottom : 0!important;
	}
	
	.infos-pratiques .encart.infos{
		margin-bottom : 2rem;
	}
	
	.infos-pratiques .card-img-top{
		display : none;
	}
}

@media(max-width:767px){
	
	
	.gg-review .blockquote-footer{
		text-align: center;
	}
	
	.gg-review .blockquote-footer .h4{
		display: block;
		text-align: center;
		margin-top : 1rem;
	}
	
	.intervention-section .subsection:not(.subsection-0){
		margin-bottom:.5rem!important
	}
}

@media(min-width:768px) AND (max-width:1023px){
	.infos-pratiques .encart.infos{
		margin-right: 50%;
	}
}