/* HTML5 display-role reset for older browsers */

.timeline-container {
    position: relative;
    background-color: rgb(248, 248, 248);
    height: 140px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 35px 0px 0px 0px;
}

.timeline-nav {
    position: absolute;
    top: 60px;
    bottom: auto;
    border: 2px solid rgb(223, 223, 223);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
}

.timeline-nav:hover {
    color: rgb(91, 97, 107);
    border: 2px solid rgb(91, 97, 107);
    cursor: pointer;
}

.nav-future {
    right: 10px;
}

.nav-past {
    left: 10px;
}

.timeline-nav.inactive:hover {
    color: rgb(223, 223, 223);
    border: 2px solid rgb(223, 223, 223);
    cursor: not-allowed;
}

#timelineWrapper {
    position: relative;
    height: 100%;
    margin: 0 50px;
    overflow: hidden;
}

#timelineWrapper::before,
#timelineWrapper::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    height: 100%;
    width: 20px;
}

#timelineWrapper::before {
    left: 0;
    background-image: -webkit-linear-gradient( left, rgb(248, 248, 248), rgba(214, 215, 217, 0));
    background-image: linear-gradient(to right, rgb(248, 248, 248), rgba(214, 215, 217, 0));
}

#timelineWrapper::after {
    right: 0;
    background-image: -webkit-linear-gradient( right, rgb(248, 248, 248), rgba(214, 215, 217, 0));
    background-image: linear-gradient(to left, rgb(248, 248, 248), rgba(214, 215, 217, 0));
}

.timeline-list {
    list-style: none;
}

#timeline {
    position: absolute;
    z-index: 1;
    top: 69px;
    min-width: 900px;
    height: 2px;
    background-color: rgb(91, 97, 107);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.event-marker {
    position: absolute;
    top: -6px;
    width: 10px;
    height: 10px;
    background-color: rgb(255, 255, 255);
    border: 2px solid rgba(51, 51, 51, .5);
    border-radius: 50%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.event-marker.selected {
    transform: scale(1.2);
    background-color: rgb(205, 32, 38);
    border: 2px solid rgb(205, 32, 38);
}

.event-marker:hover {
    transform: scale(1.2);
    background-color: rgb(205, 32, 38);
    border: 2px solid rgb(205, 32, 38);
}

.event-date {
    position: relative;
    bottom: 25px;
    width: 30px;
}

.timeline-tick {
    position: absolute;
    bottom: 0;
    width: 2px;
    height: 20px;
    background-color: rgb(91, 97, 107);
}

.tick-label {
    position: absolute;
    bottom: 35px;
    font-family: 'Open Sans', sans-serif;
    font-size: 9pt;
    font-weight: bold;
}

.selected-event {
    font-family: 'Lusitana', serif;
    font-size: 16px;
    color: rgb(51, 51, 51, .9);
}

.event-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 300;
    padding-top: 15px;
    line-height: 25px;
    color: rgba(18, 46, 81, .8);
}

.event-notes {
    margin-top: 7px;
}

