/* CSS Styles for Single Team Page*/
@font-face {
  font-family: "PFStampsPro";
  src: url("../fonts/PF_Stamps_Pro.ttf");
  font-weight: 300;
  font-style: normal;
}

body {
  font-family: "Gilroy-Regular", Arial, sans-serif;
  background-image: url("../images/kirpich.png");
  min-width: 320px;
  background-size: contain;
  color: white !important;
}
.team-header .row,
.team-badges .row,
.team-achievements .row {
  margin-right: 0px;
  margin-left: 0px;
}
.team #header.sticky .city-drop-text,
.team #header.sticky .link-navbar {
  color: white;
}

.team #header.sticky .link-navbar.active {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.team #header.sticky {
  background-color: transparent;
  padding-top: initial;
}

#header.sticky {
  background-color: transparent;
}

#header {
  background-image: url(../images/top2.png);
  background-repeat: repeat no-repeat;
  background-position: center;
  background-size: auto;
  height: 134px;
  justify-content: center;
  min-width: 320px;
  background-color: transparent;
}

/* MAIN */

#teams {
  margin-top: -5px;
  overflow: hidden;
}

.team-header {
  padding-top: 0;
  margin-bottom: -40px;
  margin-top: 20px;
}

.all-legends {
  background-image: url("../images/teams/all_legends.png");
  background-position: center top;
  background-size: auto;
  width: 225px;
  height: 118px;
  display: block;
  margin-left: auto;
  margin-right: 15px;
  position: relative;
  outline: none;
  transition: all 0.1s ease;
}

.all-legends:before {
  content: "";
  position: absolute;
  top: 15px;
  right: 27px;
  left: 18px;
  bottom: 46px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition: all 0.1s ease;
  z-index: 9;
}

.all-legends:active {
  background-position: 2px 2px;
}

.all-legends:hover:before {
  border: 1px solid #8d0b2f;
  box-shadow: 0 0 10px #ff0072;
}

.all-legends:active:before {
  top: 17px;
  right: 25px;
  left: 20px;
  bottom: 44px;
}

.team-title {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: "PFStampsPro", sans-serif;
  color: #fff;
  text-transform: uppercase;
  font-size: 36px;
  margin-top: 12px;
  line-height: 40px;
}

.neon-lights {
  position: relative;
  padding-top: 55px;
  padding-bottom: 65px;
  height: 30px;
  z-index: 2;
}

.neon-lights:before {
  content: " ";
  display: block;
  background-image: url(../images/neon_lamp.png);
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  height: 231px;
  width: 611px;
  overflow: visible;
  top: -45px;
  left: 40px;
  z-index: 1;
}

.neon-lights:after {
  content: " ";
  display: block;
  background-image: url(../images/neon_lamp.png);
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  height: 231px;
  width: 611px;
  overflow: visible;
  top: -45px;
  right: 20px;
  z-index: 1;
}

/* TEAM SLIDER*/
.team-slider {
  position: relative;
  margin-bottom: 50px;
}

.team-slider-meta {
  position: absolute;
  bottom: 0;
  width: 591px;
  height: 151px;
  left: calc(50% - 295px);
  z-index: 2;
  background-image: url("../images/teams/color-sticker-front.png");

  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0px 0px;
  padding: 20px 50px;
}

.team-slider-container {
  position: relative;
}

.team-slider .team-slider-container .swiper-container {
  max-height: 560px;
}

.team-slider .team-slider-container:after {
  background-image: url("../images/teams/wood.png");
  content: " ";
  display: block;
  width: 100%;
  position: absolute;
  bottom: -207px;
  z-index: 2;
  height: 232px;
  background-position: center;
  background-repeat: no-repeat;
}

.team-meta-label {
  font-family: "Gilroy-Regular", Arial, sans-serif;
  font-size: 19px;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.team-meta-value {
  font-family: "Gilroy-Black", Arial, sans-serif;
  font-size: 19px;
  text-transform: uppercase;
}

.swiper-container {
  width: 100%;
  margin: 0 auto;
}

.team-achievements .team-slider-prev,
.team-achievements .team-slider-next {
  top: calc(50% - 80px);
}

.team-slider-prev {
  background-image: url("../images/teams/arrow_prev.png");
  width: 103px;
  height: 117px;
  display: block;
  position: absolute;
  top: calc(50% - 60px);
  left: calc(9% - 50px);
  z-index: 1;
  transition: all 0.1s ease;
}

.legends-title,
.legends-subtitle {
  color: #fff;
}

.team-slider-prev:before {
  content: " ";
  position: absolute;
  top: 16px;
  right: 36px;
  bottom: 45px;
  left: 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.team-slider-prev:hover:before {
  border: 1px solid #8d0b2f;
  box-shadow: 0 0 10px #ff0072;
}

.team-slider-prev:active {
  background-position: 2px 2px;
}

.team-slider-prev:active:before {
  top: 18px;
  right: 34px;
  bottom: 43px;
  left: 14px;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  max-height: 560px;

  margin: auto;
  object-fit: contain;
}

.team-slider-next {
  background-image: url("../images/teams/arrow_next.png");
  width: 103px;
  height: 117px;
  display: block;
  position: absolute;
  top: calc(50% - 60px);
  right: calc(9% - 61px);
  z-index: 1;
  transition: all 0.1s ease;
}

.team-slider-next:before {
  content: " ";
  position: absolute;
  top: 16px;
  right: 28px;
  bottom: 45px;
  left: 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: all 0.1s ease;
}

.team-slider-next:active {
  background-position: 2px 2px;
}

.team-slider-next:active:before {
  top: 18px;
  right: 26px;
  bottom: 43px;
  left: 20px;
}

.team-slider-next:hover:before,
.team-slider-next:active:before {
  border: 1px solid #8d0b2f;
  box-shadow: 0 0 10px #ff0072;
}

/* TEAM BADGES*/
.team-badges {
  max-width: 1030px;
  margin: auto;
}

.team-badges .badges-wrapper{
  display: flex;
  justify-content: center;
}

.team-badge {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 16px;
  width: 241px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 90%;
  margin: auto;
  height: 100%;
}
/* Safari 10.1+  */
@media not all and (min-resolution:.001dpcm)
{ @supports (-webkit-appearance:none) {
  .team-badge {
    height: auto;
  }
}}

.team-badge.border-purple {
  background-image: url("../images/teams/border-purple.png");
}

.team-badge.border-orange {
  background-image: url("../images/teams/border-orange.png");
}

.team-badge.border-green {
  background-image: url("../images/teams/border-green.png");
}

.team-badge.border-blue {
  background-image: url("../images/teams/border-blue.png");
}

.team-badge-title {
  text-align: center;
  font-family: "PFStampsPro", sans-serif;
  font-size: 22px;
  height: 70px;
  display: flex;
  align-items: center;
  margin-top: 8px;
}
.team-badge-title > span {
  width: 100%;
  margin-top: 15px;
}

.team-badge-name {
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  margin: 5px 0px;
}

.team-badge-img img {
  max-width: 100%;
  height: 30px;
  margin: 10px auto 10px;
  display: block;
}

.team-badge-meta-scores {
  text-align: center;
}

.team-badge-meta-value {
  box-shadow: 0 0 10px 6px rgba(254, 95, 114, 0.2);
  margin: auto;
  display: inline;
  font-size: 16px;
  font-family: "Gilroy-Black", Arial, sans-serif;
  text-align: center;
  background: -webkit-linear-gradient(#ffffff, #ff99a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  border-radius: 50px;
}

.team-badge-meta-value:before {
  background-color: rgba(254, 95, 114, 0.2);
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50px;
}

.team-badge-meta-label {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
}

.team-badge-meta .col-4 {
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 15px;
}

/* Team Story */
.team-story {
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-story .story {
  background-image: url("../images/story_top.png"),
    url("../images/story_content.png");
  background-position: top center, center;
  background-size: 100%;
  background-repeat: no-repeat, repeat-y;
  width: 962px;
  padding: 40px 50px 50px 50px;
  font-family: "Gilroy-Medium", Arial, sans-serif;
  font-size: 22px;
  position: relative;
  word-wrap: break-word;
}

.story__bottom__img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 19px;
  background-image: url("../images/story_bottom.png");
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100%;
}

.story p {
  padding-top: 50px;
  line-height: 24px;
}

/* Team Achievements */
.team-achievements {
  margin-top: 50px;
}

.achievements-title {
  font-family: "Gilroy-Black", Arial, sans-serif;
  font-size: 32px;
  line-height: 1.3;
  background-image: url("../images/teams/achievements_table.png");
  width: 377px;
  height: 240px;
  background-position: -50px -5px;
  padding: 64px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-transform: uppercase;
}

.achievements-bar {
  background-image: url("../images/teams/achievements_bar.png");
  width: 720px;
  height: 310px;
  background-position: 0px -90px;
  position: relative;
  overflow: hidden;
}

.achievements__item {
  height: 70%;
  position: relative;
}

.achievements__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.achievents__item__description {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 10px;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.55);
}

/* FOOTER */
.team-footer {
  background-image: url("../images/footer_grid_mobile.png");
  background-position: center top;
  background-size: auto;
  background-color: transparent;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
}

.team-footer .footer-inside-container {
  max-width: 285px;
  margin: auto;
  padding-top: 30px;
  position: relative;
}

.team-footer .footer-inside-container .top-row a {
  color: white;
  text-decoration: underline;
  font-family: Gilroy-Medium, Arial, sans-serif;
  margin-right: 10px;
  margin-bottom: 5px;
  font-size: 14px;
  display: inline-block;
}

.team-footer .footer-info {
  font-family: "Gilroy-Black", Arial, sans-serif;
  font-size: 12px;
  line-height: 18px;
  margin: 0 0 5px 0;
  color: white;
  text-transform: uppercase;
}

.team-footer .footer-info a {
  display: block;
}

.team-footer .socials {
  margin: 0 0 5px 0;
}

.team-footer .socials a {
  margin-right: 15px;
  cursor: pointer;
}

.team-terms {
  color: white;
  text-decoration: underline;
  margin-left: -100px;
  padding-right: 5px;
  text-align: left;
  display: block;
  font-size: 12px;
}

.no_image_container {
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 769px) {
  .team-achievements .swiper-slide {
    margin-right: 0 !important;
    margin: 0 5px;
  }

  .achievements-bar {
    width: 760px;
    background-position: 0px -90px;
  }

  .achievements__item img {
    width: 85%;
    height: 100%;
  }
  .team-achievements .team-slider-prev {
    left: calc(9% - 77px);
  }
  .team-achievements .team-slider-next {
    right: calc(9% - 89px);
  }
  .team-achievements .swiper-slide:first-child {
    margin: 0 0 0 35px;
  }
}

@media all and (max-width:500px) and (min-width:376px){
  .achievements-wrapper > .achievements-bar{
    margin-top:-35px;
  }
  .achievements-bar > .swiper-wrapper{
    padding-top:40px;
  }
  .team-achievements .team-slider-prev,
  .team-achievements .team-slider-next {
    top: calc(50% - 35px);
  }
}

@media all and (max-width:375px) and (min-width:321px){
  .achievements-wrapper > .achievements-bar{
    margin-top:-25px;
  }
  .achievements-bar > .swiper-wrapper{
    padding-top:20px;
  }
  .team-achievements .team-slider-prev,
  .team-achievements .team-slider-next {
    top: calc(50% - 50px);
  }
}

@media (min-width: 240px) and (max-width: 767px) {
  .team-slider-prev,
  .team-slider-next {
    top: calc(50% - 50px);
  }

  .team-slider-prev:hover:before {
    border: 1px solid transparent;
    box-shadow: 0 0 10px transparent;
  }

  .team-slider-prev:active:before {
    border: 1px solid #8d0b2f;
    box-shadow: 0 0 10px #ff0072;
  }

  .team-slider-next:hover:before {
    border: 1px solid transparent;
    box-shadow: 0 0 10px transparent;
  }

  .team-slider-next:active:before {
    border: 1px solid #8d0b2f;
    box-shadow: 0 0 10px #ff0072;
  }

  /* *** */
  .team-header {
    padding-top: 10px;
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .all-legends {
    margin-right: auto;
  }

  .team-title {
    font-size: 22px;
    max-width: 250px;
    margin: auto;
  }

  .neon-lights {
    padding-top: 50px;
    padding-bottom: 30px;
    height: 30px;
  }

  .neon-lights:after {
    display: none;
  }

  .neon-lights:before {
    height: 145px;
    width: 320px;
    background-size: contain;
    left: calc(50% - 160px);
    top: -28px;
  }

  /*     TEAM SLIDER*/
  .team-slider {
    margin-bottom: 0px;
    height: 300px;
  }

  .team-slider-prev {
    left: -5px;
  }

  .team-slider-next {
    right: -25px;
  }

  .team-slider-prev:focus,
  .team-slider-next:focus {
    outline: none !important;
  }
  .team-slider-prev:focus,
  .team-slider-next:focus {
    user-select: none;
  }
  .swiper-slide img {
    max-width: 100%;
  }

  .team-slider-meta {
    position: relative;
    margin-top: 45px;
    margin-left: auto;
    margin-right: auto;
    width: 290px;
    height: auto;
    left: 0;
    display: block;
    background-image: url("../images/teams/color-sticker-front-mobile.png");
    padding: 20px 15px;
    background-repeat: no-repeat;
  }

  .team-slider .team-slider-container:after {
    width: 100%;
    position: absolute;
    bottom: -54px;
    z-index: 0;
    height: 65px;
    background-size: contain;
  }

  .team-scores {
    margin-bottom: 15px;
  }

  /*  TEAM BADGES  */
  .team-badge {
    margin-bottom: 10px;
  }

  /* Team Story */
  .team-story .story {
    margin: 0 auto;
    background-image: url(../images/teams/frame_mob.png);
    background-size: cover;
    background-position: 0px 0px;

    width: 320px;
    padding: 50px 15px 100px;

    font-size: 18px;
  }

  .team-story {
    margin: -40px 0px 0px;
  }

  .team-achievements {
    margin: 0px 0;
  }

  .achievements-title {
    font-size: 22px;
    background-size: cover;
    background-position: -22px 0px;
    width: 290px;
    height: auto;
    margin: auto;
  }

  .achievements-bar {
    height: 180px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    margin: auto;
    width: 99%;
  }
  .team-achievements > .row > .col-xl-8 {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .all-legends {
    margin-right: auto;
  }

  .team-header {
    padding-top: 0;
    margin-bottom: -10px;
    margin-top: 0;
  }

  .team-footer {
    background-image: url("../images/footer_grid.png");
    background-size: cover;
  }

  .team-footer .footer-inside-container {
    max-width: 100%;
  }

  .team-footer .footer-inside-container .top-row a {
    margin-right: 25px;
    font-size: 16px;
    margin-bottom: 10px;
  }

  .neon-lights:after {
    display: none;
  }

  .team-slider .team-slider-container:after {
    height: 150px;
    background-size: contain;
    bottom: -135px;
  }

  .team-slider-meta {
    left: calc(50% - 295px);
  }

  .team-story .story {
    font-size: 20px;
  }

  .team-achievements {
    margin-top: 0px;
  }

  .achievements-title {
    margin: 0 auto 80px;
  }

  .neon-lights:before {
    left: calc(50% - 300px);
  }

  .achievements-bar {
    margin: auto;
  }
}

@media (min-width: 992px) {
  .team-footer {
    background-image: url("../images/footer_grid.png") !important;
    background-size: cover !important;
  }

  .team-footer .footer-inside-container {
    max-width: 100%;
  }
}

@media (min-width: 1200px) {
  body {
    background-size: auto;
  }

  .team-footer {
    background-image: url("../images/footer_grid.png");
    background-size: cover;
  }

  .team-footer .footer-inside-container .top-row {
    padding-left: 17%;
  }

  .team-footer .footer-logo-neon {
    margin: auto;
    display: block;
    margin-top: -30px;
  }

  .team-footer .footer-info {
    font-size: 18px;
    line-height: 28px;
    margin: 20px 0px;
  }

  .team-footer .footer-inside-container {
    padding-top: 75px;
    max-width: 1000px;
  }

  .team-footer .socials {
    margin: 20px 0px 5px;
  }

  .team-footer {
    background-position: center top;
    background-size: auto;
  }

  .team-footer .footer-inside-container .top-row a {
    font-size: 18px;
  }

  .all-legends {
    margin-left: 0;
  }
}

@media (min-width: 1440px) {
  .team-footer {
    background-size: auto !important;
  }

  .team-footer .footer-inside-container {
    max-width: 1000px;
  }

  .team-footer:after {
    right: 24%;
  }
}
@media (min-width: 768px) {
  .team-slider.slider-empty {
    margin-bottom: 115px;
  }
  .team-slider.slider-empty > .team-slider-meta {
    top: -15px;
  }
  .neon-lights.empty-neon {
    display: none;
  }
}
@media (max-width: 767px) {
  .team-badges {
    margin-top: 275px;
  }
  .team-slider-meta {
    bottom: -20px;
  }
}
