/*-------- Type- 01 ------*/

.frst-timeline-style-8 {
    color: #000;
}

.frst-timeline-style-8 .frst-timeline-block::before {
    width: 3px;
    background: rgba(0, 0, 0, 0);
    margin-left: -2px;
    background: rgba(12, 12, 12, 0.8);
    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: #fff;
    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: #202020;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    vertical-align: top;
    border: 3px solid #202020;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 0 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: #9c9c9c;
}

.frst-timeline-style-8 h2 {
    margin: 0 0 5px;
    font-weight: 800;
    color: #444;
    font-size: 18px;
}

.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;
}

/* Start Color Combinations */

/* Blue Color */
.timeline-theme--blue.frst-timeline-style-8 .frst-labels span {
    background: #2B3991;
}
.timeline-theme--blue.frst-timeline-style-8 .frst-timeline-img span {
    background: #2B3991;
    border-color: #2B3991;
}
.timeline-theme--blue.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(43, 57, 145, 0.8);
}

/* Green Color */
.timeline-theme--green.frst-timeline-style-8 .frst-labels span {
    background: #1ABC9C;
}
.timeline-theme--green.frst-timeline-style-8 .frst-timeline-img span {
    background: #1ABC9C;
    border-color: #1ABC9C;
}
.timeline-theme--green.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(26, 188, 156, 0.8);
}

/* Purple Color */
.timeline-theme--purple.frst-timeline-style-8 .frst-labels span {
    background: #706fd3;
}
.timeline-theme--purple.frst-timeline-style-8 .frst-timeline-img span {
    background: #706fd3;
    border-color: #706fd3;
}
.timeline-theme--purple.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(112, 111, 211, 0.8);
}

/* Cyan Color */
.timeline-theme--cyan.frst-timeline-style-8 .frst-labels span {
    background: #34ace0;
}
.timeline-theme--cyan.frst-timeline-style-8 .frst-timeline-img span {
    background: #34ace0;
    border-color: #34ace0;
}
.timeline-theme--cyan.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(52, 172, 224, 0.8);
}

/* Black Color */
.timeline-theme--black.frst-timeline-style-8 .frst-labels span {
    background: #000000;
}
.timeline-theme--black.frst-timeline-style-8 .frst-timeline-img span {
    background: #000000;
    border-color: #000000;
}
.timeline-theme--black.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(0, 0, 0, 0.8);
}

/* Red Color */
.timeline-theme--red.frst-timeline-style-8 .frst-labels span {
    background: #ff6348;
}
.timeline-theme--red.frst-timeline-style-8 .frst-timeline-img span {
    background: #ff6348;
    border-color: #ff6348;
}
.timeline-theme--red.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(255, 99, 72, 0.8);
}

/* Orange Color */
.timeline-theme--orange.frst-timeline-style-8 .frst-labels span {
    background: #fa8231;
}
.timeline-theme--orange.frst-timeline-style-8 .frst-timeline-img span {
    background: #fa8231;
    border-color: #fa8231;
}
.timeline-theme--orange.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(250, 130, 49, 0.8);
}

/* Gradient Color */
.timeline-theme--gradient.frst-timeline-style-8 .frst-labels span {
    background: #2C3E50;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4CA1AF, #2C3E50); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.timeline-theme--gradient.frst-timeline-style-8 .frst-timeline-img span {
    background: #2C3E50;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4CA1AF, #2C3E50);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4CA1AF, #2C3E50); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    border-color: #4CA1AF;
}
.timeline-theme--gradient.frst-timeline-style-8 .frst-timeline-block::before {
    background: rgb(76, 161, 175, 0.8);
}

/* End Color Combinations */

.frst-timeline-style-8 .frst-labels span {
    position: relative;
    background: #202020;
    color: #fff;
    font-weight: 800;
    padding: 8px 30px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

.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 #d8d8d8;
    padding: 30px;
    position: relative;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.frst-timeline-style-8 .frst-timeline-content-inner .media-section {
    width: 100%;
    max-height: 350px;
    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: #d8d8d8;
    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: #d8d8d8;
    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: #d8d8d8;
        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: #d8d8d8;
        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;
    }
}


}
