/* Yoo Polosa — полоса сверху: fixed, top задаётся скриптом под шапку; отступ body — скрипт. */
/* Переменные: --yoo-polosa-height, --yoo-polosa-header-offset */

.yoopolosa {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  /* Ниже типичного navbar (1030), выше контента — выглядит как часть страницы, не как модалка */
  z-index: 1025;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: none;
}

.yoopolosa.yoopolosa-topper {
  /* модификатор на случай кастомных тем */
}

.yoopolosa.yoopolosa-hide {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.yoopolosa.yoopolosa-close {
  display: none !important;
}

.notif {
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
  background-image: linear-gradient(270deg, #2882db, #7b71d3 20%, #ae5bbb 40%, #cf4294 60%, #dd3266 80%, #d73b35);
  text-align: center;
  padding: 20px 30px;
  font-weight: normal;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  margin: 0;
}

.notif span {
  font-size: 16px;
}

.notif a {
  text-decoration: none;
  border-bottom: 1px solid #fff;
  color: #fff !important;
  transition: all linear 0.15s;
}

.notif a:hover {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  color: #fff !important;
  transition: all linear 0.15s;
}

.notif_close {
  margin-left: 10px;
}

.notif_close .fa-times {
  font-size: 18px;
}

.yoo-polosa__btn {
  display: inline-block;
  margin-left: 15px;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
}

.yoo-polosa__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .notif {
    font-size: 20px;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-weight: bold;
  }

  .notif span {
    padding: 6px 8px;
    background-color: #D73B37;
    border-radius: 5px;
  }
}

