body * {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

header {
    padding-top: 25px;
}

.past-show { 
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.kf-show-img-wrapper {
    position: relative;
}


.kf-show-img-wrapper .show-ended-label {
     border: 1px solid;
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    /* background: rgba(255, 0, 0, 0.8); */
    color: #ffffff;
    padding: 8px 10px;
    /* font-weight: bold; */
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 10;
    pointer-events: none;
    text-align: center;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .kf-show-img-wrapper .show-ended-label {
    font-size: 14px; 
  }
}

.kf-logos .col-12 { 
  height: 100%;
  align-items: center;
  column-gap: 30px;
}

.logos-second-row { 
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  justify-items: center;
  align-items: center;
  column-gap: 50px !important;
  gap: 50px;
}

.logos-second-row  img { 
  max-width: 100%
}


@media (min-width: 992px) {
    .kf-hero .kf-header-description-new-top-right {
        margin-left: 0px;
        margin-right: 0px;
        grid-template-columns: unset;
        /* gap: 30px; */
        margin-bottom: 0px;
    }

    .new-top-right { 
      margin-bottom: 0px; 
    }
}

@media (min-width: 992px) {
    header {
        padding-top: 180px;
    }
}

.oct-date-mobile { 
  margin-bottom: 24px;
}

@media (max-width: 650px) {
    /*nepost*/
    .postid-3954 h1 {
        font-size: 33px;
        /*font-weight: 500;*/ 
    }
    
    /*lenin*/
    .postid-3959 h1 { 
        font-size: 35px;
     }

     .postid-3958 .kf-show-title { 
        flex-wrap: wrap;
      }
     
}

@media (max-width: 850px) {
        
    .logos-second-row { 
      display: grid;
      grid-template-columns: repeat(1, 165px);
      justify-items: center;
      align-items: center;
      gap: 55px;
   }

   .logos-second-row  img { 
     max-width: 100%
   }
}


max-width: 100%;
    max-height: 108px;

@media (max-width: 376px) {
    .postid-3954 h1 { 
        font-size: 31px;
    }
    .postid-3953 h1 { 
      font-size: 35px;
    }

    .postid-3959 h1 {
        font-size: 32px;
    }

     .postid-3958 h1 { 
        font-size: 36px;
      }
}

/*@media (min-width: 992px) {
  header {
    padding-top: 292px;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }
}

.oct-date { 
  max-width: 844px; 
}
*/
.fall {
  animation: fadeIn 1s ease-in-out forwards;
  opacity: 0;
}

.modal-content { 
  background: #f8e715!important;
}

.modal-content .kf-show-link  { 
  background: #fff;
  border-color: unset;
}


/*.kf-show-card { 
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
} */

/*.kf-show-card.animate {
  opacity: 1;
}*/

.anim-rotation {
    animation: moving 0.35s linear;
    animation-fill-mode: backwards;
    transform-origin: 18px 18px;
    transform: rotate(360deg);
}

.kf-grid .kf-show-card .kf-show-card-text .kf-show-card-title {
    font-weight: 500;
}

.kf-show-carousel-section .kf-carousel-text .kf-show-title .kf-age-limits {
    margin-left: 10px;
}

.kf-age-limits {
    margin-left: 5px;
}

.kf-program-item-collapse a { 
  color: #000; 
}

.download-btn .dropdown-menu {
    width: 100%;
    /*background: #ffeb3b94;*/
    background: #fdf37b;
    border-radius:0px;
    border: none;
    margin: -3px 0 0 !important;
}

.download-btn .dropdown-item:hover, .dropdown-item:focus {
   background-color: #fae31e;
}

.dropdown .kf-plus { 
    width: 18px;
    margin-left: 18px;
    padding: 0px; 
}

.kf-grid .kf-show-card .kf-show-img-wrapper .kf-show-img-cover .kf-show-dates span sup { 
    text-transform: lowercase;
}

.home .download-btn .dropdown-item { 
    font-weight: 400;
    color: #000000;
    font-size: 14px; 
}

.kf-details-grid-3 { 
    grid-template-columns: 1fr 1fr 1fr;
}

@media (min-width: 1200px) and (max-width: 1400px) {
  h2, .h2 {
    font-size: 32px;
  }
  .kf-last-description {
    font-size: 19px;
  }

  .kf-grid .kf-show-card .kf-show-img-wrapper .kf-show-img-cover {
     font-size: 18px;
  }
  header {
    padding-top: 120px;
  }

  .kf-details-btn {
     font-size: 19px;
  }
  
  .download-btn .dropdown-menu {
    width: 115%;
  }
}

@media (min-width: 992px) and (max-width: 1200px) {
  h2, .h2 {
    font-size: 29px;
  }

  header {
      padding-top: 30px;
  }
  .kf-navbar .btn{ 
    font-size: 17px; 
  }

  .kf-last-description {
    font-size: 16.5px;
  }

}

@media (min-width: 768px) and (max-width: 992px) {
  .kf-schedule-filters-title h2 { 
    font-size: 29px;
    margin-bottom: 20px;
  }
}

@media  (max-width: 750px) {
  .kf-show-carousel-section .kf-show-carousel .carousel-inner .carousel-item img {
    will-change: transform;  
  } 
  .kf-show-carousel-section .kf-show-carousel .carousel-inner .carousel-item img {
      height: 230px;
      object-fit: cover; 
  } 
   .bosh-mobile { 
      margin-top: 20px; 
    }
}

@media  (max-width: 500px) {
  .dropdown .kf-plus {
    width: 13px;
  }
  .mini-title-6 {
    margin-bottom: 32px !important;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0.05;
  }
  100% {
    opacity: 1;
  }
}

#drawing path {
  fill: transparent;
  stroke: black;
  stroke-width: 0.4;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 2s linear forwards; /* Уменьшаем время рисования до 2 секунд */
  transition: fill 2s ease-in-out; /* Добавляем плавный переход для заливки */
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
