#team {
  font-family: Overpass, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 30px;
}

.team-spacer {
  display: block;
  content: "";
  height: 4rem;
}

#team .team-member {
  flex: 0 1 calc(33.33% - 30px);
  flex-direction: row;
  flex-wrap: wrap;
  /* max-width: 300px; */
  /* margin: 0 15px 15px 0; */
}

/* Medium (md) */
@media (min-width: 768px) and (max-width:1023px) {
  #team .team-member {
    flex: 0 1 calc(50% - 15px);
  }
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  #team .team-member {
    flex: 0 1 calc(100%);
  }
}

#team .team-member .photo,
#team-bio .bio-image {
  min-height: 300px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

#team .content {
  background-color: #E9E9E9;
  padding: 15px;
  min-height: 200px;
}

#team .content .name,
#team-bio .name {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  min-height: 50px;
}

#team .content .comma {
  color: #808080;
}

#team .content .creds,
#team-bio .creds {
  display: inline;
  font-size: 0.8rem;
  margin: 0 0 12px 0;
  /* min-height: 20px; */
}

#team .content .title,
#team-bio .title,
#team .board-member {
  font-size: 1rem;
  margin: 0 0 12px 0;
  font-weight: 600;
}

#team .content .title {
  min-height: 60px;
}

#team .board-member {
  font-weight: 600;
}

#team .more,
#team-bio .bio-social {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #B74F22;
  margin: 2px 0 0 0;
  padding: 7px 15px 6px 15px;
  color: white;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  #team-bio .bio-social {
    margin: 2px 0 15px 0;
  }

  #team-bio .bio-social .bio-image {
    background-size: contain;
    background-position: top center;
  }

}

#team-bio .bio-social {
  justify-content: flex-end;
}

#team-bio .top {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 30px 0;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  #team-bio .top {
    padding: 0 0 15px 0;
  }
}

#team-bio a {
  cursor: pointer;
}

#team .more a,
#team-bio .bio-social {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

#team .more a.bio:hover {
  text-decoration: underline;
}

#team .more .social,
#team-bio .bio-social {
  display: flex;
  align-items: center;
}

#team .more .social i,
#team-bio .bio-social i {
  color: white;
  font-size: 1.1rem;
  padding: 0 0 0 8px;
}

#team .more .social i:hover,
#team-bio .bio-social i:hover {
  opacity: 0.5;
}

#team-bio .content .team-bio-text {
  display: flex;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  #team-bio .content .team-bio-text {
    flex-direction: column;
  }
}

#team-bio .team-bio-text .photo-social {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  /* max-width: 200px; */
}

#team-bio .team-bio-text .bio-text {
  width: 65%;
  padding: 0 0 0 30px;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  #team-bio .team-bio-text .bio-text {
    width: 100%;
    padding: 0 0 0 0;
  }
}

h2.cnh-h2 {
  color: black;
  font-size: 1.6rem;
  margin: 15px 0;
  padding: 20px;
  border-left: 8px solid #B74F22;
}

#team-bio {
  display: block;
  position: fixed;
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  z-index: 888;
  background-color: rgb(0, 0, 0, 0.7);
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#team-bio .content {
  display: block;
  position: absolute;
  top: calc(50% - 250px);
  left: calc(50% - 400px);
  width: 800px;
  height: 500px;
  background-color: white;
  padding: 25px 50px 50px 50px;
  max-width: 80%;
  margin: auto;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {

  #team-bio .content {
    display: block;
    position: relative;
    width: 90%;
    height: auto;
    max-width: 90%;
    top: 15px;
    left: 0;
    padding: 15px;
  }
}

a#bio-close {
  text-decoration: none;
  margin: 0 -25px 0 0;
}

/* Small (sm) */
@media (min-width: 0px) and (max-width:767px) {
  a#bio-close {
    margin: 0 0 0 0;
  }
}

a#bio-close i {
  font-size: 2.0rem;
  color: #999999;
}

a#bio-close i:hover {
  color: #b74f22;
}

.hide {
  display: none;
}

.show {
  display: flex !important;
}