.maxwidth-theme.wide-Y>div {
  padding: 0 0 100px;
}

.events-list-inner-template .toogle.grid-list {
  gap: 0px;
}

.events-list-inner-template section {
  border-top: 2px solid var(--green_light);
  border-bottom: 2px solid var(--green_light);
  border-left: 0px;
  border-right: 0px;

}

.events-list-inner-template section.toggle label {
  border: unset;
  background: unset;
  border-radius: unset;
  display: block;
  padding: 26px var(--theme-page-width-padding);
}

.events-list-inner-template section.toggle {
  margin: -2px 0 0;
}

.events-list-inner-template section.toggle.active>label {
  background-color: unset;
  border-color: unset;
}

.events-list-inner-template section.toggle label i {
  display: none !important;
}

/* item */
.events-list-inner-template .items-list-inner__item {
  position: relative;
}

/* title */
.events-list-inner-template .items-list-inner__item-title {
  position: relative;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 6fr;
}

.events-list-inner-template .items-list-inner__item-title h4 {
  margin: 32px 0 !important;
}


.events-list-inner-template .videowrap {
  max-width: 1420px;
  margin: 32px auto;
}

.events-list-inner-template .videoblock {
  position: relative;
  padding-bottom: 56.25%;
  /*для видео из соотношением экрана 16:9*/
  height: 0;
  overflow: hidden;
}

.events-list-inner-template .videoblock iframe, object, embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0 !important;
}

/* preview text */
.events-list-inner-template .items-list-inner__item-preview-wrapper {
  margin: 0;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 6fr;
  padding: 32px 0;
  margin-bottom: 50px;
}

.events-list-inner-template .items-list-inner__item-preview-wrapper h3 {
  margin-top: 0px !important;
}

.events-list-inner-template section.toggle label.haslink::before {
  display: none;
}

.events-list-inner-template section.toggle label::before {
  border: unset;
  content: "";
  margin-top: -18px;
  position: absolute;
  right: 0px;
  top: 50%;
  width: 36px;
  height: 36px;
  background: url('/images/svg/close.svg');
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
}

.events-list-inner-template section.toggle.active>label::before {
  border: unset;
  margin-top: -18px;
  right: 0px;
  transform: rotate(45deg);
}

.events-list-inner-template a.myevent {
  border-radius: 31px;
  background: var(--green_light);
  padding: 16px 26px 16px 26px;
  border: unset;
  font-family: Geologica;
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 30px;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -31px;
  height: 62px;
  gap: 16px;
}

.events-list-inner-template a.myevent:hover {
  background: var(--green_light);
}

/*ТАБЫ*/
.mixitup-container .tabs {
  margin: 60px 0;
  border: unset;
}

.mixitup-container .arrow_scroll {
  max-height: 70px;
  overflow: hidden;
}

.mixitup-container .nav-tabs {
  border: none;
  margin: 0px;
  padding: 0;
  display: flex;
  gap: 16px;
}

.mixitup-container .tabs .nav-tabs li {
  margin: 0;
}

.mixitup-container .nav-tabs>li {
  font-family: Geologica;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  padding: 16px 32px;
  border-radius: 31px;
  transition: all 0.2s ease-out;
  border: 2px solid var(--white);
  justify-content: center;

}

.mixitup-container .nav-tabs>li:hover {
  border: 2px solid var(--green_light);
}

.mixitup-container .tabs .nav-tabs li a, .mixitup-container .tabs .nav-tabs li>span {
  padding: 0;
}

.mixitup-container .tabs .nav-tabs li.active {
  border: 2px solid var(--green_light);
  color: var(--green_light);
}

.mixitup-container .tabs .nav-tabs li.active:hover {
  border: 2px solid var(--green_light);
  color: var(--green_light);
}

.mixitup-container .nav-tabs>li.active::after {
  display: none;
}

.mixitup-container .tabs .nav-tabs li.active a {
  color: var(--green_light);
}

.mixitup-container .tabs .nav-tabs li a, .mixitup-container .tabs .nav-tabs li>span {
  color: var(--green_light);
}

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

.mixitup-container .swiper-button-next {
  right: 0px;
}

.mixitup-container .swiper-button-prev {
  left: 0px;
}

@media (max-width: 1400px) {
  section .maxwidth-theme {
    max-width: 100vw;
  }

  .events-list-inner-template a.myevent {
    right: 32px;
  }

  .events-list-inner-template section.toggle label::before {
    right: 32px;
  }

  .events-list-inner-template section.toggle.active>label::before {
    right: 32px;
  }
}

@media (max-width: 767px) {
  #main>.maxwidth-theme {
    padding-bottom: 60px;
  }

  .mixitup-container .nav-tabs>li::before {
    display: none;
  }

  .mixitup-container .arrow_scroll {
    margin: 32px 0;
    padding: 0;
  }

  .events-list-inner-template .items-list-inner__item-title {
    position: relative;
    display: grid;
    gap: 0px;
    grid-template-columns: 1fr;
  }

  .events-list-inner-template .items-list-inner__item-title h4:first-child {
    margin: 0px 0 !important;
  }

  .events-list-inner-template a.myevent {
    position: relative;
    margin-top: 16px;
    height: 62px;
    width: 100%;
  }

  .events-list-inner-template section.toggle {
    margin: -2px -16px 0 -16px;
  }

  .events-list-inner-template section.toggle label {
    display: flex;
    flex-direction: column;
    padding: 32px 16px;
  }

  .events-list-inner-template section.toggle label::before {
    margin-top: 16px;
    position: relative;
    align-self: flex-end;
    order: 2;
  }

  .events-list-inner-template section.toggle.active>label::before {
    margin-top: 16px;
  }

  .events-list-inner-template .items-list-inner__item-preview-wrapper {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
    padding: 32px 0;
    margin-bottom: 32px;
  }
}