/*
* Experience
*/
section.timeline {
    width: 100%;
    margin: 50px 0 0;
    position: relative;
    float: left;
    padding-bottom: 120px;
}

section.timeline:before {
    background: #505050;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(80, 80, 80, 0)), color-stop(8%, #505050), color-stop(92%, #505050), to(rgba(80, 80, 80, 0)));
    background: linear-gradient(to bottom, rgba(80, 80, 80, 0) 0%, #505050 8%, #505050 92%, rgba(80, 80, 80, 0) 100%);
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin-left: -2px;
    position: absolute;
    top: -60px;
    width: 3px;
    z-index: 0;
    filter: alpha(opacity=35);
    opacity: 0.35;
}

section.timeline .timeline-body {
    position: relative;
    z-index: 1 !important;
}

section.timeline .timeline-date {
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    position: relative;
    display: block;
    clear: both;
    width: 200px;
    height: 45px;
    padding: 5px;
    border: 1px solid #E5E5E5;
    margin: 0 auto 10px;
    text-shadow: 0 1px 1px #fff;
    border-radius: 4px;
    background: #FFF;
    z-index: 1;
}

section.timeline .timeline-date h3 {
    display: block;
    text-align: center;
    color: #757575;
    font-size: 0.9em;
    line-height: 32px;
}

section.timeline .timeline-title {
    background: #f7f7f7;
    padding: 12px;
}

section.timeline .timeline-title h4 {
    padding: 0;
    margin: 0;
    color: #151719;
    font-size: 1.4em;
}

section.timeline .timeline-title a {
    color: #151719;
}

section.timeline .timeline-title .timeline-title-tags {
    color: #B1B1B1;
    font-size: 0.9em;
}

section.timeline .timeline-title .timeline-title-tags a {
    color: #B1B1B1;
    font-size: 0.9em;
}

section.timeline .timeline-box {
    -webkit-box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.04);
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    margin: 20px 10px 10px 10px;
    padding: 10px;
    width: 45.7%;
    float: left;
    z-index: 1;
    margin-bottom: 30px;
    background: #FFF;
}

section.timeline .timeline-box.left {
    clear: both;
}

section.timeline .timeline-box.left:before {
    background: none repeat scroll 0 0 #E5E5E5;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 3px #FFF, 0 0 0 6px #E5E5E5;
    box-shadow: 0 0 0 3px #FFF, 0 0 0 6px #E5E5E5;
    content: "";
    display: block;
    height: 7px;
    margin-right: -5px;
    position: absolute;
    left: 50%;
    margin-top: 22px;
    width: 8px;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    z-index: 1;
}

section.timeline .timeline-box.left .timeline-box-arrow {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    content: '';
    display: block;
    background: #FFF;
    border-right: 1px solid #E5E5E5;
    border-top: 1px solid #E5E5E5;
    float: right;
    height: 14px;
    margin-top: 17px;
    margin-right: -18px;
    width: 14px;
    z-index: 0;
}

section.timeline .timeline-box.right {
    clear: right;
    float: right;
    right: -1px;
    margin-top: 40px;
}

section.timeline .timeline-box.right:before {
    background: none repeat scroll 0 0 #E5E5E5;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 0 3px #FFF, 0 0 0 6px #E5E5E5;
    box-shadow: 0 0 0 3px #FFF, 0 0 0 6px #E5E5E5;
    content: "";
    display: block;
    height: 7px;
    position: absolute;
    left: 50%;
    margin-top: 32px;
    width: 8px;
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
    z-index: 1;
}

section.timeline .timeline-box.right .timeline-box-arrow {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    content: '';
    display: block;
    background: #FFF;
    border-left: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    float: left;
    height: 14px;
    margin-top: 28px;
    margin-left: -18px;
    width: 14px;
    z-index: 0;
}

section.timeline .timeline-box .owl-carousel {
    border-radius: 0;
    padding: 0;
    border: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

@media (max-width: 991px) {
    section.timeline .timeline-box {
        float: none;
        clear: both;
        right: auto;
        left: auto;
        margin: 25px auto;
        max-width: 70%;
        width: auto;
    }

    section.timeline .timeline-box.right {
        float: none;
        clear: both;
        right: auto;
        left: auto;
        margin: 25px auto;
        max-width: 70%;
        width: auto;
    }

    section.timeline .timeline-box.left:after, section.timeline .timeline-box.right:after, section.timeline .timeline-box.left:before, section.timeline .timeline-box.right:before {
        display: none;
    }
}

@media (max-width: 767px) {
    section.timeline {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 575px) {
    section.timeline {
        width: auto;
        float: none;
        margin-left: 0;
        margin-right: 0;
    }

    section.timeline .timeline-box {
        margin: 15px auto;
        max-width: 90%;
    }

    section.timeline .timeline-box.right {
        margin: 15px auto;
        max-width: 90%;
    }

    article.post-large {
        margin-left: 0;
    }

    article.post-large .post-image, article.post-large .post-date {
        margin-left: 0;
    }
}

section.custom-timeline {
    width: calc(100% - 30px);
    margin: 0 0 0 40px;
    padding: 0;
}

section.custom-timeline:after, section.custom-timeline:before {
    content: none;
}

section.custom-timeline .timeline-body:after {
    content: '';
    display: block;
    clear: both;
}

section.custom-timeline .timeline-bar {
    position: absolute;
    background: #E5E5E5;
    width: 3px;
    left: -3.45%;
    z-index: 0;
}

section.custom-timeline .timeline-box {
    position: relative;
    border: 0 !important;
    margin: 15px 0 !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

section.custom-timeline .timeline-box.right {
    max-width: 100%;
}

section.custom-timeline .timeline-box.right:before {
    top: 50%;
    left: -3.8%;
    background: #767676 !important;
    -webkit-box-shadow: 0 0 0 3px #ecf1f7, 0 0 0 6px #E5E5E5 !important;
    box-shadow: 0 0 0 3px #ecf1f7, 0 0 0 6px #E5E5E5 !important;
    margin-top: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

section.custom-timeline .timeline-box.right:after {
    top: 50%;
    left: -22px;
    background: #FDD55C;
    border: none;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

section.custom-timeline .timeline-box .experience-info, section.custom-timeline .timeline-box .experience-description {
    padding: 40px;
}

section.custom-timeline .timeline-box .experience-info p {
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 11px;
}

section.custom-timeline .timeline-box .experience-info .from, section.custom-timeline .timeline-box .experience-info .to {
    display: inline-block;
    width: 49%;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.3;
}

section.custom-timeline .timeline-box .experience-info .from > span, section.custom-timeline .timeline-box .experience-info .to > span {
    display: block;
    text-transform: none;
    font-size: 16px;
}

section.custom-timeline .timeline-box .experience-info .company {
    font-size: 18px;
}

section.custom-timeline .timeline-box .experience-info .company > span {
    display: block;
    opacity: 0.5;
    text-transform: uppercase;
    font-size: 11px;
}

@media (max-width: 1199px) {
    section.custom-timeline {
        width: calc(100% - 60px);
        margin: 0 0 0 60px;
    }

    section.custom-timeline .timeline-bar {
        left: -5.1%;
    }

    section.custom-timeline .timeline-box.right:before {
        left: -5.5%;
    }
}

@media (max-width: 991px) {
    section.custom-timeline {
        width: calc(100% - 30px);
        margin: 0 0 0 20px;
    }

    section.custom-timeline .timeline-bar {
        left: -6.7%;
    }

    section.custom-timeline .timeline-box:before, section.custom-timeline .timeline-box:after {
        display: block !important;
    }

    section.custom-timeline .timeline-box.right {
        float: right;
    }

    section.custom-timeline .timeline-box.right:before {
        left: -7%;
    }
}

@media (max-width: 767px) {
    section.custom-timeline {
        width: 100%;
        margin: 0;
        padding-left: 15px;
        padding-right: 15px;
    }

    section.custom-timeline .timeline-bar {
        display: none;
    }

    section.custom-timeline .timeline-box:before, section.custom-timeline .timeline-box:after {
        display: none !important;
    }

    section.custom-timeline .timeline-box .experience-info, section.custom-timeline .timeline-box .experience-description {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    section.custom-timeline {
        padding-left: 7px;
        padding-right: 7px;
    }

    section.custom-timeline .timeline-box .experience-info, section.custom-timeline .timeline-box .experience-description {
        padding: 25px;
    }
}

