/* Стили модального окна */
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 1050;
  opacity: 0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modal-open {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10px;
}
@media (max-width: 340px) {
  #container {
    padding-top: 18px !important;
  }
}
@media (min-width: 576px) {
  .modal-dialog {
    max-width: 600px;
    margin: 30px auto;
  }
}
@media (max-width: 550px) {
  #container {
    padding-top: 20px !important;
  }
}
.modal-content {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  outline: 0;
}

@media (min-width: 768px) {
  .modal-content {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
}

.modal-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eceeef;
}

.modal-title {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-size: 1.25rem;
  font-weight: 500;
}

.close {
  float: right;
  font-family: sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
  text-decoration: none;
}

.close:focus,
.close:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.75;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 15px;
  overflow: auto;
}

.modal-dialog {
  max-width: 730px;
}

.wrap-modal-slider {
  padding: 0 30px;
  opacity: 0;
  transition: all 0.3s;
}

.wrap-modal-slider.open {
  opacity: 1;
}

.slick-prev:before,
.slick-next:before {
  color: red;
}

.menu-title1 {
  margin-top: 16px;
}

.menu-text2 {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-decoration-line: underline;
  color: #c62e2e;
  margin-right: 16px;
}

.news-value {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500 !important;
  font-size: 16px !important;
  line-height: 24px;
  color: #343434 !important;
  margin: 16px 0 32px 0 !important;
}

#menu-text2-active {
  font-family: Manrope;
  font-style: normal;
  font-weight: bold;
  font-size: 14px;
  line-height: 20px;
  color: #343434;
  text-decoration-line: none;
}

.news-table {
  /*display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 10px 010px; 
    grid-template-areas: 
      ". . ."
      ". . ."; 
    justify-items: baseline;
    align-items: center;*/
  display: flex;
  flex-wrap: wrap;
  /*justify-content: space-between;*/

  margin-bottom: 8px !important;
  max-width: 1267px;
  margin-left: -10px;
  margin-right: -10px;
}
.news-table .new1 {
  width: 32.6%;
  padding: 0 10px;
}
.news-title {
  margin-bottom: 32px !important;
}
.new1__gallery {
  display: none;
}
.carousel__track {
  display: none !important;
}
.fancybox__nav .carousel__button svg {
  stroke: #f0f0f0;
  width: 30px;
  height: 57px;
}
.new-iframe-play .popup-video-iframe {
  position: relative;
  display: block;
}
.new-iframe-play .popup-video-iframe:before {
  content: "";
  background: #343434;
  opacity: 0.6;
  width: 100%;
  height: 100%; /*98*/
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.new-iframe-play .popup-video-iframe:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='28' cy='28' r='28' fill='%23C62E2E'/%3E%3Cpath d='M36.4004 28L23.8004 35.2746V20.7254L36.4004 28Z' fill='white'/%3E%3C/svg%3E%0A");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  width: 56px;
  height: 56px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
@media (min-width: 1000px) and (max-width: 1050px) {
  .fancybox__container .has-image .fancybox__content {
    width: 100%;
    height: 40vh;
  }
}

@media (max-width: 1025px) {
  .news-and-events1 {
    margin-top: 0;
  }
  .news-table .new1 {
    width: 48%;
  }
}

@media (max-width: 768px) {
  .news-table .new1 {
    width: 100%;
  }

  .news-table {
    /*display: grid;
        grid-template-columns: 1fr;
        gap: 10px 010px;
        grid-template-areas:
            ". "
            ".";
        justify-items: baseline !important;
        align-items: center;*/
    display: flex;
    flex-wrap: wrap;
    /*margin-left: 24px;*/
  }

  #container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    /* padding-top: 60px !important;*/ /*24*/
  }

  .menu-title1 {
    margin-bottom: 0px;
    margin-top: 16px;
    margin-left: 24px;
    margin-right: 45px;
  }

  .new-iframe-play.new {
    width: 100%;
  }

  .new-iframe-play.new img {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #galery-photo {
    margin: 0;
    padding: 0;
  }

  .new1 img {
    /* margin: 0 0 0 -24px; */
    width: 100%;
  }

  .news-table {
    padding-right: 24px;
    padding-left: 24px;
  }

  #galery-mob-none {
    display: none;
  }

  .news-table {
    /*display: grid;
        grid-template-columns: 1fr;
        gap: 10px 010px;
        grid-template-areas:
            ". "
            ".";
        justify-items: flex-start;*/
    /* align-items: center; */
    /*margin-left: 24px;*/
  }

  iframe {
    width: 109%;
    height: 171px;
    border-top-width: 0px;
    border-right-width: 0px;
    border-bottom-width: 0px;
    border-left-width: 0px;
  }

  .new {
    /*width: 92%;*/
  }

  .news-value {
    margin: 8px 0 16px 0 !important;
  }
}

@media (min-width: 400px) and (max-width: 650px) {
  /*.new1 img {
        margin: 0 0 0 -24px;
        width: 116.4%;
    }*/
  .new-iframe-play.new img {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  .new-iframe-play.new {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .news-and-events1 {
    margin-top: 0;
  }
  .new-iframe-play.new img {
    margin: 0;
    width: 100%;
    max-width: 100%;
  }
  .new-iframe-play.new {
    width: 100%;
  }
  li.logo-hamburger {
    margin-top: -35px; /*-45*/
    margin-bottom: 80px;
  }
  .logo {
    margin-top: -16px !important;
    margin-left: 15px;
    width: 55%;
    display: flex;
  }

  .logo a {
    flex-shrink: 0;
  }
}

@media (max-width: 350px) {
  .container-block {
    padding-top: 48px;
  }

  li.logo-hamburger {
    margin-top: -45px;
    margin-bottom: 80px;
  }
  .logo {
    margin-top: -16px !important;
    margin-left: 15px;
    width: 55%;
    display: flex;
  }

  .menu-title1 {
    margin-right: 0px;
  }
  .img-logo1 {
    width: 125% !important;
    margin-left: 5px;
    margin-bottom: 5px;
  }
  .menu__btn {
    top: 60px;
  }
}

.fancybox__content {
  background: var(--fancybox-content-bg, #ffffff00) !important;
  padding: 0px !important;
}
.carousel__button {
  color: #ffffff !important;
}
.slider-text {
  font-family: Manrope;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
}
.fancybox__slide::before,
.fancybox__slide::after {
  content: "";
  flex: 0 0 0;
  margin: 0 !important;
}
.carousel-inner {
  width: 1200px !important;
  height: 900px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-img {
  margin-left: auto;
  margin-right: auto;
  height: 800px !important;
}
@media (min-width: 1050px) {
  .carousel-inner > .item > a > img,
  .carousel-inner > .item > img,
  .img-responsive,
  .thumbnail a > img,
  .thumbnail > img {
    display: block;
    max-width: 100%;
    height: auto !important;
  }
}
@media not all, (-webkit-transform-3d) {
  .carousel-inner > .item {
    -webkit-transition: -webkit-transform 1.8s ease-in-out !important;
    -o-transition: -o-transform 1.8s ease-in-out !important;
    transition: transform 1.8s ease-in-out !important;
  }
}
@media (max-height: 900px) {
  .slider-img {
    height: 500px !important;
  }
}
@media (max-width: 1500px) {
  .slider-img {
    height: 500px !important;
  }
}
@media (max-width: 1025px) {
  .slider-img {
    height: 420px !important;
  }
}
@media (max-width: 768px) {
  .slider-img {
    height: 410px !important;
  }
}
@media (max-width: 420px) {
  .slider-img {
    margin-left: auto !important;
    margin-right: auto !important;
    height: 220px !important;
  }
}
@media (max-width: 320px) {
  .slider-img {
    height: 205px !important;
  }
}
.carousel__button.is-next {
  right: -40px !important;
}
.carousel__button.is-prev {
  left: -40px !important;
}
@media (min-width: 1600px) {
  .fancybox__slide {
    padding: 50px 190px 0 190px !important;
  }
}
@media (max-width: 1600px) {
  .fancybox__slide {
    padding: 60px 0 0 0 !important;
  }
  .carousel-inner {
    width: 1100px !important;
    height: 850px !important;
  }
}
@media (max-height: 910px) {
  .fancybox__slide {
    padding: 100px 50px 0 50px !important;
  }
  .carousel-inner {
    width: 750px !important;
    height: 580px !important;
  }
}
@media (max-width: 1450px) {
  .fancybox__slide {
    padding: 100px 50px 0 50px !important;
  }
  .carousel-inner {
    width: 750px !important;
    height: 580px !important;
  }
}

@media (max-width: 1025px) {
  .fancybox__slide {
    padding: 250px 8px 8px 8px !important;
  }
  .carousel-inner {
    width: 638px !important;
    height: 500px !important;
    margin: 0;
  }
  .carousel-inner > .item > a > img,
  .carousel-inner > .item > img,
  .img-responsive,
  .thumbnail a > img,
  .thumbnail > img {
    display: block;
    max-width: 100% !important;
    height: auto;
  }
}
@media (max-width: 450px) {
  .carousel__button.is-prev,
  .carousel__button.is-next {
    top: 40% !important;
  }
  .carousel-inner {
    width: 330px !important;
    height: 350px !important;
    margin: 0;
  }
  .fancybox__slide {
    padding: 180px 8px 8px 8px !important;
  }
  .slider-text {
    font-size: 14px;
  }
  .news-value {
    font-size: 15px !important;
    line-height: 21px;
    padding-right: 0;
    margin: 8px 0 16px 0 !important;
  }
  .news-table {
    gap: 0;
  }
}
@media (max-width: 380px) {
  .carousel-inner {
    width: 295px !important;
    height: 325px !important;
    margin: 0;
  }
  .slider-text {
    font-size: 14px;
  }
}
@media (max-width: 330px) {
  .carousel__button.is-prev,
  .carousel__button.is-next {
    top: 38% !important;
  }
  .slider-text {
    font-size: 14px;
  }
  .carousel__button.is-next {
    right: -5px !important;
  }
  .carousel__button.is-prev {
    left: -5px !important;
  }
  .carousel-inner {
    width: 272px !important;
    height: 310px !important;
    margin: 0;
  }
  .fancybox__slide {
    padding: 130px 24px 8px 24px !important;
  }
}
@media (min-width: 550px) and (max-width: 1025px) {
  .img-logo2 {
    width: 120px !important;
    margin-top: 8px;
  }
}
