/* styles.css 
   Project: 
   Author: 
   Date: 
	
   Helpful links: 
   	Web colors: 
   		https://en.wikipedia.org/wiki/Web_colors#X11_color_names
	Color picker tool:
		https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Colors/Color_picker_tool
		http://colorpicker.com

*/

* {
   box-sizing: border-box;
}

img {
   width: 100%;
   display: block;
}

body {
   background-color: seashell;
   font-family: 'Lato', sans-serif;
   /*font-family: 'Montserrat', sans-serif;*/
}

.headerphoto {
   width: 100%;
   position: sticky;
   top: 0;
   z-index: -1;
   background-color: black;
   max-height: 800px;

}

.headerphoto img {
   opacity: 0.6;
   object-position: cover;
}

.maintitle {
   position: absolute;
   top: 25%;
   color: white;
   text-align: center;
   width: 100%;
   padding: 3%;
}

.content {
   width: 100%;
   background-color: antiquewhite;
   overflow: hidden;
}

.inner {
   background-color: white;
   border: 4px dashed peachpuff;
   max-width: 1000px;
   margin: auto;
   padding: 2%;
   overflow: hidden;
}

.heading, .subheadline {
   text-align: center;
}

.textbox {
   max-width: 1000px;
   margin: auto;
   color: darkslategray;
   font-size: 1.2em;
   line-height: 1.7em;
   text-align: justify;
   padding: 1%;
}

.photo {
   position: relative;
   margin: auto;
   max-width: 600px;
   background-color: lightsteelblue;
   border: 4px solid darkslategray;
}

.photo img {
   object-fit: cover;
   height: 100%;
}

.caption {
   color: white;
   background-color: black;
   opacity: .7;
   padding: 5px;
   position: absolute;
   bottom: 0px;
   padding-left: 1%;
   width: 100%;
   text-align: left;
}



/*Element: Infographic*/

.infographic {
   text-align: center;
   max-width: 700px;
   margin: auto;
}

.left {
   float: left;
   padding-right: 20px;
}


.exit{
  width: 30px;
  position: absolute;
  top: 2%;
  right: 30%;
  cursor: pointer;
}

/*Element: Video*/
.videos {
   margin: auto;
   text-align: center;
   max-width: 500px;
}

.videos video {
   width: 100%;
}

.clickhere {
  font-style: italic;
  font-size: 0.7em;
  text-align: right;
  padding-right: 1%;
}

/*SLIDESHOW CSS*/

.slideshow {
   display: grid;
   grid-template-columns: 30% 70%;
   width: 90%;
   margin: auto;
   min-height: 500px;
   border: 4px solid darkslategray;
}

.slideshowtext {
  background-color: lightsteelblue;
  padding: 3%;
  height: 100%;
  text-align: left;
}

.slideshowcontent {
  background-color: lightsteelblue;
  color: white;
  position: relative;
  width: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
}

.slide-image img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.caption audio {
   width: 100%;
}

.nav {
  bottom: 10%;
  font-size: 30px;
  color: black;
}

.nav a {
   color: white;
   text-decoration: none;
}

#prev2 {
  left: 0;
}

#next2 {
  right: 0;
}

/*Element: VoxPop*/
.audiobox {
   max-width: 1000px;
   margin: auto;
   overflow: hidden;
   background-color: lightsteelblue;
   border: 4px solid darkslategray;
   padding: 2%;
   margin-top: 10px;
   margin-bottom: 10px;
}

.sectionhead {
  text-align: center;
}

.grid {
   display: grid;
   grid-template-columns: 24% 24% 24% 24%;
   grid-gap: 10px;
   overflow: hidden;
}

.person {
   overflow: hidden;
}

.person audio {
   margin-top: 10px;
   width: 100%;
}
.smallphoto {
   position: relative;
   text-align: center;
}

.smallphoto img {
   border-radius: 15px;
}

.audiobox .smallphoto {
   position: relative;
}

.audiobox .caption {
   display: none;
   height: 100%;
   padding: 25%;
   text-align: center;
}

/* Lightbox */
.bigphoto {
   position: relative;
   max-width: 600px;
   margin: auto;
   margin-bottom: 20px;
}


.thumbs{
   width: 100%;
   overflow: hidden;
   cursor: pointer;
   margin-bottom: 20px;
}

.smallerphoto {
   float: left;
   width: 20%;
   padding: .5%;
}

.lightbox {
   margin: auto;
   max-width: 600px;
   text-align: justify;
}

.outerlightbox {
   max-width: 700px;
   background-color: lightsteelblue;
   border: 4px solid darkslategray;
   padding: 2%;
   margin: auto;
}

.footer {
   padding: 20px;
   text-align: right;
   color: white;
   background-color: lightsteelblue;
}




/*media query for responsive design */

@media only screen and (max-width: 640px) {
   .slideshow {
      display: block;
    }

    .slideshowtext {
      width: 100%;
      font-size: 25px;
    }

   .slideshowcontent {
      width: 100%;
      min-height: 300px;
   }

   .maintitle {
      top: 1%;
   }

  .maintitle h1 {
      font-size: 3em;
  }

  .maintitle h2 {
      display: none;
  }

  .maintitle h3 {
      font-size: 0.9em;
  }
  
  .content {
      width: 100%;
  }

  .grid {
      grid-template-columns: 48% 48%;
  }


}











