/*================================
=             Story              =
================================*/
.storysec {
    list-style: none;
    padding-left: 0px;
    margin-bottom: 0px;    
}
/*==================================
    TIMELINE
==================================*/
/*-- GENERAL STYLES
------------------------------*/
/*----- TIMELINE ITEM -----*/
.timeline-item {
    padding-left: 40px;
    position: relative;
    list-style: none;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
/*----- TIMELINE INFO -----*/
.timeline-info {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 0.5em 0;
    text-transform: uppercase;
    white-space: nowrap;
}
/*----- TIMELINE MARKER -----*/
.timeline-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
}
.timeline-marker:before {
    background: var(--brandcolor);
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 4px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}
.timeline-marker:after {
    content: "";
    width: 3px;
    background: var(--bs-border-color);
    display: block;
    position: absolute;
    top: 24px;
    bottom: 0;
    left: 6px;
}
.timeline-item:last-child .timeline-marker:after {
    /*content: none;*/
}
.timeline-item:not(.period):hover .timeline-marker:before {
    background: transparent;
    border: 3px solid var(--brandcolor);
}
.timeline-item:first-child .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    border-top: none;
    /*border-bottom: 3px solid var(--bs-border-color);*/
}
.period:first-child .timeline-content {
    padding: 0px 0 40px;
}
/*----- TIMELINE CONTENT -----*/
.timeline-content {
    padding-bottom: 40px;
}
.timeline-content .timeline-title {
    font-size: 18px;
}
/*.timeline-content p {
    text-align: justify;
}*/
.timeline-content p:last-child {
    margin-bottom: 0;
}
/*----- TIMELINE PERIOD -----*/
.period {
    padding: 0;
}
.period .timeline-info {
    display: none;
}
.period .timeline-marker:before {
    background: transparent;
    content: "";
    width: 15px;
    height: auto;
    border: none;
    border-radius: 0;
    top: 0;
    bottom: 30px;
    position: absolute;
    /*border-top: 3px solid var(--bs-border-color);
    border-bottom: 3px solid var(--bs-border-color);*/
}
.period .timeline-marker:after {
    content: "";
    height: 32px;
    top: auto;
}
.period .timeline-content {
    padding: 10px 0 40px;
}
.period .timeline-title {
    margin: 0;
    padding: 1px 10px;
    display: inline-block;
    border: 2px solid var(--brandcolor);
    border-radius: 25px;
    background-color: var(--bs-border-color);
}
.timeline:last-child .timeline-item:last-child .timeline-marker:after {
    content: none;
}
@media (max-width: 991px) {
    .timeline {
        padding-left: 0px;
        padding-right: 10px;
    }
}
/*===== End of Story ======*/

