/* @override 
	https://vignerons.image.ac/salon/assets/css/diapodownload.css
	http://cabinet-dentaire-clunisois.image.ac/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 */

.owl-item {
	perspective: 500px;
}

.photographie {
	transition: transform 1s;
	transform-style: preserve-3d;
}
.owl-item.active.flipMe .photographie {
	transform: rotateY( 180deg ) scale(1);
	transition: transform 0.5s;	
}
.flipCardTitle {
	display: block;
	position: absolute;
	top: 80%;
	background-color: rgba(255, 255, 255, 0.86);
	opacity: 0;
	padding: 0 10px;
	
	transition: opacity .3s ease-in-out 0s;
}
div.photographie > img + .flipCardTitle:hover,
div.photographie > img:hover + .flipCardTitle:hover,
div.photographie > img:hover + .flipCardTitle {
	opacity: 1;
	transition: opacity .3s ease-in-out 1s;

}

div.photographie > img {
	  backface-visibility: hidden;
	  cursor: pointer;
}
em.imageOptions {
	  backface-visibility: hidden;
	  cursor: pointer;
}

em.imageOptions {
	transform: rotateY( 180deg ) scale(1);
	box-shadow: 0 0 15px rgba(0,0,0,0.1);  

	background-color: rgba(0, 0, 0, .8);
	color: white;
	padding: 15px;
	font-style: normal;
	text-align: center;
	
	position: absolute;
	
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
		
}
em.imageOptions em.fond_img {
	display: block;
	position: absolute !important;
	top: 0; right: 0; bottom: 0; left: 0;
	background-image: inherit;
	background-size: cover;
	opacity: .2;
	transform: scale(-1, 1);
	filter: blur(3px);

	min-width: 80%;
	min-height: 80%;
}

em.imageOptions p {
	display: block;
	width: 100%;
	float: none;
	clear: both;
}

em.imageOptions > * {
	display: block;
	position: relative;
}
em.imageOptions a {
	text-decoration: underline;
}
em.imageOptions a:hover {
	color: white;
}

em.imageOptions .numero {
	/* Le numéro dans la flip card (derrière) */
	position: absolute;
	top: 10px;
	left: -15px;
	font-weight: bold;
	opacity: .1;
	
	font-size: 150px;
	line-height: 50%;
	letter-spacing: -15px;
}

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: 0;
	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: 20%;
	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: 20%;
	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;*/
	line-height: 50px;
}
.italienne .owl-nav button.owl-prev span {
	text-align: right;
}
.italienne .owl-nav button.owl-next span {
	text-align: left;
}
.owl-nav button.owl-prev span,
.owl-nav button.owl-next span {
	transform: scale(1);
	transform-origin: 50% 50%; 
	transition: transform .9s, background .3s, border 1.2s;
	border: 1px solid #FFF;

}
.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);
	transition: transform .2s, background .3s border 0s;
}

.owl-nav button.owl-prev span.keyup,
.owl-nav button.owl-next span.keyup {
	transform: scale(1.5);
	background-color: rgba(255, 255, 255, 0.9);
	transition: transform .2s, background .3s border 0s;
	border: .5px solid #333;
}
.owl-nav button.owl-prev:active span,
.owl-nav button.owl-next:active span {
	border: .5px solid #000;
	transition: transform .2s, background .3s border 0s;
}




/* 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: 150px;
	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;
	
	border: 1px dashed #333;
	width: 290px;
}
a.dl small {
	display: block;
	font-size: 80%;
}
a.dl:hover {
	background-color: rgba(0,0,0,0.3);
	transition: background-color 0.3s, color 0.3s;
	color: white;
}
span.zip_commentaire {
	font-size: 80%;
	display: block;
	text-decoration: none !important;
	color: black;
	padding-top: 5px;
	padding-bottom: 5px;
	font-style: italic;
}
a:hover span.zip_commentaire {
	text-decoration: none !important;
	color: white;
}
.tableLumineuse {
	background-color: gray;
	min-height: 100px;
}


/* Planche Contact */
section {
	text-align: center;
	display: block;
}
/*.iconPlanchContact {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 63px;
	height: 63px;
	margin: auto;
	
	transform: scale(.5);
	transform-origin: 50% 100%;
	transition: transform .6s ease-in-out 0s;
}
a:hover .iconPlanchContact {
	transform: scale(.75);
	transition: transform .3s ease-in-out 0s;
}
.iconPlanchContact em {
	border: 1px solid gray;
	display: block;
	width: 20px; height: 20px;
	border-radius: 1px;
}*/


/* Icone de la planche contact */
a.jsToPlancheContact {
	display: block;
	padding-top: 10px;
	padding-bottom: 10px;
	
	color: white;
	transition: color .9s ease-in-out 0s;
}
a.jsToPlancheContact:hover {
	color: #64a6ea;
	transition: color .2s ease-in-out 0s;
}

span.iconPlancheContact {
	display: flex;
	flex-wrap: wrap;
	align-content: flex-end;
	justify-content: center;
	
	width: 12px;
	height: 25px; 
	padding-bottom: 10px;
	margin: auto;
	
	transition: width .2s ease-in-out 0s;
}
span.iconPlancheContact em {
	display: block;
	background-color: black;
	width: 3px;
	height: 3px;
	margin: 1px 1px 0 0;
	
	transition: margin .2s ease-in-out 0s;
}
a:hover span.iconPlancheContact {
	width: 15px;
	transition: width .2s ease-in-out 0s;
}
a:hover span.iconPlancheContact em {
	margin: 2px 2px 0 0;
	transition: margin .2s ease-in-out 0s;
}
/* Fin de l'icone de la planche contact */




#plancheContact {
	display: flex;
	position: relative;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	
	width: 116px;
	height: 116px;
	overflow: hidden;
	margin: auto auto 5px;
	transform: scale(.3);
	transform-origin: 50% 100%;
	
	transition: 
		transform .6s ease-in-out 0s,
		opacity .6s ease-in-out 0s;
		
	opacity: 0;
}
#plancheContact .plancheContactImg {
	display: block;
	position: relative;
	width: 40px;
	height: 40px;
	
	margin: 0;

	border-radius: 1px;
	box-shadow: 0 0px 1px rgba(0, 0, 0, 0.1);
	border: 1px solid #FFF;

	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	
	transform: scale(1);

	transition: 
		transform .15s ease-in-out 0s, 
		box-shadow .3s ease-in-out 0s, 
		width .3s ease-in-out 0s, 
		height .3s ease-in-out 0s, 
		margin .3s ease-in-out 0s;
}
#plancheContact .plancheContactImg {
	/* Curiosité */
	width: 0px;
	height: 0px;
}
#plancheContact .plancheContactImg:nth-child(1),
#plancheContact .plancheContactImg:nth-child(2),
#plancheContact .plancheContactImg:nth-child(3),
#plancheContact .plancheContactImg:nth-child(4),
#plancheContact .plancheContactImg:nth-child(5),
#plancheContact .plancheContactImg:nth-child(6),
#plancheContact .plancheContactImg:nth-child(7),
#plancheContact .plancheContactImg:nth-child(8),
#plancheContact .plancheContactImg:nth-child(9),
#plancheContact .plancheContactImg:nth-child(10) {
	width: 30px;
	height: 30px;
}
a#jsClosePlancheContact {
	position: fixed;
	top: 1px;
	right: 1px;
	font-size: 30px;
	color: white;
	background-color: black;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-decoration: none;
	z-index: 1000;

	display: none;
}
#plancheContact.plancheContactActive + a#jsClosePlancheContact {
	display: block;
}

#plancheContact.plancheContactActive a#jsClosePlancheContact {
	display: block;
}
#plancheContact.plancheContactActive .plancheContactImg {
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	margin: 0 2px 2px 0;	
    border: 15px solid #FFF;
}

section:hover #plancheContact {
	
/*	transform: scale(1);
	transform-origin: 50% 100%;
	
	transition: 
		transform .3s ease-in-out 0s;*/
}

/* La numérotation des images */
em.imageOptions .numero {
	/* Le numéro dans la flip card (derrière) */
	position: absolute;
	top: 10px;
	left: -15px;
	font-weight: bold;
	opacity: .1;
	
	font-size: 150px;
	line-height: 50%;
	letter-spacing: -15px;
}
legend.numero {
	border: none;
	margin: 0;
}
.photographie legend.numero {
	/* Le numéro posé par dessus une image */
	position: absolute;
	width: auto;
	text-align: right;
	/*top: 50%;*/
	
	right: -5px;
	bottom: 7%;
	font-weight: bold;
	opacity: .1;
	text-shadow: 0 0px 0px #ffffff;

	font-size: 150px;
	line-height: 50%;
	letter-spacing: -15px;
	
	transition: opacity 1s ease-in-out 0s,
	text-shadow 1s ease-in-out 0s;
}
.photographie legend.numero:hover {
	opacity: .9;
	text-shadow: 0 1px 30px #ffffff;
	transition: opacity .2s ease-in-out 0s,	text-shadow .2s ease-in-out 0s;
}
.flipMe .photographie legend.numero {
	/* Quand la flip card et activée */
	opacity: 0;
}

.plancheContactContainer {
	z-index: 10;
	position: relative;
	max-width: 400px;
	margin: auto;
}

.plancheContactImg legend.numero {
	/* Le numéro dans la planche contact */
	color: rgba(0,0,0,.5);
	
	position: absolute;
	width: auto;
	text-align: left;
	
	left: -5px;
	bottom: 0px;
	font-weight: bold;
	
	font-size: 20px;
	line-height: 50%;
	letter-spacing: -1px;

	opacity: 1;
	transform: scale(1) translateX(0);
	transform-origin: 0 100%;

	transition: opacity 1s ease-in-out 0s, transform .2s ease-in-out 0s;
	
	display: none;
}
@media (min-width: 992px) {
	.plancheContactImg legend.numero {
		/*color: white;*/
		font-size: 30px;
		letter-spacing: -2px;
	}
}
#plancheContact.plancheContactActive .plancheContactImg legend.numero {
	display: block;
}

.plancheContactImg:hover legend.numero {
	opacity: .5;
	transition: opacity .2s ease-in-out 0s, transform .1s ease-in-out 0;
	transform: scale(.5) translateX(60px);
}



/* Planche contact active */
#plancheContact.plancheContactActive {
	background-color: white;
	justify-content: center;
	align-content: center;
	
	position: fixed;
	width: auto;
	height: auto;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 30px;
	
	z-index: 10;
	overflow: scroll;
	
	transform: scale(1);
	opacity: 1;
	
	transition: 
		transform .6s ease-in-out 0s,
		opacity .6s ease-in-out 0s;
	
}
#plancheContact.plancheContactActive .plancheContactImg,
#plancheContact.plancheContactActive:hover .plancheContactImg {
		
	width: calc(60vw - 5px);
	height: auto;
	aspect-ratio: 1/1;
	margin: 0 5px 5px 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	background-color: white;
	cursor: pointer;
}
#plancheContact.plancheContactActive .plancheContactImg:hover,
#plancheContact.plancheContactActive:hover .plancheContactImg:hover {
	box-shadow: 0 1px 180px rgba(0, 0, 0, 0.4);
	z-index: 100;
	transform: scale(2);
}
@media (min-width: 500px) {
	#plancheContact.plancheContactActive .plancheContactImg,
	#plancheContact.plancheContactActive:hover .plancheContactImg {
		width: calc(29vw - 5px);
	}
}
@media (min-width: 768px) {
	#plancheContact.plancheContactActive .plancheContactImg,
	#plancheContact.plancheContactActive:hover .plancheContactImg {
		width: calc(20vw - 5px);
	}
}
@media (min-width: 992px) {
	#plancheContact.plancheContactActive .plancheContactImg,
	#plancheContact.plancheContactActive:hover .plancheContactImg {
		width: calc(10vw - 5px);
	}
}






/* 
 *
 *
 *
 *
 * Planche contact avec .dots
 */
 
/*.owl-dots {
	background-color: red;
	display: block;
	height: 50px;
	width: 100%;
}
button.owl-dot {
	background-color: green;
	width: 30px;
	height: 30px;
	display: block;
}*/




/* 
 *
 *
 *
 *
 * Footer
 */

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;
}


/* Footer toujours visible pour la propection */
footer.toujoursVisible {
	display: block;
	position: fixed;
	bottom: 0; left: 0; right: 0;
}