/* @override 
	https://flora.image.ac/assets/css/diapodownload.css
	https://nath-et-val.image.ac/assets/css/diapodownload.css
	https://photo.image.ac/agriculture/assets/css/diapodownload.css */


body {
	font-family: 'Source Code Pro', monospace;
	font-weight: 200;
	color: black;
}

/* Hack pour extra scroll safari */
html{
margin:0;
padding:0;
overflow: hidden;
}
body{
position: absolute;
width:100%;
height:100%;
overflow: auto;
}

.opa1 {
	opacity: 1;
	transition: opacity 1s ease-in-out 0s;;
}
@media (max-width: 992px) {
	.italienne .opa0 {
		opacity: 0;
		transition: opacity .3s ease-in-out 0s;;
	}
}

#diapodownload {
	padding: 0;
}
header {
	position: absolute;
	top: 8px;
	left: 0;
	right: 0;
}
.italienne header {
}

.francaise header {
	
}
@media (max-width: 992px) {
	.francaise header {
		position: relative;
	}
}

header > * {
	background-color: white;
	padding-right: 10px;
	padding-left: 10px;
	margin: 3px 0 0;
}
h1, h3 {
	font-size: 18px;
	line-height: 30px;
	margin-top: 0;
	font-weight: 200;
}

/* Ajuster le carousel */
#diapoContainer {
	margin: auto;
	background-color: white;
}
.photographie {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	
	position: relative;
	/* Pour les éventuelles légendes et les liens de téléchargement de l'image en cours */
}
.owl-carousel .owl-item img {
	max-height: 100%;
	max-height: 80%;
	/* Max-height c'est à l'appréciation du look, les deux fonctionnent très bien */
	max-width: 100%;
	width: auto;
}

/* Lien pour télécharger la photo en cours */
em.imageOptions {
	background-color: white;
	padding: 15px;
	font-style: normal;
	text-align: center;
	
	position: absolute;
	top: 50%;
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 440px;
	
	box-shadow: 0 1px 22px rgba(0, 0, 0, 0.42);
	
	opacity: 0;
	transition: opacity .3s ease-in-out 0s;
}
em.imageOptions p {
	display: block;
	width: 100%;
	float: none;
	clear: both;
}

div.photographie:hover em.imageOptions {
	opacity: 1;
}

em.imageOptions > * {
	display: block;
}
em.imageOptions a {
	text-decoration: underline;
}

a.downloadOneFile {
	width: 200px;
	cursor: pointer;
	display: block;
	text-align: center;
	cursor: pointer;
	
	height: 150px;
}
/* Icone pour le téléchargement d'une image */
.iconAutoThumbnail {
	display: block;
	width: 100px;
	height: 105px;
	position: relative;
	margin: auto;
	opacity: .9;
	transition: opacity .2s ease-in-out 0s;
}
a:hover > .iconAutoThumbnail {
	opacity: 1;
}

.iconAutoThumbnail img,
.iconAutoThumbnail span {
	max-height: 100px !important;
	max-width: 100px !important;
	
	display: block;
	position: absolute;
	inset:0;
}
span.imgThumbnail {
	/* La photo reprise en petit */
	background-size: cover;
	background-position: center;
	top: 11px;
	left: 18px;
	width: 61px;
	clip-path: polygon(
		0 0, 
		70% 0, 
		70% 10px,
		100% 20px,
		100% 100%,
		0 100%);
	height: 78px;
	/*opacity: .7;*/
	box-shadow: inset 0 1px 15px #000000;
}
span.imgThumbnail::after {
	content: "";
	display: block;
	position: absolute;
	inset:0;
	background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
}

img.iconThumbnail {}
/* Navigation dans le carousel */
.owl-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	
	display: flex;
	justify-content: space-between;
	
	font-size: 50px;
	
	transition: top .3s;
	z-index: 10;
	margin-top: -40px;
}
.francaise .owl-nav {
	transform: rotate(90deg);
	transform-origin: 50% 50%;
	margin-top: -25px;
	position: absolute;
}
@media (max-width: 768px) {
	.francaise .owl-nav {
		margin-left: -35px;
		margin-right: -35px;
	}
}
.italienne .owl-nav button.owl-next {
	min-width: 100px;
	width: 40%;
	text-align: right;
}
.italienne .owl-nav button.owl-next span {
	margin-right: -15px;
	float: right;
}

.italienne .owl-nav button.owl-prev {
	min-width: 100px;
	width: 40%;
	text-align: left;
}
.italienne .owl-nav button.owl-prev span {
	margin-left: -15px;
	float: left;
}
.francaise .owl-nav button.owl-prev,
.francaise .owl-nav button.owl-next {
	min-width: 100px;
}


/* Les flèches de navigation */


/* Masquer les flèches de navigation quand elles passent .disabled */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
	opacity: 1;
	transition: opacity 1s ease-in-out 0s;
}

.owl-nav button.owl-prev.disabled,
.owl-nav button.owl-next.disabled {
	opacity: 0;
}

.owl-nav button.owl-prev span,
.owl-nav button.owl-next span {
	background-color: rgba(255, 255, 255, 0.47);
	width: 50px;
	height: 50px;
	display: inline-block;
	line-height: 42px;
	border-radius: 3px;
}
.italienne .owl-nav button.owl-prev span,
.italienne .owl-nav button.owl-next span {
	text-align: center;
}
.owl-nav button.owl-prev span,
.owl-nav button.owl-next span {
	transform: scale(1);
	transform-origin: 50% 50%; 
	transition: transform .3s, background .3s;
}
.owl-nav button.owl-prev:hover span,
.owl-nav button.owl-next:hover span {
	transform: scale(1.5);
	background-color: rgba(255, 255, 255, 0.9);
	
}


/* Problème de scroll vertical avec owl-carousel sur mobile */
.owl-carousel .owl-stage, .owl-carousel.owl-drag .owl-item {
    -ms-touch-action: auto;
        touch-action: auto;
}


/* Lien de transition entre le diaporama et la zone de lien */

.transition {
	text-align: center;
	display: none;
}
@media (min-width: 768px) {
	.italienne .transition {
		display: block;
	}
}
#jsToZoneLiens {
	text-decoration: none !important;
	margin-top: -70px;
	display: block;
	position: relative;
	z-index: 100;
}
#jsToZoneLiens span {
	opacity: 0;
}
#jsToZoneLiens:hover span {
	opacity: 1;
}

#jsToZoneLiens em {
	color: black;
	font-size: 50px;
	font-style: normal;
	display: block;
	width: 50px;
	height: 50px;
	line-height: 39px;
	margin: auto;
	
	transform: rotate(90deg);
}


/* La zone des liens de téléchargement  */


#zoneLiens {
	display: flex;
	text-align:center;
	justify-content: center;
	flex-wrap: wrap;
	background-color: #edecec;
	margin-top: 50px;
	padding-bottom: 20px;
	padding-top: 20px;
}
h3 {
	padding-right: 10px;
	padding-left: 10px;
	margin: 15px 6px 20px;
	display: block;
	width: 100%;
	
}

a {
	color: #64a6ea;
}

/* Lien pour télécharger un ou plusieurs ZIP */
a.dl {
	padding: 72px 15px 15px;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	background: url(../img/zip-icone.png) center 15px no-repeat rgba(0,0,0,0);
	background-size: auto 50px;
	transition: background-color 0.9s;
	margin-right: 15px;
	margin-left: 15px;
	border-radius: 5px;
	margin-top: 15px;
}
a.dl small {
	display: block;
}
a.dl:hover {
	background-color: rgba(0,0,0,0.3);
	transition: background-color 0.3s, color 0.3s;
	color: white;
}

.tableLumineuse {
	background-color: gray;
	min-height: 100px;
}

footer {
	text-align: center;
}
footer p {}
footer p:first-child {
	padding-top: 20px;
}
footer a {
	color: #000;
}
footer > * {
	text-align: center;
}
@media (min-width: 992px) {
	footer > p {
		display: inline-block;
		width: 200px;
		padding-top: 120px;	
	}
}
footer div.phraseDeFin {
	margin-bottom: 20px;
}