	/* Basic Settings */

/* Stuff we need to satisfy 508 */
.head-title {
    color: black;
    font-size: 1.375rem;
    font-family: Merriweather, serif;
    line-height: 1.3;
    font-weight: 500;
    margin-top: 0rem;
    margin-bottom: .75rem;
  }
  
  .state-menu {
    display: inline;
    font-size: 1.125rem;
    font-family: Merriweather, serif;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: .75rem;
    font-weight: 500;
  }
  
  .sr_only {
    position: absolute;
    left: -10000px;
    top:auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  
  .section-header {
    font-size: 16px;
    font-weight: bold;
    margin-top: 35px;
    font-family: Merriweather, serif;
    line-height: 1.3;
  }
  
  .instruction-title {
    display: block;
    text-align: center;
    margin-top: -25px;
    font-size: 1.125rem;
  }
  
  .instructions {
    font-size: 20px;
    margin-top: 14px;
  }
  
  .section-header-instructions {
    font-size: 16px;
    text-decoration: underline;
    margin-top: 30px;
  }
  
  .common-header {
    font-family: Merriweather,serif;
    line-height: 1.3;
    margin-bottom: .75rem;
    font-weight: 500;
  }
  
  /* Normal parts */
  
  h1 {
    color: blue;
  }
  
  h3 {
    margin-top: 14px;
  }
  
  h4 {
    margin-top: 0rem;
  }
  
  li {
    margin-right: 20px;
    display: inline-block;
  }
  
  h5 {
    display: inline;
  }
  
  #cite1 {
    margin-top: -20px;
  }
  
  #cite2 {
    margin-top: -25px;
  }
  
  
  /* Sections of the Webpage */
  
  .container_bottom {
    height: 530px;
  }
  
  .container_top {
    height: 610px;
    margin-top: -50px;
  }
  
  .background {
    fill: none;
    pointer-events: all;
  }
  
  .dropmenu {
  
  }
  
  #svg-area {
    width: 850px;
    height: 567px;
    float: left;
    /*margin-left: 14%;*/
    margin-left: 30px;
  }
  
  svg{
    overflow: hidden;
  }
  
  #right_sidebar {
    position: absolute;
    margin-left: 865px;
    width: 100px;
    height: 520px;
    padding-left: 5px;
  }
  
  #static_note {
    margin-left: 25%;
    width: 50%;
    text-align: center;
    margin-top: -45px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: normal;
  }
  
  #all_tracts_title {
    margin-top: 0px;
    display: block;
    text-align: center;
    font-size: 18px;
  }
  
  #svg-allCT {
    margin-left: 13%; 
  }
  
  #app {
    margin-left: 18%;
  }
  
  
  /* 508 Table */
  
  #tabler {
    position: absolute;
    top: 1071px;
  }
  
  #content {
    display: block;
    max-width: 850px;
    height: 105px;
    overflow-y: scroll;
  }
  
  #fiveoeight_table {
    display: block;
    border: 2px solid #a9a9a9;
    border-collapse: collapse;
    font-size: 15px;
    font-family: sans-serif;
    position: absolute;
    width: 678px;
    margin-top: -40px;
  }
  
  #fiveoeight_table table, #fiveoeight_table table th, #fiveoeight_table table td {
    border: 2px solid #a9a9a9;
  }
  
  #fiveoeight_table td {
    height: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 10px;
    padding-right: 10px;
    border: 2px solid #a9a9a9;
  }
  
  .top_row {
    background-color: lightskyblue;
    font-size: 16px;
  }
  
  .first_col {
    background-color: #e8e8e8;
    text-align: left;
    width: 163px;
  }
  
  .normal_col {
    width: 164px;
  }
  
  #fiveoeight_table thead {
    height: 15px;
    display: inline-table;
    width: 657px;
  }
  
  #fiveoeight_table tbody {
    display: inline-block;
    overflow-y: scroll;
    max-height: 500px;
    width: 674px;
  }
  
  #fiveoeight_table th {
    height: 15px;
    text-align: center;
    /*padding-left: 5px;
    padding-right: 5px;*/
    padding-top: 10px;
    padding-bottom: 10px;
    border: 2px solid #a9a9a9;
    font-weight: normal;
  }
  
  .squeezeHeader {
    padding-right: 16px;
    padding-left: 16px;
  }
  
  .headerRow {
   width: 132px;
  }
  
  
  /* Search Bar */
  
  .navbar-nav {
    display: inline-block;
    margin-top: 20px;
    margin-left: 150px;
  }
  
  select {
    font-size: 13px;
  }
  
  .searchBar {
    margin-top: -10px;
  }
  
  
  /* Above the Viz, top part of the page */
  
  #censusTractDiv {
    text-align: left;
    display: inline-block;
    width: 880px;
    font-size: 14px;
    margin-top: 0px;
  }
  
  #data_download {
    font-size: 14px;
  }
  
  .descript {
    width: 75%;
  }
  
  #download_row {
    margin-top: 10px;
  }
  
  .tablink {
      background-color: #555;
      color: white;
      float: left;
      border: none;
      outline: none;
      cursor: default;
      padding: 12px 8px;
      font-size: 16px;
      width: 16%;
      margin-left: 10px;
      border-radius: 12px;
  }
  
  .tablink:hover {
    background-color: #777;
  }
  
  .tabcontent {
    color: black;
    display: none;
    padding: 100px 20px;
    height: 100%;
  }
  
  
  /* Between the Viz and the Table */
  
  .footnoter {
    font-size: 13px;
    margin-bottom: 7px;
    margin-top: -65px;
    font-family: sans-serif; 
    /*text-align: center;*/
    margin-left: 18%;
  }
  
  .tableNote {
    font-family: sans-serif; 
    margin-bottom: 0px;
    font-size: 14px;
    margin-left: 18%;
  }
  
  #anchor {
    background-color: #075290; 
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: normal;
    font-size: 18px;
    border-radius: 4px;
    margin-top: 0px;
    width: 659px;
    margin-left: 18%;
  }
  
  
  /* Parts of the Right Sidebar */ 
  
  .rt_button{
    border: solid 1px black;
    font-family: 'Open Sans' sans-serif;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
    width: 70px;
    border-radius: 5px;
    font-size: 13px;
  }
  
  .rt_button_move{
    border: solid 1px black;
    font-family: 'Open Sans' sans-serif;
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 2px;
    margin-bottom: 2px;
    width: 70px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 900;
  }
  
  
  /* Map Elements */
  
  #state-borders {
    fill:none;
    stroke-linejoin: round;
    stroke-linecap: round;
    pointer-events: none;
  }
  
  .county-boundary {
      stroke: #000;
  }
  
  #legend text {
    font-size: 13px;
    color: #333;
    font-weight: 400;
  }
  
  #legendSVG {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 50%
  }
  
  #legendSVG_intMap {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 50%
  }
  
  #legendSVG_statMap {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 50%
  }
  
  
  /* Info Tool */
  
  .log_button{
    position: absolute;
    border: solid 1px black;
    font-family: 'Open Sans' sans-serif;
    font-size: 10px;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    margin-top: -20px;
    margin-bottom: 2px;
    width: 65px;
    border-radius: 5px;
    top: 80px;
  }
  
  #save{
    margin-left: 15px;
    background-color: #90ee90;
  }
  
  #reset{
    margin-left: 90px;
    background-color: #ffcccb;
  }
  
  .infoTool {
    position: absolute;
    padding: 7px;
    font-size: 13px;
    font-family: 'Open Sans' sans-serif;
    pointer-events: visiblePainted;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    visibility: hidden;
    /*z-index: -1;*/
  
    -moz-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
  }
  
  /*.infoTool.active { 
    z-index: 5;
  }*/
  
  .infoTool > .currentArea {
    font-weight: 600;
    font-size: 13px;
    margin-top: 5px;
    margin-left: 5px;
  }
  
  .infoTool > .logName {
    font-weight: 600;
    font-size: 13px;
    margin-top: 75px;
    margin-left: 5px;
  }
  
  #infoToolTable {
    position: absolute;
    top: 85px;
    width: 172px;
    border-spacing: 0px;
    font-family: sans-serif;
  }
  
  #infoToolTable table, #infoToolTable td, #infoToolTable tr, #infoToolTable th {
    /*border: 1px solid black;*/
    /*border-collapse: collapse;*/
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    font-size: 12px;
  }
  
  #currentGeoTable {
    position: absolute;
    top: 4px;
    width: 175px;
    border-spacing: 1px;
  }
  
  #right_itTable {
    text-align: right;
    padding-right: 5px;
  }
  
  #left_itTable {
    padding-left: 5px;
  }
  
  
  /* Tooltip */
  
  .tooltip {
    position: absolute;
    padding: 7px;
    font-size: 12px;
    font-family: 'Open Sans' sans-serif;
    pointer-events: none;
    /*background: linear-gradient(0deg, #fff 65%, #00ff00 35%); */
    border: 1px solid #ccc;
    border-radius: 4px;
    opacity: 0;
    width: 110px;
    z-index: 5;
  
    -moz-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
  }
  
  .tooltip p {
    margin: 0;
    padding: 0;
  }
  
  .tooltip table {
    margin: 0;
    padding: 0;
    width: 98px;
    border-collapse: collapse;
  }
  
  .tooltip table td {
    padding: 0px;
    font-family: sans-serif;
  }
  
  #toolTitle {
    text-align: center;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 5px;
    font-family: sans-serif;
  }
  
  #itTitle {
    text-align: left;
    margin-top: 15px;
    padding-top: 10px;
    margin-bottom: 5px;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: bold;
  }
  
  #currentVal {
    margin-top: 15px;
    padding-top: 10px;
    /*margin-bottom: 5px;*/
    padding-right: 3px;
    font-family: sans-serif;
    font-size: 15px;
    /*font-weight: bold;*/
  }
  
  #currentValSex {
    margin-top: -5px;
    font-family: sans-serif;
    font-size: 11px;
  }
  
  .currValp {
    font-size: 10px;
    margin-top: 23px;
    margin-bottom: 0px;
  }
  
  #firstTTRow {
    font-size: 15px;
  }
  
  /* Loading Dongle */
  
  .lds-ring {
    display: inline-block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin-left: 44%; 
  }
  
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 51px;
    height: 51px;
    margin: 6px;
    border: 6px solid #A9A9A9;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #A9A9A9 transparent transparent transparent;
  }
  
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(306deg);
    }
  }
  
  
  /* CSS for different screen sizes */
  
  /*Viewport 5 Styles */
  @media screen and (min-width: 1440px){
  
   .searchBar {
     margin-left: 22%;
   }
   
   #svg-area {
    margin-left: 15%;
   }
  
   #right_sidebar {
    margin-left: 75%;
   }
  
   .navbar-nav {
     margin-left: 23%;
   }
   
   #tabler {
     top: 1061px;
   }
  
   #app {
     margin-left: 20%;
   }
  
   .footnoter {
     margin-left: 20%;
   }
   
   .tableNote {
     margin-left: 20%;
     margin-top: -40px;
   }
  
   #anchor {
     margin-left: 20%;
   }
  
   #defaultOpen {
     margin-left: 32%;
   }
   
   #usaSVG {
     margin-left: 34%;
   }
  
   #legendSVG {
    margin-left: 30%;
   }
  
   .infoTool {
     margin-left: 71%;
   }
  
   #refSection {
     margin-top: 100px;
   }
  }
  
  /* Viewport 4 Styles */
  @media screen and (max-width: 1439px) and (min-width: 1200px){
  
   .searchBar {
     margin-left: 18%;
   }
  
   #svg-allCT {
     margin-left: 5%;
   }
  
   #svg-area {
     margin-left: 5%;
   }
  
   #right_sidebar {
     margin-left: 78%;
   }
  
   #app {
     margin-left: 15%;
   }
  
   .tableNote{
     margin-left: 15%;
     margin-top: -40px;
   }
  
   #anchor {
     margin-left: 15%;
   }
   
   .footnoter {
     margin-left: 15%;
   }
  
   #defaultOpen {
     margin-left: 31%;
   }
  
   .navbar-nav {
     margin-left: 23%;
   }
  
   #usaSVG {
     margin-left: 29.2%;
   }
  
   #legendSVG {
     margin-left: 23%; 
   }
   
   #tabler {
     top: 1082px;
   }
  
   .infoTool {
     margin-left: 74%;
   }
  
   #refSection {
     margin-top: 100px;
   }
  }
  
  
  
  /* Viewport 3 Styles */
  @media screen and (max-width: 1199px)and (min-width: 981px){
  
   h5 {
    font-size: 13px;
   }
  
   .searchBar {
     margin-left: 17%;
     margin-top: 0px;
   }
  
   .navbar-nav {
     margin-top: 0px;
     margin-left: 23%;
   }
  
   .tablink {
     padding: 8px 8px;
     font-size: 13px;
   }
  
   #right_sidebar {
      margin-left: 85%;
   }
  
   #svg-allCT {
    margin-left: -3%;
   }
  
   #download_row {
     margin-top: 10px;
   }
  
   #defaultOpen {
     margin-left: 31%;
   }
  
   #svg-area {
     margin-left: -3%;
   }
  
   #app {
     margin-left: 5%;
   }
  
   .footnoter {
     margin-left: 5%;
   }
  
   .tableNote{
     margin-left: 5%;
     margin-top: -40px;
   }
  
   #anchor {
     margin-left: 5%;
   }
  
   #usaSVG {
     margin-left: 26%;
   }
  
   #legendSVG {
     margin-left: 19%; 
   }
   
   #tabler {
     top: 1062px;
   }
  
   .infoTool {
     margin-left: 75%;
   }
  
   #refSection {
     margin-top: 100px;
   }
  }
  
  /* Additional smaller between iPad and 980 px */
  
  @media screen and (max-width: 980px) and (min-width: 769px){
   .tablink {
     width: 21%;
     font-size: 13px;
     padding: 8px 2px;
   }
  
   #right_sidebar {
      margin-left: 630px;
   }
  
   .infoTool {
     margin-left: 525px;
   }
   
   h5 {
    font-size: 13px;
   }
  
   .searchBar {
     margin-left: 17%;
     margin-top: 0px;
   }
  
   .navbar-nav {
     margin-top: 0px;
     margin-left: 70px;
   }
  
   #svg-allCT {
    margin-left: -3%;
   }
  
   #download_row {
     margin-top: 10px;
   }
  
   #defaultOpen {
     margin-left: 150px;
   }
  
   #svg-area {
     margin-left: -3%;
   }
  
   #app {
     margin-left: 5%;
   }
  
   .footnoter {
     position: absolute;
     top: 875px;
     margin-left: 5%;
   }
  
   .tableNote{
     position: absolute;
     top: 830px;
     margin-left: 5%;
   }
  
   #anchor {
     position: absolute;
     top: 855px;
     margin-left: 5%;
   }
  
   #usaSVG {
     margin-left: 114px;
   }
  
   #legendSVG {
     margin-left: 35px;
     margin-top: -189px; 
   }
   
   #tabler {
     padding-left: 4px;
     top: 934px;
   }
  
   #refSection {
     margin-top: 30px;
   }
  }
  
  /* iPad Size */
  
  @media screen and (max-width: 768px) and (min-width: 556px){
   .descript {
     width: 100%
   }
  
   .tablink {
     width: 21%;
     font-size: 13px;
     padding: 8px 2px;
   }
  
   #right_sidebar {
      margin-left: 580px;
   }
  
   .infoTool {
     transform: translate(0px, 100px);
   }
   
   h5 {
    font-size: 13px;
   }
  
   .searchBar {
     margin-left: 17%;
     margin-top: 0px;
   }
  
   .navbar-nav {
     margin-top: 0px;
     margin-left: 120px;
   }
  
   #svg-allCT {
    margin-left: -3%;
   }
  
   #download_row {
     margin-top: 10px;
   }
  
   #defaultOpen {
     margin-left: 200px;
   }
  
   #svg-area {
     margin-left: -3%;
   }
  
   #app {
     margin-left: 0%;
   }
  
   .footnoter {
     position: absolute;
     top: 895px;
     margin-left: 0%;
     margin-top: 5px;
   }
  
   .tableNote{
     position: absolute;
     top: 924px;
     margin-left: 0%;
   }
  
   #anchor {
     position: absolute;
     top: 951px;
     margin-left: 0%;
   }
  
   #usaSVG {
     margin-left: 155px;
   }
  
   #legendSVG {
     margin-left: 30%;
     margin-top: -254px; 
   }
   
   #tabler {
     padding-left: 0px;
     top: 1030px;
   }
  
   #refSection {
     margin-top: 130px;
   }
  
  }
  
  /* Phone Size */
  
  @media screen and (max-width: 555px){
   .descript {
     width: 100%
   }
  
   .tablink {
     width: 44%;
     font-size: 13px;
     padding: 8px 2px;
   }
  
   #right_sidebar {
      margin-top: 240px;
      margin-left: 8px;
      width: 300px;
      height: 30px;
   }
  
   .infoTool {
     transform: translate(0px, 100px);
   }
   
   h5 {
    font-size: 13px;
   }
  
   .searchBar {
     margin-left: 17%;
     margin-top: 0px;
   }
  
   .navbar-nav {
     margin-top: 0px;
     margin-left: 5px;
   }
  
   #svg-allCT {
    margin-left: -3%;
   }
  
   #download_row {
     margin-top: 10px;
   }
  
   #defaultOpen {
     margin-left: 17px;
   }
  
   #svg-area {
     margin-left: -3%;
   }
  
   #app {
     margin-left: -4%;
   }
  
   .footnoter {
     position: absolute;
     top: 1029px;
     margin-left: -3%;
     margin-top: 5px;
     font-size: 11px;
   }
  
   .tableNote {
     position: absolute;
     top: 1055px;
     margin-left: -3%;
     font-size: 11px;
   }
  
   #anchor {
     position: absolute;
     top: 1076px;
     margin-left: -3%;
     width: 330px;
     font-size: 12px;
     padding: 0px 2px;
   }
  
   #usaSVG {
     margin-left: 16px;
   }
  
   #legendSVG {
     margin-left: -12%;
     margin-top: -425px; 
   }
   
   #tabler {
     padding-left: 0px;
     top: 1140px;
   }
  
   #bottom_bar {
     margin-left: 5px;
   }
  
   #fiveoeight_table {
     width: 330px;
     font-size: 11px;
   }
  
   .top_row {
     font-size: 11px;
   }
  
   #fiveoeight_table thead {
     font-size: 11px;
     width: 322px;
   }
  
   #fiveoeight_table th {
     padding-left: 0px;
     padding-right: 3px;
     padding-top: 2px;
     padding-bottom: 2px;
   }
  
   .headerRow {
     width: 80px;
   }
  
   #fiveoeight_table tbody {
     width: 330px;
   }
  
   #fiveoeight_table td {
     padding-left: 0px;
     padding-right: 3px;
     padding-top: 2px;
     padding-bottom: 2px;
     width: 80px;
   }
  
   .first_col {
     width: 80px;
   }
  
   #refSection {
     margin-top: 100px;
   }
  
  }
  
  @media screen and (max-width: 361px){
   #legendSVG {
     margin-left: -15%;
     margin-top: -441px;
   }
  
   .infoTool {
     transform: translate(0px, 125px);
   }
  
  
   #refSection {
     margin-top: 60px;
   }
  }