.notransition {
	transition: none !important;
}

.slider {
	display: block;
	position: relative;
}

.slider .slides {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.slider .slides > * {
	display: flex;
    position: relative;
	transition: transform 1.2s cubic-bezier(0.6,0,0.4,1);
    z-index: 1;

    -webkit-backface-visibility: hidden;
    -webkit-transform-style: preserve-3d;
}

.slider .slides.touch > * {
	transition: transform 0.4s cubic-bezier(0,0.6,0.4,1);
}

.slider .slides > * > * {
	display: block;
	position: relative;
    z-index: 2;
}

.slider li img, 
.slider li picture img,
.slider article img, 
.slider article picture img {
	width: 100%;
	height: 100%;
    object-fit: cover;
}

.slider.fadein .slides > * {
	display: block;
}

.slider.fadein .slides > * > * {
	display: block;
	position: absolute;
    opacity: 0;
	transition: opacity 1.2s linear;
    z-index: 10;
}

.slider.fadein.init .slides > * > *:nth-child(1) {
    opacity: 1;
}

.slider.fadein .slides > * > *.active,
.slider.zoomin .slides > * > *.active {
    opacity: 1;
    z-index: 20;
}

.slider.fadein li.transition {
    transition: opacity linear 1.2s;
}

.slider.zoomin li picture {
    overflow: hidden;
    transition: transform 0s 1.2s linear;
}

.slider.zoomin li.active picture {
    transform: scale(1.05);
    transition: transform 8s 0s linear;
}

.slider.pan li picture {
    transform: scale(1.15);
    transform-origin: left center;
}

.slider.pan li.transition picture {
    transform-origin: right center;
    transition: transform-origin linear 6.2s 0s;
}

.slider .ctrl-arr {
    display: none;
    justify-content: space-between;
	position: absolute;
    width: calc(100vw - (var(--page-margin) * 2));
	left: var(--page-margin);
	top: 50%;
	transform: translateY(-50%);
	z-index: 20;
}

.slider .ctrl-arr.show {
    display: flex;
}

.slider .ctrl-arr button {
	display: block;
	width: clamp(min(36px, (36 / 414) * 100vw), (80 / 1400) * 100vw, 80px);
	height: clamp(min(27px, (27 / 414) * 100vw), (60 / 1400) * 100vw, 60px);
	background: rgba(var(--color-orange-2),0.8) url("../images/ico-arrow-slideshow.svg") center center no-repeat;
	background-size: clamp(min(24px, (24 / 414) * 100vw), (50 / 1400) * 100vw, 50px) auto;
}

.slider .ctrl-arr button:disabled {
    pointer-events: none;
    opacity: 0.2;
}

.slider .ctrl-arr button[data-dir="next"] {
    transform: scaleX(-100%);
}

.slider .ctrl-bts {
    display: none;
}

.slider .ctrl-bts.show {
    display: flex;
    flex-flow: row wrap;
    column-gap: 15px;
}

.slider .ctrl-bts button {
	display: block;
	width: 15px;
	height: 15px;
	background-color: rgb(var(--color-beige-3));
	padding: 0;
	transition: background-color 0.4s;
}

.slider .ctrl-bts button.ctrl-bt-on {
	background-color: rgb(var(--color-khaki-1));
}

.slider .slider-status {
    display: none;
	color: rgb(0,0,0);
	font-size: 16px;
	line-height: 1.2em;
}

.slider .slider-status.show {
    display: block;
}

.slider .box-shadow {
	display: none;
}

figcaption {
	display: none;
}

figure figcaption {
	display: block;
}


/*************************************
	Header
 *************************************/


section.header .slider .slides,
section.header .slider .slides li,
section.header .slider .slides picture {
	display: block;
	width: 100vw;
    height: var(--header-img-h);
}

section.header .slider .slides:after {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	background: rgba(var(--color-blue),0.4);
	z-index: 10;
}


/*************************************
	Inline
 *************************************/


.slider.inline {
	width: 100vw;
}

section.header  .slider.inline .slides {
	width: 100vw;
}

section.header .slider.inline .slides li,
section.header .slider.inline .slides picture,
section.header .slider.inline .slides img {
	display: block;
	width: auto;
    height: var(--header-img-h);
}

section.header .slider.inline .ctrl-bts {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	column-gap: min(50px, (50 / var(--base-w)) * 100vw);
	max-width: calc(var(--base-w) * 1px);
	position: relative;
    margin: 0 auto;
	padding: 0 var(--page-margin);
	z-index: 10;
}

section.header .slider.inline .ctrl-bts button {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	position: relative;
	width: auto;
	height: auto;
	background-position: center min(100px, (100 / var(--base-w)) * 100vw);
	background-repeat: no-repeat;
	background-size: min(150px, (150 / var(--base-w)) * 100vw) auto;
	padding-top: calc((276 / 345) * min(150px, (150 / var(--base-w)) * 100vw) + min(100px, (100 / var(--base-w)) * 100vw));
	padding-bottom: min(100px, (100 / var(--base-w)) * 100vw);
}

section.header .slider.inline .ctrl-bts button:nth-child(1) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-gym.svg");	
}

section.header .slider.inline .ctrl-bts button:nth-child(2) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-espace-lounge.svg");	
}

section.header .slider.inline .ctrl-bts button:nth-child(3) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-salle-etudes.svg");	
}

section.header .slider.inline .ctrl-bts button:nth-child(4) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-cubicules.svg");	
}

section.header .slider.inline .ctrl-bts button:nth-child(5) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-salle-de-jeux.svg");	
}

section.header .slider.inline .ctrl-bts button:nth-child(6) {
	background-image: url("../upload/images/ico-accueil-caracteristiques-terrasse.svg");	
}

section.header .slider.inline .ctrl-bts button:before {
	content: "";
	display: block;
	position: absolute;
	width: 100%;
	height: min(12px, (12 / var(--base-w)) * 100vw);
	left: 0;
	top: max(-6px, (-6 / var(--base-w)) * 100vw);
	background: rgb(var(--color-green));
	transform: scaleX(0);
	transform-origin: right top;
	transition: transform 0.4s cubic-bezier(0.25,0.25,0.25,1);
}

section.header .slider.inline .ctrl-bts button.ctrl-bt-on:before {
	transform: scaleX(1);
	transform-origin: left top;
	transition-delay: 0.4s;
}

section.header .slider.inline .ctrl-bts button:after {
	display: block;
	position: relative;
	color: rgb(var(--color-white));
	font-size: clamp(24px, (30 / var(--base-w)) * 100vw, 30px);
	line-height: calc((36 / 30) * 1em);
	margin-top: calc((40 / 30) * 1em);
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(1):after {
	content: "Gym tout équipé";
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(2):after {
	content: "Espace lounge";
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(3):after {
	content: "Salle d'études";
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(4):after {
	content: "Cubicules et salles de rencontre";
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(5):after {
	content: "Salle de jeux";
}

body.fr section.header .slider.inline .ctrl-bts button:nth-child(6):after {
	content: "Terrasse";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(1):after {
	content: "Fully equipped gym";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(2):after {
	content: "Lounge area";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(3):after {
	content: "Study room";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(4):after {
	content: "Individual cubicles and team meeting areas";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(5):after {
	content: "Game room";
}

body.en section.header .slider.inline .ctrl-bts button:nth-child(6):after {
	content: "Terrace";
}

@media screen and (max-width: 960px) {
	section.header .slider.inline .ctrl-bts {
		padding-bottom: 80px;
		overflow: hidden;
	}
	section.header .slider.inline .ctrl-bts button {
		/*display: flex;
		flex-flow: column nowrap;
		align-items: center;
		position: relative;
		width: auto;
		height: auto;
		background-position: center min(100px, (100 / var(--base-w)) * 100vw);
		background-repeat: no-repeat;
		background-size: min(150px, (150 / var(--base-w)) * 100vw) auto;
		padding-top: calc((276 / 345) * min(150px, (150 / var(--base-w)) * 100vw) + min(100px, (100 / var(--base-w)) * 100vw));
		padding-bottom: min(100px, (100 / var(--base-w)) * 100vw);*/
		background-size: 100% auto;
	}
	section.header .slider.inline .ctrl-bts button:after {
		position: absolute;
		width: 50vw;
		left: 0;
		font-size: max(14px, (18 / var(--base-w-mobile)) * 100vw);
		text-align: left;
		margin-top: calc((40 / 18) * 1em);
	}
	section.header .slider.inline .ctrl-bts button:nth-child(n+4):after {
		left: auto;
		right: 0;
		text-align: right;
	}
	section.header .slider.inline .ctrl-bts button:after {
		display: none;
	}
	
	section.header .slider.inline .ctrl-bts button.ctrl-bt-on:after {
		display: block;
	}
	/*.slider.inline .slides {
		width: calc(100vw + ((var(--page-margin) - (100vw - (var(--page-margin) * 2))) * -1));
		margin-left: calc(var(--page-margin) - (100vw - (var(--page-margin) * 2)));
	}
	
	.slider.inline .slides li,
	.slider.inline .slides picture {
		width: calc(100vw - (var(--page-margin) * 2));
		height: calc(100vw - (var(--page-margin) * 2));
	}*/
}