/* version=1.1.4 */
/* dtx_cms/public/css/news_ticker.css */

.cms-news-ticker {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.cms-news-ticker__inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}

.cms-news-ticker__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.cms-news-ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  min-width: max-content;
  line-height: 1;
  will-change: transform;

  animation-name: cms-news-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.cms-news-ticker--pause-hover:hover {
  animation-play-state: paused !important;
}

.cms-news-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.cms-news-ticker__item:hover {
  text-decoration: underline;
  opacity: 0.92;
}

.cms-news-ticker__separator {
  color: rgba(255,255,255,0.55);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.cms-news-ticker__icon {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.news-highlight {
  background: rgba(255,255,255,0.10);
  padding: 6px 10px;
  border-radius: 999px;
}

@keyframes cms-news-scroll {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes cms-news-blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@media (max-width: 768px) {
  .cms-news-ticker__inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .cms-news-ticker__track {
    gap: 10px;
  }

  .cms-news-ticker__item {
    font-size: 14px !important;
  }

  .news-highlight {
    padding: 5px 8px;
  }
}