/* Affichage de la page : centré et occupe un pourcentage de l'écran [un texte trop large devient difficile à lire] */
.blocpage 
{ display: block; 
    margin: auto;       /* centrage */
    padding:10px 20px;  /* vertical | horizontal */
    width: 60%;
    }
	


/* Principales propriétés de texte */
h1 {
	font-family:Candara;
	font-size:200%;
	color:blue;
	text-align: center;
	}

h2 {
	font-family:Candara;
	font-size:150%;
	margin-bottom: 5px;
	}
	
h3 {
	font-family: Candara;
	font-size: 120%;
	margin-bottom: 5px;
}

h4 {
	font-family:Candara;
	font-size:110%;
	color:black;
	text-align: left;
	}

p {
	font-family:Candara;
	font-size:110%;
	text-align:justify;
	margin-top: 0px;
	}
	
.centrage_texte {
  text-align: center;  
}
/* Centrage du bloc de boutons et du texte/boutons à l'intérieur, ... : <div class="centrage_bloc"> */
.centrage_bloc {
    margin-left: auto;
    margin-right: auto;
	text-align: center;
}


.legende {
	font-family:Candara;
	font-size:110%;
	text-align:center;
	font-style:italic;
	}

/* Mise en forme d'autres balises courantes */

li  /* Mise en forme des lignes de listes pour la rubrique "Sources" */
{
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: justify;
	font-family:Candara;
	font-size:110%;
}

/* À utiliser si d'autres balise <li> sont ulisiées en dehors de la rubrique "Sources" */
/*li.sources   <li class="sources"> : Mise en forme des lignes de listes pour la rubrique "Sources" 
{
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: justify;
	font-family:Candara;
}
*/

/* Mise en forme des images */
.img_float_right /* <img class="img_float_right" : Image flottante alignée à droite */
{
	float: right;
	margin-left: 20px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 5px;
}

/* Utilisée pour l'insertion des images */
.contenant {
  position: relative;
  text-align: center;
  color: white;
  font-family:Candara;
}







.credit{font-family:Candara;
font-size:100%;
text-align:justify;}
.texte_centrer {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width:50%;
  font-size:400%;
  
}
.button_centrer {
  position: absolute;
  top: 12%;
  left: 93%;
  transform: translate(-50%, -50%);
}
.texte_right {
  position: absolute;
  top: 85%;
  left: 80%;
  transform: translate(-50%, -50%);
  font-size:100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;}
.texte_right_vertical {
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size:50%;
}

.texte_left {
  position: absolute;
  top: 20%;
  left: 40%;
  transform: translate(-50%, -50%);
  font-size:100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
}
.texte_center{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size:200%;
}
.big{font-size:150%;}

.white {
color:white;}



.blue{font-family:Candara;
font-size:200%;
color:blue;}


#contenant_taille{
   height:600px}
.menu_bouton{padding: 6px 6px;

}
.menu_bouton:hover{
box-shadow: 6px 6px 6px black;
padding: 6px 6px;
}




/* Pour le diaporama javascript */
.custom-slider { display: none; }
.slide-container {
  width:100%;
  position: relative;
  margin: auto;
}
.prev, .next {
  cursor: pointer;
  position: absolute;        
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  background-color: rgba(0,0,0,0.5);
  transition: background-color 0.6s ease;
}
.prev{ left: 15px; }
.next { right: 15px; }
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.5);
}
.slide-text {
  position: absolute;
  color: #ffffff;
  font-size: 15px;
  padding: 15px 300px;
  bottom: 15px;
  width: 100%;
  text-align: center;
}
.slide-index {
  color: #ffffff;
  font-size: 13px;
  padding: 15px;
  position: absolute;
  top: 0;
}
.slide-img{ 
  width: 100%; 
  height: 100%;
  object-fit: cover;
  object-position: center;
 }
.slide-dot{ text-align: center; }
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #999999;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover { background-color: #111111; }
.fade {
  animation-name: fade;
  animation-duration: 1s;
}
@keyframes fade {
  from {opacity: 0} 
  to {opacity: 1}
}
.encadré{background-color:orange;
 color:white;
 border-width:0px; 
 border-style:solid; 
 border-color:black;}


/* Gestion du menu haut de navigation */
#wrap {
    width: 100%;
    height: 60px; 
    z-index: 102;
    position: fixed;
	top: 0;
	left:0;
   	right:0;
    background-color: white;
	box-shadow: 0px 5px 5px grey;
      }
      
      .navbar {
        height: 50px;
        padding: 0;
        margin: 0;
        position: absolute;
      }
      .navbar li {
        height: auto;
        width: 19vw;
        float: left;
        text-align: center;
        list-style: none;
        font: normal bold 18px/1.1em Arial, Verdana, Helvetica;  
        padding: 0;
        margin: 0;
        background-color: white;
      }
      .navbar a {
        padding: 18px 0;
        border-left: 1px solid #ccc9c9
	border-right: 1px solid #ccc9c9
	border-top: 1px solid #ccc9c9
	border-bottom: 1px solid white;
        text-decoration: none;
        color: black;
        display: block;
      }
      .navbar li:hover,
      a:hover {
        background-color: white;
      }
      .navbar li ul {
        display: none;
        height: auto;
        margin: 0;
        padding: 0;
      }
      .navbar li:hover ul {
        display: block;
      }
      .navbar li ul li {
        background-color: white;
	box-shadow: 10px 1px 2px 0px rgba(0, 0, 255, .6);
      }
      .navbar li ul li a {
        border-left: 1px solid #444444
        border-right: 1px solid #444444
        border-top: 1px solid ##7FF97F
        border-bottom: 1px solid #444444
      }
      .navbar li ul li a:hover {
        background-color: white
      }
      .navbar li ul li:hover {
	box-shadow: 10px 1px 2px 0px #7FF97F;
      }
	


/* ---------------------------- galerie photo ------------------------ */
.milieu{
	margin-left: 1%;
	margin-right: 1%;
}

.mySlides {
        display: none;
      }
      img {
        vertical-align: middle;
      }
      .slideshow-container {
        max-width: 1000px;
        position: relative;
        margin: auto;
      }
      /* Boutons next & previous */
      .prev,
      .next {
        cursor: pointer;
        position: absolute;
        top: 26vw;
        width: auto;
        padding: 16px;
        margin-top: -22px;
        color: white;
        font-weight: bold;
        font-size: 18px;
        transition: 0.6s ease;
        border-radius: 0 3px 3px 0;
        user-select: none;
	background-color: rgba(0, 0, 0, 1.0);
      }
      /* Position de "next button" à la droite */
      .next {
        right: 10px;
        border-radius: 3px 0 0 3px;
      }
      .prev {
	left: 10px;
	border-radius: 3px 0 0 3px;
      }
      /* En survol, ajoutez la couleur noire de l'arrière-plan avec un peu see-through */
      .prev:hover,
      .next:hover {
	font-size: 30px;
      }
      
	 .text {
        color: #ffffff;
        font-size: 150%;
        padding: 8px 12px;
        position: absolute;
        top: 5%;
		right: 27%;
        width: 100%;
        text-align: center;
      }
	  
      /* The dots/bullets/indicators */
      .dot {
        cursor: pointer;
        height: 15px;
        width: 15px;
        margin: 0 2px;
        background-color: #999999;
        border-radius: 50%;
        display: inline-block;
        transition: background-color 0.6s ease;
      }
      .active,
      .dot:hover {
        background-color: #999999;
      }
      
      @-webkit-keyframes fade {
        from {
          opacity: 0.4;
        }
        to {
          opacity: 1;
        }
      }
      @keyframes fade {
        from {
          opacity: 0.4;
        }
        to {
          opacity: 1;
        }
      }
      /* On smaller screens, decrease text size */
      @media only screen and (max-width: 300px) {
        .prev,
        .next,
        .text {
          font-size: 11px;
        }
      }
      .modal {
        display: none;
        position: fixed;
        z-index: 110;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
      }
      .modal-content {
        margin: 50px auto;
        border: none;
        width: 60%;
      }
      
      .close {
	z-index: 110;
        color: white;
        float: right;
        font-size: 28px;
        font-weight: bold;
	width: 30px;
	text-align: center;
	background-color: rgba(0, 0, 0, 1.0);
      }
      .close:hover,
      .close:focus {
     	color: grey;
        text-decoration: none;
        cursor: pointer;
      }
      button.button {
        background: none;
        border-top: none;
	border-bottom: none;
        outline: none;
        border-right: none;
        border-left: none;
        padding: 0 0 3px 0;
        font-size: 16px;
        cursor: pointer;
      }
      button.button:hover {
        color: red;
      }
      td {
	width: 25%;
      }

