/*https://codepen.io/mathiesjanssen/pen/ggeBKm*/

div.item {
    display: flex;
    flex: auto;
    overflow-y: auto;
    padding: 0 1rem;
}

#timeline {
    position: relative;
    display: table;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
}
#timeline div:after {
    content: "";
    width: 2px;
    position: absolute;
    top: 0.5rem;
    bottom: 0;
    left: 60px;
    z-index: 1;
    background: #c5c5c5;
}
#timeline h3 {
    position: -webkit-sticky;
    position: sticky;
    top: 5rem;
    color: #888;
    margin: 0;
    font-size: 1em;
    font-weight: 400;
}
@media(min-width: 62em) {
    #timeline h3 {
        font-size: 1.1em;
    }
}
#timeline section.year {
    position: relative;
}
#timeline section.year:first-child section {
    margin-top: -1.3em;
    padding-bottom: 0;
}
#timeline section.year section {
    position: relative;
    padding-bottom: 1.25em;
    margin-bottom: 2.2em;
}
#timeline section.year section h4 {
    position: absolute;
    bottom: 0;
    font-size: 0.9em;
    font-weight: 400;
    line-height: 1.2em;
    margin: 0;
    padding: 0 0 0 89px;
    color: #c5c5c5;
}
@media(min-width: 62em) {
    #timeline section.year section h4 {
        font-size: 1em;
    }
}
#timeline section.year section ul {
    list-style-type: none;
    padding: 0 0 0 75px;
    margin: -1.35rem 0 1em;
    max-width: 32rem;
    font-size: 1em;
}
@media(min-width: 62em) {
    #timeline section.year section ul {
        font-size: 1.1em;
        padding: 0 0 0 81px;
    }
}
#timeline section.year section ul:last-child {
    margin-bottom: 0;
}
#timeline section.year section ul:first-of-type:after {
    content: "";
    width: 15px;
    height: 15px;
    background: #c5c5c5;
    border: 2px solid #ffffff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
    position: absolute;
    left: 54px;
    top: 3px;
    z-index: 2;
}
#timeline section.year section ul li {
    margin-left: 0.5rem;
}
#timeline section.year section ul li:before {
    content: "·";
    margin-left: -0.5rem;
    padding-right: 0.3rem;
}
#timeline section.year section ul li:not(:first-child) {
    margin-top: 0.5rem;
}
#timeline section.year section ul li span.price {
    color: mediumturquoise;
    font-weight: 500;
}

#price {
    display: inline;
}

svg {
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}
