

/*==================================
    TIMELINE
==================================*/

/*-- GENERAL STYLES
------------------------------*/

.timeline
{
    line-height: 1.4em;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/*----- TIMELINE ITEM -----*/

.timeline-item
{
    padding-left: 30px;
    position: relative;
    padding-bottom: 15px;
}

.timeline-item:last-child
{
    padding-bottom: 0;
}

/*----- TIMELINE MARKER -----*/

.timeline-marker
{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0;
    width: 15px;
    z-index: 1;
}


.timeline-marker_sub
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15px;
    z-index: 1;
}

.timeline-marker:before
{
    background: #c04e16;
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    display: block;
    height: 15px;
    position: absolute;
    top: 0px;
    left: 0;
    width: 15px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
}

.timeline-marker_sub:before
{
    background: #fff;
    border: 3px solid #c04e16;
    border-radius: 100%;
    content: "";
    display: block;
    height: 12px;
    position: absolute;
    top: 0px;
    left: 1.5px;
    width: 12px;
    transition: background 0.3s ease-in-out, border 0.3s ease-in-out;
    z-index: 11;
}

.timeline-marker:after
{
    content: "";
    width: 3px;
    background: #c04e16;
    display: block;
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 6px;
    z-index: 1;
}

.timeline-marker_sub:after
{
    content: "";
    width: 3px;
    background: #c04e16;
    display: block;
    position: absolute;
    top: 2px;
    bottom: 0;
    left: 6px;
    z-index: 1;
}

.timeline-item:last-child .timeline-marker:after
{
    content: none;
}

.timeline-item:not(.period):hover .timeline-marker:before
{
    background: #fff;
    border: 3px solid #c04e16;
    z-index: 10;
}

/*----- TIMELINE CONTENT -----*/

.timeline-content
{
    padding-bottom: 0px;
}

.timeline-content_sub
{
    padding-bottom: 1px;
}

.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 #CCD5DB;
    border-bottom: 3px solid #CCD5DB;
}

.period .timeline-marker:after
{
    content: "";
    height: 32px;
    top: auto;
}

.period .timeline-content
{
    padding: 40px 0 70px;
}

.period .timeline-title
{
    margin: 0;
}

/*----------------------------------------------
    MOD: TIMELINE SPLIT
----------------------------------------------*/

@media (min-width: 768px)
{
    .timeline-split .timeline, .timeline-centered .timeline
    {
        display: table;
    }
    .timeline-split .timeline-item, .timeline-centered .timeline-item
    {
        display: table-row;
        padding: 0;
    }
    .timeline-split .timeline-info, .timeline-centered .timeline-info,
  .timeline-split .timeline-marker,
  .timeline-centered .timeline-marker,
  .timeline-split .timeline-content,
  .timeline-centered .timeline-content,
  .timeline-split .period .timeline-info,
  .timeline-centered .period .timeline-info
    {
        display: table-cell;
        vertical-align: top;
    }
    .timeline-split .timeline-marker, .timeline-centered .timeline-marker
    {
        position: relative;
    }
    .timeline-split .timeline-content, .timeline-centered .timeline-content
    {
        padding-left: 30px;
    }
    .timeline-split .timeline-info, .timeline-centered .timeline-info
    {
        padding-right: 30px;
    }
    .timeline-split .period .timeline-title, .timeline-centered .period .timeline-title
    {
        position: relative;
        left: -45px;
    }
}

/*----------------------------------------------
    MOD: TIMELINE CENTERED
----------------------------------------------*/

@media (min-width: 992px)
{
    .timeline-centered,
  .timeline-centered .timeline-item,
  .timeline-centered .timeline-info,
  .timeline-centered .timeline-marker,
  .timeline-centered .timeline-content
    {
        display: block;
        margin: 0;
        padding: 0;
    }
    .timeline-centered .timeline-item
    {
        padding-bottom: 40px;
        overflow: hidden;
    }
    .timeline-centered .timeline-marker
    {
        position: absolute;
        left: 50%;
        margin-left: -7.5px;
    }
    .timeline-centered .timeline-info,
  .timeline-centered .timeline-content
    {
        width: 50%;
    }
    .timeline-centered > .timeline-item:nth-child(odd) .timeline-info
    {
        float: left;
        text-align: right;
        padding-right: 30px;
    }
    .timeline-centered > .timeline-item:nth-child(odd) .timeline-content
    {
        float: right;
        text-align: left;
        padding-left: 30px;
    }
    .timeline-centered > .timeline-item:nth-child(even) .timeline-info
    {
        float: right;
        text-align: left;
        padding-left: 30px;
    }
    .timeline-centered > .timeline-item:nth-child(even) .timeline-content
    {
        float: left;
        text-align: right;
        padding-right: 30px;
    }
    .timeline-centered > .timeline-item.period .timeline-content
    {
        float: none;
        padding: 0;
        width: 100%;
        text-align: center;
    }
    .timeline-centered .timeline-item.period
    {
        padding: 50px 0 90px;
    }
    .timeline-centered .period .timeline-marker:after
    {
        height: 30px;
        bottom: 0;
        top: auto;
    }
    .timeline-centered .period .timeline-title
    {
        left: auto;
    }
}

/*----------------------------------------------
    MOD: MARKER OUTLINE
----------------------------------------------*/

.marker-outline .timeline-marker:before
{
    background: transparent;
    border-color: #000;
}

.marker-outline .timeline-item:hover .timeline-marker:before
{
    background: #FF6B6B;
}

