/* Ticketing event module styles */

.event__header {
  background: #242424;
  color: white;
  padding: 2.1428571429rem 0;
  line-height: 1.3em;
  margin-top: 1px;
}
.event__tickets {
  padding: 3.5714285714rem 0;
  background-color: white;
}

.header-event__details {
  text-align: center;
}
.header-event__teams {
  display: flex;
  margin-top: 1.0714285714rem;
}
@media only screen and (max-width: 700px) {
  .header-event__teams {
    justify-content: center;
  }
}

.details-event__league {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.0714285714rem;
  font-size: 1.4285714286rem;
  font-weight: 300;
}
.details-event__league img {
  height: 2.1428571429rem;
  aspect-ratio: 1;
}
.details-event__row {
  margin-top: 0.7142857143rem;
}
.details-event__week {
  font-size: 1.1428571429rem;
  font-weight: 600;
}
.details-event__stadium {
  font-size: 3rem;
  font-weight: 600;
  margin-top: 1.7rem;
  display: block;
  margin: 2rem 0;
  line-height: 1.2;
}
.details-event__date {
  font-size: 2.5rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.8em;
  color: rgb(95, 160, 196);
}
.teams-header__box {
    display: flex;
    flex: 0 0 50%;
    max-width: 50%;
    justify-content: space-around;
    gap: 1.7857142857rem;
  }
  .teams-header__title {
    color: #dedede;
    text-align: center;
    padding: 0 50px;
    font-weight: 700;
    font-size: 42px;
  }
.teams-header__box_festiv {
    display: block;
    flex: 0 0 100%;
    max-width: 100%;
}
@media only screen and (max-width: 600px) {
  .details-event__date {
    font-size: 1.6428571429rem;
  }
  .teams-header__box{
    flex: 1 1 auto;
    max-width: 100%;
  }
}
.teams-header__item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.teams-header__name {
  flex: 0 0 25%;
  max-width: 25%;
  font-size: 35px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 1.0714285714rem;
  display: flex;
  align-items: center;
  margin-bottom: 2.1428571429rem;
  line-height: 1.3em;
}
@media (max-width: 1590px) {
  .teams-header__name {
    font-size: calc(25px + 10 * ((110vw - 320px) / 1270));
  }
}
.teams-header__name_home {
  justify-content: flex-end;
  text-align: right;
}
.teams-header__name_guest {
  justify-content: flex-start;
}
@media only screen and (max-width: 700px) {
  .teams-header__name {
    display: none;
  }
}
.teams-header__logo {
  max-height: 150px;
  height: auto;
  width: auto;
}
@media (max-width: 1590px) {
  .teams-header__logo {
    max-height: calc(75px + 75 * ((110vw - 320px) / 1270));
  }
}
.teams-header__column {
  margin-top: 2.1428571429rem;
}
.teams-header__text {
  text-align: center;
}
.teams-header__time {
  font-size: 18px;
  line-height: 1.4em;
  font-weight: 900;
  text-align: center;
  margin: 15px auto;
}

.tickets-event__container {
  display: flex;
  align-items: flex-start;
  max-width: 1600px;
  margin: 0 auto;
}

.stadium-tickets {
  flex: 0 0 60%;
  position: relative;
  display: flex;
  justify-content: center;
  max-height: 440px;
  margin-bottom: 30px;
}
.stadium-tickets__svg {
  flex: 0 0 80%;
  max-width: 440px;
}
.stadium-tickets__svg .tribune path {
  fill: #5c9e46;
  transition: fill 0.3s ease 0s;
}
.stadium-tickets__svg_inactive{
    opacity: 0.3;
}
.stadium-tickets__tribune {
  flex: 0 0 80%;
  margin-top: 7.1428571429rem;
  max-width: 45.5714285714rem;
}
.stadium-tickets__tribune.hidden {
  display: none;
}
.stadium-tickets__tribune path {
  opacity: 1;
  transition: opacity 0.3s ease 0s;
}
@media (any-hover: hover) {
  .stadium-tickets__tribune path:hover {
    opacity: 0.6;
  }
}
.stadium-tickets__tribune path:after {
  content: "1";
}
.stadium-tickets__tribune [data-seat-status=occupied] {
  fill: #808080;
}
.stadium-tickets__tribune [data-seat-status=free] {
  fill: #89f40b;
  cursor: pointer;
}

.stadium-tickets__tribune [data-seat-status=selected] {
  fill: rgb(95, 160, 196);
  cursor: pointer;
}
.stadium-tickets__control {
  position: absolute;
  top: 1.4285714286rem;
  left: 1.4285714286rem;
}

#stadium-tickets__description {
  display: block;
  visibility: hidden;
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}
#stadium-tickets__description.enabled {
  visibility: visible;
  opacity: 1;
  opacity: 1;
  top: 0;
  left: 0;
  color: rgb(95, 160, 196);
  font-size: 15px;
  border: 3px solid rgb(95, 160, 196);
  border-radius: 0.3571428571rem;
  padding: 5px 7px;
  background: white;
  transform: translateX(-50%);
}
#stadium-tickets__description.enabled::after {
  content: "";
  position: absolute;
  display: block;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid rgb(95, 160, 196);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}
.stadium-tribune__blocked path, .stadium-tribune__out-of-stock path{
  fill: #bcbcbc!important;
}
.tribune path {
  cursor: pointer;
}
@media (any-hover: hover) {
  .tribune path:hover {
    fill: rgb(95, 160, 196);
  }
}

.aside-tickets {
  flex: 0 0 40%;
  background-color: #242424;
  width: 100%;
  aspect-ratio: 1.4;
  border-top: 4px solid rgb(95, 160, 196);
  border-top-left-radius: 0.7142857143rem;
  border-top-right-radius: 0.7142857143rem;
  padding: 1.0714285714rem 2.1428571429rem;
  color: white;
  display: flex;
  flex-direction: column;
}
.aside-tickets__content {
  display: flex;
  flex-direction: column;
  gap: 0.7142857143rem;
}
.aside-tickets__select select{
    cursor: pointer;
    border: 1px solid rgb(95, 160, 196);
    color: rgb(95, 160, 196);
    padding: 5px 8px;
    max-width: 100px;
    background-color: rgba(255, 255, 255, 0.05);
}
.aside-tickets__select select:focus{
    border: 1px solid #2274bc70;
}
.aside-tickets__header .aside-tickets__content {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.aside-tickets__header .aside-tickets__content.enabled {
    opacity: 1;
}
.aside-tickets__list {
  padding: 1.0714285714rem 0;
}
.aside-tickets__remove {
  font-size: 1.8571428571rem;
  text-transform: uppercase;
  color: white;
  transition: color 0.3s ease 0s;
  margin-right: 1.0714285714rem;
}
.aside-tickets__remove:hover {
  color: red;
}
.aside-tickets__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 1.4285714286rem;
  flex-wrap: wrap;
  padding: 0.7142857143rem 0;
}
.aside-tickets__item:not(:last-child) {
  margin-bottom: 1.4285714286rem;
  border-bottom: 1px solid rgba(0, 143, 245, 0.2470588235);
}
.aside-tickets__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgb(95, 160, 196);
  padding-bottom: 1.0714285714rem;
  height: 70px;
}

.aside-tickets__body {
  margin-bottom: 2.1428571429rem;
  height: 27.4285714286rem;
  overflow: auto;
}
.aside-tickets__footer {
  flex: 1 0 auto;
  display: flex;
  align-items: flex-end;
}
.aside-tickets__title, .aside-tickets__price {
  font-weight: 400;
  font-size: 15px;
  margin: 0!important;
  color: white;
  min-width: 85px;
  text-align: center;
}

.aside-tickets__span {
  color: rgb(95, 160, 196);
  font-weight: 900;
  text-transform: uppercase;
}
.aside-tickets__svg {
  height: 100%;
}
.aside-tickets__svg path {
  fill: white;
}
.aside-tickets__svg .path_active path {
  fill: rgb(95, 160, 196) !important;
}
.aside-tickets__svg.hidden {
  display: none;
}
.aside-tickets__extra {
  height: 2.5rem;
  width: 2.5rem;
}
.aside-tickets__text {
  font-size: 1.7857142857rem;
  opacity: 0.5;
}

.control-stadium__back {
  text-transform: uppercase;
  padding: 0.5rem 1.4285714286rem;
  border: 1px solid white;
  background-color: rgb(95, 160, 196);
  color: white;
  font-weight: 900;
  font-size: 1.1428571429rem;
  display: none;
  align-items: center;
  gap: 0.3571428571rem;
  line-height: 1.6em;
  transition: 0.3s ease opacity;
}
.control-stadium__back::before {
  content: "";
  display: block;
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  aspect-ratio: 1;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  transition: transform 0.3s ease 0s;
}
.control-stadium__back:hover{
    opacity: 0.9;
    color: white;
}
.control-stadium__back:hover::before {
  transform: rotate(135deg) translateY(2px) translateX(2px);
}

.footer-aside__body {
  border-top: 1px solid rgb(95, 160, 196);
  width: 100%;
  padding: 1.7857142857rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4285714286rem;
  flex-wrap: wrap;
}
.footer-aside__img {
  width: 1.4285714286rem;
  aspect-ratio: 1;
}
.footer-aside__button {
  display: flex;
  align-items: center;
  gap: 1.0714285714rem;
  font-size: 16px;
  color: white;
  text-transform: uppercase;
  background-color: rgb(95, 160, 196);
  padding: 5px 10px;
  border-radius: 0.2857142857rem;
  transition: filter 0.3s ease 0s;
  border: 0;
}
@media (any-hover: hover) {
  .footer-aside__button:hover {
    filter: grayscale(0.8);
  }
}
@media only screen and (max-width: 700px){
    .tickets-event__container {
        flex-direction: column;
    }
    .stadium-tickets__svg{
        width: 100%;
    }
    .stadium-tickets {
        width: 100%;
    }
}
.footer-aside__svg {
  fill: white;
}

/* Styles for stadium mark bottom */
.stadium-tickets__tribune {
    background-image: url('../img/stadium-marker.svg');
    background-repeat: no-repeat;
    padding-top: 50px;
    background-position: top center;
}

.stadium-tickets__loader {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce form .form-row input.input-text{
    padding: 10px;
    border-color: #f1f1f1!important;
    border-width: 1px;
}

path#disabled {
  fill: gray;
}

/* Loader Styles */
.dot-spinner {
    --uib-size: 2.8rem;
    --uib-speed: .9s;
    --uib-color: #183153;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: var(--uib-size);
    width: var(--uib-size);
  }
  
  .dot-spinner__dot {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
  }
  
  .dot-spinner__dot::before {
    content: '';
    height: 20%;
    width: 20%;
    border-radius: 50%;
    background-color: var(--uib-color);
    transform: scale(0);
    opacity: 0.5;
    animation: pulse0112 calc(var(--uib-speed) * 1.111) ease-in-out infinite;
    box-shadow: 0 0 20px rgba(18, 31, 53, 0.3);
  }
  
  .dot-spinner__dot:nth-child(2) {
    transform: rotate(45deg);
  }
  
  .dot-spinner__dot:nth-child(2)::before {
    animation-delay: calc(var(--uib-speed) * -0.875);
  }
  
  .dot-spinner__dot:nth-child(3) {
    transform: rotate(90deg);
  }
  
  .dot-spinner__dot:nth-child(3)::before {
    animation-delay: calc(var(--uib-speed) * -0.75);
  }
  
  .dot-spinner__dot:nth-child(4) {
    transform: rotate(135deg);
  }
  
  .dot-spinner__dot:nth-child(4)::before {
    animation-delay: calc(var(--uib-speed) * -0.625);
  }
  
  .dot-spinner__dot:nth-child(5) {
    transform: rotate(180deg);
  }
  
  .dot-spinner__dot:nth-child(5)::before {
    animation-delay: calc(var(--uib-speed) * -0.5);
  }
  
  .dot-spinner__dot:nth-child(6) {
    transform: rotate(225deg);
  }
  
  .dot-spinner__dot:nth-child(6)::before {
    animation-delay: calc(var(--uib-speed) * -0.375);
  }
  
  .dot-spinner__dot:nth-child(7) {
    transform: rotate(270deg);
  }
  
  .dot-spinner__dot:nth-child(7)::before {
    animation-delay: calc(var(--uib-speed) * -0.25);
  }
  
  .dot-spinner__dot:nth-child(8) {
    transform: rotate(315deg);
  }
  
  .dot-spinner__dot:nth-child(8)::before {
    animation-delay: calc(var(--uib-speed) * -0.125);
  }
  
  @keyframes pulse0112 {
    0%,
    100% {
      transform: scale(0);
      opacity: 0.5;
    }
  
    50% {
      transform: scale(1);
      opacity: 1;
    }
  }

  span.woocommerce-input-wrapper {
    width: 100%!important;
  }

  
  /* THEMES */

/********** Theme: dark **********/
/* Font styles */
.flipdown.flipdown__theme-dark {
    font-family: sans-serif;
    font-weight: bold;
  }
  /* Rotor group headings */
  .flipdown.flipdown__theme-dark .rotor-group-heading:before {
    color: #000000;
  }
  /* Delimeters */
  .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):before,
  .flipdown.flipdown__theme-dark .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    background-color: #151515;
  }
  /* Rotor tops */
  .flipdown.flipdown__theme-dark .rotor,
  .flipdown.flipdown__theme-dark .rotor-top,
  .flipdown.flipdown__theme-dark .rotor-leaf-front {
    color: #FFFFFF;
    background-color: #151515;
  }
  /* Rotor bottoms */
  .flipdown.flipdown__theme-dark .rotor-bottom,
  .flipdown.flipdown__theme-dark .rotor-leaf-rear {
    color: #EFEFEF;
    background-color: #202020;
  }
  /* Hinge */
  .flipdown.flipdown__theme-dark .rotor:after {
    border-top: solid 1px #151515;
  }
  
  /********** Theme: light **********/
  /* Font styles */
  .flipdown.flipdown__theme-light {
    font-family: sans-serif;
    font-weight: bold;
  }
  /* Rotor group headings */
  .flipdown.flipdown__theme-light .rotor-group-heading:before {
    color: #EEEEEE;
  }

  /* Rotor tops */
  .flipdown.flipdown__theme-light .rotor,
  .flipdown.flipdown__theme-light .rotor-top,
  .flipdown.flipdown__theme-light .rotor-leaf-front {
    color: #222222;
    background-color: #DDDDDD;
  }
  /* Rotor bottoms */
  .flipdown.flipdown__theme-light .rotor-bottom,
  .flipdown.flipdown__theme-light .rotor-leaf-rear {
    color: #333333;
    background-color: #EEEEEE;
  }
  /* Hinge */
  .flipdown.flipdown__theme-light .rotor:after {
    border-top: solid 1px #222222;
  }
  
  /* END OF THEMES */
  
  .flipdown {
    width: fit-content;
    height: 110px;
    margin: 0 auto;
  }
  
  .flipdown .rotor-group {
    float: left;
    padding-right: 30px;
  }
  
  .flipdown .rotor-group:last-child {
    padding-right: 0;
  }
  
  .flipdown .rotor-group-heading:before {
    display: block;
    height: 30px;
    line-height: 30px;
    text-align: center;
  }
  
  .flipdown .rotor-group:nth-child(1) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(2) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(3) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(4) .rotor-group-heading:before {
    content: attr(data-before);
  }
  
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 115px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 115px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  
  .flipdown .rotor {
    position: relative;
    float: left;
    width: 50px;
    height: 80px;
    margin: 0px 5px 0px 0px;
    border-radius: 4px;
    font-size: 4rem;
    text-align: center;
    perspective: 200px;
  }
  
  .flipdown .rotor:last-child {
    margin-right: 0;
  }
  
  .flipdown .rotor-top,
  .flipdown .rotor-bottom {
    overflow: hidden;
    position: absolute;
    width: 50px;
    height: 40px;
  }
  
  .flipdown .rotor-leaf {
    z-index: 1;
    position: absolute;
    width: 50px;
    height: 80px;
    transform-style: preserve-3d;
    transition: transform 0s;
  }
  
  .flipdown .rotor-leaf.flipped {
    transform: rotateX(-180deg);
    transition: all 0.5s ease-in-out;
  }
  
  .flipdown .rotor-leaf-front,
  .flipdown .rotor-leaf-rear {
    overflow: hidden;
    position: absolute;
    width: 50px;
    height: 40px;
    margin: 0;
    transform: rotateX(0deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
  
  .flipdown .rotor-leaf-front {
    line-height: 80px;
    border-radius: 4px 4px 0px 0px;
  }
  
  .flipdown .rotor-leaf-rear {
    line-height: 0px;
    border-radius: 0px 0px 4px 4px;
    transform: rotateX(-180deg);
  }
  
  .flipdown .rotor-top {
    line-height: 80px;
    border-radius: 4px 4px 0px 0px;
  }
  
  .flipdown .rotor-bottom {
    bottom: 0;
    line-height: 0px;
    border-radius: 0px 0px 4px 4px;
  }
  
  .flipdown .rotor:after {
    content: '';
    z-index: 2;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 50px;
    height: 40px;
    border-radius: 0px 0px 4px 4px;
  }
  
  @media (max-width: 550px) {
  
    .flipdown {
      width: 312px;
      height: 70px;
    }
  
    .flipdown .rotor {
      font-size: 2.2rem;
      margin-right: 3px;
    }
  
    .flipdown .rotor,
    .flipdown .rotor-leaf,
    .flipdown .rotor-leaf-front,
    .flipdown .rotor-leaf-rear,
    .flipdown .rotor-top,
    .flipdown .rotor-bottom,
    .flipdown .rotor:after {
      width: 30px;
    }
  
    .flipdown .rotor-group {
      padding-right: 20px;
    }
  
    .flipdown .rotor-group:last-child {
      padding-right: 0px;
    }
  
    .flipdown .rotor-group-heading:before {
      font-size: 0.8rem;
      height: 20px;
      line-height: 20px;
    }
  
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before,
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
      left: 69px;
    }
  
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):before {
      bottom: 13px;
      height: 8px;
      width: 8px;
    }
  
    .flipdown .rotor-group:nth-child(n+2):nth-child(-n+3):after {
      bottom: 29px;
      height: 8px;
      width: 8px;
    }
  
    .flipdown .rotor-leaf-front,
    .flipdown .rotor-top {
      line-height: 50px;
    }
  
    .flipdown .rotor-leaf,
    .flipdown .rotor {
      height: 50px;
    }
  
    .flipdown .rotor-leaf-front,
    .flipdown .rotor-leaf-rear,
    .flipdown .rotor-top,
    .flipdown .rotor-bottom,
    .flipdown .rotor:after {
      height: 25px;
    }
  }
  