.etc-timeline {
--etc-accent: #f5a623;
--etc-dot: #1f1f1f;
--etc-line: #d8d8d8;
--etc-visible: 3; position: relative;
width: 100%;
font-family: inherit;
box-sizing: border-box;
}
.etc-timeline *,
.etc-timeline *::before,
.etc-timeline *::after {
box-sizing: border-box;
} .etc-timeline__viewport {
position: relative;
overflow: hidden;
padding-top: 8px;
} .etc-timeline__line {
position: absolute;
top: 23px;
left: 0;
right: 0;
height: 1px;
background: var(--etc-line);
z-index: 0;
} .etc-timeline__track {
display: flex;
align-items: flex-start;
transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
will-change: transform;
position: relative;
z-index: 1;
} .etc-node {
flex: 0 0 calc(100% / var(--etc-visible));
max-width: calc(100% / var(--etc-visible));
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 0 12px; position: relative;
} .etc-node__dot {
width: 12px;
height: 12px;
border-radius: 50%;
background: var(--etc-dot);
margin-top: 10px;
transition: transform 0.25s ease, background-color 0.25s ease;
flex: 0 0 auto;
}
.etc-node.is-active .etc-node__dot {
background: var(--etc-accent);
transform: scale(1.35);
} .etc-node__head {
appearance: none;
background: none;
border: 0;
margin: 0;
padding: 14px 0 0;
cursor: auto;
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
font: inherit;
color: inherit;
}
button.etc-node__head{background: none!important;}
.etc-node__year {
font-size: 20px;
font-weight: 700;
line-height: 1.1;
color: #5a5a5a;
transition: color 0.25s ease, font-size 0.25s ease;
}
.etc-node.is-active .etc-node__year {
color: var(--etc-accent);
font-size: 48px;
}
.etc-node__month {
margin-top: 6px;
font-size: 12px;
letter-spacing: 1.5px;
text-transform: uppercase;
color: #7a7a7a;
}
.etc-node.is-active .etc-node__month {
margin-top: 10px;
font-size: 13px;
}
.etc-node__subtitle {
margin-top: 12px;
font-size: 13px;
line-height: 1.45;
color: #4a4a4a;
max-width: 240px;
} .etc-node.is-active .etc-node__subtitle {
display: none;
} .etc-panel {
display: none;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
max-width: 360px;
margin: 22px auto 0;
opacity: 0;
transform: translateY(8px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.etc-node.is-active .etc-panel {
display: flex;
opacity: 1;
transform: translateY(0);
}
.etc-panel__image {
width: 100%;
line-height: 0;
}
.etc-panel__image img {
width: 100%;
height: auto;
display: block;
border-radius: 4px;
object-fit: cover;
opacity:0;
transition: opacity linear .4s;
}
.etc-node.is-active .etc-panel__image img{
opacity:1;
}
.etc-panel__title {
margin: 18px 0 0;
font-size: 20px;
font-weight: 600;
color: #1f1f1f;
line-height: 1.3;
}
.etc-panel__desc {
margin: 12px 0 0;
font-size: 14px;
line-height: 1.6;
color: #4a4a4a;
}
.etc-panel__link {
margin-top: 14px;
display: inline-block;
font-size: 14px;
font-weight: 600;
color: var(--etc-accent);
text-decoration: none;
}
.etc-panel__link:hover {
text-decoration: underline;
}  .etc-timeline--has-nav {
padding-top: 88px;
}
.etc-timeline__nav {
position: absolute;
top: 0;
right: 0;
display: flex;
justify-content: flex-end;
gap: 10px;
z-index: 3;
}
button.etc-arrow {
appearance: none;
padding: 0px;
width: 42px;
height: 42px;
border-radius: 50%;
border: 1px solid var(--etc-line);
background: #fff;
color: #1f1f1f;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
button.etc-arrow svg{width: 24px;
height: 24px;
flex-shrink: 0;fill:#AFAFAF;
}
button.etc-arrow:hover svg, button.etc-arrow:focus svg{
fill: #fff;
}
button.etc-arrow:focus {
border-color:var(--e-global-color-secondary);
}
button.etc-arrow:hover {
background: var(--e-global-color-primary);
border-color: var(--e-global-color-primary);
color: #fff;
}
.etc-arrow[disabled] {
opacity: 0.35;
cursor: default;
}
.etc-arrow[disabled]:hover {
background: #fff;
color: #1f1f1f;
border-color: var(--etc-line);
} .etc-node__head:focus-visible,
.etc-node:focus-visible,
.etc-arrow:focus-visible {
outline: 2px solid var(--etc-accent);
outline-offset: 2px;
} @media (max-width: 767px) {
.etc-node.is-active .etc-node__year {
font-size: 38px;
}
.etc-node__subtitle {
font-size: 12px;
}
}