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: 85px;
  line-height: 50px;
  width: 100%;
  vertical-align: center;
  position: relative;
  top: 50px;
}

h4#title2 {
  color: #333333;
  height: 50px;
  line-height: 50px;
  width: 100%;
  text-align: center;
  position: relative;
  margin-top: 2px;
}

section .title h2#title3 {
  /*background-color: rgba(252, 252, 250, .7);*/
  color: #333333;
  font-size: 2.5em;
}

h4#peerTitle {
  text-align: center;
}

iframe#natl{
  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;
}

/*MAPS*/
#map-wrapper {
  position: relative;
  width:100%;
  height: 555px;
}
#map{
  position:relative;
  top: 0px;
  bottom:0; 
  height: 555px;
 }  

 .tweet-button {
  background-image: url('/maps/2016/cola/img/twitter_inline.png');
 }

/* Styling for LEGEND */
/********************************************/
/********************************************/

#legendcontainer {
  position: relative;
  padding-left: 0px;
  font: normal 13px/18px 'Lato', sans-serif;
  width: 175px;
  left: 1%;
  bottom: 24%;
  background: white;
  border-radius: 3px;
} 

li.legendTitle {
  margin-left: -20px;
  text-decoration: none;
  color: #000000;
}

li.legendTitle a{
  color: #1B4971;
  font-weight: 700;
}

#legend-ui li {
  list-style-type: none;
  font:13px 'Lato', sans-serif;
}

ul#legend-ui {
  padding-left: 0px;
  margin-top: 5px;
  margin-bottom: 5px;
}

ul.legend {
  display: block;
}

ul.legend span.keycolor {
  display: inline-block;
  width: 15px;
  height: 10px;
  margin-left: -20px;
  margin-right: 5px;
}

ul.legend li.slr1 span.keycolor {
  background-color:#224a58;
}

ul.legend li.slr2 span.keycolor {
  background-color:#296371;
}

ul.legend li.slr3 span.keycolor {
  background-color:#3990a3;
}

ul.legend li.slr4 span.keycolor {
  background-color:#7ab6cc;
}

ul.legend li.slr5 span.keycolor {
  background-color:#b7d8e4;
}

/* Styling for dropdown button */
/********************************************/
/********************************************/
div#peerselectionslidecontent {
  position: absolute;
  top: 0;
  width: 210px;
  left: 25px;
}

button.btn.btn-primary.dropdown-toggle {
  text-decoration: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-color: #7AB6CC;
  border-radius: 3px;
  font-size: 16px;
  text-align: center;
  color: #fff;
  background: #58595b;
  width: 80%;
  margin-top: 10px;
}

button.btn.btn-primary.dropdown-toggle:hover {
  background: #86888A;
}

button.btn.btn-primary.dropdown-toggle:focus{
  background: #86888A;
}

.dropdown-menu {
  left: 0;
  text-align: center;
  transform: translate(7%, 0);
}

.dropdown-menu > li {
  cursor: pointer;
}

.dropdown-menu > li > a {
  line-height: 1;
  font-size: 13px;
}

#peerGroup1-table_wrapper {
  margin-top: 20px;
  text-align: center;
  font: 12px "Lato";
  width: 94%;
  margin-left: 2%;
  overflow-x: scroll;
}

table.dataTable tbody tr {
  padding: 7px 1px;
  vertical-align: middle;
}

th.sorting {
  vertical-align: middle;
  padding-left: 2px;
  padding-right: 2px;
}

/*peer label styles*/
.peerLabel {
  color: #000;
  background-color: #fff;
  opacity: .75;
  transform: translate(px) !important;
  width: 125px !important;
  height: auto !important;
  text-align: center;
  margin-left: 7px !important;
  border-radius: 3px;
  font-family: Lato;
  line-height: 1.3;
}

/*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: 400;
    padding-top: 50px;
  }
  .container-fluid {
    padding-right: 25px;
    padding-left: 25px;
  }
  section,footer ul {
    font-size: 90%;
  }
  h1 {
    font-size: 20px;  
  }
  h2,
  section .title h2 {
    font-size: 16px;
    letter-spacing: 0;
  }

  h4#title2 {
    font-size: 9pt;
  }

  p.mapHeader {
    font-size: 1em;
  }

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

div.desktop {
  width: 80%;
}
