/* styles.css 
   Project: 
   Author: 
   Date: 
	
*/

/*google font*/

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Raleway&family=Roboto&display=swap');

/*main css*/

* {
  box-sizing: border-box;
}

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

audio {
  display: block;
}

/*link style*/

a {
  text-decoration: none;
  color: darkred;
}

a:visited {
  color: gray;
}

a:hover, a:active {
  color: darkgray;
} 

body, html {
  font-family: 'Times New Roman', serif; 
}

h1, h2 {
  font-size: 1.1em;
}

h1, h2, h3, .pullquote {
  font-family: 'Copperplate', sans-serif;
}

h3, .pullquote {
  font-family: 'Times New Roman', sans-serif;
}

header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: -1;
  background-color: black;
  height: 100vh;
  /*max-height: 600px;*/
}

header video {
  /* this opacity makes the header image dark so you can read the headline text more easily. remove the opacity if you do not have your headline on top of the image.*/
/*  opacity: 0.6;*/
 height: 100%;
 object-fit: cover;
}

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

.title1 h1 {
  font-size: 5.1em;
  margin-bottom: -4px;
}

.title1 h2 {
  font-size: 2em;
}

.title1 h3 {
  margin-top: 10%;
  font-size: 1.2em;
  font-style: italic;
}

.title2 {
  width: 100%;
  color: darkred;
  text-align: center;
  padding: 3% 10%;
}

.title2 h1 {
  font-size: 4.7em;
  margin-bottom: -4px;
}

.title2 h2 {
  font-size: 2em;
}

.title2 h3 {
  margin-top: 10%;
  margin-bottom: 0;
  font-size: 1.1em;
  color: black;
/*  font-style: italic;*/
}

.topper {
  height: 500px;
/*  background: linear-gradient(to top, rgba(61, 167, 238, 1), rgba(61, 167, 238, 0));*/
background: linear-gradient(to top, rgba(196, 231, 251, 1), rgba(196, 231, 251, 0));

}


.introblurb {
  font-size: 1em;
  font-style: italic;
  font-weight: bold;
  color: darkred;
}

.content {
  width: 100%;
/*  background-color: white;*/
  background-image: url("../img/skybackgroundpic1.jpg");
  background-repeat: no-repeat;
  background-size: cover;

/*  background-color: #dbe7f2;*/

}

/*.background-image {
  background-image: url(skybackgroundpic.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;*/

  /*color: transparent;
  width: 100%;
  z-index: -1;
  background-size: 100%;
  background-position: auto;*/
/*}*/

.maintext {
/*  border: 3px solid orange;*/
  max-width: 740px;
  margin: auto;
  color: black;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify;
  padding: 1%;
}

.colorchange {
  font-weight: bold;
  color: darkred;
}

.strong {
  font-weight: bold;
  color: black;
}
.pullquote {
  width: 20%;
  font-size: 1.3em;
  line-height: 1.6em;
  font-style: italic;
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}

.name {
  font-size: 0.7em;
  text-align: center;
  line-height: 0.1em;
  padding-bottom: 30px;
}

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

.right {
  float: right;
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 40px;
  color: darkred;
}

.mia {
  margin-right: 0px;
}
.sidebar {
/*  float: right;
  padding-right: 20px;
  padding-left: 20px;*/
  margin-left: 20px;
  border: 2px solid black;
  background-color: lightskyblue;
  color: black;
}

.sidebarleft {
  float: left;
  padding-right: 20px;
  padding-left: 20;
  margin-left: 20px;
  border: 2px solid black;
  background-color: lightskyblue;
  color: black;
/*  background-color: darkred;*/
/*  color: darkred;*/
}

.sidebarcenter {
  float: center;
  margin: auto;
  border: 2px solid black;
  width: 600px;
  background-color: lightskyblue;
  color: black;
/*  background-color: darkred;*/
/*  color: darkred;*/
}

.floatingpic {
  width: 55%;
}

.edgar {
  width: 20%;
  margin-left: 60px;
}

.floatingpic audio {
  width: 100%;
  margin-top: 5px;
}

.floatingcap {
  margin-top: 0px;
  font-size:  0.9em;
  text-align: center;
}

.sectionhead {
  text-align: center;
  color: darkred;
}

.bigphoto {
  position: relative;
}

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding-left: 1%;
  color: white;
  background-color: rgba(0,0,0,0.4);
}

.sidebyside {
  border: 2px solid black;
  display: flex;
  width: 80%;
  margin: auto;
}

.photoleft {
    flex-direction: row;
}

.photoright {
    flex-direction: row-reverse;
}

.sidephoto {

  flex: 2;
  position: relative;
}

.sidephoto2 {
/*  border: 3px solid pink;*/
  flex: 1;
  position: relative;
}
.pinkgirlcaption  {
  flex: 1;
  background-color: black;
  color: white;
  font-size: 1.2em;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 20px 40px;
  line-height: 3;
}

.hoverpic {
/*  border: 3px solid yellow;*/
  position: absolute;
  top: 0;
  display: none;
}

.photogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
}

.gridpic {
  position: relative;
}

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

.gridpic .photocaption {
  display: none;
}

.cycle-slideshow {
  max-width: 700px;
  margin: auto;
}

.knightlab {
  max-width: 700px;
  margin: auto;
}

.slidebox {
  position: relative;


}

.slides {
  position: sticky;
  position: -webkit-sticky;
  top: 0px;
  z-index: -1;
  height: 100vh;
}

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

}

.googlemap {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  max-width: 700px;
  margin: auto;
}

.googlemap iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.youtube {
  max-width: 700px;
  margin: auto;
}

.infogram-embed {
  max-width: 500px;
  margin:auto ;
/*  border: 3px solid black;*/
}


.responsivecontainer {
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}

.responsivecontainer iframe, .responsivecontainer object, .responsivecontainer embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}

.t1-text-content {
  color: pink;

}


.tl-text-content-container{
  color: pink;
}

.tl-headline-date h3 {
  color: yellow;
}

h2 .tl-headline {
  color: mediumpurple;
}

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

.voxpop {
  max-width: 900px;
  margin: auto;
}



.voxgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 10px;
}

.person {
  border-radius: 5px;
  box-shadow: 2px 3px 3px lightslategrey;
  overflow: hidden;
/*  border: 3px solid pink;*/
  max-width: 900px;
}

.one {
  background-color: white;
/*  border: 3px solid blue;*/

}

.two {
  background-color: white;
/*  border: 3px solid purple;*/
  max-width: 900px;
  margin:auto;
}

.person audio {
  width: 100%;
  display: block;
}

.headshot {
  position: relative;
  text-align: center;
/*  border: 3px solid yellow;*/

}

.headshot img {
/*  border: 3px solid yellowgreen;*/
}

.popup {
  cursor: pointer;
}

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

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* 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 {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dots {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.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;
  text-align: center;
}

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

 
.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}
}


/*footer */

footer {
  background-color: transparent;
  color: black;
  padding: 1%;
  text-align: right;
}

/*popup modal*/

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: scroll;
  display: none;
  z-index:  10;
}

.modal {
  width: 70%;
  margin: 2% auto;
}

.closer {
  position: absolute;
  right: 1vh;
  top:  1vh;
  width: 10%;
  cursor: pointer;
}

/*media query for responsive design */

/*@media only screen and (max-width: 1040px) {


  .pullquote {
    width: 70%;
    margin: 0px;
    padding: 0px;
    text-align: center;
  } 


}  */


@media only screen and (max-width: 900px) {

  .title1 {
    top: 5%;
  }

  .title1 h1 {
    font-size: 3.5em;
  }

  .title1 h2 {
    font-size: 1.5em
  }

  .title1 h3 {
    font-size: 1.1em;
  }


  .sidebyside {
    display: block;
  }

}


@media only screen and (max-width: 800px) {

  .pullquote {
    width: 70%;
    margin: 0px;
    padding: 0px;
    text-align: center;
/*    display: none; /* remove this line if you want the pullquotes to display on mobile*/ */
  }

  .left {
    margin: 0px;
    padding: 10px;
  }

  /*.right {
    margin: 0px;
    padding: 10px;
    padding-right: 20px;
  }*/
  .floatingpic {
    width:  100%;
    margin: 0px;
    padding:  0px;
  }

  .popup {
    margin-bottom: 15px;
  }

  .popup .floatingcap {
    display: none;
  }  

}


@media only screen and (max-width: 640px) {

  .title1 {
    top: 1%;
  }

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

  .title1 h2 {
    display: none;
  }

  .title1 h3 {
    font-size: 0.9em;
  }

  .title2 h1 {
    font-size: 2em;
  }

  .title2 h2 {
    font-size: 1.3em;
  }

  .title2 h3 {
    font-size: 1em;
  }

  .maintext {
    font-size: 1.4em;
    line-height: 1.6em;
    text-align: left;
    margin: 0px 15px;
  }

  .voxgrid {
    grid-template-columns: 1fr 1fr;
  }

  .person audio {
    background-color: black;  
  }

  .modal {
    width: 97%;
    margin: 10% auto;
  }



  .sidecaption {
    font-size: 1em;
    padding: 10px 20px;
  }

}











