/* 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

*/


/* OVERALL BODY DESIGN */


/*
html {
  height: auto;
}
*/

* {
    box-sizing: border-box;
}

a {
    color: #364aff;
    text-decoration: none;
}

body {
  width: 100%;
  height: auto;
  background-color: #f4f4f4;
  line-height: 1em;
}

h3 {
    font-size: 1.4em;
}

/* Video Overlay */
header {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

header video {
  width: 100%;
  height: auto;
  display: block;
}

header h1 {
  width: auto;
  position: absolute;
  font-size: 5em;
  text-transform: uppercase;
  line-height: 1em;
  font-family: 'Montserrat', sans-serif;
  background-color: white;
  font-weight: 700;
  margin: 0px;
  padding: 20px;
  text-align: center;
}

/* DROP CAP IN TEXT */

.firstcharacter {
  color: #673AB7;
  float: left;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 3em;
  line-height: 0.8em;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 0px;
}

/***********************************/
/* PARALLAX IMAGE */

.parallax-image {
    position: relative;
	 padding: 0;
    margin: 0;
    clear: both;
    width: 100%;
    height: 600px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: grayscale(0%);
}

#parallax-image-01 {
    background-image: url(../img/lapd_hamid_khan_protest.jpg);
}

#parallax-image-02 {
    background-image: url(../img/surveillance_video_collage2.jpg);
}

.parallax-window {
    min-height: 400px;
    background: transparent;
}

.parallax-caption {
    position: absolute;
    bottom: 0px;
    color: #f4f4f4;
    width: 100%;
    height: auto;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    background-color:rgba(0, 0, 0, 0.5);
    font-size: 1.1em;
    line-height: 1.4em;
}

section.media {
    width: 100%;
    height: auto;
    margin: 0px;
    padding: 0px;
}

/*  FINISH EXPERIMENT  */

.master-container {
  width: 65%;
  height: auto;
  flex-direction: column; 
  align-content: center;
  justify-content: center;
  background-color: #fff;
  margin: auto;
}

.width70 {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column; 
  align-content: flex-start;
  justify-content: center; 
}

section.width100 {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* TEXT SECTIONS */
#text-container {
  max-width: 100%;
  height: auto;
  font-family: 'Lora', serif;
  font-size: 1.1em;
  line-height: 1.7em;
  color: #282828;
  margin: auto;
  padding: 20px 7%;
}

/* IMAGES SECTION */

.image-bg img {
  max-width: 100%;
}

.story-image {
  display: block;
  width: 50%;
  margin-left: 10%;
}

.story-image img {
  margin: auto;
}

/* GRAPHICS SECTION */

#viz-container {
  height: auto;
  max-width: 100%;
  flex-direction: column; 
  align-items: flex-start;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
  margin: auto;
  padding: 20px 7%;
}

.graphics-chart {

}

.graphics-text {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

#chart {
  display: block;
  width: 100%;
  height: 500px;
  align-items: center;
  justify-content: center;
}

svg {
  font-family: "Roboto Condensed";
  font-size: 11px;
  color: gray;
}

#chart1 {
  display: block;
  width: 100%;
  height: auto;
}

g.background text {
  stroke-linejoin: round;
  stroke: white;
  stroke-width: 1px;
}

g.titles text,
g.background text {
  text-anchor: middle;
  font-size: 12px;
  font-weight: bold;
}
#indivHeader {
  float: right;
}

#map-container {
  display: block;
  height: auto;
}

path {
  stroke: #fff;
  stroke-width: 0.5;
  opacity: 0.8;
}

g text {
  font-family: "Roboto Condensed";
  font-size: 12px;
  color: #f4f4f4;
}

circle {
  fill: #00bef3;
  opacity: 0.6;
  /* Grayscale
  fill: #252525; */
}

.g-cards {
  color: #00bef3;
  opacity: 0.6;
}

.g-legend {
  padding: 15px;
}

g {
  padding: 5px;
}

.axis--x path {
  display: none;
}

.line {
  fill: none;
  stroke: steelblue;
  stroke-width: 1.5px;
}

/* SECTION SEPARATORS */


/* Video Overlay */
.new-header {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.newheader video {
  max-width: 100%;
  height: auto;
  display: block;
}

.new-header h1 {
  width: auto;
  position: absolute;
  font-size: 5em;
  text-transform: uppercase;
  line-height: 1;
  font-family: Avenir, Helvetica, sans-serif;
  background-color: white;
  padding: 20px;
  text-align: center;
}

.tree-text {
  color: #f4f4f4;
}

#chart1 > g > g.leafgroup > g:nth-child(9) > text {
  color: #f4f4f4;
}

#scoreInput {
    -webkit-appearance: none;
    width: 80%;
    margin-left: 10%;
    margin-bottom: 2%;
    margin-top: 1%;
    margin-right: 10%;
    height: 5px;
    border-radius: 5px;   
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#scoreInput::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #6130b3;
    cursor: pointer;
    border: 2px solid black;
    margin: 2px;
}

#scoreInput::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #6130b3;
    cursor: pointer;
    margin: 1.5px;
}

/* TAU CHART GRAPHICS */

#scatter > svg {  
 display:block;
}

/* SCROLLY TEST */
#play-coordinate {
  margin: 5%;
  padding-left: 13%;
}

#coordinate {
  margin: 5%;
  padding-left: 22%;
}

iframe {
  margin: auto;
}

/* PULL QUOTES */

.pquote-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.pquote-container img {
  width: 7%;
  height: auto;
  margin: 0% 3%;
  padding-bottom: 20px;
}

.pquote {
  display: block;
  padding: 0px;
  margin: 50px 0px;
  width: 90%;
  font-size: 2em;
  line-height: 1.3em;
  text-align: center;
  color: #673AB7;
  font-family: 'Lora', serif;
    font-weight: 700;
}

.pquote span {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.45em;
    line-height: 1.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: black;
}

/* test area */

#set-height {
  display: block;
  height: 100%;
  margin: auto;
}

#set-height2 {
  display: block;
  height: 800px;
}

#v0 {
  height: 300px;
  margin-left: 25%;
}

p font-family helvetica {
  font-size: 24px;
}
#time {
  position: fixed;
  display: block;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background-color: rgba(0,0,255,0.5);
}
#scroll {
  position: fixed;
  display: block;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-radius: 20px;
  background-color: rgba(255,0,0,0.5);
}

#fullheight {
    min-height: 100% !important;
    height: 100%;
}

/* MEDIA QUERIES */

@media only screen and (max-width:768px) {
    #overlay { height:auto; }
    
    .master-container {
      width: 100%;
    }
    
    header h1 {
      font-size: 3em;
      line-height: 1em;
      padding: 20px;
    }
    
    .pquote {
        width: 100%;
      font-size: 1.5em;
      line-height: 1.3em;
        text-align: left;
        margin: 20px 0px;
    }
    
    .pquote-container img {
      display: none;
    }
    
}


@media only screen and (max-width:420px) {
    #overlay { height:auto; }
    
    .master-container {
      width: 100%;
    }
    
    header h1 {
      font-size: 3em;
      line-height: 1em;
      padding: 10px;
    }
    
    .pquote {
        width: 100%;
      font-size: 1.5em;
      line-height: 1.3em;
        text-align: left;
        margin: 20px 0px;
    }
    
    .pquote-container img {
      display: none;
    }
}

div.tooltip {
    position: absolute;
    width: 200;
    height: 200;
    padding: 10px;
    background-color: #E5E5E5;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    pointer-events: none;
}

.PopButton {
-moz-box-shadow: 0px 0px 0px 2px #3182bd;
  -webkit-box-shadow: 0px 0px 0px 2px #3182bd;
  box-shadow: 0px 0px 0px 2px #3182bd;
  background-color:#6baed6;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}

.PopButton:hover {
  background-color: #08519c;
  text-decoration: none;
}

.HouseButton {
  -moz-box-shadow: 0px 0px 0px 2px #756bb1;
  -webkit-box-shadow: 0px 0px 0px 2px #756bb1;
  box-shadow: 0px 0px 0px 2px #756bb1;
  background-color:#9e9ac8;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}

.HouseButton:hover {
  background: #54278f;
  text-decoration: none;
}

.IncomeButton {
  -moz-box-shadow: 0px 0px 0px 2px rgb(49,163,84);
  -webkit-box-shadow: 0px 0px 0px 2px rgb(49,163,84);
  box-shadow: 0px 0px 0px 2px rgb(49,163,84);
  background-color:rgb(116,196,118);
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}

.IncomeButton:hover {
  background: rgb(0,109,44);
  text-decoration: none;
}

.EmploymentButton {
  -moz-box-shadow: 0px 0px 0px 2px #c51b8a;
  -webkit-box-shadow: 0px 0px 0px 2px #c51b8a;
  box-shadow: 0px 0px 0px 2px #c51b8a;
  background-color:#f768a1;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}

.EmploymentButton:hover {
  background: #7a0177;
  text-decoration: none;
}

.PovertyButton {
  -moz-box-shadow: 0px 0px 0px 2px #de2d26;
  -webkit-box-shadow: 0px 0px 0px 2px #de2d26;
  box-shadow: 0px 0px 0px 2px #de2d26;
  background-color:#fb6a4a;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}

.PovertyButton:hover {
  background: #a50f15;
  text-decoration: none;
}

path .active {
    fill: orange;
}


.myButton {
  -moz-box-shadow: 0px 0px 0px 2px #9fb4f2;
  -webkit-box-shadow: 0px 0px 0px 2px #9fb4f2;
  box-shadow: 0px 0px 0px 2px #9fb4f2;
  background-color:#7892c2;
  -moz-border-radius:10px;
  -webkit-border-radius:10px;
  border-radius:10px;
  border:1px solid #4e6096;
  display:inline-block;
  cursor:pointer;
  color:#ffffff;
  font-family:arial;
  font-size:19px;
  padding:7px 19px;
  text-decoration:none;
  text-shadow:0px 1px 0px #283966;
}
.myButton:hover {
  background-color:#476e9e;
}
.myButton:active {
  position:relative;
  top:1px;
}
