/* On cache les images par défaut */
.mySlides1,
.mySlides2,
.mySlides3,
.mySlides4
{
  display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
	cursor: pointer;
}

/* Conteneur principal */
.container-fleche-image {
	position: relative;
	width: 100%;
}
/* Image originale */
.container-fleche-image .image {
	display: block;
	width: 100%;
	height: auto;
}
/* Texte original affichage des flèches par les symboles < ou > */
.container-fleche-image .text {
	font-size1: 30px;
	line-heigh1t: 1.5em;
	text-shadow: 2px 2px 2px #000;
	text-align: center;
	position: absolute;
	top: 50%;	//-30px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}


/* Next & previous boutons */
.prev,
.next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  margin:6px;
  color: red;
  font-weight: bold;
  font-size: 30px;
  border-radius: 0 3px 3px 0;
}

/*  Ombre "next boutton" vers la droite */
.next {
	border-radius: 3px 0 0 3px;

}

/* On hover, on change la couleur d'arrière plan */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
    color: white;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* 3 columns side by side */
.column {
  float: left;
  width: 33.33%;

padding:8px;
}

.maxi {width:99%}

@media screen and (max-width: 768px) {

	.maxi {width:100%}
	.column {width: 99.0%;padding-left:1px;padding-right:1px}
	
}

/* Add a transparency effect for thumnbail images */
.demo1, .demo2, .demo3, .demo4
{
    border-color1: #C0C0C0;	//#F6EAB9;
	border-width1:2px;
	

}

.active1, .demo1:hover, .demo2:hover, .demo3:hover, .demo4:hover
{
    border-color1: green;
	border-width1:2px;
}

.cf:before,
.cf:after {
  content:"";
  display:table;
}
.cf:after {
  clear:both;
}
.droite {
  float:right;
}

.oModal {

  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
overflow1: auto;
visibility1:hidden;
  display:none;
}



.oModal:target {
  opacity:1;
  pointer-events: auto;


}

.oModal:target > div {

  margin: 1% auto;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
visibility1:visible;
}

.oModal > div {
  max-width: 1000px;
  position: relative;
  margin: 1% auto;
  padding: 8px 8px 8px 8px;
  border-radius: 5px;
  background: #eee;
  transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;


}

.oModal > div header,.oModal > div footer {
  border-bottom: 1px solid #e7e7e7;
  border-radius: 5px 5px 0 0;
}
.oModal .footer {
  border:none;
  border-top: 1px solid #e7e7e7;
  border-radius: 0 0 5px 5px;
}

.oModal > div > div h2 {
  margin:0;
  padding-bottom:4px;
}

#titre_fenetre_modale
{
	margin:0;
  	padding-bottom:4px;
	font-size: 1.1em;
	line-height: 1.1em;
	font-family:'Times New Roman';
}

.titre_modal
{
	margin:0;
  	padding-bottom:16px;
	font-size: 1.4em;
	line-height: 1.4em;
	font-family:'Times New Roman';
}

@media (max-width:991.5px)

{
	.oModal > div h2
	{
		font-size: 1.2em ;
	}

	.titre_modal {font-size: 1.2em;line-height: 1.1em;}
}


.oModal > div .droite
{
 	font-size: 2.0em ;
	color:red;
}

.oModal > div .btn {
  float:right;
}

.oModal > div section,.oModal > div > header, .oModal > div > footer {
  padding:1px;	//15px
}

@media screen and (min-width: 767.5px) and (max-height: 900px)
{
/*
	.oModal:target > div img {width:80%;}
*/
	.oModal:target > div { margin1: 2% auto;width1:80%}



}

#image_zoom
{
	padding:20px;
	background: #E7BDC8;
}

#image_zoom img {
  width:100%;
  max-width:600px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

