/*-------- Type- 08 ------*/

.frst-timeline-style-8
{
    color: #1D1D1B;
}

.frst-timeline-style-8 .frst-timeline-block::before
{
    width: 5px;
    /*background: rgba(0, 0, 0, 0);*/
    margin-left: -2px;
    /*background: rgba(12, 12, 12, 0.8);*/
    background: #F3D436;
    top: 12px;
}

.frst-timeline-style-8.frst-right-align .frst-timeline-block::before
{
    margin-right: -2px;
}

.frst-timeline-block
{
    padding-bottom: 30px;
    padding-left: 45px;
    padding-right: 45px;
}

.frst-timeline-style-8 .frst-timeline-img
{
    padding: 0;
    margin-left: -21px;
    top: 6px;
    /*--- Box shadow value --*/
    width: 42px;
    height: 42px;
    color: #1D1D1B;
    text-align: center;
    font-size: 24px;
}

.frst-timeline-style-8 .frst-timeline-img span
{
    display: inline-block;
    margin: auto;
    padding: 6px;
    height: 50%;
    width: 50%;
    background: #F3D436;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    vertical-align: top;
    border: 3px solid #F3D436;
    box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.5);
    -webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.5);
    vertical-align: middle;
}

.frst-timeline-style-8 .frst-timeline-img i
{
    display: block;
}

.frst-timeline-style-8.frst-right-align .frst-timeline-img
{
    margin-right: -21px;
}

.frst-timeline-style-8 .frst-timeline-content
{
    color: #777;
    /*background: white;*/
}

.frst-timeline-style-8 .frst-date
{
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.7);
}

.frst-timeline-style-8 h2
{
    margin: 0 0 5px;
    /*font-weight: 800;*/
    color: #444;
    font-size: 24px;
}

.frst-date-opposite.frst-timeline-style-8 h2
{
}

.frst-timeline-style-8 p
{
    margin: 0;
}

.frst-timeline-style-8 .frst-timeline-label-block
{
    padding-top: 0;
}

.frst-timeline-style-8 .frst-labels span
{
    position: relative;
    background: #F3D436;
    color: #1D1D1B;
    font-weight: 800;
    padding: 8px 30px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
    box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.5);
    -webkit-box-shadow: 3px 3px 5px 0 rgba(0,0,0,0.5);
}

.frst-timeline-style-8.frst-right-align .frst-labels span
{
    left: auto;
    right: -47px;
}

.frst-timeline-style-8.frst-left-align .frst-labels span
{
    right: auto;
    left: -47px;
}


/*--------- news-------*/

.frst-timeline-style-8 .frst-timeline-content-inner
{
    border: 2px solid #616160;
    padding: 30px;
    position: relative;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #FFFFFF;
}

.frst-timeline-style-8 .frst-timeline-content-inner .media-section
{
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    margin-bottom: 20px;
}

.frst-timeline-style-8 .frst-timeline-content-inner .media-section iframe
{
    max-width: 100%;
}

.frst-timeline-style-8 .frst-timeline-content-inner::before, .frst-timeline-style-8 .frst-timeline-content-inner::after
{
    content: "";
    border-style: solid;
    border-color: transparent;
    position: absolute;
}

.frst-timeline-style-8 .frst-timeline-content-inner::before
{
    border-width: 10px 11px 10px 0;
    border-right-color: #616160;
    left: -11px;
    top: 10px;
}

.frst-timeline-style-8 .frst-timeline-content-inner::after
{
    border-width: 8px 9px 8px 0;
    border-right-color: #fff;
    left: -9px;
    top: 12px;
}

.frst-timeline-style-8.frst-right-align .frst-timeline-content-inner::before
{
    border-width: 10px 0 10px 11px;
    border-left-color: #616160;
    left: auto;
    right: -11px;
}

.frst-timeline-style-8.frst-right-align .frst-timeline-content-inner::after
{
    border-width: 8px 0 8px 9px;
    border-left-color: #fff;
    right: -8px;
    left: auto;
}


/*---------- Responsive part ------------*/

@media only screen and (min-width:679px)
{
    .frst-date-opposite
    {
        margin-left: 203px;
    }

    .frst-left-align.frst-date-opposite
    {
        margin-left: 203px;
    }

    .frst-right-align.frst-date-opposite
    {
        margin-right: 203px;
        margin-left: 0;
    }

    .frst-timeline-style-8.frst-alternate .frst-timeline-content, .frst-timeline-style-8.frst-date-opposite .frst-timeline-content
    {
        width: calc(50% - 44px);
    }

    .frst-timeline-style-8.frst-date-opposite .frst-date
    {
        left: -248px;
        line-height: 32px;
        width: 160px;
    }

    .frst-timeline-style-8.frst-date-opposite.frst-right-align .frst-date, .frst-timeline-style-8.frst-date-opposite.frst-alternate .frst-timeline-block.frst-odd-item .frst-date
    {
        right: -248px;
        left: auto;
        text-align: left;
    }

    .frst-timeline-style-8.frst-right-align .frst-date
    {
        left: auto;
        right: 0;
    }
    /*--------- news-------*/
    .frst-timeline-style-8.frst-alternate .frst-odd-item .frst-timeline-content-inner::before
    {
        border-width: 10px 0 10px 11px;
        border-left-color: #616160;
        left: auto;
        right: -11px;
    }

    .frst-timeline-style-8.frst-alternate .frst-odd-item .frst-timeline-content-inner::after
    {
        border-width: 8px 0 8px 9px;
        border-left-color: #fff;
        right: -8px;
        left: auto;
    }
}

@media only screen and (max-width:678px)
{
    .frst-timeline-style-8.frst-responsive-right .frst-labels span
    {
        left: auto;
        right: -47px;
    }

    .frst-timeline-style-8.frst-responsive-right .frst-timeline-block::before
    {
        margin-right: -2px;
    }

    .frst-timeline-style-8.frst-responsive-right .frst-timeline-img
    {
        margin-right: -21px;
    }
    /*--------- news-------*/
    .frst-timeline-style-8.frst-responsive-right .frst-timeline-content-inner::before
    {
        border-width: 10px 0 10px 11px;
        border-left-color: #616160;
        left: auto;
        right: -11px;
    }

    .frst-timeline-style-8.frst-responsive-right .frst-timeline-content-inner::after
    {
        border-width: 8px 0 8px 9px;
        border-left-color: #fff;
        right: -8px;
        left: auto;
    }
}
