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

/*styles for map titles*/
p.mapHeader {
  font-weight: 700;
  color: #969a9c;
  text-align: center;
  font-size: 1.4em;
  line-height: 0px;
}

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

iframe#salary{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: inherit;
  height: 550px;
  border: 0;
}

iframe#colaMap{
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: inherit;
  height: 550px;
  border: 0;
}

/*responsive maps*/
@media screen and (min-width: 600px) {
  iframe#slopegraph{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: inherit;
    height: 550px;
    border: 0;
  }

  iframe#slopegraphMobile{
    display: none;
  }
}

@media (min-width: 200px) and (max-width: 600px) {
  iframe#slopegraph{
    display: none;
  }

  iframe#slopegraphMobile{
    display: block;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    height: 500px;
  }
}

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#salary body div.container {
    padding-left: 0;
  }
  iframe#salary 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;
  }
}


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

@media (min-width: 200px) and (max-width: 600px) {
  p#anchors {
    display: block;
    text-align: left;
    font-size: .9em;
  }

  button#dataButton {
    display: none;
  }
}

/*  styles for dataTable */

div#stateTable_wrapper.dataTables_wrapper.no-footer {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

table#stateTable.table.table-bordered.table-hover.table-condensed.dataTable.no-footer {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

td {
  text-align: center;
}

th {
  text-align: center;
}

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

/* responsive dataTable */
@media screen and (max-width: 600px) {
  table.dataTable {
    font-size: .75em;
  }

  table.dataTable tbody td {
    padding-left: 2px 3px;
  }
}
