.company-history.page .navbar:not(.navbar-scrolled) {
    background-image: linear-gradient(180deg,
    rgba(245, 240, 233, 0.95) 0%,
    rgba(232, 226, 218, 0.4) 50%,
    rgba(255, 246, 233, 0) 100%
    );
}

.company-history.page .cover {
    background-image: url("../images/cover.jpg");
    height: 25vw;
}

.company-history.page .cover .cover-text.heading {
    background: linear-gradient(0deg,
    rgba(54, 47, 46, 0.99),
    rgba(58, 53, 50, 0)
    );
    text-shadow: rgba(59, 51, 45, 0.95) 0 0 .5em;
}

.timeline-event-title-point{
    border-width: 0;
    float: left;
    text-align: center;
    height: 35px;
    width: 60px;
    font-size: 22px;
    background: #f0f0f0;
    color: #3c3c3c;
    position: relative;
    margin-top: 15px;
}

.timeline-event-title-point:before{
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 15px solid #f0f0f0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    top: -15px;
}

.timeline-event-title-point:after{
    content: "";
    position: absolute;
    left: 0;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 15px solid #f0f0f0;
    bottom: -15px;
}

.timeline {
    position: relative;
    padding: 0;
    width: 100%;
    margin-top: 20px;
    list-style-type: none;
}

.timeline:before {
    position: absolute;
    left: 50%;
    top: 0;
    content: ' ';
    display: block;
    width: 2px;
    height: 100%;
    margin-left: -1px;
    background: rgb(213,213,213);
    background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
    background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
    background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
    background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
    background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
    z-index: 5;
}

.timeline-event {
    padding: 2em 0;
}

.timeline-event-title-point {
    width: 16px;
    height: 10px;
    position: absolute;
    background: #ffba26;
    z-index: 5;
    left: 0;
    right: 0;
    margin-left:auto;
    margin-right:auto;
    top: -30px;
    margin-top: 0;
}

.timeline-event-title-point:before {
    border-bottom: 4px solid #ffba26;
    border-left-width: 8px;
    border-right-width: 8px;
    top: -4px;
}

.timeline-event-title-point:after {
    border-left-width: 8px;
    border-right-width: 8px;
    border-top: 4px solid #ffba26;
    bottom: -4px;
}

.timeline-event-placement {
    float: none;
    width: 100%;
    text-align: center;
}

.timeline-event-title {
    text-align: center;
    position: relative;
}

.timeline-event-title-text {
    position: relative;
    display: inline;
    background-color: #60608d;
    color: #ffffff;
    font-weight: 600;
    z-index: 15;
    padding: 6px 10px;
    text-align: left;
    border-radius: 5px;

}

.timeline-event-placement .timeline-event-title-text:after {
    content: "";
    position: absolute;
    left: 50%;
    top: -15px;
    height: 0;
    width: 0;
    margin-left: -8px;
    border-style: solid;
    border-color: transparent;
    border-bottom-color: #60608d;
    border-width: 8px;
    pointer-events: none;
}

.timeline-event .timeline-event-placement .timeline-event-title-text {
    -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-text {
    -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
    box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.timeline-event-title-year {
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
    line-height: 1em;
    vertical-align: middle;
    color: #ffffff;
}

.timeline-event .timeline-event-placement .timeline-event-title-year {
    float: none;
    margin-right: -10px;
}

.timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-year {
    float: none;
    margin-left: -10px;
}

.timeline-event-title-year-text {
    background: #ffa826;
    display: inline-block;
    padding: 8px;
    border-radius: 8px;
}

.timeline-event .timeline-event-placement .timeline-event-title-year-text {
    padding-right: 22px;
    padding-left: 14px;
}

.timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-year-text {
    padding-left: 22px;
    padding-right: 14px;
}


.timeline-event-text {
    position: relative;
    margin: 1em 0 0 0;
    padding: 1em;
    background: rgb(254,254,254);
    -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
    -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
    box-shadow: 2px 2px 8px rgba(0,0,0,0.20);
    z-index: 15;
}

.timeline-event-placement .timeline-event-text {
    position: relative;
    margin: 1em 1em 0 1em;
    padding: 1em;
    z-index: 15;
}

@media(min-width: 768px){
    .timeline {
        width: 660px;
        margin: 20px auto 0;
    }

    .timeline-event:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }

    .timeline-event:nth-child(odd) .timeline-event-placement .timeline-event-title-point {
        left: auto;
        right: -28px;
        top: 8px;
    }

    .timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-point {
        left: -28px;
        right: auto;
        top: 8px;
    }

    .timeline-event-placement {
        position: relative;
        width: 310px;
        float: left;
        text-align: right;
    }

    .timeline-event:nth-child(even) .timeline-event-placement {
        position: relative;
        width: 310px;
        float: right;
        text-align: left;
    }

    .timeline-event-title {
        display: inline-block;
    }

    .timeline-event-title-text {
        font-size: 18px;
    }

    .timeline-event-placement .timeline-event-title-text:after {
        left: auto;
        right: -16px;
        top: 50%;
        margin-top: -8px;
        border-style: solid;
        border-color: transparent;
        border-left-color: #60608d;
        border-width: 8px;
    }

    .timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-text:after {
        top: 50%;
        margin-top: -8px;
        border-style: solid;
        border-color: transparent;
        border-right-color: #60608d;
        border-width: 8px;
        left: -8px;
    }

    .timeline-event-title-year {
        display: inline;
        vertical-align: middle;
        margin: 0;
    }

    .timeline-event:nth-child(odd) .timeline-event-placement .timeline-event-title-year {
        float: left;
    }

    .timeline-event:nth-child(even) .timeline-event-placement .timeline-event-title-year {
        float: right;
    }

    .timeline-event-title-year-text{
        padding: 5px 10px;
    }

    .timeline-event:nth-child(even) .timeline-event-placement .timeline-event-text {
        margin: 1em 0 0 0.75em;
    }
}

@media(min-width: 992px){
    .timeline {
        width: 960px;
        margin: 20px auto 0;
    }

    .timeline-event-placement {
        position: relative;
        width: 460px;
        float: left;
        text-align: right;
    }

    .timeline-event:nth-child(even) .timeline-event-placement {
        position: relative;
        width: 460px;
        float: right;
        text-align: left;
    }
}
