body { margin: 0; padding: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }
  
  .modal {
    width: 100vw;
    height: 100vh;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: rgba(31, 41, 71, 0.30);
  backdrop-filter: blur(5px);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    transition: 250ms opacity ease-in;
    z-index: 9998;
  }
  
  .container-box {
    font: 18px / 36px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 40%;
    height: calc(100% - 460px);
    overflow-x: visible;
    top: 286px;
    left: 20px;
    padding: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
      }
  

      
  
    

  
  
  


.modal a, #infobox a {
  text-decoration: underline !important; }


#infobox p{
  padding: 0; 
  margin: 0;  
  line-height: 1.15;

}

.modal p {
    padding: 0; 
    margin-block-start: 0em; 
    line-height: 1.15;
  }







  
  
  #map { position: absolute; top: 0; bottom: 0; width: 100%; }
  
  
  
  
  /* MAP OVERLAY UI */
  
  .primary-controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 2;
    margin: 24px;
    width: calc(100% - 55px);
  }
  
  .nav-controls {
    position: absolute;
    display: flex;
    align-items: center;
    align-content: center;
    top: 0px;
    right: 10px;
    left: auto;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 9999;
    margin: 20px;
  }


  .scale-and-title {
    display: flex;
    /* width: auto; */
    /* min-width: 600px; */
    padding: 14px 20px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* flex-grow: 1; */
    /* flex-shrink: 0; */
    border-radius: 8.701px;
    background: #FFF;
    box-shadow: 0px 3.48px 8.701px 0px rgba(0, 0, 0, 0.05);
  }
  
.airtoxscreen-risk-legend {
    min-width: auto;
    color: #000;
    margin: 6px 0 10px;
}

  
  .scale-title {
    display: flex;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  }

  .scale-title h1 {
      text-align: center;
    width: 100%;
    line-height: 1.2rem;
  }
  
  
  .filters {
    display: flex;
  padding: 16px 16px;
  justify-content: left;
  align-items: center;
  align-content: center;
  gap: 20px 10px;
  flex-wrap: wrap;
    border-radius: 8.701px;
  background: #FFF;
  box-shadow: 0px 3.48px 8.701px 0px rgba(0, 0, 0, 0.05);
  }
  
  .filter-title {
    display: flex;
  padding: 0;
  align-items: center;
  align-content: space-between;
  flex-wrap: wrap;
  }

  .filters .label {
    font-size: 11pt;
    margin-bottom: 2px;

  }
  
  
  .btn-nav {
      display: flex;
  
  padding: 10px;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  background: #F7F7F8;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  z-index: 999;
  cursor: pointer;
  }

  .btn-nav:hover {
    background: #efefef;
  }



  #btn-home a {
    height: 38px;
  }
  
  
  .secondary-legends {
    position: absolute;
    margin: 40px 20px;
    top: auto;
    bottom: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    align-content: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 2;
    width: calc(100% - 270px);
  }



  
  .secondary-legends > div , .legend-status, .legend-monitors, .facility-type, .exemption-status {
  display: flex;
  
  height: 35px;
  padding: 5px 9px;
  align-items: center;
  gap: 2px;
  border-radius: 6px;
  background: var(--light-background, #F7F7F8);

  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;


  }
  
  .legend-facility-types, .legend-exemption-status {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

  .facility-type, .exemption-status {
    cursor: pointer;
    font-size: .7rem;
    line-height: .7rem;
    max-width: 110px;
    height: 24px;
    opacity: .7;
    background: rgb(214, 214, 214);
    backdrop-filter: blur(2rem);
  }

  .facility-type:hover, .facility-type.on:hover, .exemption-status:hover, .exemption-status.on:hover  {
    opacity: .8;
}

  .facility-type.on , .exemption-status.on {
    opacity: 1;
    background: rgba(255, 255, 255, 1);

  }

  .facility-type.header , .exemption-status.header {
    opacity: 1;
    background: rgba(0, 0, 0, 1);
    color: #fff ;
    font-weight: 600;
    flex-direction: column;
    justify-content: center;


  }

  .facility-type.header p, .exemption-status.header p {
    margin: 0;
    padding: 0;
    margin-block-end: -2px;
    margin-block-start: 0;
  }

  .facility-type.header p.note, .exemption-status.header p.note {
  font-size: .7rem;
  margin-top: .1rem;
  font-weight: 400;
  color:#e4e4e4
  }


  
  .facility-type.on .keydot, .exemption-status.on .keydot  {
    opacity: 1;
  }


  
  
  
  .mapboxgl-ctrl-geocoder {
    min-width: 180px;
  }
  
  
  
  .mapboxgl-ctrl-top-right {
    right: 0;
    top: auto;
    bottom: 0 !important;
    margin: 20px 20px 40px 20px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    width: min-content;
  
  }

  .mapboxgl-ctrl-top-right .mapboxgl-ctrl {
    margin: 0 0 0 10px;
  }
  
  
  
  /* The switch - the box around the slider */
  .switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 26px;
    margin-left: 4px;

  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .on input + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  .on input + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  #activeLayer, .megaon {
    font-weight: 700;
  }
  
  
  
  
  
  /* INTRO MODAL */
  
  
  
    .modal__container {
        display: grid;
      background-color: white;
      max-height: calc(100% - 280px);
      overflow: auto;
      width: 600px;
      padding: 1.5rem;
      border-radius: 10px;
      z-index: 9999;
  }
      .modal__container h1 {
        text-align: center;
        font-size: 3.3rem;
        line-height: 3.3rem;
        padding: 0 0 1rem 0;
      }
  
      
  
  .modal__container ul {
    padding-inline-start: 20px;
    margin-block-start: 0;
    margin-block-end: 10px;
    
  }
  
  .modal__container ul li {
        padding: 0 0 .5rem 0;
      }
  
      /*
   .modal__container ul li:last-child {
         padding: 0;
      }
  
*/

      
    
  
  
    .modal__buttons {
      margin-top: 1rem;
      display: flex;
      gap: 0.5rem;
      justify-content: space-between;
      align-items: center;
    }

    .partner-logos {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
    }

    .partner-logos a {
      display: flex;
    }


    .partner-logos img {
      height: 40px;
    }

    .partner-logos #logo-link-eip img {
      height: 60px;
    }
  
  .do-not-show {
    font-size: .8rem;
    display: flex;
  width: 298px;
  align-items: center;
  gap: 5px;
  }
  
    /*  make modal visible */
    .modal-visible {
      opacity: 1;
      pointer-events: auto;
    }
  
  .modal__container button {
    font-family: inherit;
    padding: 0.4rem 0.8rem;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid #404040;
    border-radius: 4px;
  }
  
  
  
  
  
  .btn-modal {
    background-color: transparent;
    color: #404040;
  }
  
  .btn-modal:hover {
    background-color: #404040;
    color: white;
  }
  
  
  
  
  
  
  
  
  
  
  
  /* OLD STYLINGS FROM BETA 1.1   */
  
  
  
  
  
  
  
  
  
  
  

  

  a {
    color: #333333;
  }
  
  a:visited {
    color: #333333;
  }
  
  .shrink {
      font-size: 0.5rem;
      position: relative;
      bottom: .4rem;
  }
  
  h1, h2, h3, h4, h5 {
    font-weight: 600;
    padding: 0;
    margin: .1rem 0 .1rem 0;
    line-height: 1.1rem;
  }
  
  h1 {
    font-size: 22pt;
    font-weight: 500;
    line-height: 1.8rem;
  
  }
  
  h2 {
    font-size: 16pt;
    font-weight: 300;
  }
  
  h3 {
    font-size: 15pt;
    margin-top: .4rem;
    
  }
  
  h4 {
    font-size: 13pt;
    font-weight: 300;
    line-height: 1.3rem;
  }
  
  h5 {
    font-size: 12pt;
  }
  
  
  /* OVERRIDING WORDPRESS STYLES */
  
  .mapboxgl-ctrl-geocoder--input {
    padding: 6px 35px !important;
    border: 0px !important;
  }
  

  .mapboxgl-ctrl-geocoder .suggestions {
    top: auto;
    bottom: 45px;
  }
  
  
  /* HOVER POPUP */
  
  .mapboxgl-popup {
    padding-bottom: 3px;
    box-shadow: none;
  }
  
  .mapboxgl-popup-content {
    
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #ffffff;
    text-align: center;
    box-shadow: none;
    background-color: #000000;
  
    
  }
  
  
  .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #000000;
  }
  
  .mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    border-bottom-color: #000000;
  }
  
  .mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
    border-right-color: #000000;
  }
  
  .mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
    border-left-color: #000000;
  }
  
  
  .mapboxgl-popup-content h4 {
    margin: 0 0 -5px 0;
    padding: 0;
    font-weight: 600;
    line-height: 1.3rem;
  }
  
  .mapboxgl-popup-content div {
    padding: 0;
    margin: 0;
  }
      
  
  
  /* CHEMICAL TOGGLER */
  
  .togglers {
  display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
  }
   
  .togglers .container-box-inner.toggles {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    padding-top: 5px;
    padding-bottom: 5px;
    width: calc(50% - 25px);
  }
  
  /*
  
  #cancer-toggler {}
  
  */
  
  
  .toggles a {
          font-size: 11px;
          color: #404040;
          display: block;
          margin: 1px;
          padding: 0 5px;
          text-decoration: none;
          text-align: center;
        transition: background .5s;
          border: none;
        letter-spacing: -.01rem;
        
      }
  
  .toggles .column {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
  }
  
  .toggles .column .bucket {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
  }
  
  .toggles .heading a {
    font-size: 12pt;
    font-weight: 600;
    letter-spacing: normal;
    padding: 5px 10px;
  }
  
  
     
  
  
  
      .toggles p {
          display: block;
          font-size: 12px;
          margin: 0;
          padding: 0;
          padding: 10px;
          text-decoration: none;
          border-bottom: 1px solid rgba(0, 0, 0, 0.25);
          background-color: #f2f2f2;
  
      }
  
      .toggles a:last-child {
          border: none;
      }
  
      .toggles a:hover {
          background-color: #dddddd;
          color: #404040;
      }
  
      .toggles#airtoxscreentoggles a:hover {
          background-color: hsla(287, 29%, 60%, 1);
          color: #ffffff;
      }
  
      .toggles a#activeLayer {
          background-color:rgba(0, 0, 0, 0.95);
          color: #ffffff;
      }
  
  .toggles a#activeLayer span {
          color: #000000;
      }
  
      .toggles a#activeLayer:hover {
          background: rgba(0, 0, 0, 0.95);
          
      }
  
  #airtoxscreentoggles {
    display: flex;
    justify-content: space-around;
    flex-flow: row nowrap;
  }
  
  #methodology {
      text-align: center;
  }
  
  
  
  
  /* DROPDOWN UI */
  
  
  /* Dropdown Button */
  .dropbtn {
    line-height: 13px;
    height: 45px;
    background-color: #eeeeee;
    color: #404040;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
    text-align: left;
    border: 1px solid #cccccc !important;
  }
  
  /* Dropdown button on hover & focus */
  .dropbtn:hover, .dropbtn:focus {
    background-color: #dddddd;
  }
  
  /* The search field */
  .dropdown-input {
   /* display: none; */
    box-sizing: border-box;
    background-image: url('https://www.w3schools.com/howto/searchicon.png') !important;
    background-position: 7px 50% !important;
    background-size: auto 50% !important;
    background-repeat: no-repeat !important;
    padding: 8px !important;
    border: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 10pt;
    text-align: center;
  }
  
  /* The search field when it gets focus/clicked on */
  .dropdown-input:focus {outline: 3px solid #ddd;}
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: flex;
    width: 245px;
  }

  .dropbtn::after {
    position: absolute;
    content: " \2304";
    top: 25%;
    right: 0px;
    height: 20px;
    width: 20px;
  }

  #cancerchempicker .dropdown , #otherchempicker .dropdown {
    width: 280px;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: calc(100% - 2px);
    border: 1px solid #ddd;
    z-index: 1;
    max-height: 240px;
    overflow: auto;
    border-radius: 4px;
  }

  #myRiskDropdown.dropdown-content {
    overflow: visible;
  }


  
  /* Links inside the dropdown */
  .dropdown-content a {
    color: #404040;
    padding: 3px 16px;
    text-decoration: none;
    display: block;
    font-size: 10pt;
  }
  
  #myRiskDropdown.dropdown-content a {
    padding: 16px 16px;
  }
  
  
  
  /* Change color of dropdown links on hover */
  .dropdown-content a:hover {background-color: #f1f1f1}
  
  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
  .show {
    display:block;


}
  
  
  .pickrow {
    display: flex;
    align-items: center;
    align-content: stretch;
  }
  
  .pickrow#mega-toggle {
    display: flex;
    flex-wrap: wrap;
    align-content: stretch;
  }
  
  .pickrow#mega-toggle a {
    display: flex;
    align-items: center;
    margin: 5px 0;
    padding: 5px;
    font-size: 11pt;
    background: #eeeeee;
    flex-grow: 1;
  }
  
  .pickrow#mega-toggle a:hover {
    background: #cccccc; 
  }
  
  .pickrow#mega-toggle a:first-child {
    border-radius: 4px 0 0 4px;
  }
  
  .pickrow#mega-toggle a:last-child {
    border-radius: 0 4px 4px 0;
  }
  
  .pickrow#mega-toggle a.megaon {
    background: #dddddd;
    font-weight: 600;
  }
  
  
  .pickrow#mega-toggle a .pickdot {
    display: block;
      border-radius: 100%;
      width: 12px;
      height: 12px;
      margin: 0 9px 0 2px;
      background-color: rgba(255, 20, 60, 0.55);
      border: 3px solid rgba(0, 0, 0, 0.2);
      background-color: rgba(0, 0, 0, 0.25);
  }
  
  .pickrow#mega-toggle a.megaoff .pickdot {
      background-color: rgba(255, 255, 255, 1);
  
  }
  
  
  
  
  
  .pickrow p {
    display: inline;
          font-size: 10pt;
          margin: 0;
          padding: 5px 10px;
          border-bottom: none;
          background-color: transparent;
  }
  
  
  
  /* INFO BOX */
  


  #infoboxdetails {
    display: grid;
  
  }
  

  
  
  
  
  
  .close-x {
    display: flex;
  padding: 5px;
    font-size: 9px;
  align-items: center;
  align-content: center;
  justify-content: center;
  gap: 10px;
    position: absolute;
  right: 9px;
  top: 10px;
    height: 6px;
    width: 6px;
    border-radius: 20px;
  border: 1px solid #D5D5D5;
  background: #FFF;
    cursor: pointer;
    color: #BBBBBB;
    box-sizing: revert !important; 
    
  }
  
  .close-x:hover, .close-x-modal:hover {
    background: #eee;
  }

  .close-x-modal {
    display: flex;
  padding: 5px;
  height: 13px;
  width: 13px;
  font-size: 12px;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-self: right;
  gap: 10px;
    position: relative;
  right: -10px;
  top: -10px;
margin-bottom: -10px;
    border-radius: 20px;
  border: 1px solid #D5D5D5;
  background: #FFF;
    cursor: pointer;
    color: #BBBBBB;
    box-sizing: revert !important; 
    
  }
  

      
  
  
  /* INFO BOX */

  
  
  #infobox {
    background: rgba(255, 255, 255, 0.80);
      backdrop-filter: blur(8px);
    padding: 15px;
  /*  flex-grow: 10; */
    overflow: auto;
    display: grid;
    opacity: 1;
    transition: all .5s;
    transition: all .5s allow-discrete;

    min-height: calc(60%);

    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);

    
    font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: .9rem;

    line-height: 1.1em;

  }

  #infobox h1 {
    font-size: 20px;
    line-height: 1.5rem;
  }

#infobox hr {
  border-width: .5px;
  border-color: rgba(0, 0, 0, .1);
  border-style: solid;
}

#infobox .keydot {
  margin-right: 10px;
}

  #infobox .locationname {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    margin-right: 15px;
  }
  
  #infobox #touchprompt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  #infobox #touchprompt .keydot {
    margin-bottom: 1rem;
  }

  #infobox #touchprompt .row {
    display: flex;
    flex-direction: row;
    align-items: center;


  }

  
  
  
  #infobox #touchprompt h3 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1em;
    align-self: center;
    justify-self: center;
    margin-bottom: 0;
    
  }
  
  #infobox h3 {
    margin: 0 0 10px 0;
    font-size: 12pt;
  }
  
  #infobox h4 {
    margin: 0 0 4px 0;
  }
  




  
  #infobox table td, #infobox table th {
    vertical-align: middle !important; 
    border: none !important; 
  }
  


  #infobox table tr:hover {
    background-color: rgba(0,0,0,.05);
  }
  
  
  
  #infobox table {
    margin-block-end: 0 !important; 
    border-spacing: 2px !important; 
    border-collapse: revert !important; 
  
  }
  
  #infobox table tbody>tr:nth-child(odd)>td, #infobox table tbody>tr:nth-child(odd)>th {
    background-color: revert !important; 
  }
  
  table tbody tr:hover>td, table tbody tr:hover>th {
    background-color: revert !important; 
  }






  #infobox table {
    width: 100%;
    text-align: left;
  }
  
  #infobox table th {
      line-height: 0.8rem;
    font-weight: 300;
    padding: 10px 5px;

  }
  
  #infobox table td {
    line-height: 1rem;
    padding: 6px 5px;
    font-size: 9pt;
  }
  
  
  #block-info .risk-sources td:nth-child(1), #block-info .risk-sources th:nth-child(1) {
    width: 50px;
    text-align: center;
  }


#no-risk-details {
  display: none;
}

  
  /*
  #block-info td:nth-child(2), #block-info th:nth-child(1) {
  
  }
  
  #block-info td:nth-child(3), #block-info th:nth-child(1) {
    
  }
  */
  



  #infobox table tr {
    background-color: rgba(0,0,0,.05);
  }

  
  #infobox table tr:first-child {
    background-color: rgba(0,0,0,.1); 
  }
    


  /*

  #infobox table tr:nth-child(even) {
    background-color: rgba(0,0,0,.05);
  }
  
  #infobox .drivers-airtoxscreen table tr:nth-child(even) {
      background-color: rgba(0,0,0,0);
    }
  
  #infobox .drivers-airtoxscreen table td:nth-child(odd) {
      background-color: rgba(0,0,0,.05);
    }
 
    */



    #infobox .button , #take-action-nav-btn .button {
      display: inline-block;
      border-radius: 4px;
      background-color: #000000;
      border: none;
      color: #FFFFFF;
      text-align: center;
      font-size: 1.2rem;
      padding: 5px 10px;
      width: 100%;
      transition: all 0.5s;
      cursor: pointer;
      margin: 10px 0 5px;
      vertical-align: middle;
      font-family: "Roboto Condensed", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, .1);
    }

    #infobox .button a , #take-action-nav-btn .button a {
      color: #ffffff;
    }
    
    #infobox .button span , #take-action-nav-btn .button span {
      cursor: pointer;
      display: inline-block;
      position: relative;
      transition: 0.5s;
    }
    
    #infobox .button span:after , #take-action-nav-btn .button span:after {
      content: '\00bb';
      position: absolute;
      opacity: 0;
      top: 0;
      right: -20px;
      transition: 0.5s;
    }
    
    #infobox  .button:hover span , #take-action-nav-btn .button:hover span {
      padding-right: 25px;
    }
    
    #infobox  .button:hover span:after , #take-action-nav-btn .button:hover span:after {
      opacity: 1;
      right: 0;
    }




  
  .drivers-airtoxscreen td , .drivers-airtoxscreen tr {
      text-align: center;
  } 

  .drivers-airtoxscreen table {
    table-layout: fixed;
} 

  
  .graphbar {
    height: 4px;
    margin-top: 10px;
    margin-bottom: 10px;
   display: none; 
  }
  
  .percentile-stat {
    display: flex;
  }
  
  a.previewlink , a.previewlink:visited {
    font-size: .6rem;
    color: #858585;
    margin-left: 3px;
    text-decoration: none;
  }
  
  a.previewlink:hover {
    color: hsla(288, 29%, 70%, 1);
    fill: hsla(288, 29%, 70%, 1);
  
  }
  
  a.previewlink:hover path {
    fill: hsla(288, 29%, 70%, 1);
  }
  
  
  
  
  .risk-percentiles {
    display: flex;
    flex-flow: row nowrap;
    justify-content: stretch;
    margin: 10px 0;
  }
  
  
  
  .risk-percentiles h4 {
    margin-top: 0;
    font-size: 9pt;
    line-height: .9em;
  }
  
  .risk-percentiles > span , .stat-box, #hon-status {
    display: block;
    /* border: 1px solid rgba(0,0,0,5%); */
    border-radius: 6px;
    background-color: rgba(255,255,255,70%);
    padding: 10px;
    box-shadow: 0 2px 10px -3px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
  }
  
  #facility-info h2 {
    margin-top: 10px;
  }
  
  h2.spacer {
    margin-top: 100px;
  }
  
  .stat-box {
    margin: 10px 0;
    padding-top: 8px;
  
  }

  .stat-box .sourcelink {
    font-size: .8rem;
  }

  .stat-box em {
    display: inline-block;
    margin-top: .5rem;
  }

#hon-status {
  margin: 10px 0;
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  }

#hon-status, #facbigdot-hon, #facbigdot-caa, #facbigdot-caa-hon {
  display: none;
}

#facbigdot-received, #facbigdot-seeking {
  display: none;
}

#facbigdot-received {
  width: 18px;
  height: 18px;
}

#facbigdot-seeking {
  width: 22px;
  height: 22px;
}
  
  .caa-title {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: baseline;
  }

  #reportlink {
    margin-left: 10px;
  }

  .hon-title {
      display: flex;
      width: 100%;
      justify-content:left ;
      align-items: baseline;
      flex-direction: row;
  }
   
  .stat-box h2, #hon-status h2 {
    margin-top: 0;
  }
  
  /*
  #caa-title a {
    font-size: .9rem;
  }
  */
  
  #multirulenote, #facNoEmissionsData {
    display: none;
  } 

  #violator {
    display: none;
    align-items: center;
    margin: 4px 0 8px;
  
  }
  
  #violator p {
    text-transform: uppercase;
    margin-top:6px;
    font-weight: 600;
  }
  
  #violator svg {
    margin-right: 3px;
  }
  

  #nochemicalsreleased {
    display: none;
    flex-direction: column;
  }
  
  
   
   /* SCALE LEGEND */        
  

  
  .scale-and-title .scale-bars#all-chemical-risk-other, .scale-and-title .scale-bars#one-chemical-risk-other {
    display: none;
  }
  
  
  
  
  
  
  
  .scale-and-title .scale-bars#one-chemical-risk {
    display: none;
  }
  
  
  
  
  .scale-and-title .scale-bars#airtoxscreen-risk {
    display: none;
  }
  
  
  
  .scale-and-title .label {
           text-align: right;
            margin-bottom: 10px;
           
         }
  
  /*
  .scale-and-title h3 {
    margin: 0;
    line-height: 1em;
  }
  */

  .scale-and-title h2 {
    text-align: center; 
    margin: 0;
    line-height: 1em;
    width: 100%;
  }
  
  /* ELEMENTS KEY */
  
  
  #keyelements {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 3px 10px;
  }
  
  
  
  .keyitem {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    margin-right: 10px;
  }
  
  .keyitem:last-child {
    margin-right: 0;
  }
  
  .keylabel {
    display: block;
  }

  .keyicon {
    display: flex;
    margin: 0 6px 0 0
  }
  
  .keydot {
          flex-shrink: 0;
          display: inline-flex;
          justify-content: center;
          align-items: center;
          border-radius: 100%;
          width: 24px;
          height: 24px;
          margin: 0 5px 0 2px;
          background-color: rgba(220, 220, 220, 0.6);
          border: 1px solid hsl(0, 0%, 0%);
          box-sizing: content-box;
          fill-opacity: 1;
        }

  .keydot.rubber {
    background-color:rgba(255, 126, 182, .6);
  }

  .keydot.sterilizer {
    background-color:rgba(138, 63, 252, .6);
  }

  .keydot.coal {
    background-color:rgba(0, 125, 121, .6);
  }

  .keydot.coke {
    background-color:rgba(250, 77, 86, .6);
  }

  .keydot.steel {
    background-color:rgba(69, 137, 255, .6);
  }

  .keydot.iron {
    background-color:rgba(186, 230, 255, .6);
  }

  .keydot.chemical {
    background-color:rgba(210, 161, 6, .6);
  }

  .keydot.lime {
    background-color:rgba(111, 220, 140, .6);
  }

  .keydot.copper {
    background-color:rgba(186, 78, 0, .6);
  }



  .keydot svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    opacity: 0;
  }

  .facility-type .keydot, .exemption-status .keydot {
    width: 12px;
    height: 12px;
    opacity: .4;
  }
  


  .keydot.seeking {
    border-width: 2px;
    width: 11px;
    height: 11px;
    
  }
  
  .keydot.received {
    border-width: 4px;
    width: 9px;
    height: 9px;

  }

  .keydot.other {
    background: repeating-linear-gradient(
      -45deg,
      rgba(220, 220, 220, 0) 0,
      rgba(220, 220, 220, 0) 2px,
      rgb(0, 0, 0) 3px,
      rgb(0, 0, 0) 4px,
      rgba(220, 220, 220, 0) 4.5px
    );
    position: relative;
    left: 1.5px;
  }

  #infobox .keydot.other {
    left: 4px;
  }
  
  

  
  .keysquare {
          display: block;
          border-radius: 0;
          width: 24px;
          height: 22px;
          margin: 0 7px 0 2px;
          background:  rgba(17, 146, 232, 0.1);
          border: 2px solid rgb(17, 146, 232);
        }
  .airtoxscreen {
    border: 2px solid rgb(105, 41, 196);
    background:  rgba(105, 41, 196, 0.1);

  }
  
  
  
  
  
  /* TOOLTIPS */
  
  
  /* Tooltip container */
  .tooltip {
  position: relative;
  cursor: default; 
   /* border-bottom: 1px dotted black;  If you want dots under the hoverable text */
  }
  
  
  
  
  /* Tooltip text */
  .tooltip .tooltiptext {
    visibility: hidden; 
    width: 260px;
    top: 4.6rem;
    bottom: auto;
    left: calc(50% - 100px);
    height: auto;
    background-color: black;
    padding: 4px 15px;
    border-radius: 6px;
    color: #fff !important;
    font-size: 9pt;
    font-weight: 300;
    line-height: .9rem;
    text-align: center;
  
    opacity: 0;
    transition: all .5s;
    transition: all .5s allow-discrete;
   
    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    box-sizing: content-box !important; 
  }

  .tooltiptext p {
    margin: 0;
    box-sizing: content-box !important; 
}

  .tooltip .tooltiptext a {
    color: #fff !important;
  }
  
  .scale-and-title.tooltip .tooltiptext {
        width: 400px;
        left: calc(50% - 215px);

  }


  

  .legend-county.tooltip .tooltiptext {
    padding: 15px;
    top: auto;
    bottom: 3.6rem;
    left: calc(50% - 155px);
}

.legend-district .tooltiptext {
  padding: 15px;
  top: auto;
  bottom: 3.6rem;
}

.legend-school .tooltiptext {
  padding: 15px;
  top: auto;
  bottom: 3.6rem;
}


.legend-status.tooltip .tooltiptext {
  padding: 15px;
  width: 200px;
  /* top: 2.6rem; */
  top: auto; 
  bottom: 3.6rem; 
  /* left: calc(50% - 161px); */
}

.legend-status.tooltip .tooltiptext p {
  margin-bottom: .4rem;
}




.tooltiptext .factypes {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: .6rem 0;
}

.tooltiptext .factypes .column {
  margin: 5px;
}

.tooltiptext .column {
  display: flex;
  flex-direction: column;
}

.tooltiptext .row {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 2rem;
}

.tooltiptext .row:last-child {
  margin-bottom: 0 !important;
}

.tooltiptext .invert {
    
    margin-bottom: 10px;
    text-align: left;
    background: #fff;
    padding: 5px;
    color: #000;
    border-radius: 4px;
}

.legend-status.tooltip  .tooltiptext .invert p {
    
  margin-bottom: 0;

}

.tooltiptext h3 {
  margin-bottom: .4rem;
  margin-top: 0;
}



  
  
  
  .tooltip .tooltiptext#bias-tip {
    width: 110px;
    left: calc(50% - 80px);
    height: 50px;
    top: calc(100% - 90px);
    padding: 4px 10px;
    font-size: 8pt;
    line-height: 1.1em;
  }

  .tooltip .tooltiptext.biogenic {
    width: 140px;
    left: calc(50% - 80px);
    height: 62px;
    top: calc(100% - 107px);
    padding: 4px 10px;
    font-size: 8pt;
    line-height: 1.1em;
  }


.tooltip .tooltiptext.other-drivers {
  width: 120px;
  left: calc(50% - 80px);
  height: 110px;
  top: calc(100% - 150px);
  padding: 4px 10px;
  font-size: 8pt;
  line-height: 1.1em;
}



.tooltip .otherhealthharms-tip {
  width: 150px;
  top: calc(100% + 5px);
  left: calc(50% - 90px);
  height: 60px;

}

  
  /* tootip arrow */
  .tooltip .tooltiptext::after {
    content: " ";
    position: absolute;
    top: 100%;  /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
  }
  
  .scale-and-title.tooltip .tooltiptext::after, .tooltip .otherhealthharms-tip::after /* , .legend-status.tooltip .tooltiptext::after */{
    content: " ";
    position: absolute;
    top: auto;
    bottom: 100%; /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent black transparent;
  }
  
  
  
  /* Show the tooltip text when you mouse over the tooltip container */
  .tooltip:hover .tooltiptext {
   visibility: visible; 
    opacity: 1;
    transition: all .5s;
    transition: all .5s allow-discrete;
  }


  
         
  
  
  
  
  
  
  
  .hide {
    display: none !important;
    opacity: 0 !important;

  }
  
  
  
  
  
  
  
  
  /* RESPONSIVE SCREEN SIZES */
  
  
  
  @media (max-width: 800px) {
      
    .container-box {
      align-content: center;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        width: calc(100%);
        height: 30%;
        top: auto;
        bottom: 155px;
        overflow: auto;
        left: auto;
        right: auto;
        justify-content: center;
        position: absolute;
        align-items: center;
        z-index: 9998;
  }

  #infobox, .container-box .container-box-inner  {
    height: 100%;  
    min-height: auto;
    max-height: none;
    width: calc(100% - 60px);
}


    #infobox #touchprompt h3 {
    line-height: 1em;
    padding: 20px 0;
  }


  

    
     #map {
          height: 100%;
  
     } 
    
    
    
      .tooltiptext, .shrink {
            display: none;
      }

  




  
    
  h1 {
          font-size: 20pt;
  }


.scale-title h1 {
  font-size: 16pt;
}
  
  h2 {
    font-size: 16pt;
    font-weight: 300;
  }
  
  h3 {
    font-size: 16pt;
    margin-top: .2rem;
    
  }
  
  h4 {
    font-size: 14pt;
    font-weight: 300;
  }
  
  h5 {
    font-size: 12pt;
  }
    


.mapboxgl-ctrl.mapboxgl-ctrl-group {
    display: none;
}

.mapboxgl-ctrl-top-right .mapboxgl-ctrl {
  margin: 0;
}

.mapboxgl-ctrl-geocoder {
  max-width: 100% !important;
  width: 100%;
}

.mapboxgl-ctrl-top-right{
  width: calc(100% - 40px);
  left: 0;
  right: auto;
  bottom: 50px !important;

}

/*
.mapboxgl-ctrl-geocoder--input {

}
*/

.mapboxgl-ctrl-geocoder .suggestions {
  top: auto;
  bottom: 62px;
  height: 150px;
}




.modal {
  z-index: 9998;
}



.modal__container {
  position: relative;
  max-height: calc(100% - 220px);
  width: calc(100% - 120px);
  top: -20px;

}

.modal__container h1 {
text-align: center;
font-size: 24pt;
line-height: 1em;
padding: 0 0 1rem 0;
}

.modal__buttons {
margin-top: 0.3rem;
}



.partner-logos {
flex-direction: column;
}


.partner-logos img {
height: 40px;
}

.partner-logos #logo-link-eip img {
height: 60px;
}







.do-not-show {
    width: auto;
}



.primary-controls {
    position: absolute;
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    z-index: 998;
    margin: 15px;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 30px);
}



.scale-and-title {
    min-width: auto;
}

/*
.scale-labels {
    display: none;
}
*/

.filters {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px 10px;
    flex-wrap: nowrap;
    padding: 10px 10px;
}

.facility-type, .exemption-status {
  padding: 0 5px;
  font-size: .6rem;
  line-height: .6rem;
  width: 27%;
  height: 26px;
  overflow: auto;
}

.facility-type.header, .exemption-status.header {
  justify-content: center;
}


.facility-type p, .exemption-status p {
  margin: 0;
}




.filter-title {
    display: none;
}

.filter-health-risk, .filter-petrochemical-source {
    width: 100%;
}


#cancerchempicker .dropdown, #otherchempicker .dropdown, .dropdown  {
    width: auto;
}

.dropbtn {
    padding: 4px 20px 4px 8px;
    font-size: 10pt;
    line-height: 10pt;
    height: 40px;
    overflow: auto;
}



.nav-controls {
    top: auto;
    bottom: 37px;
    right: 20px;
    left: auto;
    gap: 10px;
    margin: 0;
    z-index: 9999;
  }

  .btn-nav {
    width: 20px;
    height: 20px;
  }


  #btn-home a {
    display: flex;
    align-items: center;
    height: 20px;
    width: 20px;
}

#take-action-nav-btn {
  display: none;
}

.secondary-legends {
    width: calc(100% - 132px);
    overflow: auto;
    margin: 0;
    top: auto;
    bottom: 40px;
    left: 15px;
    right: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    
    /* 
    position: absolute;

    display: inline-flex;
    align-items: center;
    align-content: center;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 998;
    */
}

.secondary-legends > div , .legend-status, .legend-monitors {
   height: 25px;
   flex-shrink: 0;
   padding: 5px 5px;
}

.keyitem {
    flex-wrap: nowrap;
}




  
  
  
  }
