.container {
height: 100%;
background-color: #ECEFF1;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.title {
font-size: 38px;
color: #fff;
font-weight: 300;
}
.timeline {
width: 100%;
position: relative;
}
.timeline-nav__item {
width: auto;
height: auto;
text-align: center;
opacity: 0.5;
background: transparent;
color: #afc9f6;
margin: 15px 25px !important;
position: relative;
font-size: 20px;
line-height: 28px;
font-weight: 500;
outline: none;
cursor: pointer;
}
.timeline-nav__item::before {
position: absolute;
top: 30px;
left: 50%;
transform: translateX(-50%);
width: 10px;
height: 10px;
border-radius: 100%;
background-color: #afc9f6;
transition: 0.2s;
}
.timeline-nav__item.slick-current {
color: #367EC4;
opacity: 1;
}
.timeline-slider {
height: 100%;
}
.timeline .slick-list {
height: 100%;
}
@media (min-width: 1080px) {
.timeline .slick-list {
padding: 0 180px !important;
}
}
.timeline .slick-track {
height: 484px;
}
.timeline-slide {
position: relative;
overflow: hidden;
background-repeat: no-repeat;
outline: none;
background-position: top;
margin: 0 24px;
width: 80%;
z-index: 1;
}
.timeline-slide:after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #ECEFF1d6;
z-index: 2;
}
.timeline-slide__content {
z-index: 5;
position: absolute;
bottom: 0px;
background: #367EC4;
width: 55%;
left: 50%;
transform: translate(-50%, 0px);
padding: 15px 100px;
opacity: 0;
transition: opacity 1s;
}
@media (max-width: 500px) {
.timeline-slide__content {
width: 100%;
}
}
.timeline-year {
z-index: 5;
font-size: 35px;
color: #ffffff;
background: #367EC4;
padding: 15px 26px;
transition: opacity 1.2s;
position: absolute;
right: 0;
opacity: 0;
}
.timeline-title {
color: #367EC4;
font-size: 26px;
line-height: 30px;
font-weight: 400;
}
.timeline-text {
display: flex;
align-items: baseline;
margin-top: 8px;
color: #FFFFFF;
justify-content: center;
margin-bottom: 8px;
}
.timeline .slick-current:after {
background-color: rgba(0, 52, 113, 0);
}
.timeline .slick-current .timeline-year {
opacity: 1;
}
.timeline .slick-current .timeline-slide__content {
opacity: 1;
}
.timeline-slide {
width: 800px !important;
} @media only screen and (min-width: 1360px) { .timeline-wrapper {
position: relative;
width: 100%;
height: 580px;
margin: 40px auto 0px auto;
}
}
@media only screen and (max-width: 1359px) { .timeline-wrapper {
position: relative;
width: 100%;
height: 560px;
margin: 20px auto 0px auto;
}
}
.timeline-nav__item{
border-bottom: solid 10px;
text-align: initial;
padding-bottom: 5px;
}
.slick-initialized .slick-slide {
background-position-y: calc(100% - 40px);
}
.span-number {
font-size: 40px;
line-height: 40px;
font-weight: 500;
color: #FFF;
}
.span-text {
font-size: 20px;
line-height: 40px;
font-weight: 400;
color: #FFF;
text-align: right;
}