.type_page.block-prestation{
	background-color: var(--gold);
	padding: 10vh 0;
}

.single-prestations .block-prestation{
	background-color: var(--black);
	padding: 10vh 0;
}

.block-prestation .prestation_all{
	text-align: center;
}

.single-prestations .block-prestation .prestation_all{
	padding: 0 2rem;
}

.block-prestation .prestation_all > h3{
	text-align: center;
	color: var(--white);
}

.block-prestation .prestation_all .le_element{
	fill: var(--white);
	width: 3rem;
	margin-bottom: 4rem;
}

.single-prestations .block-prestation .prestation_item{
	text-align: center;
	color: var(--light-gold);
	border: 1px solid var(--gold);
	position: relative;
	margin: 0 1.5vw;
	--box-width: calc(33.33% - 3vw);
	--aspect-ratio: 0.95;
	width: var(--box-width);
	padding-top: calc(var(--box-width) / var(--aspect-ratio));
	transition: all 0.6s ease-in-out;
}

.single-prestations .block-prestation .prestation_item:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	background-color: var(--light-gold);
	transition: all 0.6s ease-in-out;
}

.single-prestations .block-prestation .prestation_item:hover:before{
	opacity: 1;
}

.type_page.block-prestation .prestation_item{
	width: 23%;
}

.prestation_list{
	display: flex;
	justify-content: space-between;
	row-gap: 4rem;
}

.prestation_list .img_window{
	position: relative;
	overflow: hidden;
	z-index:1;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

.prestation_list .img_window:before{
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	opacity: 0;
	background-color: var(--black);
	transition: all 0.6s ease-in-out;
}

.prestation_list .img_window::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: inherit;
	background-size: cover;
	transform-origin: center;
	transition: all 0.6s ease-in-out;
	z-index: -1;
}

.prestation_item:focus .img_window::after, .prestation_item:hover .img_window::after {
  transform: scale(1.05);
}

.prestation_list .prestation_item:hover .img_window:before{
	opacity: 0.5;	
}

.prestation_list .prestation_item{
	position: relative;
}

.prestation_list .prestation_item a.prestation_url{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: 1;
}

.prestation_list .prestation_icon{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	margin: auto;
	pointer-events: none;
	opacity: 0;
	width: 25%;
	transition: all 0.6s ease-in-out;
}

.prestation_list .prestation_item:hover .prestation_icon{
	opacity: 1;
}

.prestation_list .prestation_item h5{
	color: var(--white);
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: all 0.6s ease-in-out;
	text-transform: lowercase;
}

.prestation_list .prestation_item:hover h5{
	color: var(--black);
	text-decoration-color: var(--black);
}

.single-prestations .prestation_list {
	flex-wrap: wrap;
	row-gap: 3vw;
	justify-content: center;
}

.single-prestations .block-prestation .prestation_item .arrow_right{
	position: absolute;
	bottom: 0;
	width: 15%;
	padding-bottom: 7%;
}

.single-prestations .block-prestation .prestation_item .arrow_right .arrow_circle{
	fill:none;
	stroke:var(--light-gold);
	stroke-width:2;
	transition: all 0.6s ease-in-out;
}
.single-prestations .block-prestation .prestation_item .arrow_right .arrow_shape{
	fill:var(--light-gold);
	transition: all 0.6s ease-in-out;
}

.single-prestations .block-prestation .prestation_item:hover{
	border: 1px solid var(--black);
	color: var(--black);
	text-decoration: underline;
}

.single-prestations .block-prestation .prestation_item:hover .arrow_right .arrow_circle{
	stroke:var(--black);
}
.single-prestations .block-prestation .prestation_item:hover .arrow_right .arrow_shape{
	fill:var(--black);
}

.single-prestations .block-prestation .prestation_item a{
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}

.single-prestations .block-prestation .prestation_title{
	position: absolute;
	top: 5%;
	left: 5%;
	right: 5%;
	bottom: 5%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	text-decoration: underline;
	text-decoration-color: var(--black);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.block-editor-inserter__preview-container .block-prestation{
	padding: 2rem 0;
}

.block-editor-inserter__preview-container .block-prestation h3{
	font-size: 1.4rem;
	margin: 0 auto 1rem;
}

.block-editor-inserter__preview-container .block-prestation .le_element{
	width: 2rem;
	margin-bottom: 1rem;
}

.block-editor-inserter__preview-container .block-prestation .prestation_list{
	row-gap: 1rem;
}

.block-editor-inserter__preview-container .block-prestation .prestation_item h5{
	margin: 0.5rem auto;
	font-size: 1rem;
}

.block-editor-inserter__preview-container .block-prestation .prestation_item{
	width: calc(50% - 2rem);
	margin: 0 1rem;
	padding: 0rem 1rem;
}

.block-editor-inserter__preview-container .block-prestation .prestation_item h6{
	margin: 0 auto 1rem;
	font-size: 1rem;
}

.block-editor-inserter__preview-container .block-prestation.type_prestations .prestation_item{
	margin: 0 1rem;
	--box-width: calc(50% - 4rem);
	padding: 0;
	padding-top: calc(var(--box-width) / var(--aspect-ratio));
}

/* ----------- 15 inch Screens ----------- */
@media screen and (min-width: 1681px) {
  .single-prestations .prestation_list {
	  row-gap: 4rem;
  }
  .single-prestations .block-prestation .prestation_item{
	  margin: 0 2rem;
	  --box-width: calc(33.33% - 4rem);
  }
}

/* iPad landscape */
@media screen and (max-width: 1024px) {
	
}
/* iPad Portrait */
@media screen and (max-width: 820px) {
	
}
/* iPhone X landscape */
@media screen and (max-width: 930px) and (orientation : landscape) {
	
}
/* iPhone 12 portrait max */
@media screen and (max-width: 430px) {
	.type_page.block-prestation{
		padding: 5vh 0;
	}
	.prestation_list{
		flex-wrap: wrap;
	}
	.type_page.block-prestation .prestation_item{
		width: 45%;
	}
	.prestation_list .prestation_item h5{
		margin-bottom: 0;
	}
	.single-prestations .block-prestation{
		padding: 5vh 0;
	}
	.single-prestations .block-prestation .prestation_all{
		padding: 0;
	}
	.single-prestations .prestation_list{
		flex-direction: column;
	}
	.single-prestations .block-prestation .prestation_item{
		width: 100%;
		margin: 0;
	}
	.single-prestations .block-prestation .prestation_item h6{
		margin-bottom: 1rem;
		line-height: 1.5;
	}
	.single-prestations .block-prestation .prestation_item .arrow_right{
		position: relative;
		width: 10%;
		padding-bottom: 0;
	}
}