.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 .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 linear 0s 1.2s;
}

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

.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: min(100% + 200px, 100% + (200 / 1920) * 100vw);
	left: max(-100px, (-100 / 1920) * 100vw);
	top: 50%;
	transform: translateY(-50%);
}

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

.slider .ctrl-arr button {
	display: block;
	width: min(55px, (55 / 1920) * 100vw);
	height: min(55px, (55 / 1920) * 100vw);
	transform: scaleY(135%);
}

.slider .ctrl-arr button:after {
    content: "";
    display: block;
    width: min(55px, (55 / 1920) * 100vw);
    height: min(55px, (55 / 1920) * 100vw);
    border-bottom: solid 2px rgba(var(--color-blue),0.3);
    border-left: solid 2px rgba(var(--color-blue),0.3);
    transform: rotate(45deg);
    transform-origin: center center;
}

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

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

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

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

.slider .ctrl-bts button {
	display: block;
	width: clamp(8px, (16 / 1920) * 100vw, 16px);
	height: clamp(8px, (16 / 1920) * 100vw, 16px);
	background-color: rgb(var(--color-blue));
	border-radius: clamp(4px, (8 / 1920) * 100vw, 8px);
	padding: 0;
	transition: background-color 0.4s;
}

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

.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 {
	height: 100vh;
}

section.header .slider .slides {
	position: fixed;
}
section.header .slider .slides, 
section.header .slider .slides picture,
section.header .slider .slides picture img {
	display: block;
    width: 100vw;
	height: 100vh;
}

section.header .slider .ctrl-bts {
    position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 4;
}


/*************************************
	Full
 *************************************/


section:not(.header).full .slider .slides picture,
section:not(.header).full .slider .slides picture img {
	display: block;
	position: relative;
	width: 100vw;
    height: calc((760 / 1920) * 100vw);
}

section:not(.header).full .slider .ctrl-bts {
	justify-content: flex-end;
	padding: clamp(12px, (24 / 1920) * 100vw, 24px) calc((40 / 1920) * 100vw) clamp(12px, (24 / 1920) * 100vw, 24px) 0;
}

@media screen and (max-width: 960px) {
    section:not(.header).full .slider .slides picture,
    section:not(.header).full .slider .slides picture img {
        height: 113.3333vw;
    }
}


/*************************************
	Témoignages
 *************************************/


section.temoignages .slider .slides > div {
	column-gap: min(72px, (72 / 1920) * 100vw);
}

section.temoignages .slider .slides article {
	display: flex;
	flex-direction: column;
}

section.temoignages .slider .slides article > * {
    /*width: min((1920px - 400px - 144px) / 3, (((1920 - 400 - 144) / 1920) * 100vw) / 3);*/
    width: min((1920px - 440px - 144px) / 3, (((1920 - 440 - 144) / 1920) * 100vw) / 3);
}

section.temoignages .slider .slides article figure {
	flex-grow: 1;
	display: flex;
	align-items: flex-end;
}

section.temoignages .slider .slides article picture {
	width: 100%;
}

section.temoignages .slider .slides article picture img {
	width: min(50%, 230px);
	height: auto;
	margin: 0 auto;
}

section.temoignages .slider .ctrl-bts {
	justify-content: center;
	padding: clamp(12px, (24 / 1920) * 100vw, 24px) 0;
}

@media screen and (max-width: 1280px) {
    section.temoignages .slider .slides article > * {
        /*width: calc((((1920 - 400 - 72) / 1920) * 100vw) / 2);*/
        width: calc((((1920 - 440 - 72) / 1920) * 100vw) / 2);
    }
}

@media screen and (max-width: 960px) {
    section.temoignages .slider .slides article > * {
        width: clamp(100vw - 120px, 100vw - ((60 / 375) * 100vw), 100vw - 60px);
    }
}


/*************************************
	Projets
 *************************************/


/*div.projets.lightbox-content .slider .slides ul li {
	background: #FF0000;
}*/

div.projets.lightbox-content .slider {
	flex-grow: 1;
}

div.projets.lightbox-content .slider,
div.projets.lightbox-content .slider .slides,
div.projets.lightbox-content .slider .slides ul,
div.projets.lightbox-content .slider .slides ul li,
div.projets.lightbox-content .slider .slides iframe,
div.projets.lightbox-content .slider .slides picture,
div.projets.lightbox-content .slider .slides picture img {
    height: 100%;
}

div.projets.lightbox-content .slider .slides ul li {
	display: block;
	position: relative;
}

div.projets.lightbox-content .slider .slides ul li iframe,
div.projets.lightbox-content .slider .slides ul li picture {
	display: block;
	position: relative;
	width: max(100vw - 220px, 100vw - ((220 / 1920) * 100vw));
}

div.projets.lightbox-content .slider .slides ul li picture img {
	position: absolute;
	width: 100%;
}

div.projets.lightbox-content .slider .ctrl-arr {
    width: min(100% + 110px, 100% + (110 / 1920) * 100vw);
	left: max(-55px, (-55 / 1920) * 100vw);
    /*width: 100vw;
	left: max(-110px, (-110 / 1920) * 100vw);*/
}

/*div.projets.lightbox-content .slider .ctrl-arr button {
	width: min(110px, (110 / 1920) * 100vw);
	height: min(110px, (110 / 1920) * 100vw);
}*/

div.projets.lightbox-content .slider .ctrl-arr button:after {
	border-color: rgb(var(--color-white));
}

div.projets.lightbox-content .slider .ctrl-bts {
	justify-content: center;
	position: absolute;
	left: 50%;
	bottom: 0;
	border-radius: 9999px;
	padding: clamp(12px, (24 / 1920) * 100vw, 24px);
	transform: translate(-50%, 100%);
	z-index: 4;
}

div.projets.lightbox-content .slider .ctrl-bts button {
	background-color: rgba(var(--color-white), 0.5);
}

div.projets.lightbox-content .slider .ctrl-bts button.ctrl-bt-on {
	background-color: rgba(var(--color-white), 1);
}

@media screen and (max-width: 960px) {
	div.projets.lightbox-content .slider .slides ul li picture {
		width: calc(100vw - 120px);
	}

	div.projets.lightbox-content .slider .ctrl-arr {
		display: none;
	}
	div.projets.lightbox-content .slider .ctrl-bts {
		bottom: clamp(15px, (15 / 375) * 100vw, 30px);
		background: rgba(var(--color-dark-blue),0.5);
		transform: translate(-50%, 0);
	}
}

@media screen and (max-width: 750px) {
	div.projets.lightbox-content .slider .slides ul li picture {
		width: max(375px - 60px, 100vw - ((60 / 375) * 100vw));
	}
}


/*************************************
	Nouvelle
 *************************************/


section.nouvelle-single .slider {
	margin-top: min(55px, (55 / 1920) * 100vw);
}

section.nouvelle-single .slider .slides picture,
section.nouvelle-single .slider .slides picture img {
	display: block;
	position: relative;
	height: auto;
}

section.nouvelle-single.img-full .slider .slides picture,
section.nouvelle-single.img-full .slider .slides picture img {
	width: max(100vw - (440px + 110px), 100vw - (((440 + 110) / 1920) * 100vw));
}

section.nouvelle-single.img-left .slider .slides picture,
section.nouvelle-single.img-left .slider .slides picture img {
	width: max(100vw - (440px + 110px), (100vw - (((440 + 110) / 1920) * 100vw)) * (9 / 12));
	width: calc((100vw - (((440 + 110) / 1920) * 100vw)) * (9 / 12));
}

section.nouvelle-single .slider .ctrl-bts {
	justify-content: flex-end;
	padding: clamp(12px, (24 / 1920) * 100vw, 24px) calc((40 / 1920) * 100vw) clamp(12px, (24 / 1920) * 100vw, 24px) 0;
}

@media screen and (max-width: 960px) {
    section.nouvelle-single .slider {
		margin-top: clamp(30px, (30 / 375) * 100vw, 60px);
	}

	section.nouvelle-single.img-full .slider .slides picture,
	section.nouvelle-single.img-full .slider .slides picture img {
		width: max(100vw - 90px, 100vw - ((90 / 375) * 100vw));
	}
}