﻿/* iPad Landscape Width */
@media screen and (max-width: 1366px) {
}

/* iPad Portrait Width */
@media screen and (max-width: 1024px) {
}

/* Anything up to a new iPad Pro 12.9 in portrait mode (old iPads and all phones) */
@media screen and (max-width: 1023px) {
    .centeredContent,
    .twoCol,
    .teamProfile {
        padding: 50px 0;
    }
    .factsAndFigures {
        margin: 50px auto;
    }
    .ourProjects,
    .servicesList > article,
    .internationalLocations {
        margin-bottom: 25px;
    }
    .internationalLocations ul li {
        margin-bottom: 35px;    
    }
    footer .footerMainArea {
        display: block;
    }
    footer .footerMainArea .contactDetails {
        margin: 0 auto 35px;
        justify-content: center;
    }
    footer .footerMainArea .theLinks > ul {
        justify-content: center;
    }
    footer .footerMainArea .theLinks > ul li {
        text-align: center;
    }
    footer .footerMainArea .socialLinks {
        display: block;
        margin: 0 auto;
        position: relative;
        bottom: 0;
        right: 0;
    }
    footer .footerMainArea .socialLinks ul {
        margin: 25px auto 0 auto;
        justify-content: center;
    }

}

/* iPhone Landscape Width */
@media screen and (max-width: 880px) {

    .mainImageArea,
    .ourProjects,
    .servicesList > article,
    .internationalLocations {
        margin-bottom: 25px;
    }

    .projectDetailsArea {
        flex-wrap: wrap;
        max-width: 96%;
        margin: 0 auto;
    }
    .projectDetailsArea .textCol {
        order: 0;
        width: 100%;
        margin-bottom: 25px;
    }
    .projectDetailsArea .imageCol {
        order: 1;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 auto;
    }
    .projectDetailsArea .imageCol img {
        width: 45vw;
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: center;
        margin: 1vw;
    }

    .maxPageWidth {
        overflow-x: hidden;
    }
    header .theLinksArea {
        display: none;
    }
    .theMobileNav {
        display: block;
    }

}

@media screen and (max-width: 650px) {

    .homeHeroVideo {
        height: 60vh;
    }


    .centeredContent h2 {
        font-size: 2rem;
        line-height: 1.5;
    }

    .twoCol article.imgCol {
        order: 0;
        width: 100%;
        margin: 0 auto 25px;
    }
    .twoCol article.textCol {
        order: 1;
        width: 100%;
    }

    .projectsList ul li {
        width: 48%;
        margin: 0 auto 75px;
        padding-bottom: 40px;
        position: relative;
        min-height: 440px;
    }
    .projectsList ul li h6 {
        max-width: 90%;
    }
    .projectsList ul li a.actionButton {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .factsAndFigures {
        flex-wrap: wrap;
    }
    .factsAndFigures > article {
        width: 100%;
        text-align: center;
        margin: 0 auto 50px;
    }

    .servicesList > article .serviceDetailsArea .serviceMoreDetails {
        display: block;
    }
    .servicesList > article .serviceDetailsArea .serviceMoreDetails .text1 {
        border-right: none;
        border-bottom: 1px solid rgb(225, 225, 225);
        padding-bottom: 25px;
        margin-bottom: 35px;
    }

    .projectsList ul li:nth-child(n+4) {
        display: block;
    }

    .teamProfile {
        display: block;
        text-align: center;
    }
    .teamProfile .imageCol {
        width: 50%;
        margin: 0 auto 25px;
    }
    .teamProfile .textCol{
        width: 98%;
        margin: 0 auto;
    }
    .teamProfile .textCol .theHeader .contactMethods {
        position: relative;
        bottom: unset;
        right: unset;
        justify-content: center;
        margin: 10px auto 0;
    }
    .teamProfile .textCol .theHeader .contactMethods li {
        margin: 0 5px;
    }
    .teamProfile .textCol::after {
        margin: 30px auto 0;
    }

    footer .contactStrip {
        font-size: 1rem;
    }

    footer .footerMainArea .theLinks > ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    footer .footerMainArea .theLinks > ul > li {
        margin-bottom: 35px;
    }

}


/* iPhone Portrait Width */
@media screen and (max-width: 440px) {
}
