/*
Theme Name: ntf
Template: hello-elementor
Author: Marcin Michnowicz
Description: Motyw potomny dla Hello Elementor
Version: 1.0
Text Domain: ntf
*/
.ntf_nowrap {
    white-space: nowrap;
}

.ntf_copyright {
    font-weight: 600;
    padding: 0px 5px;
}
.swiper-slide:nth-child(even) {transform: translateY(-60px)}
.e-n-carousel {padding-top: 60px !important}

.trainings-wrapper {
    line-height: 22px;
}

.kns-header {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.kns-header span {
    display: block;
}

.kns-row, .kns-header {
  display: flex;
  align-items: center;
  padding: 25px;
  min-height: 90px;
  margin-bottom: 2px;
}

.kns-row:nth-child(even) {
  background-color: #f7f7f7;
  border-radius: 5px;
}

.display .kns-status-col, .display .kns-hours-col {flex: 0.5}
.display .kns-name-col {flex: 3}
.display .kns-mode-col {flex: 1.4}
.display .kns-start-col, .display .kns-end-col, .display .kns-city-col, .display .kns-price-col, .display .kns-funding-col {flex: 0.8}
.display .kns-more-col {flex: 1.1}

.details .kns-status-col {flex: 0.7}
.details .kns-mode-col, .details .kns-payment-col {flex: 1.4}
.details .kns-hours-col, .details .kns-start-col, .details .kns-end-col, .details .kns-city-col, .details .kns-participants-col, .details .kns-price-col {flex: 0.9}
.details .kns-funding-col {flex: 1.1}

.kns-name-col h3 {
    font-size: 16px;
    margin: 0;
}

/* Przyciski */
.p24-button {
  color: #000;
  background: #ffd269;
  border: 0;
  font-size: 14px;
  font-weight: 500;
  padding: 15px;
  width: 100%;
}
.button {

}

.button:hover {

}

/* status */
.kns-wrapper-dot {
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 auto;
}

.kns-ring-dot,
.kns-status-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.kns-ring-dot::before {
  content: '';
  display: block;
  width: 150%;
  height: 150%;
  margin: -25%;
  border-radius: 50%;
  animation: pulse-ring 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.kns-status-dot::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulse-dot 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.33);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes pulse-dot {
  0%, 100% {
    transform: scale(0.8);
  }
  50% {
    transform: scale(1);
  }
}

.kns-ring-dot.active::before,
.kns-status-dot.active::after {
  background-color: #00c419;
}

.kns-ring-dot.few_spots::before,
.kns-status-dot.few_spots::after {
  background-color: #ffd269;
}

.kns-ring-dot.closed::before,
.kns-status-dot.closed::after {
  background-color: #eb0b56;
}

@media (max-width: 1300px) {
  .swiper-slide:nth-child(even) {transform: translateY(0px)}
  .e-n-carousel {padding-top: 0px}
  .trainings-wrapper {
    padding: 0 10px;
  }

  .kns-header {
    display: none;
  }

  .kns-wrapper-dot {
    margin: 0
  }

  .kns-row {
    display: block;
    margin-bottom: 20px;
    padding: 15px;
  }

  .kns-row .kns-col {
    display: flex;
    padding: 10px 0;
  }

  .kns-row .kns-col:before {
    content: attr(data-label);
    flex: 0 0 160px;
    font-weight: 600;
  }

  .kns-row .kns-more-col {
    display: block;
    text-align: center;
    border: none;
    padding-top: 10px;
  }

  .kns-name-col h3 {
    line-height: 25px;
  }
}
