/*
Important colors:
  MAIN COLOR (Lavender): #d6d9e3
  HOVER MAIN COLOR (darker lavender): #C2C7D6
  TOP NAV: #320e3a (dark purple)
  TOP NAV HOVER: #6b5470 (ligher purple)
  LIGHT BLUE (for hovers and accents): #C8D9E5
  LIGHT LIGHT LAVENDER: #E7E9EF (very light lavender for interview grid)
  GREEN: #57A773
  light grey: d6d9e3
  Link color, blue: 2F72B1;
 */

/* --------------ALYSSA'S COLOR SUGGESTIONS------------- */
/*
TOP NAV, PURPLE: #320e3a -> #493d7c
OUTLINES (DARKER PURPLE -> BLUE): #C2C7D6 -> #0D3268
  TOP NAV HOVER: #6b5470 -> #A1A1D6 (ligher purple)
  BUTTONS (Green): #C2C7D6 -> #2F6375
  PATHS (pink): #7C3874 and lighter #F7E4F7
  LIGHT BLUE (for hovers and accents): #C8D9E5 -> C1D5E5
LIGHT LIGHT LAVENDER: #E7E9EF (very light lavender for interview grid & footer)
light grey: d6d9e3
Link color, blue: 2F72B1 -> 2F6375

*/


/* --------------MAIN------------- */
  */
section{
  padding-bottom: 5px;
  padding-top: 5px;
  width: auto;
}

.main {
  max-width: 1080px;
  margin: 0px auto 0px auto;
  font-size: 19px; /* Increased text to enable scrolling */
  padding: 70px 0px;
  font-family: 'Lato', sans-serif;
}

p>a, li>a, em>a, cite>a, a>cite{
  color: #2F6375;
  font-weight: bold;
}

li>a{
  color: #2F6375;
  font-weight: bold;
}

article{
  padding: 10px 20px 20px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 10px;
  width: 100%;
}

  h1 {
 font-family: 'Lato', bold;
 font-size: 30px;
 text-align: center;
  }

h2 {
 font-family: 'Lato', bold;
 font-size: 25px;
  }

  h2::before, h3::before {
    display: block;
    content: " ";
    margin-top: -100px;
    height: 100px;
    visibility: hidden;
    pointer-events: none;
  }

  h3 {
 font-family: 'Lato', bold, italic;
 text-align: left;
 font-size: 20px;
 font-weight: bold;
  }

  p{
    font-family: 'Lato';
    padding: 2px;
    text-align: justify;
    font-size: 20px;
    text-justify: inter-word;
  }

figure{
  padding: 10px 15% 10px 15%;
  text-align: center;
  align-items: center;
}
figure>img{
  display: block;
   margin: 0 auto;
}

.figure{
  align-items: center;
}

li{
  text-align: justify;
  list-style-position: inside;
  font-family: 'Lato';
  font-size: 20px;
  margin-left: -20px;
  padding: 1px;
  }

  blockquote{
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    font-family: 'Lato';
    font-size: 18px;
  }

  /* --------------TOP NAV------------- */

  .topnav {
    overflow: hidden;
    background-color:#0D3268;
    width: 100%;
    height:50px;
    position: fixed;
    z-index: 99999;
  }

  a.header {
    color: white;
    font-size: 33px;
    margin-left: 220px;
    padding: 20px;
    margin-top: -5px;
    text-decoration: none;
    font-family: "Garamond", serif;
  }

  .logo {
     height: 40px;
     margin-top: -5px;
  }


  /* --------------SIDEBAR------------- */

  .sidebar {
    height: 100%;
    width: 0%;
    opacity: 0.95;
    position: fixed;
    background-color: #F3F4F7;
    overflow-x: hidden;
    padding-top: 50px;
    z-index: 99997;
  }

  .sidebar-gloss {
    height: 100%;
    width: 0%;
    position: fixed;
    background-color: #F3F4F7;
    overflow-x: hidden;
    padding-top: 50px;
    z-index: 99997;
  }

  a.sidebutton {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 18px;
    color: #272838;
    display: block;
    font-family: "Poppins";
    border: none;
    background: none;
    text-align: left;
    outline: none;
    width: 100%;
    cursor: pointer;
  }

  button.dropdown-btn {
    text-decoration: none;
    color: #272838;
    display: block;
    outline: none;
    border: none;
    background: none;
    font-size: 18px;
    padding: 6px 8px 6px 16px;
    font-family: "Poppins";
    width: 100%;
    text-align: left;
    }

  .sidebar>button.closebtn {
    margin-left: 220px;
    background: #d6d9e3;
    font-weight: bold;
    padding: 6px 6px 6px 6px;
    border-style: solid 2px;
  }

  .sidebar-gloss>button.closebtnGloss {
    margin-left: 300px;
    background: #d6d9e3;
    font-weight: bold;
    padding: 6px 6px 6px 6px;
    border-style: solid 2px;
  }

    .sidebar-gloss>button.closebtnGloss:hover,  .dropdown-container>a:hover, .sidebutton:hover, button.dropdown-btn:hover, .sidebar>button.closebtn:hover{
    color: #2F6375;
    background-color: #C1D5E5;
    text-decoration: none;
  }

  .dropdown-container {
    display: none;
    background-color: #d6d9e3;
    padding-left: 15px;
  }

  .dropdown-container a{
    text-decoration: none;
    color: #272838;
    display: block;
    outline: none;
    border: none;
    background: none;
    font-size: 18px;
    padding: 6px 8px 6px 16px;
    font-family: "Poppins";
    width: 100%;
    text-align: left;
  }

  a.engage{
    border: none;
    background-color: #0D3268;
    color: WHITE;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    width: 150px;
    border: 2px solid #0D3268;
    cursor: pointer;
        padding: 5px 5px 5px 5px;
        margin-top: 2px;
  }

  .engage:hover{
    background-color: #C1D5E5;
    color: #0D3268;
  }

  a.feedback{
    border: none;
    background-color: #d6d9e3;
    color: #0D3268;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    width: 200px;
    border: 2px solid #0D3268;
    cursor: pointer;
        padding: 5px 5px 5px 5px;
        margin-top: 2px;
  }

  .feedback:hover{
    background-color: #0D3268;
    color: #C1D5E5;
  }

  .path-button{
  background-color: #493D7C;
  border: none;
  color: WHITE;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  width: 100px;
  border: 2px solid #493D7C;
  cursor: pointer;
  border-radius: 50%;
  }

  .path-button:hover{
    background-color: #C9C9E2;
    border: 2px solid #493D7C;
    color: #493D7C;
      text-decoration: none;
  }
  .openbtn {
  font-size: 18px;
  cursor: pointer;
  background-color: #0D3268;
  color: white;
  padding: 12px 15px;
  border: none;
  font-family: "Poppins";
  z-index: 1;
  position: absolute;
}

.openbtnGloss {
font-size: 18px;
cursor: pointer;
background-color: #0D3268;
color: white;
margin-left: 100px;
padding: 12px 15px;
border: none;
font-family: "Poppins";
z-index: 1;
position: absolute;
text-decoration: none;
}

  .openbtn:hover, .openbtnGloss:hover, .topnav>a.header:hover{
  background-color: #779BBf;
  text-decoration: none;
  border: none;
}

.sidebar>p>.button{
  background-color: #d6d9e3;
  color: #272838;
  width: 340px;
  border: 2px solid #272838;
  padding: 10px 15px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  margin: 4px 2px;
  cursor: pointer;
  text-decoration: none;
}

/* ---------------GLOSSARY---------------- */
div.sidebar-gloss>center>a.button{
  background-color: #2F6375;
  color: #D3EDEF;
  width: auto;
  border: 2px solid #2F6375;
  padding: 10px 15px;
  text-align: center;
  font-weight: normal;
  display: inline-block;
  font-size: 17px;
  margin: 4px 2px;
  cursor: pointer;
    justify-content: center;
  text-decoration: none;
}

div.sidebar-gloss>center>a.button:hover{
  background-color: #D3EDEF;
  color: #2F6375;
  border: 2px solid #2F6375;
  text-decoration: none;
}

.definitionButton{
  color: #272838;
  width: 300px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin-left: 25px;
  cursor: pointer;
  text-decoration: none;
  font-weight: bold;
}

.definition>p{
  font-size: 16px;
  margin-left: 10px;
  text-align: left;
}

a.definitionButton:hover{
  background-color: #D3EDEF;
  color: #272838;
  text-decoration: none;
}

/* -----------ABOUT PAGE--------- */
    .about-search {
      width:100%;
      height: 500px;

    }

  .about-menu {
      height:498px;
      width:20%;
      background: #F7E4F7 ;
      overflow:auto;
      float:left;
      border: 1px solid #493D7C;
      padding:10px 10px 10px 10px;
    }

    .about-button{
      background-color: #7C3874;
      color: #F7E4F7;
      width: 95%;
      border: 2px solid #7C3874;
      padding: 10px 15px;
      text-align: center;
      display: inline-block;
      font-size: 15px;
      margin: 4px 2px;
      cursor: pointer;
      text-decoration: none;
    }

    .about-results {
        height: 498px;
        width:80%;
        overflow:auto;
        float:left;
        border: 1px solid #493D7C;
        padding:10px 10px 10px 10px;
      }

    .interview-search-analysis>ul>li, p {
      text-align: left;
    }

  .about-button:hover {
    background-color: #F7E4F7;
    color: #7C3874;
    border: 2px solid #7C3874;
    text-decoration: none;
    }

/* ---------------IFRAME---------------- */
iframe {
    width: 1050px;
    height: 600px;
    border: none;
}

iframe.visualizations {
    width: 1000px;
    height: 850px;
    border: none;
}


/* ---------------BUTTONS---------------- */
.terms-button{
  background-color: #2F6375;
  color: #D3EDEF;
  width: auto;
  border: 2px solid #2F6375;
  padding: 10px 15px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
    margin: 4px 2px;
  cursor: pointer;
  text-decoration: none;
}

.button{
  background-color: #2F6375;
  color: #D3EDEF;
  width: auto;
  border: 2px solid #2F6375;
  padding: 10px 15px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  margin: 4px 2px;
  cursor: pointer;
  text-decoration: none;
}

.viz-button{
  background-color: #2F6375;
  color: #D3EDEF;
  width: 400px;
  border: 2px solid #2F6375;
  padding: 10px 15px;
  text-align: center;
  font-size: 20px;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  text-decoration: none;
}

.viz-button:hover{
  text-decoration: none;
  color: #2F6375;
  background-color: #D3EDEF;
}

  .button:hover, .terms-button:hover {
    background-color: #D3EDEF;
    color: #2F6375;
    border: 2px solid #2F6375;
    text-decoration: none;
    }


/* ---------------FOOTER---------------- */

.footer {
  position: fixed;
     left: 0;
     bottom: 0;
 width: 100%;
 background-color: #E7E9EF;
 color: black;
 text-align: right;
}


.footer a {
color: #0D3268;
font-size:13px;
}

.footer p {
font-size:13px;
padding: 0px 0px 0px 0px;
}

/* ---------------HOME GRID---------------- */

.home-grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-column-gap: 10px;
}

.home-grid-container > a{
  background-color: #493d7c;
  padding: 10px 10px 5px 10px;
  border: 2px solid #493d7c;
  color: white;
  text-align: center;
  font-size: 25px;
}


.home-grid-container >a:hover{
  background-color: #C9C9E2;
  text-decoration: none;
  color: #493d7c;
}

/* ---------------CAROUSEL (DON'T USE ANYMORE)---------------- */

.carousel{
  width: 900px;
  top: 20px;
  position: relative;
  overflow: hidden;

  }

.carousel img{
  height: 400px;
}

.carousel iframe {
    width: 800px;
    border: none;
}

.carousel-caption {
    position: relative;
    left: 0;
    top: 0;
    color: black;
    text-shadow: none;
    font-family: Cambria;
}

.carousel-caption h2{
    font-size: 17px;
}

.carousel-caption p{
  padding-left: 20px;
  padding-right: 20px;
  font-size: 15px;
}

.carousel-control-prev-icon {
    opacity: 50%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2157BA' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    opacity: 50%;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2157BA' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}


/* ---------------TEACHING MATERIALS---------------- */
.teaching-grid{
  display: grid;
  width: auto;
  grid-column-gap: 20px;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
}

.teaching-grid > section{
background-color: #e9f0f2;
padding: 10px;
border: 2px solid #2F6375;
text-align: center;
width: auto;
}

.teaching-grid > section >h3{
font-weight: bold;
text-align: center;
}

.teaching-grid > section >p{
font-size: 15px;
text-align: center;
}

.teaching-grid > section >a.button{
  background-color: #2F6375;
  color: #e9f0f2;
  border: 2px solid #2F6375;
  padding: 10px 15px;
  text-align: center;
  display: inline-block;
  font-size: 15px;
  margin: 4px 2px;
  cursor: pointer;
}

.teaching-grid > section >a.button:hover {
color: #2F6375;
background-color: #e9f0f2;
border: 2px solid #2F6375;
  }

  /* ---------------INTERVIEW HOMEPAGE---------------- */
.interview-home-grid-container {
  display: grid;
  grid-template-columns: auto auto auto auto;
  grid-column-gap: 10px;
}

.interview-home-grid-container > a{
  background-color: #493D7C;
  padding: 10px 10px 10px 10px;
  text-align: center;
  text-decoration: none;
  color: white;
  font-size: 20px;
  border: 2px solid #493D7C;
}

.interview-home-grid-container >a:hover{
  background-color: #C9C9E2;
  color: #493D7C;
  text-decoration: none;
  border: 2px solid #493D7C;
}

.interview-grid{
    display: grid;
    grid-row-gap: 12px;
    grid-column-gap: 12px;
    grid-template-columns: 330px 330px 330px;
    grid-template-rows: auto auto;
  }

.interview-grid > section{
  background-color: #E7E9EF;
  padding: 5px;
  text-align: center;
  border: 2px solid #493D7C;
}

.interview-grid > section >h2{
  font-weight: bold;
}

.interview-grid > section >p{
  font-size: 15px;
}

.interview-grid > section >ul >li{
  font-size: 13px;
  text-align: left;
}

.interview-grid-button{
    background-color: #493D7C;
    color: white;
    border: 2px solid #493D7C;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
  }

.interview-grid-button:hover {
    color: #493D7C;
    background-color: #C9C9E2;
    }

/* -----------SEARCH ACROSS INTERVIEWS--------- */
    .interview-search {
      width:100%;
      height: 500px;
      overflow:auto;
      border: 2px solid #ccc;
      padding:5px 30px 20px 30px;
    }

  .interview-search-analysis {
      height:445px;
      width:50%;
      background: #E7E9EF ;
      overflow:auto;
      float:left;
      border: 1px solid #493D7C;
      padding:10px 10px 10px 10px;
    }

    .interview-search-analysis>ul>li, p {
      text-align: left;
    }

  .button-interview-search {
    background-color: #C9C9E2;
    border: 2px solid #493D7C;
    text-align: center;
    display: inline-block;
    font-size: 14px;
    margin: 0px 2px 0px 2px;
    cursor: pointer;
    text-decoration: none;
    }

  /* .buttonInterview {
    background-color: #E8E8E8;
    color: #493D7C;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin: 2px 2px;
    cursor: pointer;
    } */

  .button-interview-search:hover {
    background-color: #493D7C;
    border: 2px solid #493D7C;
    text-decoration: none;
    }
/* --------------INTERVIEW TRANSCRIPTS------------- */
.popup {
  position: relative;
  display: inline;
  cursor: pointer;
}

/* The actual popup (appears on top) */
.popuptext {
  visibility: hidden;
  width: 200px;
  background-color: #C1D5E5;
  color: black;
  text-align: center;
  border: 1px solid #320E3B;
  border-radius: 8px;
  padding: 6px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  display:inline-block;
}

.systems-of-power-popuptext {
  visibility: hidden;
  width: 200px;
  background-color: #d6d9e3;
  color: black;
  text-align: center;
  border: 1px solid #320E3B;
  border-radius: 8px;
  padding: 6px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  margin-left: 250px;
  display: block;
}

/* Popup container */
  .code{
    font-weight: bold;
    color: #320E3B;
  }

  .power-identity {
      text-decoration: underline;
  }

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
  visibility: visible;
}

/*---------------TABLES---------*/

table, th, td {
  border: 1px solid black;
  padding: 5px 5px 5px 5px;
}

#interview-results {
  border-collapse: collapse;
  width: 100%;
}

#interview-results td, #interview-results th {
  border: 1px solid #ddd;
  padding: 8px;
}

#interview-results tr:nth-child(even){
  background-color: #f2f2f2;
}

#interview-results tr:hover {
  background-color: #ddd;
}

#interview-results th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: justify;
  background-color: #0D3268;
  color: #d6d9e3;
}

/* ---------ARTICLE INFORMATION----------- */
.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  text-align: left;
  margin-bottom: 20px;
}

.article-title {
  color: #444444;
}

a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e3e3e3
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

/* ---------------BLOG POST HOMEPAGE STUFF------------ */
.blog-container{
  display: flex;
  max-width: 100%;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-end;
}

.blog-container-card {
    position: relative;
    background-color: #fcf7fc;
    display: inline-block;
    border-style: solid;
    border-width: 1px;
    box-sizing: content-box;
    width: 300px;
    height: 350px;
    margin-left: 20px;
    padding: 5px 5px 5px 5px;
}

.blog-container-card>h2>a {
  color: black;
  width: auto;
  width: 300px;
  padding: 5px 5px 5px 5px;
  text-align: center;
  text-decoration: none;
  font-weight: bolder;
  display: inline-block;
  font-size: 22px;
  cursor: pointer;
}

.blog-container-card>a>img {
  width: 95%;
  position: relative;
}

.blog-container-card>p {
  font-size: 16px;
  padding: 10px 10px 0px 0px;
}

.blog-container-card>h2>a:hover, .blog-container-card>a>img:hover {
  text-decoration: none;
  color: #7C3874;
  opacity: 0.8;
}

/* ---------------IN THE BLOG POSTS------------ */

.epigraph, .epigraph>p{
  text-align: center;
  padding: 0% 10% 0% 10%;
  font-style: italic;
  background: #f1f1f1;;
}

.epigraph>p>cite{
  font-style: normal;
}

/* ---------------COLUMN CARDS FOR CHAPTERS/INFO------------ */

.chap-grid{
    display: grid;
    grid-row-gap: 12px;
    grid-column-gap: 12px;
    grid-template-columns: 330px 330px 330px;
    grid-template-rows: auto auto;
  }

.chap-grid > section{
  background-color: #E7E9EF;
  padding: 5px;
  text-align: center;
  border: 2px solid #272838;
}

..chap-grid > section >h2{
  font-weight: bold;
}
.chap-grid > section >h2 > a{
  color: white;
  background-color: #493D7C;
  width: auto;
  border: 2px solid #493D7C;
  width: 300px;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 22px;
  margin: 4px 2px;
  cursor: pointer;
}

.chap-grid > section >h2 > a:hover{
  background-color: #C9C9E2;
  color:#493D7C;
  text-decoration: none;
}

.chap-grid > section >p{
  font-size: 15px;
}

.chap-grid > section >ul >li{
  font-size: 13px;
  text-align: left;
}


.chap-grid > section >a.button{
    background-color: #0D3268;
    color: #d6d9e3;
    border: 2px solid #0D3268;
    padding: 10px 15px;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin: 4px 2px;
    cursor: pointer;
  }

.chap-grid > section >a.button:hover {
    color: #0D3268;
    background-color: #C1D5E5;
    }



/* ---------------CARDS THAT FLIP WHEN HOVER------------ */

.card-container {
  display: flex;
  max-width: 100%;
  display: flex;
   justify-content: center;
   /* You can set flex-wrap and
      flex-direction individually */
   flex-direction: row;
   flex-wrap: wrap;
   /* Or do it all in one line
     with flex flow */
   flex-flow: row wrap;
   /* tweak where items line
      up on the row
      valid values are: flex-start,
      flex-end, space-between,
      space-around, stretch */
   align-content: flex-end;
   border: none;
}


.card {
    position: relative;
    display: inline-block;
    padding: 20px;
    box-sizing: content-box;
    width: 450px;
    height: 450px;
    padding: 20px;
    border: none;
}

    .card .img-top {
        display: none;
        height: 450px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
    }

       .card .img-bott {
        height: 450px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 99;
    }
    .card:hover .img-top {
        display: inline;
    }
