﻿* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none;  margin : auto; }
img {vertical-align: middle;width:100%}

/* Slideshow container */

.slideshow-container {

position: relative;
  margin: auto;display : block;
  max-width: 90vh;
  height: auto;
  max-height: 90vh;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover { font-size: 30px;
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: black;
  font-size: 25px;
font-weight: bold;
  text-align: center;
 
}
.text1
{color : red; font-style: italic;}

/* The dots/bullets/indicators */
.dot {

  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

.retourdiapo
{margin-left:50%; color:red; font-size:18px; font-family:  "comic sans ms", arial, times_new_roman, trebuchet ms; font-weight: normal;font-style: italic;text-decoration: none;}

/* On smaller screens, decrease text size*/
@media only screen and (max-width: 350px) {
  .prev, .next,.text, .retourdiapo{font-size: 11px}
  .prev:hover, .next:hover { font-size: 18px;}
 
  .dot { cursor: pointer;
  height: 8px;
  width: 8px;
  }
  } 
  


  /* On smaller screens, decrease text size*/
@media only screen and (max-height: 350px) {
  .prev, .next,.text, .retourdiapo {font-size: 11px}
  .prev:hover, .next:hover { font-size: 18px;}
 
  .dot { cursor: pointer;
  height: 8px;
  width: 8px;
  }
  } 