/* SLIDER STRUCTURE */

#slider {
	box-sizing: border-box;
	width: 100%;
	height: 24.1em;
	border: .4em solid #f7f7f7;
	background: #000;
	box-shadow: .09em .09em .5em rgba(0, 0, 0, .6);
	margin-top: 2em;
	overflow: hidden;
	position: relative;
	border-radius: .4em;
}
/* HIDE ALL OUTSIDE OF THE SLIDER */
/*#mask {
	overflow: hidden;
	height: 23.3em;
}*/
/* IMAGE LIST */
#slider ul {
	position: relative;
}
.slider-li {
	width: 100%;
	height: 23.4em;
	position: absolute;
	top: -23.8em;
}
.slider-li #p1 {
	z-index: 0;
	top: 0;
}
.slider-img {
	width: 100%;
	height: 100%;
/*    object-fit: cover;*/
}
.slider-tooltip {
	width: 27em;
	height: 5em;
	position: relative;
	bottom: 6em;
	left: -28em;
	/*si animation pas prise en charge*/
	background: rgba(255, 255, 255, .75);
	box-shadow: .2em .2em .4em rgba(0, 0, 0, .7);
	-webkit-transition: all .3s ease-in-out;
	-moz-transition: all .3s ease-in-out;
	transition: all .3s ease-in-out;
}
.slider-h3 {
	color: #47372C;
	text-align: center;
	font-size: 2em;
	font-style: italic;
	letter-spacing: .01em;
	font-weight: 300;
	line-height: 2.5em;
	padding: 0;
	margin: 0;
}
.slider-a {
	text-decoration: none;
}
/*#slider a{color:#47372C;text-decoration:none}
#slider a:hover{color:#F57A01;}*/

.slider-li:hover .slider-tooltip{
	left: .9em;
}
/*7s par image sauf pour la premiere (8s), in 1s, expo 6s, out 1s, 1s = 2%*/

@keyframes cycle1 {
	0% {
		top: 0;
	}
	/*debut a -2 : visible*/
	100%, 12% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	14% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*exit*/
	15% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	98% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
}

@keyframes cycle2 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 12*/
	12% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	14%, 26% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	28% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/* exit*/
	29% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	100% {
		top: -23.8em;
		opacity: 0;
	}
}

@keyframes cycle3 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 26*/
	26% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	28%, 41% {
		top: 0;
		opacity: 1;
	}
	/*enter*/
	43% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/* exit*/
	44% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	100% {
		top: -23.8em;
		opacity: 0;
	}
}

@keyframes cycle4 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 41*/
	41% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	43%, 55% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	57% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*exit*/
	59% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	100% {
		top: -23.8em;
		opacity: 0;
	}
}

@keyframes cycle5 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 55*/
	55% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	57%, 69% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	71% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*exit*/
	72% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	100% {
		top: -23.8em;
		opacity: 0;
	}
}

@keyframes cycle6 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 69*/
	69% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	71%, 84% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	86% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*exit*/
	87% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	100% {
		top: -23.8em;
		opacity: 0;
	}
}

@keyframes cycle7 {
	0% {
		top: -23.8em;
		opacity: 0;
	}
	/*debut a 84*/
	1% {
		top: -23.8em;
		opacity: 0;
		z-index: -1;
	}
	84% {
		top: -23.8em;
		opacity: 0;
		z-index: 0;
	}
	/*enter*/
	86%, 98% {
		top: 0;
		opacity: 1;
	}
	/*visible*/
	100% {
		top: 23.8em;
		opacity: 0;
		z-index: 0;
	}
	/* exit*/
}
#p1 {
	-webkit-animation: cycle1 50s infinite;
	-moz-animation: cycle1 50s infinite;
	animation: cycle1 50s infinite;
}
#p2 {
	-webkit-animation: cycle2 50s infinite;
	-moz-animation: cycle2 50s infinite;
	animation: cycle2 50s infinite;
}
#p3 {
	-webkit-animation: cycle3 50s infinite;
	-moz-animation: cycle3 50s infinite;
	animation: cycle3 50s infinite;
}
#p4 {
	-webkit-animation: cycle4 50s infinite;
	-moz-animation: cycle4 50s infinite;
	animation: cycle4 50s infinite;
}
#p5 {
	-webkit-animation: cycle5 50s infinite;
	-moz-animation: cycle5 50s infinite;
	animation: cycle5 50s infinite;
}
#p6 {
	-webkit-animation: cycle6 50s infinite;
	-moz-animation: cycle6 50s infinite;
	animation: cycle6 50s infinite;
}
#p7 {
	-webkit-animation: cycle7 50s infinite;
	-moz-animation: cycle7 50s infinite;
	animation: cycle7 50s infinite;
}
#slider:hover li {
	-webkit-animation-play-state: paused;
	-moz-animation-play-state: paused;
	animation-play-state: paused;
}