/* Small Laptop */
@media screen and (max-width:1300px) 
{
    body
    {
        font-size: 15px;
    }
    .banner-bottom-title
    {
        font-size: 0.7em;
    }
    #header-contact
    {
        width: 260px;
    }
    #access
    {
        right: 260px;
    }
}

/* Landscape Tablet */
@media screen and (max-width:1200px) 
{
    body
    {
        font-size: 14px;
    }
    #header-contact
    {
        right: 75px;
    }
    #menu-expand
    {
        display: block;
        position: absolute;
        right: 0;
        width: 50px;
        height: 100%;
        top: 0;
        background: url(img/mob-menu.png);
        background-size: 150%;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
    }
    .services-grid-item
    {
        width: 23%;
    }
    #header
    {
        overflow: visible;
    }
    #access
    {
        display: block;
        position: fixed; 
        height: auto;
        left: -20px;
        right: -20px;
        top: 100px;
        bottom: 0;
        overflow: hidden;
        bottom: 100%;
        transition: bottom 0s 0.33s;
        
        left: auto;
        width: 350px
    }
    .admin-bar #access
    {
        top: 132px;
    }
    #header.menu-open #access
    {
        bottom: 0;   
        transition: bottom 0s 0s;
    }
    #access-wrap
    {
        overflow: hidden;
        width: 100%;
        max-height: 0px;
        transition: max-height .25s;
        overflow-y: scroll;
        -webkit-overflow-scroll: touch;
        height: 100%;
    }
    #header.menu-open #access-wrap
    {
        max-height: 500px;
    }
    #access a
    {
        display: block;
        border-bottom: 1px solid #4b5c6f;
        height: 50px;
        line-height: 50px;
    }
    #access .menu-main-menu-container
    {
        background: #012246;
    }
    
}
    
/* Portrait Tablet */
@media screen and (max-width:1000px) 
{
    body
    {
        font-size: 13px;
    }    
    .banner-bottom-button
    {
        width: 24%;    
    }
    .banner-bottom-title
    {
        font-size: 0.8em;   
    }
    #home-primary-background
    {
        background-position: top center;
    }
    #home-primary-service-finder-inner
    {
        padding-top: 70px;
    }
    .service-finder-left,
    .service-finder-right
    {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    #service-finder-caption
    {
        padding-left:0;
        background: none;
    }
    .services-grid-item
    {
        width: 30%;
    }
    #blog-post-left
    {
        width: 100%;
        float: none;
        margin-bottom: 30px;
        max-width: 500px;
    }
    #blog-post-right
    {
        width: 100%;
        float: right;
    }
}

/* Small Tablet */
@media screen and (max-width:767px)
{
    h1
    {
        font-size: 2em;
    }
    .set-width h3.heading-no-margin
    {
        font-size: 2em;
    }
    h2
    {
        font-size: 1.75em;
    }
    .hpadding,
    .testimonials-item
    {
        padding-left: 15px;
        padding-right: 15px;
    }
    .vpadding
    {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    .vpadding-extra-top
    {
        padding-top: 75px;
    }
    .vpadding-extra-bottom
    {
        padding-bottom: 75px;
    }
    .content-top-icon
    {
        height: 110px;
        top: -55px;
    }
    #banner-tagline
    {
        top: 1.25em;
    }
    #banner-top-buttons
    {
        width: 450px;
        margin-left: -225px;
    }
    #home-banner
    {
        background-size: 1500px;
        background-position: top;
        background-color: #1d5a99;
    }
    #banner-top-buttons
    {
        top: 10em;
    }
    #s
    {
        position: relative;
        display: block;
        top: auto;
        right: auto;
        margin: auto;
        margin-top: 30px;
    }
    #blog-header-cats
    {
        margin-right: 0;
        text-align: center;
    }
    .blog-archive-item
    {
        margin-left: 0;
        height: 180px;
    }
    .blog-archive-item-left
    {
        left: 0px;
        top: 0;
        width: 150px;
        height: 180px;
    }
    .blog-archive-item-right
    {
        left: 170px;
        top: 10px;
        bottom: 10px;
        right: 10px;
    }
    .post-title
    {
        font-size: 18px;
    }
    #page-banner-image
    {
        height: 300px;
    }
    #contact-locations,
    #contact-locations-inner
    {
        height: 520px;
    }
    .contact-location
    {
        width: 50%;
        overflow: visible;   
    }
    .contact-location:nth-child(2)
    {
        border-right: 0;
    }
    .contact-location:nth-child(3),
    .contact-location:nth-child(4)
    {
        margin-top: 80px;
    }
    .contact-location:nth-child(3):after,
    .contact-location:nth-child(4):after
    {
        position: absolute;
        display: block;
        content: "";
        top: -40px;
        left: 40px;
        right: 40px;
        border-bottom: 1px solid #dadada;
        
    }
}


/* Mobile */
@media screen and (max-width:600px)
{
    h1
    {
        font-size: 1.75em;
    }
    p.testimonials-heading {font-size: 1.75em;}
    
    .set-width h3.heading-no-margin
    {
        font-size: 1.75em;
    }
    h2
    {
        font-size: 1.6em;
    }
    h3
    {
        font-size: 1.45em;
    }
    table
    {
        display: block;
        text-align: center;
    }
    table td
    {
        display: inline-block; 
        width: 33%!important;
        box-sizing: border-box;
        text-align: left;
    }
    table td:nth-child(3n+1)
    {
        clear: both;
        margin-bottom: 1em;
    }
    table.two-col-table td
    {
        display: inline-block; 
        width: 100%!important;
        box-sizing: border-box;
        text-align: left;
        padding: 0!important;
    }
    table.two-col-table td:nth-child(3n+1)
    {
        clear: none;
        margin-bottom: 0;
    }
    table.two-col-table td:nth-child(2n+1)
    {
        clear: none;
        margin-bottom: 0;
    }
    #home-banner
    {
        background-size: cover;
        background-color: #1d5a99;
    }
    #home-primary-content .set-width
    {
        padding: 0;
    }
    .banner-bottom-button
    {
        width: 24%;
        /*width: 70px;*/
        height: 80px;
    }
    .banner-bottom-image
    {
        background-size: auto 140%;
        height: 65%;
    }
    .banner-bottom-title
    {
        font-size: 0.65em;
    }
    #banner-tagline
    {
        top: 0.75em;
        font-size: 1.2em;
    }
    #home-banner-content
    {
        min-height: 360px;
    }
    #banner-top-buttons
    {
        top: 6.5em;
        width: 300px;
        margin-left: -150px;
        font-size: 0.8em;
        height: 3.5em;
    }
    .footer-col
    {
        width: 33%;
    }
    .footer-col
    {
        margin-bottom: 20px;
        width: 50%;
    }
    .footer-col-primary
    {
        clear: both;
    }
    #footer-contact-content
    {
        background-position: top center;
        background-size: auto 80px;
        padding-left: 0;
        padding-top: 100px;
        text-align: center;
    }
    #footer-logos a
    {
        width: 46%;
    }
    #footer-copyright
    {
        font-size: 0.75em;
    }
    .testimonials-item-frame
    {
        padding: 1.5em;
        padding-bottom: 3em;
    }
    .testimonials-quote
    {
        margin-bottom: 1em;
    }
    .testimonials-quote > span > span
    {
        padding-top: 1em;
        padding-bottom: 1em;
    }
    #header-contact
    {
        display: none;
    }
    .services-grid-item
    {
        width: 45%;
        height: 170px;
        
    }
    .services-grid-item > span 
    {
        padding-top: 100px;
    }
    
    #post-bottom-mid 
    {
        margin-top: 60px;
    }
    .page-template-page_services .services-grid-item
    {
        height: 275px;
    }
    .services-grid-info
    {
        top: 50%;
        -webkit-mask-image: -webkit-gradient(linear, left 85%, left bottom, from(rgba(0,0,0,1)), to(rgba(0,0,0,0)));    
    }
    .services-grid-item > span 
    {
        padding-top: 0px;
    }
    #page-banner-image
    {
        height: 200px;
    }
    .page-banner-content h1
    {
        font-size: 30px;
    }
    #main
    {
        padding-top: 50px;
    }
    #header
    {
        height: 50px;

    }
    #header-inner
    {
        height: 50px;
    }
    #header-left-repeat
    {
        background-size: auto 100%;
        margin-right: -100px;
    }
    #header-left-edge
    {
        background-size: auto 100%;
        width: 30px;
        left: 100px;
    }
    #header-logo
    {
        width: 100px;
        background-size: 80px;
    }
    #header-contact
    {
        display: block;
        right: 50px;
        font-size: 8px;
        left: auto;
        background: transparent;
        width: 110px;
    }
    #header-contact span
    {
        left: 0;
    }
    #access
    {
        top: 50px;
        left: -20px;;
        width: auto
    }
    .admin-bar #access
    {
        top: 96px;
    }
    #contact-locations, #contact-locations-inner
    {
        height: 440px;
    }
    .contact-location
    {
        margin-top: 20px;
    }
    .contact-location:nth-child(3),
    .contact-location:nth-child(4)
    {
        margin-top: 40px;
    }
    .contact-location:nth-child(3):after,
    .contact-location:nth-child(4):after
    {
        top: -20px;
        left: 20px;
        right: 20px;
    }
}

@media screen and (max-width:400px)
{
    .services-grid-info
    {
        top: 37.5%;
    }
}