#map {
    position: relative;
    padding-top: 50px;
}

.mobile-map {
    padding-top: 25px;
}
#map svg {
    display: none;
    overflow: visible;
}

@media (min-width: 480px) {
    #map svg {
        display: initial;
    }

    .mobile-map {
        display: none;
    }
}
.county-boundary {
    fill: none;
    stroke: #FFF;
    stroke-width: 1px;
}
.state-boundary {
    fill: none;
    stroke: #333;
    stroke-linejoin: round;
}

text {
    font-family: helvetica;
      fill: black;
      font-weight: 300;
      text-anchor: middle;
}

.county {
    /* fill: #cdcdcd; */
    stroke: #b0b0b0;
    stroke-width: 1.8;
    fill: none;
}

.focusable-region {
    z-index: 10000;
    position: relative;
}
.hidden {
    display: none;
}
div.d3-tooltip {
    color: #222;
    background-color: #fff;
    padding: .5em;
    text-shadow: #f5f5f5 0 1px 0;
    border-radius: 5px;
    border: 1px solid #b31b1b;
    opacity: 0.9;
    position: absolute;
    padding: 10px 15px;
    color: #b31b1b;
    font-size: 1.25em;
    display: block;
}

.circles {
   
    display: none;

}

.county {
    cursor: pointer;
    fill: #d3d3d3;
}
/* 
.county:focus {
    outline: none !important;
} */
.region-hover {
    fill: #b31b1b !important;
    stroke: #b31b1b !important;
    opacity: 1 !important;
}

[data-region].region-focus {
    fill: #b31b1b !important;
    position: relative;
    z-index: 10000000;
    opacity: 1 !important;
    stroke: #b31b1b !important;
}

#map {
    padding-bottom: 50px;
}

@media (min-width: 480px) {
    .circles {
        fill: #b31b1b;
        cursor: pointer;
        box-shadow: -1px -1px 5px 3px rgba(0,0,0,0.11);
        -webkit-box-shadow: -1px -1px 5px 3px rgba(0,0,0,0.11);
        -moz-box-shadow: -1px -1px 5px 3px rgba(0,0,0,0.11);
        filter: drop-shadow( 3px 3px 2px rgba(0, 0, 0, .25));
        display: block;
    }
}


.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
  }



  .flyout {
      min-height: 300px;
      width: 500px;
      position: absolute;
      top: 0;
      right: 0;
      padding: 80px 50px 50px;
      box-shadow: 0 0 34px 0 rgb(0 0 0 / 16%);
      background: white;
      height: 100%;

  }

  .close-flyout {
      color: #b31b1b;
      background-color: transparent;
      border: none;
      height: 30px;
      width: 30px;
      border-radius: 0px;
      margin: 0px;
      padding: 0px;
      position: relative;
      float: right;
      font-size: 2em;
      cursor: pointer;
      top: -25px;
  }

  .close-flyout i {
      position: absolute;
      top: 0;
      left: 0;
  }

  .flyout p {
      font-size: calc(16px + (18 - 16) * ((100vw - 300px) / (1600 - 300)))
  }

  .flyout ul {
      font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
      line-height: 2em;
  }

  .flyout a {
      color: #b31b1b;
      text-decoration: none;
      font-weight: 700;
  }

  .d3-map-title {
      position: relative;
      background: #FFF;
      box-shadow: 0 0 34px 0 rgb(0 0 0 / 16%);
      padding: 50px;
      max-width: 650px;

  }
  
  @media (min-width: 1024px) {
    .d3-map-title {
        margin-top: -200px;
    }

  }

  #cce-cards {
    display: grid;
    grid-template-columns: 1fr;     
    margin-top: 40px;
  }

  .cce-card {
      position: relative;
      background: #fff;
      box-shadow: 0 0 34px 0 rgb(0 0 0 / 16%);
      overflow: hidden;
      height: 100%;
  }

  .cce-card .card-content {
      padding: 50px 40px;
      position: relative;
      margin: 10px;

  }

  .card-wrap {
      margin: 10px;
      display: none;
      
  }

  .active-card {
      display: block;
  }
  .map-wrapper {
      position: relative;
  }

  .cce-flyout-details a {
      font-family: "Work Sans",sans-serif;
  }

  .flyout-header .subhead {
      font-size: calc(18px + (22 - 18) * ((100vw - 300px) / (1600 - 300)));
  }


  #d3-card-select {
    display: block;
    margin: 50px auto;
    padding: 25px;

  }

  @media (min-width: 768px){
      #d3-card-select {
          display: none;
      }

      #cce-cards {
        grid-template-columns: 1fr 1fr;
    }

    .card-wrap {
        
        display: block;
    }
     
  }

  @media (min-width: 1024px){

    #cce-cards {
        grid-template-columns: 1fr 1fr 1fr;
    }
}