/*
    Based on: https://jamespautz.com/vertical-css-timeline
    ---------------------------------------------------------------------
*/


h2,
h3,
h4,
h5 { margin-top: 5px; margin-bottom: 5px; line-height: 1; }

ul#timeline-menu { height: 50px; text-align: center; }
    ul#timeline-menu li { position: relative; float: left; list-style: none; margin: 0px; padding: 0px; }


section#timeline { padding-right: 5px; padding-left: 5px; margin-right: auto; margin-left: auto; }
    section#timeline article { padding: 10px 0 0 5px; margin: 0 0 0 15px; position: relative; border-left: 2px solid #666; }
    section#timeline > article > div.panel { padding: 10px; margin: 0; border-style: none; }
        /*section#timeline > article > div.panel:before { content: ''; position: absolute; top: 40px; left: 0px; width: 50px; height: 2px; background: #666; }*/
        section#timeline > article > div.panel:last-child:after { display: none; }

        section#timeline > article > div.panel div.badge { display: inline-block; padding: 3px 7px; font-size: 12px; line-height: 1; color: #FFF; text-align: center; white-space: nowrap; vertical-align: middle; background-color: #777; border-radius: 0; }
            section#timeline > article > div.panel div.badge:last-child { margin-left: -30px; }

    section#timeline div[class*="group"] { width: 75px; min-width: 50px; max-width: 50px; padding: 0px; margin-top: 20px; font-weight: bold; text-align: center; display: block; border-bottom: 2px solid #666; font-size: 1.6em; line-height: 1.5; right: 1.5px; }
