.tgbannerpopup,
.tgbannerpopup *,
.tgbannerpopup :before,
.tgbannerpopup :after {
  box-sizing: border-box !important;
}
.tgbannerpopup {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 3.5191vw 4.9853vw 2.9326vw !important;
  width: 100% !important;
  height: 21.9941vw !important;
  font-family: "Montserrat", "Nissan Brand", Arial, sans-serif !important;
  background-color: rgba(19, 89, 159, 0.9) !important;
  background-image: url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg@1x.webp) !important;
  background-image: image-set(url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg@1x.webp) 1x,
      url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg@2x.webp) 2x,
      url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg@3x.webp) 3x,
      url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg@4x.webp) 4x) !important;
  background-repeat: no-repeat !important;
  background-size: 100% !important;
  background: top 50% center;
  transform: translateY(100%) !important;
  transition: transform 0.45s ease !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: 9999 !important;
}
.tgbannerpopup.tgbannerpopup--visible {
  transform: translateY(0) !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.tgbannerpopup.tgbannerpopup--dismissed {
  display: none !important;
}
.tgbannerpopup .tgbannerpopup-container {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  margin-inline: auto !important;
  padding-right: 10.1173vw !important;
  width: 100% !important;
  height: 100% !important;
  color: #fff !important;
}
.tgbannerpopup .tgbannerpopup-text {
  display: block !important;
  font-size: 1.7595vw !important;
  line-height: 183% !important;
  font-weight: 500 !important;
}
.tgbannerpopup .tgbannerpopup-text>span {
  text-decoration: underline;
}
.tgbannerpopup .tgbannerpopup-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 6.305vw !important;
}
.tgbannerpopup .tgbannerpopup-button {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 1.4663vw !important;
  padding: 0 !important;
  width: 41.0557vw !important;
  height: 5.8651vw !important;
  border-radius: 1.8046vw !important;
  font-size: 2.346vw !important;
  line-height: 125% !important;
  font-weight: 500 !important;
  text-align: center !important;
  text-decoration: none !important;
  background: linear-gradient(180deg, #ef002f 0%, #b10028 100%) !important;
  color: #fff !important;
  box-shadow: 0 -1px 0 1px #FF5677 !important;
  transition: background-color 0.3s ease, background-image 0.3s ease !important;
  cursor: pointer !important;
}
.tgbannerpopup .tgbannerpopup-button:hover,
.tgbannerpopup .tgbannerpopup-button:focus,
.tgbannerpopup .tgbannerpopup-button:active {
  text-decoration: none !important;
  background-color: #f00030 !important;
  background-image: linear-gradient(to top, #f00030, #b10028) !important;
  color: #fff !important;
}
.tgbannerpopup .tgbannerpopup-button__icon {
  display: inline-flex !important;
  width: 3.5191vw !important;
  height: 3.5191vw !important;
}
.tgbannerpopup .tgbannerpopup-close {
  font-size: 1.4663vw !important;
  cursor: pointer !important;
}
.tgbannerpopup .tgbannerpopup-man {
  position: absolute;
  right: 4vw !important;
  bottom: 0.5865vw !important;
  display: block !important;
  width: 24.3402vw !important;
  height: 28.4457vw !important;
}
@media (max-width: 767px) {
  .tgbannerpopup .tgbannerpopup-description br {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .tgbannerpopup {
    background-image: url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg-wide@1x.webp) !important;
    background-image: image-set(url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg-wide@1x.webp) 1x,
        url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg-wide@2x.webp) 2x,
        url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg-wide@3x.webp) 3x,
        url(https://ilyafinance.ru/wp-content/themes/mytheme/img/tgbanner/tgbannerpopup-bg-wide@4x.webp) 4x) !important;
  }
  .tgbannerpopup .tgbannerpopup-container {
    flex-direction: row !important;
    padding-right: 0 !important;
  }
  .tgbannerpopup .tgbannerpopup-text {
    line-height: 152% !important;
  }
  .tgbannerpopup .tgbannerpopup-actions {
    position: relative;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    height: 100% !important;
  }
  .tgbannerpopup .tgbannerpopup-close {
    position: absolute;
  }
  .tgbannerpopup .tgbannerpopup-man {
    position: relative !important;
    bottom: unset !important;
    right: unset !important;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .tgbannerpopup {
    padding: 1.5833vw 0.6667vw 1.25vw !important;
    height: 7.1667vw !important;
  }
  .tgbannerpopup .tgbannerpopup-container {
    max-width: 690px !important;
  }
  .tgbannerpopup .tgbannerpopup-close {
    top: -1vw !important;
    right: 0.6667vw !important;
    font-size: 0.8333vw !important;
  }
  .tgbannerpopup .tgbannerpopup-button {
    gap: 0.8333vw !important;
    width: 23.3333vw !important;
    height: 3.3333vw !important;
    border-radius: 0.8333vw !important;
    font-size: 1.3333vw !important;
  }
  .tgbannerpopup .tgbannerpopup-button__icon {
    width: 2vw !important;
    height: 2vw !important;
  }
  .tgbannerpopup .tgbannerpopup-man {
    top: -3.75vw !important;
    width: 7.8333vw !important;
    height: 9.1667vw !important;
  }
}
@media (min-width: 768px) {
  .tgbannerpopup .tgbannerpopup-text {
    font-size: 1.4167vw !important;
  }
}
@media (min-width: 992px) {
  .tgbannerpopup .tgbannerpopup-container {
    max-width: 720px !important;
  }
}
@media (min-width: 1200px) {
  .tgbannerpopup {
    padding: calc(19 * var(--fs)) calc(8 * var(--fs)) calc(15 * var(--fs)) !important;
    height: calc(86 * var(--fs)) !important;
  }
  .tgbannerpopup .tgbannerpopup-container {
    max-width: calc(1060 * var(--fs)) !important;
  }
  .tgbannerpopup .tgbannerpopup-text {
    font-size: calc(17 * var(--fs)) !important;
  }
  .tgbannerpopup .tgbannerpopup-close {
    top: calc(-12 * var(--fs)) !important;
    right: calc(8 * var(--fs)) !important;
    font-size: calc(10 * var(--fs)) !important;
  }
  .tgbannerpopup .tgbannerpopup-button {
    gap: calc(10 * var(--fs)) !important;
    width: calc(280 * var(--fs)) !important;
    height: calc(40 * var(--fs)) !important;
    border-radius: calc(10 * var(--fs)) !important;
    font-size: 16px !important;
  }
  .tgbannerpopup .tgbannerpopup-button__icon {
    width: calc(24 * var(--fs)) !important;
    height: calc(24 * var(--fs)) !important;
  }
  .tgbannerpopup .tgbannerpopup-man {
    top: calc(-45 * var(--fs)) !important;
    width: calc(94 * var(--fs)) !important;
    height: calc(110 * var(--fs)) !important;
  }
}