@import "var.colors";
@import "var.globals";
@import "var.responsive";
@import "var.typo";

@import "mix.responsive";

@import "base.globals";

@import "plugin.icomoon";

@import "utils.fontscale";
@import "utils.spacing";
@import "utils.text";
@import "utils.flex";
@import "utils.animations";

@import "mod.button";
@import "mod.table";
@import "mod.form-item";
@import "mod.input";
@import "mod.overlay";

@import "comp.header";
@import "comp.hero";
@import "comp.section";
@import "comp.footer";
@import "comp.gdpr";

.pos-r {
  position: relative;
}

.pos-a {
  position: absolute;
}

.width-full {
  width: 100%;
}

.height-full {
  height: 100%;
}

img {
  object-fit: contain;
}

//background image
.bg-img-cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-img-contain {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.margin-auto {
  margin: 0 auto;
}

ul {
  padding-left: 22px;
  padding-right: 22px;
}

.opacity05 {
  opacity: 0.5;
}

.cont-sm {
  max-width: 570px;
}

.cont-md {
  max-width: 620px;
}

.cont-lg {
  max-width: 720px;
}

.cont-xl {
  max-width: 900px;
}

.cont-xxl {
  max-width: 1200px;
}

.z-5 {
  z-index: 5;
}

.skew-wrap-sub {
  transform: skew(12deg, -8deg);
  width: 98%;
  display: flex;
  justify-content: center;
  transition: all 0.5s;
}

.section-img-r {
  min-height: 620px;
}

.img-right {
  flex: 1;
  display: flex;
  justify-content: center;

  img {
    max-height: 800px;
    width: 60%;
    height: 100%;
    transition: all 1s ease 0.2s;
    transform: scale(0.8);
    transform-origin: bottom;
  }
}

.img-right.in-viewport {
  img {
    transform: scale(1);
  }
}

.img-left {
  width: 40%;
}

.txt-shadow-white {
  text-shadow: 2px 1px 2px #fff;
}

.bg-half-white {
  background: linear-gradient(rgba(255, 255, 255, 0.5) 50%, transparent);
}

.play-btn {
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
  width: 30px;
  padding: 6px 4px 6px 6px;
}

.home-about-bg {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-numbers-bg {
  position: absolute;
  top: -50%;
  right: 0;
  z-index: -2;
}

.home-numbers-ball1 {
  position: absolute;
  right: 0%;
  opacity: 0;
  z-index: -1;
  transition: all 2s cubic-bezier(0, 0, 0.2, 1);
}

.home-numbers-ball1.in-viewport {
  transform: rotate(360deg);
  right: 50%;
  opacity: 1;
}

.home-numbers-ball2 {
  position: absolute;
  right: 10%;
  z-index: -1;
  transform: scale(0.8);
  max-width: 50vw;
  transition: all 1s ease;
}

.home-numbers-ball2.in-viewport {
  transform: scale(1);
}

.home-numbers-ball3 {
  position: absolute;
  right: 0;
  bottom: -20%;
  opacity: 0;
  z-index: -1;
  transition: all 1s ease 0.2s;
}

.home-numbers-ball3.in-viewport {
  bottom: 0;
  opacity: 1;
}

.home-bg-bottom {
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0%;
  width: 100%;
  opacity: 0;
  transition: all 3s;
}

.home-bg-bottom.in-viewport {
  top: 20%;
  opacity: 1;
}

//timeline
.timeline-box {
  position: relative;
  flex: 1;
  border-top: 3px solid $primary-color;
  padding-top: 36px;
  left: 0;
  cursor: default;

  .dot {
    position: absolute;
    height: 20px;
    width: 20px;
    background-color: #000;
    border-radius: 50%;
    top: -12px;
    z-index: 10;
    transition: all 0.25s;
  }

  &:hover {
    .dot {
      box-shadow: 0px 0px 10px 10px rgba(239, 201, 38, 0.8);
      background-color: $secondary-color;
    }
  }
}

.timeline-box0 {
  flex: unset;
  border-top: 3px solid #2b2b2b;
}

.timeline-line {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 5;
  transition: all 2s ease-out;
  right: 0;
}

.timeline-line.in-viewport {
  width: 0;
}

.sponsors-logo-wrap {
  flex: 1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-right: 8%;
}

.sponsors-logo {
  width: 24%;
  max-height: 150px;
  object-fit: contain;
  filter: grayscale(0.4) opacity(0.8);
  transition: all 0.5s;

  &:hover {
    filter: grayscale(0) opacity(1);
  }
}

.page-sponsors {
  .sponsors-wrap {
    flex-wrap: wrap;
  }

  .sponsors-logo {
    filter: none;
    width: 100%;
    height: 50%;
    max-height: 200px;
    margin-bottom: 30px;
    margin-top: 30px;

    &:hover {
      transform: scale(1.05);
    }
  }

  .sponsors-col {
    display: flex;
    flex-direction: column;
    width: 23%;
    padding-right: 2%;
    align-items: center;
    justify-content: center;

    &:last-child {
      border-right: none;
    }
  }
}

.wave-1 {
  left: 0;
  bottom: -10%;
  opacity: 0.5;
  transition: all 0.75s ease-in-out;
}

.wave-1.in-viewport {
  bottom: 0px;
  opacity: 1;
}

.shape-top-white {
  position: relative;

  &:before {
    content: "";
    position: absolute;
    background-color: #fff;
    top: -218px;
    left: 0;
    height: 220px;
    width: 100%;
    clip-path: polygon(0% 0, 0% 100%, 100% 100%);
  }
}

.shape-bottom-yellow {
  position: relative;

  &:before {
    content: "";
    position: absolute;
    background-color: $secondary-color;
    top: -218px;
    left: 0;
    height: 220px;
    width: 100%;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 99%, 0 10%);
  }
}

.bg-shape-pink {
  position: relative;

  &:before {
    content: "";
    position: absolute;
    background-color: $tertiary-color;
    bottom: 2%;
    left: 6%;
    height: 80%;
    width: 100%;
    z-index: -1;
  }
}

.bg-shape-green-2 {
  position: relative;

  &:before {
    content: "";
    transition: all 2s;
    position: absolute;
    bottom: 2%;
    left: 6%;
    height: 80%;
    width: 100%;
    background-color: $quaternary-color;
    // clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
    z-index: -1;
  }
}

.bg-shape-green-2.in-viewport {
  &:before {
    // clip-path: polygon(3% 12%, 95% 0%, 98% 85%, 6% 99%);
  }
}

.acc-gallery {
  display: flex;
  height: 90vh;
  max-height: 800px;
  min-height: 300px;

  .acc-gallery-c1,
  .acc-gallery-c2 {
    height: 100%;
    flex: 1;

    img {
      width: 100%;
      object-fit: cover;
    }
  }

  .acc-gallery-c1 {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    img {
      // height: 100%;
      flex-grow: 1;
    }
  }

  .acc-gallery-c2 {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    img {
      height: 50%;

      &:first-child {
        padding-bottom: 10px;
      }

      &:last-child {
        padding-top: 10px;
      }
    }
  }
}

.bg-img-gallery {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.acc-equipment {
  flex-wrap: wrap;
  background-color: #fff;
}

.acc-equipment-col {
  max-width: 300px;

  .fs-base {
    font-weight: normal;
  }
}

//sidemenu
.sidemenu {
  width: 20vw;
  max-width: 400px;
  min-width: 200px;
  background-color: $gray-color;
  color: $tertiary-color;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 2%;
  padding-right: 2%;
  z-index: 0;
  position: relative;

  .icon-sport {
    width: 50px;
    height: 30px;
  }

  .nuxt-link-active {
    color: $secondary-color;

    .bullet-xs {
      background-color: $secondary-color;
    }
  }
}

.side-link {
  cursor: pointer;
  position: relative;
  font-weight: normal;
  transition: all 0.2s;

  img {
    transition: all 0.4s;
  }

  &:hover {
    opacity: 0.7;

    img {
      transform: translateX(-3px);
    }
  }
}

.bullet-xs {
  height: 4px;
  width: 4px;
  background-color: $tertiary-color;
  position: absolute;
  border-radius: 50%;
  top: 12px;
  left: 20px;
}

// .hb,
// .hbBoys,
// .hbGirls {
//   display: none;
// }
.open {
  display: flex;
}

.cSecondary {
  // color: $secondary-color;
  color: $quaternary-color;
}

.colorImg {
  img {
    filter: hue-rotate(180deg);
  }
}

//sidemenu end

//tables
.tab-list {
  display: flex;
  color: #fff;
  background-color: $secondary-color-alt;

  .tab {
    font-family: $ff-sans-2;
    font-weight: normal;
    cursor: pointer;
    transition: all 0.2s;

    &:hover {
      background-color: rgba(228, 145, 37, 0.4);
    }
  }
}

.tab {
  background-color: transparent;
  padding: 15px 30px 5px 30px;
}

.tab.is-chosen {
  background-color: $secondary-color !important;
}

.txt,
.tab-content-table {
  display: none;
}

.txt.is-chosen,
.tab-content-table.is-chosen {
  display: block;
}

.table-row {
  align-items: center;
  padding: 15px 10px;

  .team-logo {
    height: 40px;
    width: 40px;
    padding: 2px;
    object-fit: contain;
  }

  .team-flag {
    width: 30px;
    object-fit: contain;
  }
}

.table-row-h {
  background-color: $secondary-color;
  color: #fff;
  padding: 15px 30px 5px 30px;
}

.table-row:nth-child(even) {
  background: #fff;
}

.table-row:nth-child(odd) {
  background: #f9e9d5;
}

.table-row:last-child {
  border-bottom: 1px solid #f9e9d5;
}

.table-stats {
  .group-name {
    width: 28%;
  }

  .group-sm {
    flex: 1;
    text-align: center;
  }

  .fs-base {
    line-height: 1.25;
  }
}

.table-loc {
  width: 250px;
  text-align: right;
}

//tables end

.contact-page {
  .nav-link {
    a:hover {
      transition: all 0.2s;
      text-shadow: 0px 0px 0px #000;
    }
  }
}

.contact-map {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  height: 100%;
  object-fit: cover;
  max-width: 50%;
}

.contact-logo {
  height: 220px;
  max-width: 300px;
  margin-bottom: 15px;
}

.halls-row {
  img {
    object-fit: cover;
  }
}

.images-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.image {
  height: 200px;
  margin: 10px;
  width: calc(20% - 10px);
  background-repeat: no-repeat;
  background-size: cover;
  margin: 5px;
  cursor: pointer;
}

.image-video {
  height: 200px;
  margin: 5px;
  width: calc(20% - 10px);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border: 1px solid #f1f1f1;
  cursor: pointer;
}

.image-more {
  height: 200px;
  margin: 10px;
  width: calc(20% - 10px);
  background-image: url("/img/icon-more.png");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 30%;
  margin: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #659b3f;
  color: $quaternary-color;
}

.rules-box {
  display: flex;
  flex-direction: column;
  color: #fff;
  position: relative;
  margin: 250px 5px 200px 5px;
  transition: all 1s;

  &:before {
    content: "";
    position: absolute;
    top: -50%;
    height: 200%;
    width: 100%;
    z-index: -1;
  }

  img {
    // opacity: 0.3;
    height: 200px;
    margin-top: -20px;
  }

  &__green {
    background-color: $quaternary-color-alt;

    &:before {
      clip-path: polygon(0 25%, 100% 0%, 100% 75%, 0% 100%);
      background-color: $quaternary-color-alt;
    }

    .rules-box--row {
      &:nth-child(even) {
        background: $quaternary-color;
      }
    }
  }

  &__pink {
    background-color: $tertiary-color-alt;

    &:before {
      clip-path: polygon(0 0, 100% 25%, 100% 100%, 0 75%);
      background-color: $tertiary-color-alt;
    }

    .rules-box--row {
      &:nth-child(even) {
        background: $tertiary-color-light;
      }
    }
  }

  &__yellow {
    background-color: $secondary-color;
    margin-top: 50px;

    &:before {
      clip-path: polygon(50% 0%, 100% 18%, 100% 82%, 50% 100%, 0 82%, 0 18%);
      background-color: $secondary-color;
      top: -30%;
      height: 160%;
    }

    .rules-box--row {
      &:nth-child(even) {
        background: $secondary-color-alt;
      }
    }
  }
}

.rules-box {
  img {
    opacity: 0;
    transition: all 0.5s;
  }
}

.rules-box {
  img.in-viewport {
    opacity: 0.3;
  }
}

.rules-box--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;

  .fs-md {
    line-height: 1.25;
  }

  h4,
  p {
    flex: 1;
  }

  p {
    font-weight: normal;
  }
}

.dot-program {
  height: 28px;
  width: 28px;
  border-radius: 50%;
  margin-right: 5px;
}

.program-place {
  width: 30%;
}

.program-table {
  .program-table-tabs {
    background-color: $secondary-color-alt;
    color: #fff;
    display: flex;

    .active {
      background-color: $secondary-color;
    }
  }

  .program-table-tab {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.25s;

    &:hover {
      background-color: rgba(228, 145, 37, 0.4);
    }

    &.active {
      &:hover {
        background-color: $secondary-color;
      }
    }
  }

  .program-table-h {
    background-color: $secondary-color;
    color: #fff;
    padding: 20px 20px 10px 20px;
  }

  .program-table-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 20px 15px 20px;

    &:nth-child(even) {
      background: #fff;
    }

    &:nth-child(odd) {
      background: #f7ddbf;
    }
  }

  .program-table-time {
    width: 100px;
  }

  .program-table-event {
    flex-grow: 1;
    margin-left: 20px;
    margin-right: 20px;
    font-weight: bold;
  }

  .program-table-dot {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin: 0 5px;
  }

  .program-table-body {
    display: none;
  }

  .is-chosen {
    display: block;
  }
}

.logo-spl {
  max-height: 400px;
  margin-top: -50px;
}

.icon-marker {
  height: 24px;
  margin-bottom: -2px;
  padding-left: 2px;
  transition: all 0.3s ease;

  &:hover {
    transform: translateY(-2px) scaleY(1.2);
    // opacity: 0.8;
  }
}

.icon-pdf img {
  height: 28px;
}

.contact-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 50%;
}

.link-contact {
  a {
    font-weight: 100;
    transition: all 0.2s;

    &:hover {
      text-shadow: 0px 0px 0px #000;
    }
  }

  img {
    height: 20px;
    padding-right: 6px;
    margin-top: 4px;
  }

  .img-tel {
    transform: scaleY(0.8);
  }
}

.footer {
  .link-contact {
    a {
      &:hover {
        text-shadow: 0px 0px 0px #fff;
      }
    }
  }
}

//ukrasi
.ct-bg {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-position: right;
  object-fit: contain;
}

.cities-gray-1 {
  position: absolute;
  top: -10%;
  left: 0;
  width: 100%;
  z-index: -1;
}

.cities-gray-2 {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: -2;
}

.reg-gray-1 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  z-index: -2;
  height: 55%;
  object-fit: cover;
  object-position: bottom;
}

.reg-gray-2 {
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  z-index: -2;
  height: 30%;
  object-fit: cover;
  object-position: top;
}

.fields-gray-1 {
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  z-index: -2;
  height: 26%;
  object-fit: cover;
  object-position: bottom;
}

.fields-ball1 {
  position: absolute;
  z-index: -1;
  top: 40%;
  left: -4%;
  max-width: 15vw;
  z-index: -2;
}

.fields-ball2 {
  position: absolute;
  z-index: -1;
  top: 0;
  width: 15%;
  left: 15%;
}

.fields-ball3 {
  position: absolute;
  z-index: -1;
  bottom: 10%;
  left: 35%;
  width: 5%;
  min-width: 50px;
}

.fields-ball4 {
  position: absolute;
  z-index: -1;
  right: 30%;
  bottom: -5%;
  width: 10%;
}

.fields-ball5 {
  position: absolute;
  z-index: -1;
  right: 20%;
  top: 25%;
  max-width: 15vw;
}

.fields-ball6 {
  position: absolute;
  z-index: -1;
  right: 0%;
  top: 5%;
  width: 5%;
  min-width: 50px;
  z-index: -2;
}

.fields-bg-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: -1;
}

.fields-ball7 {
  position: absolute;
  z-index: -1;
  right: 5%;
  bottom: 35%;
  max-width: 15vw;
}

.page-cookies {
  a {
    color: $tertiary-color;
    transition: all 0.2s;

    &:hover {
      color: $tertiary-color-light;
    }
  }
}

.scrollbar {
	scrollbar-color: $quaternary-color $quaternary-color-alt;
	scrollbar-width: thin;

	&::-webkit-scrollbar-track {
		border-radius: 0;
		background-color: $gray-color;
	}

	&::-webkit-scrollbar {
		width: 4px;
		height: 6px;
		background-color: orange;
	}

	&::-webkit-scrollbar-thumb {
		border-radius: 4px;
		background-color: $quaternary-color;
	}
}

//media

@media (max-width: 1600px) {
  .bullet-xs {
    top: 14px;
    left: 14px;
  }

  .contact-logo {
    height: 180px;
    max-width: 260px;
  }
}

@media (max-width: 1400px) {
  .contact-page {
    .cont-xl {
      max-width: 730px;
    }
  }
}

@media (max-width: 1200px) {

  // .md-bg-half-white {
  //   background: linear-gradient(rgba(255, 255, 255, 0.5) 50%, transparent);
  // }
  .bullet-xs {
    top: 14px;
    left: 8px;
  }

  .img-right {
    flex: unset;
    width: 45%;
    padding-top: 40px;

    img {
      width: 100%;
    }
  }

  .shape-top-white:before {
    top: -148px;
    height: 150px;
  }

  .image,
  .image-more {
    height: 150px;
    width: calc(20% - 10px);
  }

  .page-sponsors {
    .sponsors-wrap {
      padding-left: 4%;
      padding-right: 4%;
    }

    .sponsors-logo {
      max-height: 150px;
    }

    .line4,
    .line5,
    .line11,
    .line12,
    .line13,
    .line20 {
      display: none;
    }
  }

  .program-place {
    min-width: 250px;
    align-items: flex-start;
  }
}

@media (max-width: 1000px) {
  .md-flex-fd--c {
    flex-direction: column;
  }

  .md-flex-fd--r {
    flex-direction: row;
  }

  .md-flex-ai--fs {
    align-items: flex-start;
  }

  .timeline {
    flex-direction: column;
    padding: 15px 6%;
  }

  .timeline-box0 {
    border-top: none;
    border-left: 3px solid $primary-color;
  }

  .timeline-box {
    flex: unset;
    border-top: none;
    border-left: 3px solid $primary-color;
    padding: 0 10px 40px 30px;

    .dot {
      top: -2px;
      left: -11px;
    }

    .fs-lg {
      margin-top: -12px;
    }
  }

  .timeline-line {
    display: none;
  }

  .table-row .team-logo {
    height: 30px;
    width: 30px;
  }

  .bullet-xs {
    top: 10px;
    left: 8px;
  }

  .contact-map {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 100%;
    padding-top: 30px;
  }

  .contact-page {

    // padding-top: 50px;
    .section--first {
      flex-direction: column;
      align-items: flex-start;
      justify-content: space-between;
      height: 100%;
    }
  }

  .transport-map {
    height: 600px;
    object-fit: contain;
    object-position: right;
  }

  .bg-shape-green-2.in-viewport:before {
    clip-path: polygon(0% 8%, 100% 2%, 100% 90%, 0% 98%);
  }

  .sponsors-logo {
    width: 30%;
    max-height: 105px;
    min-height: 50px;
  }

  .rules-box {
    margin-top: 220px;

    &__yellow {
      margin-top: 50px;
    }
  }

  .logo-spl {
    margin-top: 0;
  }
 
  .program-table .program-table-tab {
    padding: 6px 12px;  
  }
}


@media (max-width: 900px) {
  .tables-section-wrap {
    padding-left: 2%;
    padding-right: 2%;
  }

  .ct-container {
    flex-direction: column;
  }

  .sidemenu {
    width: 100%;
    max-width: unset;
    min-width: unset;
    padding: 10px;

    .icon-sport {
      width: 25px;
      height: 25px;
    }

    .fields-ball1,
    .fields-ball3 {
      display: none;
    }
  }

  .image {
    width: calc(25% - 10px);
  }

  .image-more {
    width: 100%;
    height: 50px;
    margin: 5px 3px;
  }

  .program-place {
    width: 50%;
  }
}

@media (max-width: 800px) {
  .sm-flex-fd--c {
    flex-direction: column;
  }

  .sm-flex-fd--cr {
    flex-direction: column-reverse;
  }

  .sm-flex-ai--fs {
    align-items: flex-start;
  }

  .sm-hide {
    display: none;
  }

  .sm-white {
    background-color: #fff;
  }

  .timeline-box {
    padding-left: 25px;

    .fs-lg {
      margin-top: -8px;
    }

    .dot {
      height: 15px;
      width: 15px;
      left: -9px;
    }

    &:hover .dot {
      box-shadow: 0px 0px 6px 6px rgba(239, 201, 38, 0.8);
    }
  }

  .cont2cols {
    flex-direction: column-reverse;
  }

  .sponsors-logo-wrap {
    padding-right: 0;
  }

  .section-img-r {
    flex-direction: column;
    padding-bottom: 0;

    .img-right {
      width: 100%;
      height: 450px;
      padding-top: 0;

      img {
        width: auto;
      }
    }
  }

  .wave-1 {
    height: 300px;
  }

  .host-wrap {
    align-items: flex-start;

    img {
      max-height: 325px;
      object-fit: cover;
    }
  }

  .acc-gallery {
    max-height: 100%;
    height: 100%;
    flex-direction: column;

    .acc-gallery-c1 {
      padding-right: 0;
    }

    .acc-gallery-c2 {
      padding-right: 0;

      img:first-child {
        padding-bottom: 5px;
      }

      img:last-child {
        padding-top: 5px;
      }
    }
  }

  .acc-gallery-reverse {
    flex-direction: column-reverse;
  }

  .bg-img-gallery {
    min-height: 300px;
    margin-bottom: 10px;
  }

  .table-loc {
    width: 150px;
  }

  .halls-row {
    flex-direction: column;

    .pr-sm {
      padding-right: 0;
    }
  }

  .page-sponsors {
    .sponsors-col {
      width: 48%;
      border-right: none;
    }

    .sponsors-logo {
      max-height: 100px;
      margin-bottom: 20px;
      margin-top: 10px;
    }
  }

  .program-table {
    font-size: 15px;

    .program-table-h {
      padding: 15px 15px 10px 10px;
    }

    .program-table-row {
      padding: 12px 5px 10px 10px;
    }

    .program-table-dot {
      height: 15px;
      width: 15px;
      margin: 2px 5px;
    }

    .program-table-event {
      margin-left: 10px;
      margin-right: 10px;
    }
  }

  // .timeline-wrap {
  .home-numbers-ball1.in-viewport {
    right: 10%;
    bottom: 15%;
  }

  .home-numbers-ball2.in-viewport {
    top: 10%;
  }

  .home-numbers-ball3.in-viewport {
    top: 35%;
    max-width: 30vw;
  }

  .home-bg-about {
    object-position: 7%;
  }

  .program-table .program-table-tabs {
    overflow-x: auto;
    box-shadow: inset -2px -1px 15px -2px #e49125;
  }
  .program-table .program-table-tab {
    width: 78px;
  }
}

@media (max-width: 700px) {
  .tab {
    padding: 10px 20px 5px 15px;
  }

  .table-row {
    padding: 10px 5px;
    text-align: center;
  }

  .table-row-h {
    padding: 10px 5px 5px 10px;
  }

  .table-stats .fs-base {
    line-height: 1.15;
  }

  .table-stats .group-sm {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .xs-flex-fd--c {
    flex-direction: column;
  }

  .xs-pl-0 {
    padding-left: 0;
  }

  .result-wrap {
    flex-direction: column;
  }

  .table-loc {
    width: 100px;
  }

  .image {
    width: calc(50% - 6px);
    height: 90px;
    margin: 3px;
  }

  .contact-logo {
    height: 150px;
    max-width: 230px;
  }

  .rules-box {
    &__green:before {
      clip-path: polygon(0 0%, 100% 10%, 100% 90%, 0% 100%);
    }

    &__pink:before {
      clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
    }

    &__yellow:before {
      clip-path: polygon(50% 0%, 100% 10%, 100% 90%, 50% 100%, 0 90%, 0 10%);
    }
  }

  .rules-box {
    margin: 85px 0;

    &:before {
      top: -25%;
      height: 150%;
    }

    img {
      height: 120px;
      margin-top: 0px;
      margin-bottom: 10px;
    }
  }

  .rules-box__yellow {
    margin-top: 60px;

    img {
      margin-top: -20px;
    }
  }

  .rules-box--row .fs-md {
    padding: 10px 5px 4px 5px;
  }

  .group-name p {
    word-break: break-word;
  }

  .table-row .team-logo {
    margin-right: 0px;
  }

  .table-stats {
    .group-sm {
      font-size: 14px;
    }

    .group-name {
      width: 30%;
    }
  }

  .program-table .program-table-time {
    width: 88px;
  }

  .logo-spl {
    padding: 0 30px;
    width: 100%;
  }

  .icon-pdf img {
    height: 25px;
  }

  .contact-col {
    width: 100%;
  }

  .about-logo {
    max-height: 200px;
  }

  .logo-lloyds {
    height: 22px;
  }

  .transport-map {
    height: 500px;
    padding-top: 0;
  }

}

@media (max-width: 500px) {
  .tab-list {
    justify-content: space-between;
  }

  .tab-list .tab {
    font-size: 13px;
    padding: 12px 18px 7px 9px;
    text-align: center;
  }

  .program-table .program-table-tab {
    width: 71px;
  }
}

@media (max-width: 400px) {
  .table-results {
    .team-logo {
      height: 20px;
      width: 20px;
    }

    .table-row {
      p:first-child {
        width: 65px;
      }
    }
  }

  .table-row .team-logo {
    height: 26px;
    width: 26px;
  }

  .table-table .team-logo {
    margin-right: 0px;
  }

  .tab {
    padding: 10px 12px 5px 12px;
  }
}