/* Start Teams Page */
.team-lineup {
  position: absolute;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 300px;
  margin-top: 10px;
  margin-right: auto; 
  margin-left: auto;
  -webkit-flex-wrap: nowrap;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

.team-lineup-container {
  position: relative
}

.team-member-outer-container {
  display: flex;
  flex-direction: column;
  width: 140px;
  margin: 0 10px;
  padding-bottom: 100px;
}

.team-member-container {
  position: relative;
}
.employee-title {
  color: #56637a;
}

.team-member {
  width: 140px;
  height: 165px;
  margin: 0 auto;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  background-color: transparent;
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-leadership.svg');
  background-position: 50% 100%;
  background-size: 65px auto;
  background-repeat: no-repeat;
}

.team-member-outer-container.leadership .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-leadership.svg');
}

.abstract-popup.leadership .bio-headshot-container:before {
  background-color: #29b4d2;
}

.employee-popup.leadership .employee-title {
  color: #29b4d2;
}

.filter-button.leadership:before {
  background-color: #29b4d2;
}
.filter-button.leadership.active {
  color: #29b4d2;
  border-color: #29b4d2;
}

.team-member-outer-container.support .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-support.svg');
}

.employee-popup.support .bio-headshot-container:before {
  background-color: #4e96dc;
}

.employee-popup.support .employee-title {
  color: #4e96dc;
}

.filter-button.support:before {
  background-color: #4e96dc;
}
.filter-button.support.active {
  color: #4e96dc;
  border-color: #4e96dc;
}

.team-member-outer-container.customer-success .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-customer-success.svg');
}

.abstract-popup.customer-success .bio-headshot-container:before {
  background-color: #737be3;
}

.employee-popup.customer-success .employee-title {
  color: #737be3;
}

.filter-button.customer-success:before {
  background-color: #737be3;
}
.filter-button.customer-success.active {
  color: #737be3;
  border-color: #737be3;
}

.team-member-outer-container.engineering .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-engineering.svg');
}

.employee-popup.engineering .bio-headshot-container:before {
  background-color: #9c68e3;
}

.employee-popup.engineering .employee-title {
  color: #9c68e3;
}

.filter-button.engineering:before {
  background-color: #9c68e3;
}
.filter-button.engineering.active {
  color: #9c68e3;
  border-color: #9c68e3;
}

.team-member-outer-container.product .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-product.svg');
}

.employee-popup.product .bio-headshot-container:before {
  background-color: #c65ade;
}

.employee-popup.product .employee-title {
  color: #c65ade;
}

.filter-button.product:before {
  background-color: #c65ade;
}
.filter-button.product.active {
  color: #c65ade;
  border-color: #c65ade;
}

.team-member-outer-container.sales .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-sales.svg');
}

.abstract-popup.sales .bio-headshot-container:before {
  background-color: #e45bbf;
}

.employee-popup.sales .employee-title {
  color: #e45bbf;
}

.filter-button.sales:before {
  background-color: #e45bbf;
}
.filter-button.sales.active {
  color: #e45bbf;
  border-color: #e45bbf;
}

.team-member-outer-container.marketing .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-marketing.svg');
}

.abstract-popup.marketing .bio-headshot-container:before {
  background-color: #f37479;
}

.employee-popup.marketing .employee-title {
  color: #f37479;
}

.filter-button.marketing:before {
  background-color: #f37479;
}
.filter-button.marketing.active {
  color: #f37479;
  border-color: #f37479;
}

.team-member-outer-container.people-ops .team-member {
  background-image: url('https://3937956.fs1.hubspotusercontent-na1.net/hubfs/3937956/website-update-03NOV2020/images/body-people-ops.svg');
}

.abstract-popup.people-ops .bio-headshot-container:before {
  background-color: #fb9420;
}

.employee-popup.people-ops .employee-title {
  color: #fb9420;
}

.filter-button.people-ops:before {
  background-color: #fb9420;
}
.filter-button.people-ops.active {
  color: #fb9420;
  border-color: #fb9420;
}
.filter-button.black:before {
  background-color: #20252e;
}
.filter-button.black.active {
  color: #20252e;
  border-color: #20252e;
}

.team-member .headshot {
  height: 100px;
  width: auto;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: 110px;
}

.team-member-outer-container .employee-name {
  font-family: Panton,sans-serif;
  font-weight: 700;
  color: #20252e;
  font-size: 1.15rem;
  line-height: 110%;
  margin: 16px 0 5px 0;
}

.team-member-outer-container[data-fancybox] {
  cursor: pointer;
}

.team-member-outer-container[data-fancybox]:hover, a.team-member-outer-container:hover{
  transition: transform 1s ease !important;
  transform: scale(1.1);
}

.team-member-outer-container[data-fancybox]:hover .headshot {
    transition: transform 1s ease !important;
    -webkit-animation-name: wobble;
    animation-name: wobble;
    -webkit-animation-duration: 1s !important;
    animation-duration: 1s !important;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}
.team-member-outer-container .employee-title {
  text-transform: uppercase;
  font-size: 0.65rem;
  line-height: 135%;
}

.team-lineup-section {
  padding: 100px 0 35px 0;
  overflow: hidden;
  text-align: center;
}
.team-member-container, .team-member{
  transform-origin: bottom center;
}
@keyframes run {
  0%   {transform: translateY(0)}
  45%  {transform: translateY(-15px)}
  100%    {transform: translateY(0)}
}
@keyframes bounce {
  0%   {transform: translateY(0)}
  45%  {transform: translateY(-5px)}
  100%    {transform: translateY(0)}
}
@keyframes wobble {
16.65% {
    -webkit-transform: translateX(6px);
    transform: translateX(6px);
}
33.3% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
}
49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}
66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
}
83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
}
100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}
}
.team-member-container.running .team-member {
  animation: run .15s linear infinite;
}
.team-member-container.running .team-member .headshot {
  animation: bounce .15s linear infinite;
  animation-delay: 500ms;
}
.team-member-outer-container .employee-details, .employee-popup .employee-details {
  display: flex;
  flex-direction: column;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.team-member-outer-container .employee-details {
  position: absolute;
  top: 165px;
}
.filter-button-group {
  width: 100%;
  display: flex;
  justify-content: stretch;
  flex-wrap: wrap;
  padding: 0 10px;
}
.filter-button-group .filter-button {
  display: inline-block;
  margin: 5px;
  padding: 5px 10px;
  flex: 1;
  font-size: 0.75rem;
  white-space: nowrap;
}
.scroller {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  /* margin: -50px 0 0 0; */
  position: absolute;
  top: 110px;
  left: 0;
  right: 0;
  z-index: 2;
}
.scroller>div {
  display: flex;
  width: 50%;
  transition: all 200ms ease;
  opacity: 0.5;
}
.scroller>div: hover {
  opacity: 1;
}
.scroller>div .arrow-one, .scroller>div .arrow-two {
  content: "";
  width: 35px;
  height: 35px;
  display: block;
  border-top: 2px solid #20252e;
  border-left: 2px solid #20252e;
  display: inline-block;
}
.scroller-left .arrow-one, .scroller-left .arrow-two {
  transform: rotate(-45deg);
  animation-duration: inherit;
}
.scroller-right .arrow-one, .scroller-right .arrow-two {
  transform: rotate(135deg);
  animation-duration: inherit;
}
.scroller-right .arrow-one {
  animation-delay:0.2s;
}
.scroller-left .arrow-two {
  animation-delay:0.2s;
}
.scroller-right {
  justify-content: flex-end;
}
.scroller-right, .scroller-left {
  animation-duration: 1.4s
}
.employee-popup {
  display: flex;
  flex-direction: column;
}
.employee-popup .employee-name {
  color: #20252e;
  font-size: 2.5rem;
  font-family: 'panton', sans-serif;
}
.employee-popup .employee-title {
  text-transform: uppercase;
  font-size: 1rem;
}
.bio-headshot-container {
  height: 115px;
  position: relative;
  margin: 0 0 10px 0;
}
.bio-headshot-container img{
  height: 100%;
  width: auto;
  position: relative;
}
.bio-headshot-container:before {
  content:"";
  width: 100px;
  height: 100px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 0;
  bottom: 0;
  box-shadow: 0 20px 20px 0px rgb(32 37 46 / 20%);
}
.scroller-right.moving .arrow-one, .scroller-right.moving .arrow-two {
    animation-name: movingRight;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}
.scroller-left.moving .arrow-one, .scroller-left.moving .arrow-two {
    animation-name: movingLeft;
    animation-iteration-count:infinite;
    animation-timing-function:linear;
}
@keyframes movingRight {
  0% {opacity: 1; transform: translateX(0px)  rotate(135deg) scale(1);}
  50%{opacity: 0; transform:translateX(10px)  rotate(135deg) scale(0.9);}
  51%{opacity: 0; transform:translateX(-10px)  rotate(135deg) scale(0.9);}
  100% {opacity: 1; transform: translateX(0px)  rotate(135deg) scale(1);}
}
@keyframes movingLeft {
  0% {opacity: 1; transform: translateX(0px)  rotate(-45deg) scale(1);}
  50%{opacity: 0; transform:translateX(-10px)  rotate(-45deg) scale(0.9);}
  51%{opacity: 0; transform:translateX(10px)  rotate(-45deg) scale(0.9);}
  100% {opacity: 1; transform: translateX(0px)  rotate(-45deg) scale(1);}
}

.filter-button-group .filter-button {
  border-color: #e6e8ec;
  background-color: #e6e8ec;
  color: #56637a;
  display: flex;
  align-items: center;
  justify-content: center;
}
.filter-button-group .filter-button:before {
  display: inline-block;
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #ffffff;
  box-shadow: 0px 3px 5px -1px rgb(32 37 46 / 35%);
}
.button.berry.active,.button.black.active, .button.purple.active, .button.grey.active, .button.white.active, .button.fuschia.active, .button.blue.active, .button.yellow.active, .button.green.active, .button.teal.active {
  background-color: #ffffff;
}

@media screen and (min-width: 991px) {
.team-lineup-container:after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 2;
  width: 200px;
  background: rgb(251,251,252);
  background: -moz-linear-gradient(90deg, rgba(251,251,252,0) 0%, rgba(251,251,252,1) 66%);
  background: -webkit-linear-gradient(90deg, rgba(251,251,252,0) 0%, rgba(251,251,252,1) 66%);
  background: linear-gradient(90deg, rgba(251,251,252,0) 0%, rgba(251,251,252,1) 66%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#fbfbfc",endColorstr="#fbfbfc",GradientType=1);
  }
}

@media screen and (max-width: 991px) {
  .timeline-labels {
    display: none;
  }
  .team-member-outer-container {
    position: relative
  }
  .team-lineup {
    position: relative;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 35px;
  }
  .scroller {
    display: none;
  }
}

/* End Teams Page */