﻿/* promo banner */
body.--with-promo header {
  position: absolute;
  top: 74px;
}

body.--with-promo.--menu-opened:not(.--is-scrolled) header,
body.--with-promo.--is-scrolled header,
body.--with-promo.--menu-opened .promo-banner {
  position: fixed;
  top: 0 !important;
}

body.--with-promo.--menu-opened:not(.--is-scrolled) .promo-banner,
body.--with-promo.--is-scrolled .promo-banner {
  opacity: 0;
  visibility: hidden;
}

.promo-banner {
  position: relative;
  height: 74px;
  width: 100%;
  background: linear-gradient(93.8deg, #3571CB 0%, #01B0B0 100%);
  z-index: 99;
}

.promo-banner .flex {
  gap: 16px;
  justify-content: flex-start;
}

.promo-banner .promo-banner__left {
  display: flex;
  align-self: center;
  gap: 8px;
  align-items: flex-start;
  margin-top: 4px;
}

.promo-banner .promo-banner__icon {
  position: relative;
  top: -2px;
  height: 24px;
}

.promo-banner .promo-banner__text {
  font-size: 16px;
  line-height: 20px;
}

.promo-banner .promo-banner__action {
  align-self: center;
  margin-left: auto;
}

.promo-banner .promo-banner__action .arrow {
  transform: scale(0.9);
}

.promo-banner .promo-banner__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .02em;
  line-height: 17px;
  border: 2px solid #ffffff;
  padding: 0 10px 0 13px;
  margin: 0;
  height: 42px;
  border-radius: 8px;
  text-decoration: none;
}

.promo-banner .promo-banner__button .promo-banner__button-text {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}

@media screen and (max-width: 1024px) {
  .promo-banner .promo-banner__left {
    gap: 16px;
  }
}

@media screen and (max-width: 1000px) {
  .promo-banner .promo-banner__text {
    font-size: 12px;
    line-height: 16px;
  }

  .promo-banner .promo-banner__button {
    height: 32px;
    gap: 4px;
  }

  .promo-banner .promo-banner__button .promo-banner__button-text {
    font-size: 12px;
  }

  .promo-banner .promo-banner__action .arrow {
    transform: scale(0.7);
  }
}

@media screen and (max-width:600px) {
  body.--with-promo header {
    top: 120px;
  }

  .promo-banner {
    height: 120px;
  }

  .promo-banner .flex {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-items: flex-start;
  }

  body.--with-promo header {
    top: 120px !important;
  }

  body.--with-promo.--is-scrolled header {
    top: 0 !important;
  }

  .promo-banner .promo-banner__action {
    display: inline-flex;
    align-self: flex-start;
    width: calc(100% - 80px);
    margin-left: 40px;
  }

  .promo-banner .promo-banner__button {
    width: 100%;
    justify-content: center;
  }

  .promo-banner .promo-banner__text {
    width: calc(100% - 80px);
  }

  .promo-banner .promo-banner__left {
    margin-top: 0;
  }
}

/* icon */
span.promo-banner-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.0036 20.0033L16.8022 16.802' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M3.99658 14.0008L9.99908 10.0432L13.0003 13.0444' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.0005 13.0444L19.003 9.08679' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4.02197 10.9996C4.22576 7.87035 6.3573 5.19932 9.36332 4.30634C12.3693 3.41335 15.6134 4.48746 17.4926 6.99791' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18.9779 12C18.7741 15.1292 16.6426 17.8003 13.6366 18.6932C10.6306 19.5862 7.38647 18.5121 5.50732 16.0017' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
}