/* template.css 
   Project: Template for USC Annenberg MS and UG programs
   Author: Prof. Peggy Bustamante
   Date: July 2018
  
   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


*/

/*div {
  border: 1px solid limegreen;
}*/

/********* MAIN *********/
body, html {
  height: 100%;
  margin: 0;
  font: 400 18px/1.8 "Georgia", sans-serif;
  color: black;
}
iframe {
    min-width: 100%; min-height: 100%;
}


h1, h2, h3 {
  margin-left: 900px;
  margin-right: 100px;
  text-align: center;
  letter-spacing: 5px;
  color: black;
  background: white; 

}

h1 {
  font: 40px "Georgia", sans-serif;
  text-transform: uppercase;
}

h2 {
  font: 24px "Georgia", sans-serif;
}

h3 {
  font: 16px "Georgia", sans-serif;
}

h4{

margin: auto;
text-align: center;
letter-spacing: 5px;
color: black;
background: white; 
font-size: 40px;

}

a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: darkred;
  background-color: blanchedalmond;
  text-decoration: underline;
}

.options p{


  text-align: justify;
  top: 0;
}

section {
  min-height: 400px;
 /* background-color: gainsboro;*/
  position: relative;
  padding: 30px 30px;
  display: -webkit-flex;
  display: flex;
}

section .textbox {
  color: #ddd;
  background-color: #282E34;
  text-align: center;
  padding: 30px 30px;
  text-align: left;
  width: 23%;
}

section .textbox p {

  font-size: .9em;
  font-weight: lighter;

}

p {

  font: 16px "Georgia", sans-serif;
  color: black;
}

.bigcover {
   position: -webkit-sticky;
   position: sticky;
   top: 0px;
  /* z-index: -1;*/
   overflow-y: auto;
   background-image: url("../img/saveead.jpeg");
   background-repeat: no-repeat;
   background-size: 100% 100%;
   height: 100%;
   width: 100%;

}

.sticky1 img {
   width: 100%;

}

.gallerycaption {


margin:auto;
margin-top: -2px;
background-color: #f9eff6;

}

.gallerycaption p{
  font-weight: bold;
  font-size: 14px;
  margin-left: 30%;


}

.clickgallery {
 /* width: 100%*/
  /*margin-left: 40px;*/
  margin-top: 50px;
}

.clickgallery img {
  float: left;

}

.audiodoc audio {
  margin-left: 39%;
}

.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  background-color: #a28181;
  color: white;
  z-index: 3;
}


.navbarfirst {
  width: 100%;
  position: fixed;
  top: 0;
  background-color: #a28181;
  color: white;
  z-index: 3;
  padding-left: 18%;
}
.parallax {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

header {
  background-image: url("../img/coverphoto.jpg");
  height: 90%;
}

/* BACKGROUND IMAGES for parallax effect */



/* miscellaneous */

span.hilite {
  background-color: yellow;
  border: 2px solid black;
  padding: 5px;
}

.words {
  color: #ddd;
  background-color: #282E34;
  text-align: center;
  padding: 50px 80px;
  text-align: justify;
}

/* DIVIDERS */

.divider {
  position: relative;
}

.divider .caption {
  position: absolute;
  top: 10%;
  text-align: left;
  color: #fff;
  letter-spacing: 2px;
  width: 27%;
  border: 1px solid black;
  background-color: rgba(0,0,0, 0.4);
  padding: 20px;
  font-size: 1.1em;
  box-shadow: 2px 2px 8px #000000;
  left: 4%;
}

/* MAIN HEADLINE AND BYLINES */
/* plus ALL TEXT */




.title {
  position: absolute;
  left: 0%;
  top: 0%;
  width: 90%;
  padding: 5%;
  text-align: center;
}

.title h1 {
  opacity: 1;
  color: MintCream;
  font-size: 53px;
  font-weight: bold;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px #000000;
}

.title h2 {
  opacity: 1;
  color: MintCream;
  font-size: 31px;
  font-weight: bold;
  margin-bottom: 10%;
  text-shadow: 2px 2px 8px #000000;
}

.byline {
  background-color: white;
  font: 16px "Georgia", sans-serif;
  font-weight: bold;
  color: black;
  cursor: pointer;
  width: 100px;
  text-align: center;
  margin-left: 900px;
  /*margin: auto;*/
  padding: 11px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.title0 {
  /*background-color: white;*/
  text-align: center;
  margin-bottom: 37px;
  /*border: 1px solid hotpink;*/
  width: 100%;
  margin-top: 10px; 

}

.title0 h1 {
  color: #333;
  font-size: 49px;
  font-weight: bold;
  text-transform: uppercase;
}

.title2 {

  margin-top: 200px;

}

.title0 h2 {
  opacity: 1;
  color: #333;
  font-size: 27px;
  font-weight: bold;
  margin-bottom: 57px;
}



.piccaption p {
    margin-left: 10px;
    font-size: 12px;
    font-weight: bold;
  
  }


/* MAIN TEXT */

.firstcover {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /*z-index: -2;
*/    height: 100%;
}

.firstcover img {
   
  height:100vh;
  width: 100%;
  object-fit: cover;
}

.secondcover {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    /*z-index: -4;*/
    height: 100%;
}

.secondcover img {
   
  height:100vh;
  width: 100%;
  object-fit: cover;
}

.thirdcover {
    position: -webkit-sticky;
    position: relative;
    top: 0;
/*    z-index: -2;*/
    height: 100%;
}

.thirdcover img {
   
  height:100vh;
  width: 100%;
  object-fit: cover;
}

section.maintext {
  position: relative;
  color: #777;
  background-color: white;
  text-align: center;
  text-align: justify;
  display: block; /* removes display: flex */;
  padding:20px 0px;
}


section.maintext p {
  line-height: 1.7em;
  padding: 0% 23%;
}

#overlay {
   width: 100%;
   height: 100%;
   position: fixed;
   top: 0;
   right: 0;
   background-color: rgba(0,0,0,0.8);
   display: none;
   z-index: 5;
}



#modal {
   width: 40%;
   margin: auto;
   padding-top: 3%;
}

#content {
   position: relative;
}

#content video {
  width: 100%;
}

#close {
   position: absolute;
   top: -18px;
   right: -20px;
   text-align: center;
   width: 33px;
   font-weight: bolder;
   background-color: white;
   color: black;
   border: 2px solid black;
   cursor: pointer;
   border-radius: 50%;
}

/* Text embed teasers */

.teaser {
  border-top: 15px solid #333; /*adds fat line above */
  border-left: 2px solid #333; /*adds thin line on left */
  width: 350px;
  height: auto;
  margin: 30px;
  padding: 20px;
}

.teaser .caption {
    line-height: 1.7em;
    font-style: italic;
    left: 0;
    bottom: -1.2em;
    font-size: .9em;
    color: #333;
}

.tright {
  float: right;
}

.tleft {
  float: left;
}

.teaser video {
  height: 100%;
  width: 100%;
}

.teaser img {
  width: 100%;
  height: 1000%;
  border: 1px solid #333;
}

.pictureclicks {

  margin: auto;
  margin-top: -20px;
  overflow: hidden;


  
}

.pictureclicks img {
  padding: 20px;
  height: 500px;
}


.teaser blockquote {
  display: block;
  background: #fff;
  padding: 15px 20px 15px 45px;
  margin: 0 0 20px;
  position: relative;
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 2.1em;
  line-height: 1.2;
  color: #666;
  text-align: left;
  font-style: italic;
  

  
  /*Box Shadow */
  -moz-box-shadow: 2px 2px 15px #ccc;
  -webkit-box-shadow: 2px 2px 15px #ccc;
  box-shadow: 2px 2px 15px #ccc;
}

.teaser blockquote::before{
  content: "\201C"; /*Unicode for Left Double Quote*/
  
  /*Font*/
  font-family: Georgia, serif;
  font-size: 60px;
  font-weight: bold;
  color: #999;
  
  /*Positioning*/
  position: absolute;
  left: 10px;
  top:5px;
}

.teaser blockquote::after{
  /*Reset to make sure*/
  content: "";
}





/* MAIN VIDEO CSS */

section.mainvideo {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
  background-color: white;
  padding-bottom: 100px;
}

.videotext {
  width: 20%;
/*  min-height: 98%;*/
}


/* This fixes the collapsing */
.youtube { min-width: 73%; min-height: 100%; }

/* MAIN AUDIO */

section.mainaudio {
  background-color: white;
  /*background-image: url("../img/beach.jpg");*/
  /* -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.audiotext {
  width: 27%;
}

.audiotext.textbox{

  background-color: #fff2f2;
  height:300px;
}

.audiotext.textbox p{

  font-size: 20px;
}

.videotext.textbox {
  background-color: #fff2f2
}

.videotext.textbox p{

  font-size: 18px;
}

.twittertext.textbox {
  background-color: #fff2f2
}

.twittertext.textbox p{
  margin-top: 20px;
  font-size: 18px;
  padding:1px;
}
.audiodoc {
  margin-top: 50px;
  margin-bottom: 50px;


}

.audiodoc p{
 
 margin-left: 60px;
 font-size: 10px;
 font-weight: bold;

 }

.audiodoc img{
 margin-left: 25%;
 height: 400px;
 top: 100;

 /* width:700px;*/
}
.audiodoccaption p{

  font-weight: bold;
  margin-left: 83px;

}


.infotitle p{

  font-weight: bold;
  text-transform: uppercase;
  margin-left: 9%;

}
section.mainaudio .audio {
  width: 73%;
  display: flex;
  flex-wrap: wrap;
}

section.mainaudio p{
  font-size: 14px;
}

aside.sound {
  width: 47%;
  margin: 0% 0% 2% 2%;
}

aside.sound img {
  width: 100%;
  border: 1px solid #333;
}

aside.sound audio {
  width: 100%;

}

/* VR AND 360 VIDEO */
/*section.vr360video {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.vr360videotext {
  width: 27%;
}

/* This fixes the collapsing */
/*.vr360youtube { min-width: 73%; min-height: 100%; }*/*/


/* PHOTO GALLERY / SLIDESHOW */

section.slideshow {
  /*background-image: url("../img/beach.jpg");*/
  /*-webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/

}

.slideshowtext {
  width: 23%;
}

.slideshowcontent {
   width: 77%;
   height: 100%;
   background-color: black;
}

.cycle-slideshow { 
    width: 100%; max-width: 1400px; margin: 0px auto; 
}

.cycle-slideshow img { 
    width: 100%; height: auto;  
}


/* GOOGLE MAP */


section.gmapmain {
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.gmaptext {
  width: 27%;
}


.gmap { 
  min-width: 73%; min-height: 100%; 
}


/* TIMELINE AND STORYMAP */

section.knightlab {
  /*background-image: url("../img/beach.jpg");*/
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

section.knightlab .timelinetext {
  width: 33%;
}


/* This fixes the collapsing */
section.knightlab .timeline { 
  width: 100%; min-height: 100%; 
}

/* SOCIAL MEDIA */
section.socialmedia {
  background-color: white;
  padding-top:40px;
  margin-top: -40px;
  /*background-image: url("../img/beach.jpg");*/
  /* -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.twittertext {
  width: 23%;
}

.twitter { 
  width: 77%; max-height: 600px; 
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.twitter aside {
  width: 100%; max-height: 600px;
  margin-left: 1%;
  overflow: scroll;
}


/* DATA VIZ */
section.datavizmain {
  /*-webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;*/
}

.dataviztext {
  width: 37%;
}

.dataviz { 
  margin: 1% auto;
}

.dataviz img {
  width: 100%;
}

section.footer {
  background-color: black;
  color: blanchedalmond;
  padding: 10px 20px;
  min-height: 30px;
  text-align: left;
  font-size: 0.8em;
}




/* MAKING IT MOBILE FRIENDLY */

/* Turn off parallax scrolling for iPad and smaller */




/* Turn off flex for iPad portrait mode  */






@media only screen and (max-width: 640px) {
 
      .bigcover {
        
        height: auto;
      }
    
    .parallax {
      background-attachment: scroll;
    }

    iframe {
      min-height: 600px;
      width: 97%;

    }

    section {
      display: block;
      padding: 1%;
    }

    section .textbox {
      width: 87%;
      margin: 1%;
    }

    section .content {
      width: 100%;
      height: 100%;
    }

    .title h1 {
      font-size: 47px;
    }

    .title h2 {
      font-size: 27px;
    }

    .title0 {
      padding: 2%;

    }

    .title0 h1 {
      font-size: 41px;
    }

    .title0 h2 {
      font-size: 21px;
    }

    .pictureclicks {
      margin-left: 41px;
    }

    .audiodoc img {
      display: none;
    }

}
   /* .





    
      padding: 9px;
      font-size: 12px;
      letter-spacing: 3px;
    }*/

    





