
#fixheader {
  opacity: 0;
  transform: translate3d(0, -110%, 0);
  pointer-events: none;
  will-change: transform, opacity;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, background-color .3s ease;
}

body.ks-home-header-revealed #fixheader {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #fixheader {
    transition: background-color .3s ease;
  }
}

body.ks-home-loading-active,
body.ks-open-popup-active {
  overflow: hidden;
}

.ks-home-loading {
  position: fixed;
  z-index: 2147483600;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  background: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity .45s ease, visibility .45s ease;
}

.ks-home-loading.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ks-home-loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(280px, 68vw);
}

.ks-home-loading__logo {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 0 24px;
}

.ks-home-loading__bar {
  position: relative;
  width: 100%;
  max-width: 150px;
  height: 2px;
  overflow: hidden;
  background: #e8e8e8;
}

.ks-home-loading__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 45%;
  background: #f39800;
  animation: ks-home-loading-bar 1.1s ease-in-out infinite;
}

.ks-home-loading__text {
  margin-top: 12px;
  color: #777;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .22em;
}

@keyframes ks-home-loading-bar {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.ks-open-popup-overlay {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: rgba(0, 0, 0, .68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease, visibility .45s ease;
}

.ks-open-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ks-open-popup-dialog {
  position: relative !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 0 !important;
  transform: translate3d(0, 8px, 0) scale(.995) !important;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1);
  width: min(760px, 100%) !important;
  max-width: calc(100vw - 60px) !important;
  max-height: calc(100dvh - 60px);
  margin: 0 !important;
  background: #f7faf6;
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
  overflow-y: auto;
  overscroll-behavior: contain;
}


.ks-open-popup-overlay.is-open .ks-open-popup-dialog {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

.ks-open-popup-dialog.elementor-invisible {
  visibility: visible !important;
}

.ks-open-popup-close[type="button"] {
  all: unset;
  box-sizing: border-box;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: #070346;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ks-open-popup-close[type="button"] i {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.ks-open-popup-close[type="button"]:hover,
.ks-open-popup-close[type="button"]:focus,
.ks-open-popup-close[type="button"]:focus-visible {
  border: 0;
  background: #070346;
  color: #fff;
  outline: none;
  transform: scale(1.05);
}

@media all and (max-width: 767px) {
  .ks-open-popup-overlay {
    padding: 15px;
  }

  .ks-open-popup-dialog {
    width: 100% !important;
    max-width: calc(100vw - 30px) !important;
    max-height: calc(100dvh - 30px);
    border-radius: 18px;
  }

  .ks-open-popup-close[type="button"] {
    top: 10px;
    right: 10px;
    width: 40px;
    min-width: 40px;
    height: 40px;
  }

  .ks-open-popup-close[type="button"] i {
    font-size: 18px;
  }
}
