/* SSG GROUP AB — two independent tickers */
.ssg-ticker {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: 36px;
  flex: 0 0 36px;
  min-width: 0;
  padding: 3px;
  position: relative;
  isolation: isolate;
  border-radius: 4px;
  background: linear-gradient(
    90deg, #fff, #b57b3b, #fff,
    #71401f, #ffd88a, #fff
  );
  background-size: 300% 100%;
  animation: ssg-border-effect 10s linear infinite;
}

.ssg-ticker-inner {
  height: 30px;
  overflow: hidden;
  background: #111;
  border-radius: 2px;
}

.ssg-ticker-track {
  display: flex;
  width: max-content;
  height: 30px;
  white-space: nowrap;
  color: #ffe2a8;
  font: 15px/30px Arial, sans-serif;
  animation: ssg-ticker-run 17s linear infinite;
}

.ssg-ticker-track span {
  flex-shrink: 0;
  padding-right: 35px;
}

@keyframes ssg-ticker-run {
  to { transform: translateX(-50%); }
}

@keyframes ssg-border-effect {
  0% {
    background-position: 0% 0;
    box-shadow: 0 0 8px #fff;
  }
  49% {
    background-position: 300% 0;
    box-shadow: 0 0 13px #ffd88a;
  }
  50%,60%,70%,80%,90%,100% {
    box-shadow: 0 0 15px 2px #fff;
  }
  55%,65%,75%,85%,95% {
    box-shadow: 0 0 2px #71401f;
  }
}
