﻿.timeline
{
    height: 50px;
    width: 150px;
    background-color: #CCE2F1;
    color: #006FBA;
    display: inline-block; /*margin-top: 20px;*/
    margin-right: 55px;
    position: relative;
    cursor: default;
}

.timeline:hover .timelinedetail
{
    display: block;
}

.timelinelabel
{
    position: relative;
    top: 16px;
    font-size: 1.5em;
    font-weight: bold;
}

.timelinedetail:before
{
    position: absolute;
    content: ' ';
    bottom: -20px;
    left: 40px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #CCE2F1;
}

.timelinedetail
{
    display: none;
    position: absolute;
    bottom: 75px;
    left: -30px;
    background-color: #CCE2F1;
    color: #006FBA;
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    width: 360px;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    padding: 15px;
    padding-top: 5px;
    line-height: 1.5em;
}

.timelinedetail div
{
    padding: 5px;
}

.timelinedetail table
{
    background-color: white;
    width: 360px;
    padding: 5px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.timelinedetail table tr:last-child
{
    white-space: nowrap;
}

.slantbefore:before
{
    display: block;
    content: " ";
    width: 100px;
    height: 50px;
    top: 0px;
    background-color: #CCE2F1;
    position: absolute;
    left: -25px;
    z-index: -1;
    transform: skewX(-45deg);
    -ms-transform: skewX(-45deg);
    -webkit-transform: skewX(-45deg);
}

.slantafter:after
{
    display: block;
    content: " ";
    width: 100px;
    height: 50px;
    top: 0px;
    background-color: #CCE2F1;
    position: absolute;
    right: -25px;
    z-index: -1;
    transform: skewX(-45deg);
    -ms-transform: skewX(-45deg);
    -webkit-transform: skewX(-45deg);
}

.left:before
{
    display: block;
    content: " ";
    width: 40px;
    height: 50px;
    top: 0px;
    background-color: #CCE2F1;
    position: absolute;
    left: -30px;
    z-index: -1;
    -webkit-border-top-left-radius: 25px;
    -webkit-border-bottom-left-radius: 25px;
    -moz-border-radius-topleft: 25px;
    -moz-border-radius-bottomleft: 25px;
    border-top-left-radius: 25px;
    border-bottom-left-radius: 25px;
}

.right:after
{
    display: block;
    content: " ";
    width: 40px;
    height: 50px;
    top: 0px;
    background-color: #CCE2F1;
    position: absolute;
    right: -30px;
    z-index: -1;
    -webkit-border-top-right-radius: 25px;
    -webkit-border-bottom-right-radius: 25px;
    -moz-border-radius-topright: 25px;
    -moz-border-radius-bottomright: 25px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

.present, .present:before, .present:after, .present .timelinedetail
{
    background-color: #80B7DD;
    color: white;
}

.present .timelinedetail:before
{
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #80B7DD;
}

.complete, .complete:before, .complete:after, .complete .timelinedetail
{
    background-color: #006FBA;
    color: white;
}

.complete .timelinedetail:before
{
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #006FBA;
}

.instruction
{
    text-align: center;
    font-weight: bold;
}