﻿/* 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) {

    label[for="nav-trigger"] {
        display: block;
        width: unset;
        padding: 5px;
        background-color: #059CDB;
        font-size: 19px;
    }

    .site-wrap {
        padding-top: 0;
    }
    .sideNavigation,
    .sideNavigation li ul {
        background-color: #FFF;
    }

    .landingPage .landingPageArea article {
        background-size: cover;
    }

    .contentHeaderImageArea {
        min-height: 475px;
    }
    .contentHeaderImageArea h1 {
        font-size: 4rem;
    }

    .contentLinks .theLink {
        width: 100%;
    }

    .testimonialItem {
        display: block;
    }
    .testimonialItem .testimonialDetails {
        width: calc(90% - 100px);
        margin: 0 auto 30px;
    }
    .testimonialItem .testimonialImage {
        width: 60%;
        margin: 0 auto 110px;
        max-width: 450px;
        display: block;
    }

    .pageTemplateContentArea .imageBoxout h4 {
        line-height: 1.2em;
    }
}

@media screen and (max-width: 926px) {
    .landingPage .landingPageArea article a .theContent .theLogo {
        width: 50%;
        margin: 0 auto 10px;
    }
}


/* iPhone Landscape Width */
@media screen and (max-width: 880px) {
    .landingPage .landingPageArea article h2 {
        font-size: 3rem;
    }
}

@media screen and (max-width: 819px) {
    .landingPage .landingPageArea article a .theContent .theLogo {
        width: 30%;
    }
}

@media screen and (max-width: 810px) {
    .landingPage .landingPageArea {
        grid-template-columns: 100%;
        grid-auto-rows: 50% 50%;
    }
    .landingPage .landingPageArea article a .theContent .theLogo {
        width: 50%;
        margin: 0 auto 10px;
    }
}
@media screen and (max-width: 800px) {
    .landingPage .landingPageArea {
        grid-template-columns: 50% 50%;
        grid-auto-rows: 100%;
    }
}

@media screen and (max-width: 650px) {
    .landingPage .landingPageArea {
        grid-template-columns: 100%;
        grid-auto-rows: 50% 50%;
    }
    .landingPage .landingPageArea article a .theContent .theLogo {
        width: 50%;
        margin: 0 auto 10px;
    }
}

/* iPhone Portrait Width */
@media screen and (max-width: 440px) {

    .contactForm ul {
        width: 90%;
    }

    .contentHeaderImageArea {
        min-height: 260px;
    }

    .pageTemplateContentArea .imageBoxout {
        padding: 50px 25px;
    }

    .pageTemplateContentArea p,
    .pageTemplateContentArea h2 {
        width: 90%;
    }

    .ourTeam h2 {
        font-size: 2rem;
    }

    .ourTeam h2:after {
        margin-top: 10px;
    }

    ul.teamMembers li {
        width: 90%;
    }

    .postFooter p {
        line-height: 1.4em;
        width: 90%;
    }
}