/* ///////////////////////////////////////////// */
/* Header Desktop */
/* ///////////////////////////////////////////// */
.header {
    line-height: 60px;
    background: rgba(30, 30, 30, 0.95);
}

/* ///////////////////////////////////////////// */
/* Burger Menu */
/* ///////////////////////////////////////////// */
.burgernav {
    background: rgba(30, 30, 30, 0.95);
}

/* ///////////////////////////////////////////// */
/* Slider */
/* ///////////////////////////////////////////// */
.section .slider{
    background-image: url("../images/company.jpg");
    height:600px;
}

/* ///////////////////////////////////////////// */
/* Images */
/* ///////////////////////////////////////////// */
#aboutusimage1{
    background-image: url("../images/brookstoneletters.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#aboutusimage2{
    background-image: url("../images/oldpress.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#aboutusimage3{
    background-image: url("../images/printdadedit.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ///////////////////////////////////////////// */
/* Misc */
/* ///////////////////////////////////////////// */
.section.blue h1{
    color:white;
}

.section.blue h2{
    margin: 1%;
}

/* ///////////////////////////////////////////// */
/* Timeline */
/* ///////////////////////////////////////////// */
.timeline{
    background:rgba(30, 30, 30);
}
.timeline ul {
    /* background: #f4f0ec; Background color */
    padding: 50px 0;
    color: #fff; /* Text color */
    overflow-x: hidden;
    padding-bottom: 50px;
}

.timeline ul li {
    list-style-type: none;
    position: relative;
    width: 6px;
    margin: 0 auto;
    padding-top: 50px;
     /* vertical timeline color */
    /* background: #dbe9f4; */
    background: #027889;
}

.timeline ul li::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: inherit;
}

.timeline ul li div {
    position: relative;
    bottom: 0;
    width: 400px;
    padding: 15px;
    background: #027889;
    border: 4px solid #027889;
}

.timeline ul li div::before {
    content: '';
    position: absolute;
    bottom: 7px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline ul li:nth-child(odd) div {
    left: 45px;
}

.timeline ul li:nth-child(odd) div::before {
    left: -15px;
    border-width: 8px 16px 8px 0;
    border-color: transparent #027889 transparent transparent;
}

.timeline ul li:nth-child(even) div {
    /* left: -439px; */
    left: -469px;
}

.timeline ul li:nth-child(even) div::before {
    right: -15px;
    border-width: 8px 0 8px 16px;
    border-color: transparent transparent transparent #027889;
}

time {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline h2{
    color:white;
}

/* ///////////////////////////////////////////// */
/* Timeline Effects */
/* ///////////////////////////////////////////// */
.timeline ul li::after {
    transition: background .5s ease-in-out;
}

.timeline ul li.in-view::after {
    background: #027889;
}

.timeline ul li div {
    visibility: hidden;
    opacity: 0;
    transition: all .5s ease-in-out;
}

.timeline ul li:nth-child(odd) div {
    transform: translate3d(200px, 0, 0);
}

.timeline ul li:nth-child(even) div {
    transform: translate3d(-200px, 0, 0);
}

.timeline ul li.in-view div {
    transform: none;
    visibility: visible;
    opacity: 1;
}

/* ///////////////////////////////////////////// */
/* Timeline Media Queries */
/* ///////////////////////////////////////////// */
@media screen and (max-width: 900px) {
    .timeline ul li div {
        width: 250px;
    }

    .timeline ul li:nth-child(even) div {
        left: -289px;
        /*250+45-6*/
    }
}

@media screen and (max-width: 600px) {
    .timeline ul li {
        margin-left: 20px;
    }

    .timeline ul li div {
        width: calc(100vw - 91px);
    }

    .timeline ul li:nth-child(even) div {
        left: 45px;
    }

    /* TODO: need to fix this!! */
    .timeline ul li:nth-child(odd) div {
        left: -15px;
    }

    .timeline ul li:nth-child(even) div::before {
        left: -15px;
        border-width: 8px 16px 8px 0;
        border-color: transparent #027889 transparent transparent;
    }

    .section .slider{
        height: 313px;
        background-size: 500px 313px;
    }

    .section.map{
        overflow:hidden;
        padding-bottom:56.25%;
        position:relative;
        height:400px;
    }
}

@media screen and (max-width: 450px) {
    #aboutusimage1{
        background-size: 125%;
    }

    .timeline ul li:nth-child(even) div {
        left: 35px;
    }

    .timeline ul li:nth-child(odd) div {
        left: 35px;
    }

}