
.list-of-partners li.on {
  font-weight: bold;
  text-decoration: none;
}

a {
  color: #000;
  text-decoration: underline;
}

li {
  list-style-type: none;
  color: #0a0a0a;
}

.pin {
  display: none;
  width: 20px;
  height: 20px;
}

.pin:hover {
  cursor: pointer;
}

.pin.on {
  display: block;
  width: 30px;
  height: 30px;
}

.pin.active {
  display: block;
  width: 30px;
  height: 30px;
}

svg {
 height: 100%;
 max-height: calc(100vh - 450px);
 margin: auto;
}

text {
  display: block;
  white-space-collapse: collapse;
  font-family:  "Roboto Condensed", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  font-weight: 500;
  fill: #000;
}

.map-container h2 {
  margin-top: 10px;
}

/*Accordian Menu*/
/* Style the buttons that are used to open and close the accordion panel */
.county-head {
  font-family:  "Roboto Condensed", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1rem;
  padding-bottom: .4rem;
  display: inline-block;
  color: #383838;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
}

.county-head:first-of-type {
  margin-top: 0;
}

.accordion {
  padding-bottom: 2rem;
  background-image: url(https://www.oakland.edu/Assets/template-assets/main-page-responsive/graphics/ui/expandArrow_Black.png);
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
  display: block;
  color: #999;
  transition: 0.4s;
  padding: 5px 10px;
  font-size: 1.1rem;
  font-family:  "Roboto Condensed", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: #0a0a0a;
  padding-right: 1.5rem;
}

.accordion-navigation {
  padding: 0.1rem;
  width: 100%;
  border: 1px solid #cacaca;
  border-radius: 0;
  background-color: #fefefe;
}

.accordion-navigation.active {
  margin-bottom: 0.2rem;
}

.grid-margin-y>.accordion-navigation.cell  {
    margin-bottom: 0;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover)

.active, .accordion-navigation:hover {
  background-color: #ccc;
}
/* 
.accordion-navigation.active .accordion, .accordion-navigation:hover .accordion {
  color: #877148;
}
*/
/* Style the accordion panel. Note: hidden by default */
.partnerPanel {
  max-height: 0;
  overflow: hidden;
   /* transition: 0.1s ease-out; */
}

.activePartnerPanel {
  padding: 0;
  /* transition: 0.1s ease-out; */
  overflow: auto;
  max-height: 130px;
  position: absolute;
  width: 93%;
  background: #eee;
  border-radius: 5px;
  margin: -2.4rem 0 0 -0.2rem;

}

.partnerSubList-Item {
  cursor: pointer;
  color: #383838;
  display: block;
  padding: 6px 10px;
  line-height: 1rem;
}

.partnerSubList-Item:hover {
  text-decoration: underline;
}

.relative {
  position: relative;
}

.list-of-counties {
  margin-left: 0;
  background: #fff;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.callout h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: block;
  line-height: 1.6rem;
  margin-right: 1.5rem;
  margin-top: 0;
}

.callout {
  left: 0;
  width: 100%;
  margin: auto;
  z-index: 0;
  top: 10px;
    padding: 1rem 1rem 0 1rem;
}

.accordion-navigation.active {
  margin-bottom: 0;
}

#MacombCounty {
  fill: #638C1C;
  transition: .5s;
}

#OaklandCounty {
  fill: #ED8B00;
  transition: .5s;
}

#WayneCounty {
  fill: #FFCD00;
  transition: .5s;
}

.countyHover, .countyActive {
  fill: #D9C89E !important;
  transition: .5s;
}

.p-style {
  font-size: 0.9rem;
  line-height: 1.45rem;
}

.button.large {
    padding: 1.125rem 2.25rem 1.1875rem 2.25rem;
}

@media print, screen and (min-width: 40em) {
  .activePartnerPanel {
    max-height: 110px;
  }

  .map-container {
   max-width: 1200px;
   margin-left: auto;
   margin-right: auto;
   margin-top: 1rem;
  }

  .grid-margin-y.list-of-counties {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  svg {
   max-height: 100%;
   height: auto;
  }
}