* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

html, body{
    height: 100%;
    overflow-x: hidden;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

a {
    font-weight: 700;
    color: #077458;
    text-decoration: none;
    -webkit-transition: color 250ms ease-in-out;
    -moz-transition: color 250ms ease-in-out;
    -o-transition: color 250ms ease-in-out;
    transition: color 250ms ease-in-out;
}

a:hover {
    color: #333;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

body {
    font: 16px/26px 'Raleway', Helvetica, Helvetica Neue, Arial, sans-serif;
}

.wrap {
    position: relative;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

.line-break {
    display: block;
}

.header-container {
    width: 100%;
    height: 40%;
    min-height: 240px;
    display: block;
    position: relative;
    background: rgba(0,0,0,0.4);
}

.header-container header {
}

.header-container header h1 {
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 2.5%;
    bottom: 0;
    right: 2.5%;

    background: url("../img/wds-logo-stacked-large.png") no-repeat center center;
    background-size: contain;
}

.header-container header h1 img {
    width: 100%;
    height: 100%;
}

/* ==============
    MOBILE: Menu
   ============== */

.menu-link-wrapper {
    position: relative;
}

.menu-link {
    position: absolute;
    z-index: 10000;
    top: 0;
    left: 0;
    margin-left: -2.5%;

    padding-left: 41px;
    padding-top: 11px;
    font-size: 0px;
    line-height: 0px;
    color: transparent;
}

.menu-link:hover {
    color: transparent;
}

.menu-link:before {
    content: '';
    position: absolute;
    border-top: 4px solid #FFF;
    border-bottom: 12px double #FFF;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 4px;
}

.menu-push {
    position: relative;
}

nav {
    display: block;
    width: 200px;
    background: #222;
    overflow: auto;
}

nav ul {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline-block;
    width: 100%;
}

nav ul li a {
    display: block;
    width: 100%;

    color: #FFF;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: normal;

    text-decoration: none;
    padding: 15px 0;
    margin: 0;
    -webkit-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}

nav ul li a:hover {
    color: #ffffff;
    background: #077458;
    text-decoration: none;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

#intro, #contact-us {
    width: 100%;
    padding: 50px 0;
    background: #e2e2e2;
}

#intro h2, #contact-us h2 {
    font-size: 30px;
    line-height: 42px;
    margin: 0;
    padding: 0;
}

#intro a, #contact-us a {
    font-size: 20px;
}

.content-row {
    width: 100%;
    background: #FFF;
}

.content-row .aside, .content-row .copy {
    display: block;
    width: 100%;
}

.content-row .copy {
    float: left;
    padding: 50px 4%;
}

.content-row .copy h2 {
    font-size: 48px;
    line-height: 58px;
    padding: 0;
    margin: 0;
}

.content-row .copy p {
    margin: 10px 0 0 0;
    padding: 0;
}

.content-row .copy ul {
    margin-top: 1em;
}

.content-row .copy .button {
    margin: 30px 0 0 0;
    width: 100%;
    text-align: center;
}

.content-row .aside {
    background: rgba(0,0,0,0.4);
    overflow: hidden;
    max-height: 400px;

    /* horizontal and vertical centering for image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-row .aside img {
    width: 100%;
    min-width: 320px;
    text-align: center;
}

.content-row.left .aside {
    float: left;
}

.content-row.right .aside {
    float: right;
}

.button {
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    font-size: 24px;
    margin: 0;
    border-radius: 62px;
    -webkit-transition: all 250ms ease-in-out;
    -o-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
}

.button.green {
    color: #077458;
    background: transparent;
    border: 2px solid #077458;
}

.button.green:hover {
    color: #ffffff;
    background: #077458;
    text-decoration: none;
}

#map {
    width: 100%;
    height: 200px;
}

#map iframe {
    width: 100%;
    height: 200px;
}

footer {
    text-align: center;
    padding: 50px 0;
}

footer h5 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    font-size: 18px;
    color: #666;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

}

@media only screen and (min-width: 768px) {
    .menu-link {
        margin-left: -1%;

        font-size: 20px;
        line-height: 22.4px;
        color: #FFF;
        text-transform: uppercase;
        font-weight: normal;
    }

    .menu-link:hover {
        color: #FFF;
    }

    .header-container header h1 {
        background: url("../img/wds-logo-large.png") no-repeat center center;
        background-size: contain;
    }

    #map {
        width: 100%;
        height: 450px;
    }

    #map iframe {
        width: 100%;
        height: 450px;
    }

    .content-row .copy .button {
        width: auto;
    }
}

@media only screen and (min-width: 1140px) {

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    .header-container header h1 {
        background: url("../img/wds-logo-large.png") no-repeat center center;
        background-size: 1026px 119px;
    }

    .content-row .aside, .content-row .copy {
        width: 50%;
    }

    .content-row .copy {
        padding: 30px 4%;
    }

    /* fix for about us and testimonials pages */
    #about-us-page .content-row .aside,
    #client-testimonials-page .content-row .aside {
        float: none;
        width: 100%;
    }

    #about-us-page .content-row .copy,
    #client-testimonials-page .content-row .copy {
        float: none;
        width: 1026px;
        margin: 0 auto;
        padding: 50px 0;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}