.preloader_overlay {
  position: fixed;
  z-index: 150000;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6); }

.preloader {
  position: fixed;
  z-index: 150001;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0; }

.preloader::after {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.05em; }

.preloader__content {
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  padding: 0 20px;
  text-align: center; }

.preloader__image {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  background: url("/assets/img/svg/loader_a.svg") center center no-repeat;
  background-size: 43px 36px;
  margin: 0 auto; }

.preloader__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 80px;
  height: 80px;
  background-image: url("/assets/img/svg/loader_circle.svg");
  background-size: 80px 80px;
  -webkit-animation: 1s rotate360 infinite linear;
  animation: 1s rotate360 infinite linear; }

.preloader__text {
  display: none;
  max-width: 320px;
  font-family: "TT Norms Pro", sans-serif, sans-serif;
  font-size: 17px;
  line-height: 24px;
  color: #fff;
  margin: 40px auto 0; }

.preloader__text--with-countdown {
  margin-top: 0; }

.preloader__countdown {
  display: none;
  margin-bottom: 12px;
  margin-top: 24px;
  font: normal 450 20px/24px "TT Norms Pro", sans-serif;
  color: var(--text-primary); }

@media (min-width: 0px) and (max-width: 767px) {
  .preloader__countdown {
    margin-top: 20px;
    margin-bottom: 8px;
    font: normal 450 17px/22px "TT Norms Pro", sans-serif; } }

.preloader--redesigned {
  border-radius: 16px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: auto;
  background-color: var(--bg-primary); }

.preloader--redesigned .preloader__content {
  padding: 50px;
  vertical-align: initial; }

.preloader--redesigned .preloader__text {
  margin-top: 24px;
  color: var(--text-primary); }

.preloader--redesigned .preloader__text--with-countdown {
  margin-top: 0; }

.preloader--redesigned .preloader__image::before {
  background-image: url("/assets/img/svg/loader_circle_gray.svg"); }

@media (min-width: 768px) {
  .preloader--redesigned {
    max-width: 600px; } }

@media (min-width: 0px) and (max-width: 767px) {
  .preloader--redesigned {
    margin: unset;
    height: auto;
    max-height: 200px;
    top: auto;
    bottom: env(safe-area-inset-bottom, 0);
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    border-radius: 16px 16px 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-bottom: env(safe-area-inset-bottom, 0); }
  .preloader--redesigned::after {
    display: none; }
  .preloader--redesigned .preloader__content {
    padding: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0));
    vertical-align: initial; }
  .preloader--redesigned .preloader__image {
    width: 64px;
    height: 64px;
    background-size: 36px 30px; }
  .preloader--redesigned .preloader__image::before {
    width: 64px;
    height: 64px;
    background-size: 64px 64px; }
  .preloader--redesigned .preloader__text {
    margin-top: 20px;
    color: var(--text-primary); }
  .preloader--redesigned .preloader__text--with-countdown {
    margin-top: 0; } }

.remodal-bg {
  -webkit-transition: 0.3s;
  transition: 0.3s; }

.remodal-bg.remodal-is-opening,
.remodal-bg.remodal-is-opened {
  -webkit-filter: blur(6px);
  filter: blur(6px); }
