body {
  padding: 0px;
  margin: 0px;
  font-family: 'Molengo', sans-serif;
  overflow: hidden;
}

#loader {
  top: 360px;
  z-index: 84;
}

#map {
  height: 320px;
  width: 100vw;
  position: absolute;
  z-index: 83;
  border-bottom: 2px solid #ba5200;
  top: 0;
  left: 0;
  filter: drop-shadow(0px 3px 6px rgba(0,0,0,0.85));
}

#narration {
  position: absolute;
  top: 320px; /*200px */
  width: 100vw;
  height: calc(100vh - 320px);
  z-index: 80;
}



#contents {
  padding: 0;
  width: 100%;
  margin-top: 0; /*Adjust if Title header needs more space Usually 0*/
  height: 100%; /* Adjust to fit max Description length, one setting for all; alternative is 100% */
  overflow-y: scroll;
  overflow-x: hidden;
}

#top {
  height: 10px;
  margin: 0;
}

#space-at-the-bottom {
  height: 200px;
  margin: 0;
  text-align: center;
  padding-top: 150px;
}

#title {
  position: absolute;
  /*height: 240px;*/
  left: 0;
  top: 320px; 
  background-color: white;
  width: 100vw;
  z-index: 100;
  margin: 0;
  padding: 20px 0;
  visibility: hidden;
  Font-Family: 'Carrois Gothic SC', sans-serif;
  text-align: center;
  vertical-align: middle;
}

h3 {
  margin: 0;
  font-family: 'Arvo', serif;
  font-size: 17pt;
  font-weight: normal;
  text-transform: uppercase;
}

.chapter-container {
  /* margin + padding = chapterContainerMargin in script.js */
  /* Important for scrolling! */
  margin: 50px 0 0 0;
  padding: 20px 0 0 0;
  text-align: center;
}

.chapter-container img {
  height: auto;
  width: auto;
  max-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;

  /* Three lines that center vertically */
  position: relative;
  top: 50%; /*mettre à zero pour rectifier le décalage vertical des images, 50% par défaut */
  transform: translateY(-50%); /*mettre à zero pour rectifier le décalage vertical des images, -50% par défaut */
}

.img-container {
  margin-left : 10%;/* ajouté par moi*/
  margin-right:  : 10%;/* ajouté par moi*/
  margin-top: -10px; /* ajouté par moi*/
  margin-bottom: -20px; /*5% par défaut */
  height: 200px;
  max-height: 200px;
  width: 80%;
}

.audio-container {
  margin: 0;
  margin-bottom: 5px;
  height: 60px;
  max-height: 60px;
  width: 100%;
}

.chapter-header {
  display: block;
  text-align: center;
  Font-Family: 'Carrois Gothic SC', sans-serif;
  text-transform: uppercase;
  font-size: 1em;
  padding: 0 5px;
}

.source {
  font-size: 9pt;
  margin: 0px; /*20% par défaut */
}

.description {
  margin: 20px; /*20% par défaut */
  text-align: left;
  font-size: 11pt;
  padding: 20px; /*20% par défaut */
    margin-bottom: 40px;/*40px par défaut */
}

.in-focus {
  opacity: 1.0;
  border-radius: 3px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.45);
}

.out-focus {
  opacity: 0.3;
}

.leaflet-control-attribution {
  visibility: hidden;
}

.leaflet-marker-icon {
  opacity: 0.85;
}

a.source, a.source:visited {
  color: grey;
  font-style: italic;
}

	/*
	//Style des popups format portrait 
	*/
	
	.custom-popup {
    border-radius: 2px;
    color: #504e4e;
	font-family: 'Lato', sans-serif;
    font-size: 12px;
    line-height: 10px;
    height: 10 px ;
    max-height: 200px;
    width: 80 px ;
    }

.custom-popup, .leaflet-popup-tip {
    background: #e7e7e7;
    border: none;
    box-shadow: none;
    }

.leaflet-popup-content-wrapper {
   background: #e7e7e7;
   border-radius: 2px;
   }

.leaflet-popup {
    position: absolute;
    text-align: center;
    }

.leaflet-popup-content {
    margin-top: 20px;
    margin-right: 2px;
    padding-right: 12px;
    max-width: 80 px !important;
    max-height: 200px;
    overflow: auto;
    font-family: 'Lato', sans-serif;
    }	
	/*
		//Fancybox Style
		*/
	
	.fancybox {
    display: inline-block;
    vertical-align: middle;
	}
	.fancybox img {
    display: block;
	}
	
		/*
		//Slider Style
		*/
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  margin: 13px 0;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  box-shadow: 1.4px 1.4px 2.8px rgba(0, 0, 0, 0.25), 0px 0px 1.4px rgba(13, 13, 13, 0.25);
  background: #dddddd;
  border-radius: 0px;
  border: 0px solid rgba(1, 1, 1, 0);
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 2.1px 2.1px 3.7px rgba(0, 0, 0, 0.2), 0px 0px 2.1px rgba(13, 13, 13, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 15px;
  width: 15px;
  border-radius: 50px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -6px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #fcfcfc;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  box-shadow: 1.4px 1.4px 2.8px rgba(0, 0, 0, 0.25), 0px 0px 1.4px rgba(13, 13, 13, 0.25);
  background: #dddddd;
  border-radius: 0px;
  border: 0px solid rgba(1, 1, 1, 0);
}
input[type=range]::-moz-range-thumb {
  box-shadow: 2.1px 2.1px 3.7px rgba(0, 0, 0, 0.2), 0px 0px 2.1px rgba(13, 13, 13, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 29px;
  width: 29px;
  border-radius: 50px;
  background: #ffffff;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 3px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #bebebe;
  border: 0px solid rgba(1, 1, 1, 0);
  border-radius: 0px;
  box-shadow: 1.4px 1.4px 2.8px rgba(0, 0, 0, 0.25), 0px 0px 1.4px rgba(13, 13, 13, 0.25);
}
input[type=range]::-ms-fill-upper {
  background: #dddddd;
  border: 0px solid rgba(1, 1, 1, 0);
  border-radius: 0px;
  box-shadow: 1.4px 1.4px 2.8px rgba(0, 0, 0, 0.25), 0px 0px 1.4px rgba(13, 13, 13, 0.25);
}
input[type=range]::-ms-thumb {
  box-shadow: 2.1px 2.1px 3.7px rgba(0, 0, 0, 0.2), 0px 0px 2.1px rgba(13, 13, 13, 0.2);
  border: 0px solid rgba(0, 0, 0, 0);
  height: 29px;
  width: 29px;
  border-radius: 50px;
  background: #ffffff;
  cursor: pointer;
  height: 3px;
}
input[type=range]:focus::-ms-fill-lower {
  background: #dddddd;
}
input[type=range]:focus::-ms-fill-upper {
  background: #fcfcfc;
}

#slider2 {
left: 5px;
top: 50px;
}