body {
  padding-top: 70px;
  font-family: 'Lato', sans-serif;
  /* font-family: 'Droid Serif', serif; */
  font-weight: 400;
  background: #FCFCFA;
  color: #333333;
}
.fonts-loaded body {
    font-family: 'Lato', sans-serif;
  }
a, a:visited {
  color: #8BA1A6;
}
a:hover, a:active {
  color: #3990A3;
}
header h1 {
  width: 100%;
  text-align: center;
  margin: auto;
  font-size: 24px;
  position: inherit;
  z-index: 98765;
}
main {
  margin-top: 20px;
}
section {
  font-size: 1.4rem;
  /**/
  margin-bottom: 50px;
  margin-bottom: 10vh;
}
section.divider {
  height:1px; background: repeating-linear-gradient(
    60deg,
    #FCFCFA,
    #FCFCFA 20px,
    #333333 20px,
    #333333 21px
  );
  position: relative;
  background-attachment: fixed;
}
section h2 {
  text-align: center;
  letter-spacing: 0.2rem;
}
section p {
  color: #333333;
  margin-top: 20px;
  text-align: justify;
}
footer .row {
  margin-top: 30px;
  padding: 15px;
  background-color: #f4f7f8;
}
footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

section .viz.affix {
  right: 0;
  top: 100px;
}
section .viz.affix-bottom {
  position: relative;
  right: 0;
}

/*styles for text callouts*/
p#callout {
  font-family: 'Lato-Ultra-Bold', sans-serif;
  font-style: italic;
  font-weight: 700;
}

span#callout {
  font-family: 'Lato-Bold', sans-serif;
  font-weight: 700;
}

/* NEW STUFF */
.parallax-window {
  min-height: 300px;
  background: transparent;
}
#main-title {
  min-height: 180px;
  max-height: 180px;
}
section .title h2 {
  color: #ffffff;
  vertical-align: center;
  top: 130px;
  position: relative;
  margin: 0;
  font-size: 32px;
}
section .title h2#title1 {
  top: 0;
}
section .title h2#title1 div {
  background-color: rgba(252, 252, 250, .7);
  color: #333333;
  height: 50px;
  line-height: 50px;
  width: 100%;
  vertical-align: center;
  position: relative;
  top: 65px;
}

/*responsive maps*/
@media screen and (min-width: 200px) and (max-width: 800px) {
  iframe#neighborhoods {
    display: none;
  }
  img#neighborhoods_mobile {
    width: 90%;
/*    margin-left: 10%;
    height: 400px;*/
    border: 0;
  }
}

@media screen and (min-width: 200px) and (max-width: 500px) {
  iframe#threed {
    display: none
  }

  img#threed_mobile {
    width: 90%;
    /*height: 380px;*/
    border: 0;
  }

  td {
    font-size: 1em;
  }

  div#sd_wrapper.dataTables_wrapper.no-footer {
    width: 100%;
    /*margin-left: 15%;*/
  }
}

@media screen and (min-width: 500px) {
  iframe#threed {
    display: block;
    width: 90%;
    margin-left: 5%;
    height: 680px;
    border: 0;
  }
  img#threed_mobile {
    display: none;
  }

  div#sd_wrapper.dataTables_wrapper.no-footer {
    width: 70%;
    margin-left: 15%;
  }
}

@media screen and (min-width: 800px) {
  iframe#neighborhoods {
    display: block;
    width: 100%;
    height: 700px;
    border: 0;
  }
  img#neighborhoods_mobile {
    display: none;
  }
}

a.anchor:before {
  content: '';
  display: inline-block;
  position: relative;
  width: 0;
  height: 6em;
  margin-top: -6em;
}
#note-from-authors {
  font-style: italic;
  padding-top: 20px;
}
/* while this does not work, it needs to be applied */
  iframe#threed body div.container {
    padding-left: 0;
  }
  iframe#threed body iframe {
    border: 0;
  }

@media screen and (min-width: 1400px) {
  header h1 {
    width: 100%;
    text-align: center;
    margin: auto;
    font-size: 26px;
    position: fixed;
    z-index: 98765;
    top: 10px;
  }
}


/* for older browsers */
section .viz img {
  max-width: 916px;
}

/* responsive text queries */
@media screen and (max-width: 992px) {
  section,footer ul {
    font-size: 95%;
  }
  h1 {
    font-size: 24px;  
  }
  h2,
  section .title h2 {
    font-size: 22px;
  }
  h3 {
    font-size: 18px;  
  }
  /* for older browsers */
  section .viz img {
    max-width: 450px;
  }
}

@media screen and (max-width: 768px) {
  body {
    font-weight: 300;
    padding-top: 50px;
  }
  section,footer ul {
    font-size: 90%;
  }
  h1 {
    font-size: 20px;  
  }
  h2,
  section .title h2 {
    font-size: 16px;
    letter-spacing: 0;
  }
  h3 {
    font-size: 14px;  
  }
  nav .navbar {
    margin-bottom: 0;
  }
  main {
    margin-top: 0;
  }
  main section div.row div[class^="col"]:not(:first-child) {
    padding-left: 0;
  }
  main section div.row div[class^="col"] {
    padding-right: 0;
  }
  main section div[class^="container"] {
    padding-left: 8px;
    padding-right: 5px;
  }
  section {
    margin-bottom: 40px;
    margin-bottom: 8vh;
  }
  section.divider {
    height:1px; background: repeating-linear-gradient(
      72deg,
      #35494C,
      #35494C 20px,
      #CCCCCC 20px,
      #CCCCCC 21px
    );
    position: relative;
    background-attachment: fixed;
    margin-bottom: 30px;
    margin-bottom: 6vh;
  }
  /* for older browsers */
  section .viz img {
    max-width: 215px;
  }
}

p#note {
  font-style: italic;
  font-size: .7em;
}

.boxed {
    border: 2px solid #58595b;
    border-radius: 5px;
    width: 230px;
    font-size: .85em;
    float: right;
    margin-top: 15px;
    margin-left: 20px;
    padding: 5px;
}

em#note {
  font-size: .75em;
  line-height: 90%;
}

img#maravilla {
    display: block;
    float: right;
    width: 45%;
    margin-left: 20px;
    margin-top: -20px;
}

img#oakland {
    display: block;
    float: right;
    width: 45%;
    margin-left: 25px;
    margin-top: 5px;
}

.map_anchor {
  display: block;
  position: relative;
  top: -50px;
  visibility: hidden;
}

/* ############### visuals on mobile and desktop ####################*/
@media screen and (min-width: 200px) and (max-width: 800px) {
  div.desktop {
    display: none;
  }
  div.tablet {
    display: none;
  }
  div.mobile {
    display: block;
  }
}

@media screen and (min-width: 800px) and (max-width: 1200px) {
  div.desktop {
    display: none;
  }
  div.tablet {
    display: block;
  }
  div.mobile {
    display: none;
  }
}

@media screen and (min-width: 1200px) {
  div.desktop {
    display: block;
  }
  div.tablet {
    display: none;
  }
  div.mobile {
    display: none;
  }
}


td {
  text-align: center;
}

th {
  text-align: center;
}

/* table header row hover hand */
table#sd th:hover {
  cursor: pointer;
}
