/*common css*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}
a {
    text-decoration: none;
    cursor: pointer;
}
#timeSlider {
    position: relative;
    width: 100vw;
    height: calc(100vh - 130px);
}
#timeSlider .sliderWrapper {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
#timeSlider .slideBox {
    font-size: 0;
    white-space: nowrap;
    height: 100%;
    /* transition: transform 0.8s; */
}
#timeSlider .slideBox li {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
#timeSlider .slideBox li:nth-child(4n - 3) {
    background-image: url(../img/bg-a.png);
}
#timeSlider .slideBox li:nth-child(4n - 2) {
    background-image: url(../img/bg-b.png);
}
#timeSlider .slideBox li:nth-child(4n - 1) {
    background-image: url(../img/bg-c.png);
}
#timeSlider .slideBox li:nth-child(4n) {
    background-image: url(../img/bg-d.png);
}
#timeSlider .slideBtn-left,
#timeSlider .slideBtn-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 7vw;
    max-width: 8.4em;
    min-width: 5em;
}
#timeSlider .slideBtn-left img,
#timeSlider .slideBtn-right img {
    width: 100%;
}
#timeSlider .slideBtn-left {
    left: 4%;
}
#timeSlider .slideBtn-right {
    right: 4%;
}
#timeSlider .slideTimeline {
    position: absolute;
    bottom: 15em;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}
#timeSlider .slideTimeline li {
    width: 15px;
    height: 15px;
    border-radius: 15px;
    margin: 0 5px;
    cursor: pointer;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: width 0.3s;
}
#timeSlider .slideTimeline li.slidePlay {
    width: 45px;
}
#timeSlider .slideTimeline li:hover {
    background: #ccc;
}
#timeSlider .slideTimeline li .timeRunner {
    width: 0%;
    height: 100%;
    background: #fff;
}
#timeSlider .slideTimeline li .timeRunner.run {
    width: 100%;
}
#timeSlider .slideTimeline .controlBtn {
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    transform: translate(140%, -50%);
    color: #fff;
    font-weight: 700;
    font-size: 2.2rem;
    cursor: pointer;
    text-align: center;
    line-height: 0.8em;
}
#timeSlider #state-play .controlBtn::after {
    content: "II";
}
#timeSlider #state-pause .controlBtn::after {
    content: "Ēš";
}