/* team.css */

#team {
  max-width: 100%;
  text-align: center;
  height: auto;
}
#team.cast, #team.creatives {
  height: auto;
  transition-delay: 0s;
}

#team .team {
  margin: 0 auto;
  z-index:1;
}
.tour #team {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  margin-top: 2em;
  max-width: 63em;
}
#team.cast .team.cast,
#team.creatives .team.creatives,
#team.creative .team.creative  {
  position: relative;
  opacity: 1;
  pointer-events: all;
  height: auto;
  z-index:2;
  transition-delay: .4s;
  margin: 0 auto;
  max-width: 84em;
}

#team.creatives .team.creatives {
  display: block;
  max-width: 100vw;
  margin: 0 auto;
}

#team.cast h2 {
  color: #fff;
}

#team .team .member {
  display: inline-block;
  vertical-align: top;
  text-align: center;
  width: 14em;
  margin: 0 1em 1em;
}

#team .team .member:not(.star) {
  width: 11em;
  margin: 1.5em .5em;
}

@media (min-width:1450px) {
  br.visible-1450 {
    display: none;
  }
}

#team .team .member.ensemble {
  width: 8.75em;
  margin: .875em;
}

#team .team .member:hover {
  cursor: pointer;
  color: #fff;
}
#team .team.creatives .member {
  margin: 0;
  width: 13em;
}

#team .bio a {
  color: inherit;
}

#team-overlay .bio a {
  color: #fff !important;
}
#team-overlay .bio a:hover {
  color: #78b601 !important;
}
a.cast-link.active,
a.creative-link.active {
  color: black;
}

#team p {
  flex: 0 0 100%;
  margin: 0 auto;
}
#team p.divider {
  height: 0;
}
#team .creatives p {
  margin-bottom: .875em;
}
#team .creatives p:last-child {
  margin-bottom: 0;
}

#team .member * {
  color: #78b601;
  transition: color .3s ease-out, filter .3s ease-out;
}
#team .member:hover * {
  color: #000;
}

#team .headshot,
.overlay .headshot {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  overflow: hidden;
  height: auto;
  margin: 0 auto;
  background-color: #181c18;
  border: .1875em solid #78b700;
  max-width: 90%;
  transition: border-color .1s ease-out;
}
#team .member:hover .headshot {
  border-color: #78b601;
}

.overlay .headshot {
  width: auto;
  max-width: 10em;
}

.headshot img {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: auto;
  /*filter: saturate(.9375) brightness(1.0625) contrast(1.125);*/
}
#team .member:hover .headshot img,
.overlay .headshot img {
  /*filter: saturate(.9375) brightness(1.0625) contrast(1.125);*/
}

.member .name {
  font-size: 1.375rem;
  letter-spacing: -.05em;
  line-height: 1;
  margin: .625em 0 0em;
  /* color: #fff!important; */
  position: relative;
}

.overlay-inner .member .name {
   color: #fff!important;
}
.overlay-inner .member h4 {
  color: #78b601!important;
}
.member.star .name {
  font-size: 1.875rem;
}

.creatives .member .name {
  margin: .25em auto;
}

.overlay .member .name {
  font-size: 1.875em;
}

.member .role {
font-size: 1em;
    line-height: 1.125;
    letter-spacing: -.04em;
    text-transform: uppercase;
    color: #000 !important;
}

.member .bio p {
  font-size: 1.125em;
  line-height: 1.4375;
  text-transform: none;
  color:#78b601;
}
.overlay .bio p {
  margin: 1em auto;
}

#team .bio {
  display: none;
}

#creative-block {
  display:none;
}

.overlay-inner .member {
  max-width: 32em;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  font-size: 1.125em;
}

.overlay-inner {
    -ms-overflow-style: none; /* IE 10+ */
    scrollbar-width: none;  /* Firefox */
}
.overlay-inner::-webkit-scrollbar {
    display: none;  /* Safari and Chrome */
}

@media (max-width:768px) {
  #team {
    width: 100%;
  }
}

#content nav {
  margin-bottom: 2em;
}
#content nav li {
  display: inline-block;
}
#content nav li .btn {
  min-width:8em;
  font-size: 1.5em;
  background-color: #78b601;
  color: #fff;
}
#content nav li .btn:hover,
#content nav li .btn.active {
  background-color: #000;
  color: #fff;
}
#content nav li .btn.active {
  pointer-events: none;
}

/* show bios for creatives */
#team .team.creatives .member {
  display: inline-block;
  margin: 0 .75em 3em;
}
#team .team.creatives .member a {
  pointer-events: all;
}

@media (max-width: 767px) {
  #team .team.creatives .member {
    text-align: center;
  }
}