body {
	margin-top: 6px;
	background-color: #1e1e1e;
}

#diaporama
{
	box-sizing: border-box;

	width: 100%;
	box-shadow: 0px 0px 2px #8a8a8a;
	border-radius: 10px;
	background-color: black;
	margin: auto;

	display: flex;
	justify-content: space-between;
	align-items: center;

	position: relative;
}

#message 
{
	width: 40px;
	color: orange;
	position: absolute;
	top: 0px;
	left: 0px;
	margin: 6px;

	z-index: 20;
}

#blocImage
{
	width: 90%;
	height: 98%;
	max-height: 98%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-x: auto;								/* pour le bug lié à internet explorer 11 */	
}

#blocImage img
{
	width: auto;
	height: auto;
	max-height: 100%;
	max-width: 100%;

	opacity: 0;
	animation: opacite 0.6s 0.3s forwards;
}

.fleche
{
	all: initial;
	box-sizing: border-box;
	width: 4%;
	min-width: 45px;
	max-width: 62px;

	opacity: 0.14;
}
.fleche:hover 
{
	opacity: 0.75;
}
.fleche:active {opacity: 1;}

#diaporama * {z-index: 2;}

#infosTableau
{
	box-sizing: border-box;
	width: 98%;

	font-size: 1em;
	color: white;
	padding: 2px;

	text-align: right;

	position: absolute;
	top: 7px;
	left: 1%;

	opacity: 0;

	display: flex;
	justify-content: flex-end;
	align-items: center;		

	animation-name: opacite;
	animation-delay: 0.1s;
	animation-duration: 3s;
	animation-fill-mode: forwards;

	/*border: solid thin red;*/
}

#infosTableau p 
{
	box-sizing: border-box;
	margin: 0px;
	margin-right: 4px;
	max-width: 100%;
}

.dispo_horizontale_short, .dispo_verticale, .dispo_horizontale
{
	box-sizing: border-box;
	margin: 0px;
	padding: 0px;
}

.dispo_horizontale_short, .dispo_verticale
{
	height: 80px;
}

.dispo_horizontale
{
	height: 100%;

	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	
	position: relative;
	left: 4px;

	/*border: solid thin green;*/
}

.dispo_horizontale_short 
{
	padding-bottom: 3px;
	max-width: 130px;

	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	align-content: flex-end;
	flex-wrap: wrap;

	position: relative;
	left: 4px;

	/*border: solid thin blue;*/
}

.dispo_verticale
{
	width: 280px;
	
	padding-top: 3px;

	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	flex-wrap: wrap;

	position: relative;
	top: -42px;
	left: 104px;	

	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
	
	/*border: solid thin pink;*/
}

#iconesAPI
{
	display: flex;
	align-items: baseline;
	position: absolute;
	bottom: 10px;
	left: 14px;

	opacity: 0;

	animation-name: opacite;
	animation-delay: 0.8s;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}

.imgIcon 
{
	width: 23px;
	transition: transform 0.4s;
}
.imgIcon:hover {transform: scale(1.3);}
.shareTwitter 
{
	margin-left: 5px;
	position: relative;
	top: 1px;
}

/*Animations*/
@keyframes opacite
{
	from {opacity: 0;}
	to {opacity: 1;}
}
@keyframes shine
{
	from {box-shadow: none;}
	to {box-shadow: 0px 0px 30px yellow;}
}

/* Media Queries pour Responsive Design */
@media all and (max-width: 1150px)
{
	.dispo_verticale
	{
		height: 60px;
		top: 14px;
		left: 118px;
		flex-direction: row;
		justify-content: flex-end;
	}
	.dispo_verticale p:nth-child(1) {width: 100%;}
}


@media all and (max-width: 800px)
{
	#blocImage
	{
		width: 99%;
		height: 86%;
	}

	.dispo_horizontale
	{
		box-sizing: border-box;
		width: 98%;
		position: relative;
		left: -1%;
		padding: 2px 4px 2px 4px;
	}	

	#infosTableau p {margin-right: 0px;}
	
	.dispo_horizontale p 
	{
		width: 36%;
		text-align: left;
		line-height: 1em;
	}

	.dispo_horizontale p:nth-child(1) {height: 96%;}
	.dispo_horizontale p:nth-child(2) {text-align: right;}
	.dispo_horizontale p:nth-child(3) {width: 100%;text-align: right;}
}

@media all and (max-height: 600px) 
{
	.dispo_verticale
	{
		width: 200px;
		top: -30px;
		left: 77px;
	}
}

@media all and (orientation:portrait)
{
	.fleche:nth-child(2) 
	{
		transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);

		margin: 0px;
	}
	.fleche:nth-child(4) 
	{
		transform: rotate(90deg);
		-ms-transform: rotate(90deg);
		-webkit-transform: rotate(90deg);

		margin: 0px;
	}
}

@media all and (orientation: portrait) and (max-width: 800px)
{
	#diaporama
	{
		flex-direction: column;
		justify-content: space-around;
	}	
}

@media all and (max-width: 375px) and (orientation:portrait)
{
	#infosTableau
	{
		animation: unset;
		opacity: 1;
	}
}