/* ==================== ##Preloader ==================== */
#preloader-wrapper {
  background-color: #ffffff;
  z-index: 10000;
  position: fixed;
  width: 100%;
  height: 100%;
}

.preloader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  width: clamp(320px, 650px, 95vw);
  left: 50%;
  top: 50%;
  transform: translate3D(-50%, -50%, 0);
  --preloader-first-color: transparent;
  --preloader-second-color: var(--preloader-first-color);
}
.preloader-container .preloader_logo {
  margin: 0 17px;
  flex-shrink: 1;
}
.preloader-container .preloader_logo ~ .preloader_title {
  margin-left: 0;
}
.preloader-container .preloader_title {
  font-family: var(--doorwin-header-font-family);
  color: var(--doorwin-header-font-color);
  font-weight: 700;
  margin: 0 17px;
  font-size: 27px;
  flex-shrink: 1;
  letter-spacing: 0.16em;
}
.preloader-container .preloader_figure {
  position: absolute;
  height: 4px;
  z-index: -1;
  width: 100%;
  bottom: 0;
  top: 0;
  margin: auto;
  background-color: transparent;
  background-image: linear-gradient(45deg, var(--preloader-first-color) 0%, var(--preloader-second-color) 25%, var(--preloader-second-color) 75%, var(--preloader-first-color) 100%);
  will-change: transform;
  animation: 1s infinite alternate cubic-bezier(0.6, 0, 0.4, 1);
  animation-name: loader;
}
@media (max-width: 767px) {
  .preloader-container .preloader_figure {
    bottom: -15px;
    top: auto;
    background-image: linear-gradient(45deg, var(--preloader-first-color) 0%, var(--preloader-second-color) 50%, var(--preloader-first-color) 100%);
    animation-name: loader_mobile;
  }
}
.preloader-container .inner_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
}
@keyframes loader {
  0% {
    transform-origin: 0 50%;
    transform: scaleX(0.15);
  }
  50% {
    transform: scaleX(0.13);
  }
  100% {
    transform-origin: 100% 50%;
    transform: scaleX(0.15);
  }
}
@keyframes loader_mobile {
  0% {
    transform-origin: 0 50%;
    transform: scaleX(0.3);
  }
  50% {
    transform: scaleX(0.27);
  }
  100% {
    transform-origin: 100% 50%;
    transform: scaleX(0.3);
  }
}

@media (max-width: 782px) {
  body.admin-bar #preloader-wrapper {
    margin-top: -46px;
  }
}