/* Large screen size styling */
@media (min-width: 1570px) {
    .home-section-1-bg, .home-section-3-bg {
        background-size: 100%;
    }
}

@media (min-width: 1200px) {
    div.home-section-1 * p, div.home-section-3 * p {
        font-size: 27px;
    }
}

.home-section-1-bg {
    background-image: url("../img/banner-imgs/circuit2.jpg");
    background-position-y: -50px;
    background-position-x: 0px;
}

.home-section-1 {
    padding-top: 100px;
    padding-bottom: 80px;
}

#home-section-2-divide {
    border-top: 1px solid rgba(0,0,0,0.15);
    width: 270px;
    margin-top: 60px;
    margin-bottom: 30px;
}

#home-services-summary-title {
    margin-top: 60px;
    margin-bottom: 30px;
    font-size: 22px;
}

.home-services-summary {
    display: inline-flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}

div.home-services-summary p {
    margin-top: 14px;
}

.service-element {
    width: 90px;
}

.service-element {
    margin-left: 20px;
    margin-right: 20px;
}

.home-section-3-bg {
    background-image: url("../img/banner-imgs/planning.jpeg");
    background-position-y: -330px;
    background-position-x: 0px;
    -moz-box-shadow:   0px 7px 10px rgba(0,0,0,0.3);
    -webkit-box-shadow: 0px 7px 10px rgba(0,0,0,0.3);
    box-shadow: 0px 7px 10px rgba(0,0,0,0.3);
}

.home-section-1 * p, .home-section-3 * p {
    font-size: 25px;
}

.home-section-3-bg > .black-overlay {
    height: 100%;
}

.home-section-2 {
    padding-bottom: 90px;
}

.home-section-2, .home-section-4 {
    padding-top: 100px;
}

.home-section-3 {
    padding-top: 100px;
    padding-bottom: 100px;
}

.home-section-4 {
    padding-bottom: 80px;
}

#home-contact-button {
    padding: 10px 25px 10px 25px;
    border-radius: 5px;
    background-color: transparent;
    color: rgba(0,0,0,0.5);
    font-weight: 500;
    font-size: 16px;
    border: 2px solid rgba(0,0,0,0.4);
    box-shadow: none;
    margin-top: 60px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
}

#home-contact-button:hover {
    border: 2px solid  #337ab7;
    color:  #337ab7;
}


/* Small/tablet sized screen styling */
@media (max-width: 991px) {

    .service-element {
        margin-bottom: 20px;
        margin-left: 16px;
        margin-right: 16px;
    }

    .home-section-1, .home-section-3 {
        min-height: inherit;
    }
}


/* Mobile sized screen styling */
@media (max-width: 767px) {

    .home-section-1 {
        height: auto;
        padding-top: 70px;
        padding-bottom: 50px;
    }

    .home-section-2, .home-section-3, .home-section-4 {
        height: auto;
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .home-section-3-bg .black-overlay {
        height: auto;
    }

    .home-section-1 p, .home-section-3 p {
        font-size: 24px;
    }
}

@media (max-width: 660px) {

    .home-services-summary {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 492px) {

    div:nth-last-child(1).service-element{
        display: none;
    }
}

@media (max-width: 400px) {

    .home-section-1, .home-section-3 {
        height: auto;
        padding-top: 50px;
        padding-bottom: 30px;
    }

    .home-section-3-bg .black-overlay {
        height: auto;
    }

    .home-section-1 p, .home-section-3 p {
        font-size: 22px;
    }
}



