/* Mission Page - Volunteers */

.reveal-content {
  position: relative;
  color: #042D3E;
}

.meet-our-members,
.reveal-content h2,
.contributors-year-navigation {
  margin: 1em 0;
  padding: 0;
  color: #042D3E;
  font-family: 'Montserrat', 'Lucida Grande', 'Lucida Sans', helvetica, arial, sans-serif;
  font-size: 1.175em !important;
  font-weight: 600;
}

.meet-our-members {
  margin: 0;
}

.meet-our-members i {
  margin-top: 0.33em;
}

.contributors-year-navigation {
  margin-top: 0;
}

.contributors-year-navigation ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  font-size: 125%;
}

.contributors-year-navigation ul li {
  display: inline-flex;
}

.contributors-year-navigation ul li ~ li::before {
  content: "\f111";
  padding: 0 2em;
  font-family: "Font Awesome 5 Pro";
  font-size: 0.3em;
}

.contributors-year-navigation ul .toggle-icon {
  display: inline-block;
  width: 0.75em;
}

.meet-our-members a,
.contributors-year-navigation a {
  text-decoration: none !important;
}

.contributors-year-navigation a.active {
  text-decoration: underline !important;
}

#members-section-toggle-container i {
  transition: 0.5s all ease-in-out;
}

#members-section-toggle-container.toggled i {
  transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  opacity: 0.5;
}

.reveal-content .to-reveal {
  margin: 0 auto;
  font-size: 1.1em;
  padding: 0 4.25em;
  transition: 0.5s all ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 10;
  overflow: hidden;
  background-color: #A0C1B1;
  opacity: 0;
  pointer-events: none;
}

.reveal-content .to-reveal.revealed {
  opacity: 1;
  pointer-events: all;
}

.contributors {
  border: none !important;
}

.contributors tr td {
  border: none;
  padding: 0 0 0.5em 0;
  line-height: 1.2;
  vertical-align: top;
}

.contributors tr td ~ td {
  width: 70%;
}

.toggle-section {
  padding-bottom: 0.5em;
  max-height: 0;
  overflow: hidden;
}

.toggle-section.open {
  max-height: 300vh;
}

@media(min-width: 981px){
  .reveal-content .to-reveal {
    padding: 0 4em;
    font-size: 1.175em;
  }
}

@media(max-width: 767px){
  .reveal-content .to-reveal {
    position: relative;
    padding: 0 2em;
    max-height: 0;
  }

  .contributors tr ~ tr {
    margin-top: 1em;
  }

  .contributors tr,
  .contributors tr td {
    display: block;
    padding: 0;
  }

  .contributors tr td ~ td {
    font-size: 90%;
  }

  .reveal-content .to-reveal.revealed,
  .toggle-section.open {
    max-height: 999vh;
  }
}