.main-performance {
  position: relative;
}

.h1-top-line.next-site {
  margin-bottom: 0;
  left: calc(var(--breakpoint_unit) * calc(210 * var(--basic_unit)));
  top: calc(var(--breakpoint_unit) * calc(55 * var(--basic_unit)));
}

.h1-bottom-line.next-site {
  right: calc(var(--breakpoint_unit) * calc(-285 * var(--basic_unit)));
  bottom: calc(var(--breakpoint_unit) * calc(55 * var(--basic_unit)));
}

.h1-top-line.next-site,
.h1-bottom-line.next-site {
  width: 16vw;
}

.h1-div {
  background: linear-gradient(
      to right,
      rgba(27, 26, 26, 1) 0%,
      rgba(27, 26, 26, 0.4) 23%,
      rgba(27, 26, 26, 0.4) 100%
    ),
    /* levy */
      linear-gradient(0deg, rgba(27, 26, 26, 1) 0%, rgba(27, 26, 26, 0.01) 50%),
    /* spodni */
      linear-gradient(
        180deg,
        rgba(27, 26, 26, 0.6978992280505952) 0%,
        rgba(27, 26, 26, 0.3225490879945728) 40%,
        rgba(27, 26, 26, 0) 100%
      ),
    /* vrchni */ url(/images/Vystoupeni-James-Bond-small.jpg) center top
      no-repeat;
  height: calc(var(--breakpoint_unit) * calc(200 * var(--basic_unit)));
  background-size: cover;
  padding: 45px 0;
}

.h1-div h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(var(--breakpoint_unit) * calc(40 * var(--basic_unit)));
}

.div-types-of-show {
  height: auto;
}

.show-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  position: relative;
  min-height: calc(var(--breakpoint_unit) * calc(199 * var(--basic_unit)));
  margin-bottom: calc(var(--breakpoint_unit) * calc(30 * var(--basic_unit)));
}

.show-type-img {
  width: calc(var(--breakpoint_unit) * calc(150 * var(--basic_unit)));
  height: calc(var(--breakpoint_unit) * calc(200 * var(--basic_unit)));
  object-fit: cover;
  transition: all 1.5s ease-in-out;
}

.show-type-text {
  flex-basis: 50%;
  padding: calc(var(--breakpoint_unit) * calc(10 * var(--flexible_basic_unit)));
  padding-left: calc(
    var(--breakpoint_unit) * calc(15 * var(--flexible_basic_unit))
  );
  border-bottom: solid 2px white;
  position: relative;
  left: 0px;
  transition: all 1.5s ease-in-out;
  margin-top: 0;
  margin-bottom: calc(var(--breakpoint_unit) * calc(20 * var(--basic_unit)));
  width: 100%;
  z-index: 10;
  order: 1;
}

@media (max-width: 949px) {
  .fading-slideshow-performance {
    position: relative;
    height: auto;
    min-height: 520px;
    order: 1;
  }

  .show-type-text {
    order: 2;
  }
}

.show-type-text.two,
.show-type-text.three,
.show-type-text.four,
.show-type-text.five,
.show-type-text.six,
.show-type-text.seven {
  margin-top: 0;
}

.margin-top {
  margin-top: calc(var(--breakpoint_unit) * calc(1020 * var(--basic_unit)));
}

.show-type-borders {
  position: absolute;
  border-left: solid 2px white;
  border-top: solid 2px white;
  top: 0;
  bottom: 0;
  right: 65%;
  left: 0;
}

.show-type-top-line {
  border-top: solid 2px white;
  width: 20vw;
  position: absolute;
  top: 0;
  left: 0;
}

.show-type-bottom-line {
  border-top: solid 2px white;
  width: 50vw;
  position: absolute;
  top: 0;
  left: 0;
}

.show-type-frame {
  border: solid 2px white;
  border-right: none;
}

@media (min-width: 950px) {
  .h1-div {
    background: linear-gradient(
        to right,
        rgba(27, 26, 26, 1) 0%,
        rgba(27, 26, 26, 0.4) 23%,
        rgba(27, 26, 26, 0.4) 100%
      ),
      /* levy */
        linear-gradient(
          0deg,
          rgba(27, 26, 26, 1) 0%,
          rgba(27, 26, 26, 0.01) 50%
        ),
      /* spodni */
        linear-gradient(
          180deg,
          rgba(27, 26, 26, 0.6978992280505952) 0%,
          rgba(27, 26, 26, 0.3225490879945728) 40%,
          rgba(27, 26, 26, 0) 100%
        ),
      /* vrchni */ url(/images/Vystoupeni-James-Bond.jpg) center top no-repeat;
    height: 40vh;
  }

  .slider-show-type {
    height: 520px;
  }

  .show-type-text {
    margin-right: calc(
      var(--breakpoint_unit) * calc(30 * var(--flexible_basic_unit))
    );
    margin-bottom: 0;
    position: relative;
  }

  .fading-slideshow-performance {
    order: 2;
    position: relative;
    margin-bottom: 0;
  }

  .show-type {
    flex-direction: row;
    justify-content: start;
    margin-left: calc(
      var(--breakpoint_unit) * calc(30 * var(--flexible_basic_unit))
    );
    margin-bottom: 0;
  }

  .show-type-img {
    height: calc(var(--breakpoint_unit) * calc(200 * var(--basic_unit)));
  }

  .show-type:hover .show-type-text,
  .show-type:active .show-type-text {
    left: 50px;
  }

  .show-type:hover .show-type-img,
  .show-type:active .show-type-img {
    transform: scale(1.17);
  }

  .slider-show-type.two,
  .slider-show-type.three,
  .slider-show-type.four,
  .slider-show-type.five,
  .slider-show-type.six,
  .slider-show-type.seven {
    top: 0;
  }

  .show-type-text.two,
  .show-type-text.three,
  .show-type-text.four,
  .show-type-text.five,
  .show-type-text.six,
  .show-type-text.seven {
    margin-top: 0;
  }

  .slider-show-type,
  .div-loader {
    left: 0;
  }

  .margin-top,
  .show-type-text {
    margin-top: 0;
  }

  .div-types-of-show {
    height: unset;
  }
}

@media (min-width: 1170px) {
  .show-type {
    margin-left: 0;
  }
}

@media (min-width: 1300px) {
  .show-type {
    justify-content: center;
  }
}

.construction-toggle-btn {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 11;
}

.construction-toggle-btn:hover {
  opacity: 0.7;
}

.construction-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.5s, opacity 0.5s ease-in-out;
}

.construction-modal.active {
  visibility: visible;
  opacity: 1;
  transition: visibility 0s linear 0s, opacity 0.5s ease-in-out;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.construction-modal.active .modal-overlay {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.modal-content {
  position: relative;
  background-color: rgba(27, 26, 26, 0.95);
  border: solid 2px white;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: calc(var(--breakpoint_unit) * calc(15 * var(--flexible_basic_unit)));
  transform: scale(0.9) translateY(-20px);
  opacity: 0;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.construction-modal.active .modal-content {
  transform: scale(1) translateY(0);
  opacity: 1;
  transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: calc(var(--breakpoint_unit) * calc(15 * var(--flexible_basic_unit)));
}

.modal-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-title {
  margin: 0 0 calc(var(--breakpoint_unit) * calc(10 * var(--basic_unit))) 0;
}

.modal-text ul {
  margin: 0;
  padding-left: 20px;
}

.modal-info-text {
  margin-top: calc(var(--breakpoint_unit) * calc(15 * var(--basic_unit)));
  margin-bottom: 0;
}

.modal-text li {
  margin-bottom: calc(var(--breakpoint_unit) * calc(5 * var(--basic_unit)));
}

.modal-text li:last-child {
  margin-bottom: 0;
}

.modal-image {
  width: 100%;
  display: flex;
  align-items: center;
}

.modal-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 600px;
}

@media (min-width: 950px) {
  .modal-content {
    max-width: 800px;
    padding: 35px;
  }

  .modal-body {
    flex-direction: row;
    gap: calc(var(--breakpoint_unit) * calc(10 * var(--flexible_basic_unit)));
  }

  .modal-text {
    flex: 1;
  }

  .modal-image {
    flex: 1;
    max-width: 300px;
    display: flex;
    align-items: center;
  }

  .modal-img {
    max-height: 500px;
  }
}

.modal-text li {
  margin: 0;
}
