.slidertimeline {
    height: 450px !important;
    overflow: hidden;
    position: relative;
}

.slidertimeline .container {
    padding: 25px 0;
    max-width: 1110px;
}

.slidertimeline a {
    color: #BABABA;
    text-decoration: none;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    -ms-transition: 0.5s;
    transition: 0.5s;
    font-family: "Montserrat",sans-serif
}

.slidertimeline a:hover,.slidertimeline a.selected {
    color: var(--main-color)
}

.slidertimeline h1,.slidertimeline h2,.slidertimeline h4,.slidertimeline h5,.slidertimeline h6 {
    color: #000;
    margin-bottom: 5px;
    font-family: "Montserrat",sans-serif
}

.slidertimeline h1 {
    font-size: 18px
}

.slidertimeline h2 {
    font-size: 14px
}

.slidertimeline .sociales {
    margin-bottom: 20px
}

#timeline {
    width: 100%;
    height: 400px;
    margin: 0px auto;
    position: relative;
    background: url("../../images/dot.png") calc(100% - 73px) top repeat-y;
    position: relative;
    overflow: hidden;
}

#timeline::after,#timeline::before {
    content: "";
    position: absolute;
    right: 0;
    width: 100px;
    height: 69px;
}

#timeline::after {
    bottom: -25px
}

#timeline::before {
    top: -25px
}

#dates {
    width: 80px;
    height: 300px;
    float: left
}

#dates li {
    list-style: none;
    width: 100px;
    height: 30px;
    font-size: 14px;
    padding-left: 10px;
    background: url("../../images/biggerdot.png") left center no-repeat
}

#dates li:has(a.selected) {
    background: url("../../images/biggerdot.selected.png") left center no-repeat
}

#dates a {
    line-height: 28px;
    padding-bottom: 10px
}

#dates .selected {
    font-size: 18px
}

#issues {
    width: calc(100% - 80px);
    height: 400px;
    float: left
}

#issues .img {
    width: 100%;
    height: 100%;
    float: left
}

.history-box {
    height: 300px;
    margin-left: -30%;
    background-color: #f8f9fa;
    margin-top: 50px;
    border-radius: 15px;
    padding: 1.9rem;
    display: flex;
    flex-direction: column;
}

/*#issues .year {
    position: absolute;
    top: 50%;
    left: 48%;
    transform: translate(-50%, -50%);
}*/

#issues .text {
    margin-top: 10px;
}

#issues li {
    width: 100%;
    height: 400px;
    list-style: none;
    position: relative
}

#issues li:last-child {
    height: 400px;
    transform: translateY(0%)
}

#issues li.selected img {
    -webkit-transform: scale(1.1, 1.1) translate(-100%, -50%);
    -moz-transform: scale(1.1, 1.1) translate(-100%, -50%);
    -o-transform: scale(1.1, 1.1) translate(-100%, -50%);
    -ms-transform: scale(1.1, 1.1) translate(-100%, -50%);
    transform: scale(1, 1) translate(-100%, -50%);
    opacity: 1
}

#issues li img {
    border-radius: 15px;
    float: left;
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)";
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);
    zoom:1;-webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    -webkit-transform: scale(1, 1) translate(-100%, -50%);
    -moz-transform: scale(1, 1) translate(-100%, -50%);
    -o-transform: scale(1, 1) translate(-100%, -50%);
    -ms-transform: scale(1, 1) translate(-100%, -50%);
    transform: scale(1, 1) translate(-100%, -50%);
    position: relative;
    top: 50%;
    left: 100%;
    opacity: 0;
    width: 100%;
    height: auto
}

#issues li.selected h1 {
    opacity: 1
}

#issues li h1 {
    color: var(--main-color);
    font-size: 100px;
    line-height: 60px;
    font-weight: 600;
    opacity: 0;
    font-size: 60px;
    letter-spacing: 0;
    font-family: Nll;
    /*writing-mode: vertical-rl;
    text-orientation: upright;*/
}

#issues li p {
    font-weight: 600;
    line-height: 22px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Montserrat",sans-serif;
    font-size: 17px;
    color: var(--second-color)
}

#grad_top,#grad_bottom {
    width: 100%;
    height: 40px;
    position: absolute
}

#grad_top {
    top: 0;
    background: url("../../images/grad_top.png") repeat-x
}

#grad_bottom {
    bottom: 0;
    background: url("../../images/grad_bottom.png") repeat-x
}

#next,#prev {
    position: absolute;
    left: 85%;
    font-size: 70px;
    width: 25px;
    height: 30px;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 1;
    background-image: url("../../images/icons/arrow_top.svg")
}

#next:hover,#prev:hover {
    opacity: 0.5
}

#next {
    bottom: 10px
}

#prev {
    transform: rotate(180deg);
    top: 0px
}

#next.disabled,#prev.disabled {
    opacity: 0.2
}

@media screen and (max-width: 992px) {
    .slidertimeline{
        height: 600px !important;
        overflow: visible !important;
    }

    #timeline{
        height: 600px !important;
        background: none;
    }

    #issues {
        width: 100%;
        padding: 0 20px;
    }

    #issues .img {
        height: 250px;
    }

    #issues .img img {
        height: 100%;
        background-color: #f8f9fa;
    }

    .history-box {
        margin: 0 !important;
        text-align: center;
    }

    #dates {
        display: none;
    }

    #next, #prev {
        bottom: 50px;
        top: unset !important;
    }
    #prev {
        left: calc(50% - 20px);
    }
    #next {
        left: calc(50% + 20px);
    }
}