#heading {
  margin: 50px;
}

.map_container {
  display: flex !important;
  width: 100%;
  padding: 50px 0;
  justify-content: space-around;
  flex-wrap: wrap;
  font-family: Avenir;
}

#maps {
text-align: center;
flex-basis: 35%;
display: flex;
flex-direction: column;
}

#legs {
text-align: center;
flex-basis: 65%;
display: flex;
flex-direction: column;
}

#legAccordions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

#congressMap, #senateMap, #houseMap {
width: 100%;
}

#senateMap {
display: none;
}

#houseMap {
display: none;
}

#senateAccordion1, 
#senateAccordion2, 
#houseAccordion1, 
#houseAccordion2, 
#congressLegAccordion1, 
#senateLegAccordion1, 
#senateLegAccordion2, 
#houseLegAccordion1, 
#houseLegAccordion2 {
  display: none;
}

/* Accordion */
.accordion {
font-size: 1rem;
width: 40%;
margin: 0;
text-align: left;
}

.accordion-header,
.accordion-body {
background: white;
}

.accordion-header {
padding: 1.5em 1.5em;
background: #00587C;
color: white;
cursor: pointer;
font-size: 12px;
letter-spacing: .1em;
transition: all .3s;
text-transform: uppercase;
}

.accordion__item {
border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.accordion-header:hover {
background: #003b53;
position: relative;
}

.accordion-body {
background: #eaeaea;
color: #353535;
display: none;
}

.accordion-body__contents {
padding: 1.5em 1.5em;
font-size: 14px;
}

.accordion .accordion__item:first-child .accordion-header {
border-radius: 5px 5px 0 0
}

.accordion .accordion__item:last-child .accordion-header {
border-radius: 0 0 5px 5px
}

.accordion__item > .accordion-header:after {
content: "\f3d0";
font-family: IonIcons;
font-size: 1.2em;
float: right;
position: relative;
top: -2px;
transition: .3s all;
transform: rotate(0deg);
}

.accordion__item.active > .accordion-header:after {
transform: rotate(-180deg);
}

.accordion__item.active .accordion-header {
background: #003b53;
}

.accordion__item .accordion__item .accordion-header {
background: #f1f1f1;
color: #353535;
}

@media screen and (max-width: 1000px) {

  .accordion {
      width: 100%;
  }

}
/* Accordion */

/* Radio Group */
.radio-group {
display: flex;
flex-direction: row;
justify-content: center;
gap: 0;
margin-bottom: 50px;
}

.radio-group label {
display: flex;
align-items: center;
margin-bottom: 0;
cursor: pointer;
text-align: center;
}

.radio-group label input[type="radio"] {
opacity: 0;
width: 0;
height: 0;
display: none;
}

.radio-group label input[type="radio"] + span {
padding: 0.5rem 1.5rem;
border: 1px solid #ccc;
/* border-radius: 0; */
width: 100%;
font-size: 18px;
}

.radio-group label:first-child input[type="radio"] + span {
border-radius: 5px 0 0 5px;
}

.radio-group label:last-child input[type="radio"] + span {
border-radius: 0 5px 5px 0;
}

.radio-group label input[type="radio"]:checked + span {
background-color: #00587c;
border-color: #00587c;
color: #fff !important;
}

/* Radio Group */