.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: 160px;
  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;
}

/* 9 - LEADERSHIP */

.team-member-outer-container.leadership .team-member {
  background-image: url('../svg/team-9.svg');
}

.abstract-popup.leadership .bio-headshot-container:before {
  background: rgb(248,135,72);
  background: -moz-linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  background: linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f88748",endColorstr="#ffa300",GradientType=1);
}

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

.filter-button.leadership:before {
  background: rgb(248,135,72);
  background: -moz-linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  background: linear-gradient(0deg, rgba(248,135,72,1) 0%, rgba(255,163,0,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f88748",endColorstr="#ffa300",GradientType=1);
}
.filter-button.leadership.active {
  color: #fb9523;
  border-color: #fb9523;
}


/* 1 - ENGINEERING */

.team-member-outer-container.engineering .team-member {
  background-image: url('../svg/team-2.svg');
}

.employee-popup.engineering .bio-headshot-container:before {
  background: rgb(22,195,204);
  background: -moz-linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  background: linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#16c3cc",endColorstr="#33a5ce",GradientType=1);
}

.employee-popup.engineering .employee-title {
  color: #25b4cd;
}

.filter-button.engineering:before {
  background: rgb(22,195,204);
  background: -moz-linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  background: linear-gradient(0deg, rgba(22,195,204,1) 0%, rgba(51,165,206,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#16c3cc",endColorstr="#33a5ce",GradientType=1);
}
.filter-button.engineering.active {
  color: #25b4cd;
  border-color: #25b4cd;
}

/* 2 - PRODUCT */

.team-member-outer-container.product .team-member {
  background-image: url('../svg/team-3.svg');
}

.employee-popup.product .bio-headshot-container:before {
  background: rgb(51,165,206);
  background: -moz-linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  background: linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#33a5ce",endColorstr="#5087d0",GradientType=1);
}

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

.filter-button.product:before {
  background: rgb(51,165,206);
  background: -moz-linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  background: linear-gradient(0deg, rgba(51,165,206,1) 0%, rgba(80,135,208,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#33a5ce",endColorstr="#5087d0",GradientType=1);
}
.filter-button.product.active {
  color: #4296cf;
  border-color: #4296cf;
}

/* 3 - SUPPORT */

.team-member-outer-container.support .team-member {
  background-image: url('../svg/team-4.svg');
}

.employee-popup.support .bio-headshot-container:before {
  background: rgb(80,135,208);
  background: -moz-linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  background: linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5087d0",endColorstr="#6c69d1",GradientType=1);
}

.employee-popup.support .employee-title {
  color: #5e78d0;
}

.filter-button.support:before {
  background: rgb(80,135,208);
  background: -moz-linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  background: linear-gradient(0deg, rgba(80,135,208,1) 0%, rgba(108,105,209,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#5087d0",endColorstr="#6c69d1",GradientType=1);
}
.filter-button.support.active {
  color: #5e78d0;
  border-color: #5e78d0;
}

/* 4 - CUSTOMER SUCCESS */

.team-member-outer-container.customer-success .team-member {
  background-image: url('../svg/team-5.svg');
}

.abstract-popup.customer-success .bio-headshot-container:before {
  background: rgb(108,105,209);
  background: -moz-linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  background: linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6c69d1",endColorstr="#9560d4",GradientType=1);
}

.employee-popup.customer-success .employee-title {
  color: #8164d3;
}

.filter-button.customer-success:before {
  background: rgb(108,105,209);
  background: -moz-linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  background: linear-gradient(0deg, rgba(108,105,209,1) 0%, rgba(149,96,212,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6c69d1",endColorstr="#9560d4",GradientType=1);
}
.filter-button.customer-success.active {
  color: #8164d3;
  border-color: #8164d3;
}

/* 5 - SOLUTIONS ENGINEERING */

.team-member-outer-container.solutions .team-member {
  background-image: url('../svg/team-6.svg');
}

.abstract-popup.solutions .bio-headshot-container:before {
  background: rgb(149,96,212);
  background: -moz-linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  background: linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9560d4",endColorstr="#be58d6",GradientType=1);
}

.employee-popup.solutions.employee-title {
  color: #aa5cd5;
}

.filter-button.solutions:before {
  background: rgb(149,96,212);
  background: -moz-linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  background: linear-gradient(0deg, rgba(149,96,212,1) 0%, rgba(190,88,214,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#9560d4",endColorstr="#be58d6",GradientType=1);
}
.filter-button.solutions.active {
  color: #aa5cd5;
  border-color: #aa5cd5;
}

/* 6 - SALES */

.team-member-outer-container.sales .team-member {
  background-image: url('../svg/team-7.svg');
}

.abstract-popup.sales .bio-headshot-container:before {
  background: rgb(190,88,214);
  background: -moz-linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  background: linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be58d6",endColorstr="#e84fd9",GradientType=1);
}

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

.filter-button.sales:before {
  background: rgb(190,88,214);
  background: -moz-linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  background: linear-gradient(0deg, rgba(190,88,214,1) 0%, rgba(232,79,217,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#be58d6",endColorstr="#e84fd9",GradientType=1);
}
.filter-button.sales.active {
  color: #d453d8;
  border-color: #d453d8;
}

/* 7 - MARKETING */

.team-member-outer-container.marketing .team-member {
  background-image: url('../svg/team-8.svg');
}

.abstract-popup.marketing .bio-headshot-container:before {
  background: rgb(232,79,217);
  background: -moz-linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  background: linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e84fd9",endColorstr="#f06b91",GradientType=1);
}

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

.filter-button.marketing:before {
  background: rgb(232,79,217);
  background: -moz-linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  background: linear-gradient(0deg, rgba(232,79,217,1) 0%, rgba(240,107,145,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#e84fd9",endColorstr="#f06b91",GradientType=1);
}
.filter-button.marketing.active {
  color: #ec5db4;
  border-color: #ec5db4;
}

/* 8 - PEOPLE OPS */

.team-member-outer-container.people-ops .team-member {
  background-image: url('../svg/team-10.svg');
}

.abstract-popup.people-ops .bio-headshot-container:before {
  background: rgb(240,107,145);
  background: -moz-linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  background: linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f06b91",endColorstr="#f88748",GradientType=1);
}

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

.filter-button.people-ops:before {
  background: rgb(240,107,145);
  background: -moz-linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  background: -webkit-linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  background: linear-gradient(0deg, rgba(240,107,145,1) 0%, rgba(248,135,72,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f06b91",endColorstr="#f88748",GradientType=1);
}
.filter-button.people-ops.active {
  color: #f4796c;
  border-color: #f4796c;
}

/* CLEAR */

.filter-button.black:before {
  background-color: #1e1b4a;
}
.filter-button.black.active {
  color: #1e1b4a;
  border-color: #1e1b4a;
}

.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: #1e1b4a;
  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 #1e1b4a;
  border-left: 2px solid #1e1b4a;
  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: #1e1b4a;
  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;
}
.popup-inner p {
    margin-top: 10px;
}
.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%);
}
.fancybox-content .fancybox-close-small {
    background: #dedfe0;
    border-bottom-left-radius: 20px;
    width: 50px;
    height: 50px;
}
.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;
}
.abstract-popup.fancybox-content {
  display: inline-block;
  max-width: 600px;
  padding: 3.5vw;
  border-radius: 20px;
  box-shadow: 0 0 20px 0 rgba(34,33,64,0.1);
  width: 100%;
  max-height: calc(100vh - 20px);
  overflow: scroll;
}

.employee-name {
    font-size: 2rem;
    line-height: 125%;
}

@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;
  }
  .filter-button-group {
    display: none;
  }
}