
:root {
  --Text-Color: #212121;
  --Text-Hover: #000;
  --Btn-BG: #fcfcfc;
  --Btn-BG-Hover: #FFF;
  --Btn-Border: #ebebeb;
  --EDF-Blue: #0033cc;
  --Temperature: linear-gradient(90deg, #FEE8C8 0%, #FDBB84 50%, #E34A33 100%);
  --Snowpack-Down: rgba(255, 22, 10, .5);
  --Snowpack-Up: rgba(41, 234, 255, .5);
  --Disasters: linear-gradient(90deg, #FEE9DF 0%, #E74448 50%, #572B36 100%);  /* global scope */
  --Insurance-Delta: linear-gradient(90deg, #A9C7E0 0%, #EEEEEA 25%, #940000 100%);
  --Insurance-Costs: linear-gradient(90deg, #BDD4D0 0%, #EDE7DE 25%, #F1A777 50%, #CD5B43 75%, #8C3C38 100%);
  --Climate-Pollution: linear-gradient(90deg, #FFFFD4 0%, #FFFFD4 20%, #FED98E 20.01%, #FED98E 40%, #FE9929 40.01%, #FE9929 60%, #D95F0E 60.01%, #D95F0E 80%, #993404 80.01%, #993404 100%);  
  --Fuel-Costs: linear-gradient(90deg, #FFC 0%, #FFC 20%, #A1DAB4 20.01%, #A1DAB4 40%, #41B6C4 40.01%, #41B6C4 60%, #2C7FB8 60%, #2C7FB8 80%, #253494 80.01%, #253494 100%);
  --Health-Costs: linear-gradient(90deg, #FFC 0%, #FFC 20%, #C2E699 20.01%, #C2E699 40%, #78C679 40.01%, #78C679 60%, #31A354 60.01%, #31A354 80%, #006837 80.01%, #006837 100%);
}


/* LOADER */
/* Center the loader */
#loader {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  width: 30px;
  height: 30px;
  border: 16px solid var(--EDF-Blue);
  border-radius: 50%;
  border-top: 16px solid #A2E214;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  transition: 250ms all ease-in;
  filter: blur(.5px);
}

@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#hider {
  opacity: .9;
  filter: blur(1px);
  transition: 250ms all ease-in;
  position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;

}




body { margin: 0; padding: 0;
    font-family: "Libre Franklin", sans-serif;
    color: var(--Text-Color);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 14pt;
  }
  
  


   #loading-indicator {
    visibility: hidden;
    position: absolute;
   }



  
  
  #map { position: absolute; top: 0; bottom: 0; width: 100%; }
  





  p {
    font-size: clamp(.9rem, .9vw, 1.1rem);
    line-height: clamp(1.2rem, 1.2vw, 1.4rem);
    padding: 0;

  }


/*
  .modal__container p {
      font-size: clamp(1.1rem, 1vw, 1.3rem);
      line-height: clamp(1.3rem, 1.2vw, 1.6rem);
      margin: 1.3rem 0;
  }

  */

  .data-intro-prompt p {
      margin: .5rem 0;
    }


  #datadetails p {
    font-size: clamp(.8rem, 1.1vw, 1.1rem);
    line-height: clamp(.8rem, 1.1vw, 1.1rem);
  }






  a {
    color: #333333;
  }
  
  a:visited {
    color: #333333;
  }

  a:hover {
    color: var(--EDF-Blue);
   /* background: #f1fbff; */
  }


  p a {
    text-decoration: underline;
    color: #333333;
  }

  .button a:visited {
    color: #333
  }



  
  .shrink {
      font-size: 0.5rem;
      position: relative;
      bottom: .4rem;
  }
  

h1 {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 3.1vw, 3.1rem);
  line-height: clamp(2.7rem, 3.4vw, 3.4rem);
  text-align: left;
  margin: 0;
}

  h2, h3, h4, h5 {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 700;
    padding: 0;
    margin: 0 0 .1rem 0;
  }
  

  .dataset-intro h2 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: clamp(2.4rem, 4.9vw, 3.6rem);
  
  }
  
  h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    line-height: clamp(1.8rem, 2.7vw, 2.7rem);

  }
  
  h3 {
    
    font-size: clamp(1.1rem, 1.9vw, 2rem);
    line-height: clamp(1.4rem, 2.2vw, 2.3rem);

  }
  
  h4 {
    font-size: clamp(.8rem, 1.2vw, 1.2rem);
    line-height: clamp(1.1rem, 1.5vw, 1.5rem);
  }
  
  h5 {
    font-family: "Libre Franklin", sans-serif;
    font-weight: 600;
    font-size: clamp(.7rem, 1.1vw, 1.1rem);
    line-height: clamp(1rem, 1.4vw, 1.4rem);
  }

  .action-prompt {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
  }

  .action-prompt svg {
    height: 2rem;
    width: auto;
  }

  .small {
    font-size: .9rem;
    line-height: .9rem;
  }

   .info-icon {
    font-size: 1.1rem;
    margin-left: 10px;
  }

  .icon {
    align-content: center;
    display: inline-flex;
  }



  /* MAP OVERLAY UI */
  
  .logo {
    display: block;
  }

  .logo-mobile {
    display: none;
  }

  .logo:hover {
    transition: all .2s;
    scale: 101%;
  }


  .primary-controls {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    z-index: 2;
    margin: 20px 0 0 5px;
    width: calc(100% - 340px);
  }
  
  .nav-controls {
    justify-content: flex-end;
    align-items: center;
    width: 400px;
    position: absolute;
    display: flex;
    top: 0px;
    right: 0px;
    left: auto;
    gap: 10px;
    flex-wrap: wrap;
    z-index: 10;
    margin: 20px 15px;
  }

  .map-title-area {
    width: 100%;
    display: flex;
    gap: 10px;
    padding-left: 2px;
    padding-right: 0;
}

  .map-title-group {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 10px 0 5px;
    mask-image: linear-gradient(to left, black 0%, black 99.5%, transparent 100%),
                linear-gradient(to right, black 0%, black 99.5%, transparent 100%);
    mask-composite: intersect;
    /* Vendor prefixes may be needed for broader compatibility */
    -webkit-mask-composite: source-in; /* 'source-in' is a common equivalent for 'intersect' in older webkit browsers */

  }

  .dataset-title {
    display: flex;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-grow: 2;
    flex-shrink: 0;
    border-radius: 9px;
    color: var(--Text-Color);
    background: var(--Btn-BG-Hover);
    text-align: left;
    min-width: 360px;
    max-width: 700px;
    cursor: pointer;
  }

  .dataset-title svg {
    flex-shrink: 0;
    margin-right: 10px;
  }

  .dataset-title svg path {
    fill: var(--Text-Color);
  }

  .dataset-description {
     /* height: 50px; */
    padding: 20px;
    background: white;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.05);
    border-radius: 9px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    flex-shrink: 2;
    gap: 9px;
    /* display: flex; */
    display: none;
    min-width: 400px;
  }

  .dataset-description p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.4rem;
  }
  
.airtoxscreen-risk-legend {
    min-width: auto;
    color: #000;
    margin: 6px 0 10px;
}


  .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 {
    font-size: clamp(.7rem, .8vw, 1rem);
    line-height: clamp(.8rem, .9vw, 1.1rem);
      display: flex;
  line-height: 1rem;
  padding: 10px;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  z-index: 999;
  cursor: pointer;
  transition: all .2s;
  }

  .btn-nav:hover , .btn-nav.on {
    scale: 101%;
    background: rgba(255,255,255,1);
    
  }

  

  .btn-nav span {
    display: flex;
  }



  #btn-home a {
    height: 38px;
  }
  
  
  .secondary-legends {
    position: absolute;
    margin: 40px 15px;
    top: auto;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    align-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    z-index: 2;
    width: calc(100% - 290px);
    overflow-x: auto;
    padding-left: .5%;
    padding-right: .5%;
    mask-image: linear-gradient(to right, black 0%, black 99.5%, transparent 100%),
                linear-gradient(to left, black 0%, black 99.5%, transparent 100%);
    mask-composite: intersect;
    /* Vendor prefixes may be needed for broader compatibility */
    -webkit-mask-composite: source-in; /* 'source-in' is a common equivalent for 'intersect' in older webkit browsers */

  }



  



  


  .data-scale {
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }


  .scale-container {
   /* height: 50px; */
    padding: 20px 30px;
    background: white;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.05);
    border-radius: 7.07px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    align-self: end;
    gap: 9px;
    display: flex;
    min-width: 300px;
    max-width: 400px;
    font-family: "Roboto Condensed", sans-serif;


  }


  .scale-container .data-values {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
  }


  .scale-container .data-values .has-values {
    flex-grow: 2;
  }


  .scale-container.note {
    min-width: 100px;
    padding: 10px 20px;
    flex-wrap: nowrap;
    justify-content: center;

  }


  .scale-container.note p {
    margin: 0;
    font-size: clamp(.7rem, 1vw, .9rem);
    line-height: clamp(.9rem, 1.2vw, 1.1rem);


  }


  .scale-container h3 {
    margin: 0 -10px 6px;
    width: calc(100% + 20px)
  }


  .scale-bar {
    height: 10px;
    width: 100%;
    background-color:rgba(0,0,0,0);
    display: flex;

  }


    .scale-bar.no-data {
    background-color:rgba(0,0,0,.02);
    background-image: radial-gradient(circle at center, rgba(0,0,0,.7) 1px, transparent 0);
    background-size: 5px 5px;
    background-repeat: repeat;
    border: 1px solid rgba(0,0,0,.1);
   
  }


  .scale-bar-ticks {
    width: 100%;
    margin-top: -11px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
  }

  .scale-bar-ticks > div {
    color: rgba(0,0,0,0);
    background-color: #000;
    height: 14px;
    width: 2px;
    display: flex;
    flex-direction: column;
    align-items: center; 
  }

  .scale-bar-numbers {
    width: 100%; 
    font-size: .8rem;
    text-align: center;
    justify-content: space-between; 
    align-items: center; 
    display: flex;
    padding-top: 10px;
  }

  .no-data  .scale-bar-numbers {
    padding-top: 11px;
    text-align: right;
  }

  .scale-bar-numbers > div {
        
    width: 20px;
    height: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    text-wrap-mode: nowrap;

  }


  .scale-bar.temperature {
    background: var(--Temperature);
  } 

  .scale-bar.snowpack {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    height: auto;
    margin: 0 -30px;
    width: calc(100% + 60px)
  }

.orb-1, .orb-2 , .orb-3 , .orb-4 , .orb-5 , .orb-6 , .orb-7 , .orb-8 , .orb-9 {
    width: 25px;
    height: 25px;
    border-radius: 100px;
    border: 1px #000 solid;
    background: var(--Snowpack-Down)
  }


  .orb-6 , .orb-7 , .orb-8 , .orb-9 {
    background-color: var(--Snowpack-Up);
  } 

  .orb-2 , .orb-8 {
    width: 21px;
    height: 21px;
  }

   .orb-3 , .orb-7 {
    width: 18px;
    height: 18px;
  }

   .orb-4 , .orb-6 {
    width: 13px;
    height: 13px;
  }

   .orb-5 {
    width: 8px;
    height: 8px;
  }


  .scale-bar.disasters {
    background: var(--Disasters);
  }

  .scale-bar.insurance-delta {
    background: var(--Insurance-Delta);
  }


   .scale-bar.insurance-costs {
    background: var(--Insurance-Costs);
  }
  

   .scale-bar.climate-pollution {
    background: var(--Climate-Pollution);
  }

  .scale-bar.fuel-costs {
    background: var(--Fuel-Costs);
  }

    .scale-bar.health-costs {
    background: var(--Health-Costs);
  }




  .impact-type-toggler, .timespan-toggler {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 7px;
}





.impact-type, .time-span , .time-span-header {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  height: 18px;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .9rem;
  line-height: 1rem;
  opacity: 1;
  background: rgba(233, 233, 233, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  -webkit-transition: all .2s;
  transition: all .2s;

  }

  .impact-type {
    padding-left: 3px;
  }

  .time-span , .time-span-header {
    height: 14px;
  }

  .impact-type p {
    font-family: "Libre Franklin", sans-serif;
    font-size: .7rem;
    line-height: 1rem;
  }



  .time-span p {
    font-family: "Roboto Condensed", sans-serif;
    font-size: .8rem;
    line-height: 1rem;
  }

  .impact-type:hover, .impact-type.on:hover, .time-span:hover, .time-span.on:hover  {
    background: rgba(255, 255, 255, .9);
    scale: 101%;
}

  .impact-type.on , .time-span.on {
    opacity: 1;
    background: rgba(255, 255, 255, 1);

  }

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


  }

  .impact-type.header p, .time-span-header p {
    margin: 0;
    padding: 0;
    margin-block-end: -2px;
    margin-block-start: 0;
    font-size: .7rem;
  }

  .impact-type.header p.note, .time-span-header p.note {
  font-size: .7rem;
  margin-top: .1rem;
  font-weight: 400;
  color:#e4e4e4
  }


  
  .impact-type.on .keydot, .time-span.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: .2s;
    transition: .2s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .2s;
    transition: .2s;
  }
  
  .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 {
    width: 100%;
    height: 100%;
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background: rgba(31, 41, 71, 0.30);
    backdrop-filter: blur(10px);
    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;
  }

  .modal__container {
    display: flex;
    flex-direction: column;
    background-color: rgba(255,255,255,.9);
    max-height: calc(100% - 160px);
    width: 70%;
    max-height: 80%;
    max-width: 900px;
    min-width: 600px;
    padding: 3.5rem 3.5rem 1.5rem 3.5rem;
    border-radius: 10px;
    z-index: 9999;
}

  .headline {
    display: flex;
    gap:20px;
    justify-content: left;
    align-items: center;
  }

  .headline a {
    text-decoration: none;
    display: flex;
    align-content: center;
    align-items: center;
    line-height: 1rem;
    font-family: "Libre Franklin", sans-serif;

  }
  
 .headline .icon svg  { 
  height: 6rem;
  width: auto;
 }

 .headline .icon svg path  { 
  height: 200px;
  width: auto;
  fill: black;
 }

.container-box {
    font: 18px / 36px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 35%;
    min-height: 200px;
    overflow-x: visible;
    top: 206px;
    bottom: 200px;
    left: 12px;
    z-index: 9;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
}

  






  


    .modal__container .content {
      margin-top: -20px;
      max-height: calc(100% - 10px);
      overflow-y: auto;
      padding: 15px 0 10px;
      mask-image: linear-gradient(to top, black 0%, black 98%, transparent 100%), linear-gradient(to bottom, black 0%, black 98%, transparent 100%);
      mask-composite: intersect;
      -webkit-mask-composite: source-in;
    }


  
      
  
  .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 {
      padding: 10px 20px;
      margin: 1rem 0;
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      align-items: stretch;
      flex-direction: column;
    }

    /*
    .dataset-intro .headline {
      text-align: center;
      flex-direction: column;
    }
    */

    .dataset-intro .modal__buttons {
      margin: 20px 0 0 0;
    }

    .swatch-dots {
      display: flex;
      flex-direction: row;
      gap: 3px;
    }


    .partner-logos {
      display: flex;
      justify-content: center;
      align-items: center;
      column-gap: 10px;
    }

    .partner-logos p {
      margin: 0;
    }

    .partner-logos a {
      display: flex;
    }


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

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

  .meta-lines {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin: 15px 0;

  }  
  
  .do-not-show {
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
  }


  .design-credit p {
    font-size: .7rem;
    line-height: .7rem;
    justify-content: flex-end;
    gap: 5px;
    margin: 0 0 2px;
  }
  
    /*  make modal visible */
    .modal-visible {
      opacity: 1;
      pointer-events: auto;
    }

    .button {
      text-decoration: none;
    }
  
  .modal__container .button {
    
    padding: 0.8rem;
    cursor: pointer;
    border: 1px solid var(--Btn-Border);
    background-color: var(--Btn-BG);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .2s;
  }

  .modal__container .button p {
    font-family: "Libre Franklin", sans-serif;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 600;
  }


  .modal__container .button svg {
    margin-right: 13px;
       height: 40px;
       width: auto;
  }

   .headline .button:hover {
    scale: 101%;
    background-color: var(--Btn-BG-Hover);
    color: #000000;
  }

  .headline .button svg path {
      transition: all .2s;
  }

  .headline .button:hover svg path {
    fill: #000000;
  }

  #btn-begin-ghg svg {
    margin-right: 10px;
  }

.headline .button {
      font-size: 1rem;
    line-height: 1rem;
    margin: 5px;
  }
  
  
  .button h3 ,   .button p {
    margin-right: 15px;
  }
  
  .btn-modal {
    background-color: var(--Btn-BG);
    color: var(--Text-Color);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.05);
  }
  
  .btn-modal:hover {
    scale: 101%;
    background-color: var(--Btn-BG-Hover);
    color: var(--Text-Hover);
  }

  .btn-modal svg path {
      transition: all .2s;
      fill: var(--Text-Color);
  }

  .btn-modal:hover svg path {
    fill: var(--Text-Hover);
  }

  .btn-modal .icon {
    margin-right: 10px;
  }
  
  
  #data-switcher {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #data-switcher .datasets {
    display: flex;
    gap: 20px;
    margin-top: -10px;
  }
  
  #data-switcher .impact-type-toggler {
    width: 98%;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 5px;
  }

  #data-switcher .impact-type {
    display: flex;
    align-self: stretch;
  }


    

  
  
  /* OVERRIDING WORDPRESS STYLES */
  
  .mapboxgl-ctrl-geocoder--input {
    padding: 6px 15px 6px 35px !important;
    border: 0px !important;
        font-size: clamp(.7rem, .9vw, 1rem);
    line-height: clamp(1rem, 1.2vw, 1.3rem);
  }
  

  .mapboxgl-ctrl-geocoder .suggestions {
    top: auto;
    bottom: 45px;
  }
  
  
  /* HOVER POPUP */
  
  .mapboxgl-popup {
    padding-bottom: 3px;
    box-shadow: none;
  }
  
  .mapboxgl-popup-content {
    
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    color: #111 !important;
    text-align: center;
    background-color: #fff !important;
    /* box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15); */
    box-shadow: none;
    border-radius: 6px;
    margin-bottom: -1px !important;
  
    
  }
  
  
  .mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #fff !important;
  }
  
  .mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
    border-bottom-color: #fff !important;
  }
  
  .mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
    border-right-color: #fff !important;
  }
  
  .mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
    border-left-color: #fff !important;
  }
  
  /*
  .mapboxgl-popup-content h4 {
    margin: 0 0 -5px 0;
    padding: 0;
    font-weight: 600;
    line-height: 1.3rem;
  }

  */
  
  .mapboxgl-popup-content {
    padding: 10px 10px 8px;
    font-size: .5rem;
  }
      
  
  


  
  
  /* INFO BOX */
  



  
  
  
  
  
  .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;
  font-size: 12px;
  align-items: center;
  align-content: center;
  justify-content: center;
  justify-self: flex-end;
  align-self: flex-end;

  gap: 10px;
    position: relative;
  right: -30px;
  top: -30px;
margin-bottom: -10px;
    border-radius: 20px;
  border: 1px solid #D5D5D5;
  background: #FFF;
    cursor: pointer;
    color: #BBBBBB;
    box-sizing: revert !important; 
    
  }
  

      
  
  
  /* INFO BOX */

  
  
  .container-box-inner{
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 25px 25px 15px;
  /*  flex-grow: 10; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    opacity: 1;
    transition: all .5s;
    transition: all .5s allow-discrete;
    max-height: calc(100%);
    
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);

    
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;


  }



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


  
  


  .infobox-scroller {
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 10px);
    overflow-y: auto;
    padding: 5px 0 10px;
    mask-image: linear-gradient(to top, black 0%, black 98%, transparent 100%),
                linear-gradient(to bottom, black 0%, black 98%, transparent 100%);
    mask-composite: intersect;
    /* Vendor prefixes may be needed for broader compatibility */
    -webkit-mask-composite: source-in; /* 'source-in' is a common equivalent for 'intersect' in older webkit browsers */


  }

  .intro-prompts , .data-details {
    display: flex;
    flex-direction: column;
  }

  #insurancechart {
    z-index:9999;
  }

  #insurancechart svg {
  width: 100%;
  height: 100%;
}

  .chart-container {
    display: flex;
    flex-direction: column;
  }



rect {
  pointer-events: all;
  fill-opacity: 0;
  stroke-opacity: 0;
  z-index: 9999;
}


.chart-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.chart-title > p {
  display: flex;
  flex-direction: column;
}

#insurancetooltip {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  z-index:9998;

}

.tooltip {
    padding: 5px;
    background-color: rgba(0, 0, 0, .05);
    color: #000;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .2);
    display: flex;
    flex-direction: column;
    opacity: .3;
    font-size: 1rem;
    line-height: 1rem;
    text-align: center;
    transition: opacity .2s;
    z-index:9997;
}

.tooltip p {
  margin: 0;
}

  .data-intro-prompt {
    display: flex;
    flex-direction: column;
  }









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

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



    .take-action-nav .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: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, .1);
    }

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



  
 .location-stats {
    display: flex;
    flex-direction: column;
  }


  .data-table {
    display: flex;
    flex-direction: column;
  }

  .data-table .row {
    display: flex;  
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }

  .data-table p {
    margin: 0;
  }

  .col-2 , .col-3, .col-4 {
    text-align: center;
    font-family: "Roboto Condensed", sans-serif;
  }




/*

  .ro-2, .ro-4, .ro-6, .ro-8 {
    background: rgba(255,255,255,.5)
  }

*/

  .ro-3, .ro-5, .ro-7 {
    background: rgba(0,0,0,.05)
  }

  .header .col-2 p, .header .col-3 p, .header .col-4 p{
    font-size: 1.4rem;
    text-decoration: underline;
  } 

  .data-table .column {
    display: flex;  
    flex-direction: column;
    flex-wrap: nowrap;
    width: 20%;
    padding: 5px;
  }

  .data-table .col-1 {
    width: 40%;
  }


  #reportlink {
    margin-left: 10px;
  }



  

  
  
   
   /* SCALE LEGEND */        
  

  
  
  
  .dataset-title .label {
           text-align: right;
            margin-bottom: 10px;
           
         }
  
  /*
  .dataset-title h3 {
    margin: 0;
    line-height: 1em;
  }
  */

  
  /* 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: 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.temperature {
    background: var(--Temperature);
  }

   .keydot.snowpack {
    background: var(--Snowpack-Up);
  }

   .keydot.disasters {
    background: var(--Disasters);
  }

   .keydot.insurance-delta {
    background: var(--Insurance-Delta);
  }

   .keydot.climate-pollution {
    background: var(--Climate-Pollution);
  }

   .keydot.fuel-costs {
    background: var(--Fuel-Costs);
  }

   .keydot.health-costs {
    background: var(--Health-Costs);
  }



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

  .keydot.foia-indicator {
    width: 8px;
    height: 8px;
    background-color:rgba(255, 255, 255, 1);
    border-color: rgb(108, 108, 108);
  }

  .impact-type .keydot, .time-span .keydot {
    width: 18px;
    height: 18px;
    opacity: .4;
  }

  .time-span .foia-icon {
    margin: 2px 4px 0 0;
  }
  


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

  .container-box-inner.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);

  }
  
  
  
  

  
  
  .hide {
    display: none !important;

  }
  
  

  #risk-label {
    font-weight: 500;
  }
  

  
  
  /* RESPONSIVE SCREEN SIZES */
  
  
  
  @media (max-width: 800px) {

    #loader {
      right: auto;
      bottom: auto;
      left: 20px;
      top: 20px;
    }

  .shrink {
        display: none;
  }

  p {
    font-size: 1rem;
    line-height: 1.3rem;
  }

  .time-span-header p {
    font-size: .7rem;
  }

  .small {
    font-size: .7rem;
  }



  h1 {
    font-size: 1.8rem;
    line-height: 2.1rem;
    margin: 0;
  }

  h2 {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }

  .dataset-intro h2 {
    font-size: 1.8rem;
    line-height: 2.1rem;
  }

  .dataset-title svg {
    width: 20px;
    height: auto;
    display: none;
  }

  h3 {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }

/*
  .logo {
    display: none;
  }

  .logo-mobile {
    display: block;
  }
*/

  .headline {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;

  }

  .primary-controls {
    margin: 20px 10px 0 7px;
    width: calc(100% - 26px);
}

  .map-title-area {
    flex-direction: row;
  }

  .map-title-group {
    flex-direction: column;
  }

  #data-switcher .datasets {
    flex-direction: column;

  }

  .impact-type-toggler, .timespan-toggler {
    width: calc(100%);
    flex-wrap: nowrap;
    overflow-x: auto;
}

#data-switcher .impact-type-toggler {
      width: calc(98% - 15px);
      padding: 10px 10px 15px;
      margin: 0;
}
      
  .container-box {
    top: 300px;
    bottom: 30px;
    max-height: 280px;
    width: calc(100% - 20px);
    left: 15px;
    z-index: 9998;
    justify-content: flex-start;
  }

  #infobox, .container-box .container-box-inner  {
    width: calc(100% - 60px);
    background: rgba(255, 255, 255, 0.95)

  }

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

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



.keyitem {
    flex-wrap: nowrap;
}


  .scale-container {
    padding: 10px 20px;
    min-width: auto;
    max-width: none;
    width: 100%;
  }

  .scale-container.note {
    display: none
  }

  

  .btn-nav span {
    display: none;
  }



  .modal {
    z-index: 9999;
  }



  .modal__container {
    position: relative;
    max-width: calc(100% - 120px);
    min-width: calc(100% - 120px);
    padding: 30px 30px 20px;

  }

  .close-x-modal {
    right: -23px;
    top: -21px;
  }


  .btn-modal .icon {
    margin: 0;
  }

  
  .modal__buttons {
    gap: 20px;
    padding: 10px;
  }
  
  .modal__container .button {
    flex-direction: column;
    gap: 10px;
    padding: 20px 10px;
    text-align: center;
  }

    .modal__container .button p { 
      margin: 0;
      font-size: 1rem; 
    }
  

  .modal__container .button svg {
    margin-right: 0;
    margin-left: -7px;
    height: 30px;
    width: auto;
  }

  .headline .button {
    margin: 10px;
    padding: 10px 30px 15px;
    gap: 0;
  }

  .partner-logos {
    margin: 40px 0;
  }  

  .partner-logos p {
  text-align: right;
  }

  .meta-lines {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }  


  #map {
      height: 100%;

  } 
    
    
    


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

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

.mapboxgl-ctrl-geocoder {
  max-width: 100% !important;
  width: 100%;
  min-width: 50px;
  display: none;
}

.mapboxgl-ctrl-top-right{
  
  left: 0;
  right: 0;
  width: calc(100% - 210px); 
}

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

}
*/

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



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









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







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





.impact-type.header, .time-span.header {
  justify-content: center;
}


.impact-type p, .time-span p {
  margin: 0;
}





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



.nav-controls {
    top: auto;
    bottom: 37px;
    right: auto;
    left: 20px;
    gap: 10px;
    margin: 0;
    z-index: 9997;
    width: auto;
    flex-direction: row-reverse;
  }



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

.take-action-nav {
  display: none;
}





  
  
  
  }



  /* TROUBLESHOOTING + TESTING */

  /* 

  .container-box , .primary-controls , .nav-controls , .secondary-legends {
  background: rgba(255, 255, 0, 0.5); 
    backdrop-filter: blur(10px);
  }

*/
