/* team.css */

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

#team .team {
  margin: 0 auto;
  opacity: 0;
  transition: all .4s;
  pointer-events: none;
  height: 0;
  z-index:1;
}
#team.cast .team.cast,
#team.creatives .team.creatives {
  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: 22em;
  margin: 0 1em 1em;
}

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

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

#team .team .member.ensemble {
  width: 14em;
  margin: 1.5em;
}

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

#team {
  /* display: none; */
  /* outline: 5px solid red; */
}

#team .bio {
  /* display: none; */
}

#team .bio a {
  color: inherit;
}

#team .bio a {
  color: #3bb6ff;
}
#team .bio a:hover {
  color: #0f2964;
}

#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 * {
  transition: filter .3s ease-out;
}

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

#team .member:hover .headshot {
  border-color: #3bb6ff;
}

#team .member-image {
  margin-bottom: 1.5em;
  border-radius: 1em;
  margin-left: -1em;
  margin-top: -1em;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  max-width: calc(100% + 2em);
  width: calc(100% + 2em)
}

.overlay .headshot {
  width: auto;
  max-width: 100%;
}

.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.625rem;
  letter-spacing: -.025em;
  line-height: 1;
  margin: .5em 0 .125em;
  /* color: #fff!important; */
  position: relative;
}

.member.star .name {
  font-size: 1.875rem;
}

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

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

.member .role {
  font-family: 'BostonSkylineSansClean', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: .825em;
  line-height: 1.375;
  letter-spacing: .05em;
  text-transform: uppercase;
  /* color: #fff!important; */
}

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

#team .bio {
  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%;
  }
}

/* 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;
  }
}