/* Shared: fixed "Year" dot navigation (Newsroom Timeline, Awards). */

.sla-yearnav {
  position: fixed;
  top: 50%;
  right: 10%;
  z-index: 1;
  transform: translateY(-50%);
}

.sla-yearnav ul {
  margin: 0 0 16px;
  padding: 0 0 0 40px;
  list-style: none;
}

.sla-yearnav li {
  line-height: 14px;
  text-align: right;
}

.sla-yearnav__title {
  font-size: 16px;
  color: #201c1c;
}

.sla-yearnav a {
  display: inline-block;
  backface-visibility: hidden;
}

.sla-yearnav a::after {
  content: "";
  display: table;
  clear: both;
}

.sla-yearnav a:hover {
  text-decoration: none;
}

.sla-yearnav a span {
  display: inline-block;
  float: right;
  transform: scale(0.6);
}

.sla-yearnav a:hover span,
.sla-yearnav a:focus-visible span {
  transform: scale(1);
}

.sla-yearnav__dot {
  position: relative;
  top: 8px;
  width: 12px;
  height: 12px;
  background-color: var(--sla-blue);
  border-radius: 50%;
  transform-origin: 50% 50%;
  transition: transform 0.2s, background-color 0.5s;
}

.sla-yearnav a.is-selected .sla-yearnav__dot {
  background-color: red;
}

.sla-yearnav__label {
  position: relative;
  margin-right: 10px;
  padding: 0.4em 0.5em;
  font-size: 14px;
  line-height: 14px;
  color: var(--sla-blue);
  opacity: 0;
  transform-origin: 100% 50%;
  transition: transform 0.2s, opacity 0.2s;
}

.sla-yearnav a:hover .sla-yearnav__label,
.sla-yearnav a:focus-visible .sla-yearnav__label {
  opacity: 1;
}

/* Touch / small screens: the original hides the dot navigation. */
@media (max-width: 1024px), (hover: none) {
  .sla-yearnav {
    display: none;
  }
}
