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

html,
button,
input,
select,
textarea {
    color: #222;
    border:none;
}

body, html {
    height: 100%;
}

body {
    background: url(../img/page_bg.jpg) center center;
    background-color: #2e6291;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1em;
    line-height: 1.4;
    position: relative;
}

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

::selection {
    background: url(../img/content-tile.jpg) center 4.25em;
    background-repeat: repeat-y;
    text-shadow: none;
}

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

img {
    vertical-align: top;
}

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

textarea {
    resize: vertical;
}

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

body {
    font: 16px/22px optimaroman, Helvetica, Helvetica Neue, Arial;
    font-weight: 100;
}

.wrapper {
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    zoom: 1;
}

.header-container {
    border-bottom: 1px solid; 
    -webkit-box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
    box-shadow: 0px 3px 8px rgba(0,0,0,0.3);
    zoom: 1;
}

.footer-container,
.main aside,
.sidebar {
    display: block;
    zoom: 1;
}

.header-container,
.footer-container,
.main aside,
.sidebar {
    background: transparent;
}

footer {
    font-size: 80%;
}

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

nav {
    border-top: 1px solid #fff;
    margin: 0 auto 0;
    overflow: hidden;
    width: 100%;
    zoom: 1;
}

nav ul {
    margin: 0;
    padding: 0;
}

nav a {
    background: transparent;
    border-top: 1px solid rgba(255,255,255,0.5);
    -webkit-box-shadow: inset 0 0 40px rgba(255,255,255,0.1);
    -mox-box-shadow: inset 0 0 40px rgba(255,255,255,0.1);
    box-shadow: inset 0 0 40px rgba(255,255,255,0.1);
    color: #fff;
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    padding: .5em 0;
    text-align: center;
    text-decoration: none;        
}

nav a:hover {
    background: #7f9db3;
    background: rgba(255,255,255,0.3);
    -webkit-box-shadow: inset 0 0 5px rgba(255,255,255,0.3);
    -moz-box-shadow: inset 0 0 5px rgba(255,255,255,0.3);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.3);
    text-decoration: none;
}

/* ==============
    MOBILE: Main
   ============== */

.main-container {
    padding-left: 5%;
    padding-right: 5%;
}

.main {
    padding: 15px 0 40px;
}

.main aside, .sidebar {
    margin: 0 auto;
    padding: 0%;
    width: 100%;
}

aside.bio-pic figure {
    border: 1px solid #fff;
    -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    padding: .5em;
}

.footer-container {
   border-top: 1px solid #fff;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

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

.lt-ie9 .header-container {
    border-bottom: 1px solid #fff;
    margin-bottom: 0;
    overflow: hidden;
    padding-bottom: 0;
    width: 100%;
}

.lt-ie9 .ie9 .wrapper {
    margin-bottom: 0;
    overflow: visible;
    padding: 0 5%;    
}

.lt-ie9 .head-gp {
    margin-bottom: 0;
    min-height: 75px;
}

.lt-ie9 .name {
    display: inline-block;
    line-height: 1em;
    margin-bottom: 0;
    padding: .9em 0 0 .3em;
    vertical-align: top;
}

.lt-ie9 nav {
    background: transparent;
    margin-bottom: 0;
    padding: 0;   
    overflow: hidden;
}

.lt-ie9 nav a {
    padding-top: 15px;
}

.lt-ie9 .main aside, .lt-ie9 .main .sidebar {
    clear: both;
    display: block;
}

.lt-ie9 .home, .lt-ie9 .associates, .lt-ie9 .cost, .lt-ie9 .contact, .lt-ie9 .links {
    border-bottom: 1px solid #fff;
}

.lt-ie9 .main-container{
    clear: both;
    display: block;
    margin-top: 0;
}

.lt-ie9 hr.underline {
    background-color: #fff;
    border-width: 0;
    color: #fff;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=30);
}

/* Full Page Background */
.bgwidth {
    width: 100%
 }

.bgheight {
    height: 100%; 
}

#bg { 
    display: inline;
    position: fixed; top: 0; left: 0;
    z-index: -1;
}

/* Sticky footer  */
.page-wrap {
    margin-bottom: -80px;
    min-height: 100%;
}

footer {
    height: 80px;
}

body {
    font-size: 110%;
    line-height: 1.5;
}

img {
    width: 100%;
}

h1 {
    font-size: 1.75em;
    margin: 0.58625em 0;
}

h2 {
    font-size: 1.3125em;
    margin: 0.72625em 0;
}

h3 {
    font-size: 1.02375em;
    margin: .875em 0;
}

h4 {
    font-size: .875em;
    margin: 1.16375em 0;
}

h5 {
    font-size: 0.72625em;
    margin: 1.46125em 0;
}

h6 {
    font-size: 0.67em;
    margin: 2.33em 0;
}
small {
    font-size: .6em
}

a.u-link {
    color: #fff;
    text-decoration: none;
}

a.u-link:hover {
    color: #ffe8b7;
    text-decoration: underline;
}

.bio {
    margin-bottom: 20px;
}

.bio-name {
    margin-bottom: 0;
}

.bio-title {
    margin: -1.5em 0 0 0;
}

.bio-employ {
    font-size: .4em;
    margin-top: -2.75em;
}

.single-col ol {
        padding-left: 0;
}

.single-col li, .single-col dt {
    color: #ffe8b7;
}

.single-col dd {
    color: #fff;
    margin-left: 0;
}

html,
button,
input,
select,
textarea {
    color: #fff;
}

input, textarea {
    -moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.3);
    -webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.3);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.3);
    border: 1px solid #fff;
    color: #222;
}

.head-gp {
    border-bottom: 1px solid #fff;
    margin: 0 auto;
}

.head-rt {
    position: relative;
}

.title {
    -webkit-box-shadow: 3px 0 2px rgba(0,0,0,0);
    -moz-box-shadow: 3px 0 2px rgba(0,0,0,0);
    box-shadow: 3px 0 2px rgba(0,0,0,0);
    float: left;
    width: 74px;
    zoom: 1;
}

.title a {
    display: block;
    position: relative;
    z-index: 1;
}

.content-row {
    overflow: hidden;
    margin-bottom: 1em;
}

.section-title {
    display: block;
}

.section-name {
    margin-bottom: 0;
}

.underline {
    background-image: -webkit-linear-gradient(left, rgba(255,255,255,0.1), rgba(255,255,255,0.75), rgba(255,255,255,0.1)); 
    background-image:    -moz-linear-gradient(left, rgba(255,255,255,0.1), rgba(255,255,255,0.75), rgba(255,255,255,0.1)); 
    background-image:     -ms-linear-gradient(left, rgba(255,255,255,0.1), rgba(255,255,255,0.75), rgba(255,255,255,0.1)); 
    background-image:      -o-linear-gradient(left, rgba(255,255,255,0.1), rgba(255,255,255,0.75), rgba(255,255,255,0.1));
    border: 0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    height: 1px;
    margin: 0;
}

.bio { 
    text-shadow:1px 1px 3px #666;
}

.bio h3 {
    font-size:1.1em;
    margin-bottom: .3em;
}

.bio-name {
    line-height: 1em;
}

.bio p {
    margin-top: 0em;
}

.name {
    display: inline-block;
    width:75%;
    font-size: 1.3em;
    line-height: .9em;
    margin: 0;
    padding: .5em 0 0 .5em;
    vertical-align: baseline;
}

.main-container {
    text-shadow: 1px 1px 5px #333;
    background: url(../img/content-tile.png);
}

.section-title {
    margin-bottom: 0;
}

.address strong {
    font-family: optimabold;
    font-weight: 500;
    text-transform: uppercase;
    /*font-size: 1.2em;*/
}
.map-container {
    line-height: 1em;
}

.map-container small a {
    color: #ffe8b7;
    font-size: 1.5em;
    text-decoration: none;
    width: 18.75em;
}
.map-container small a:hover {
    color: #fff;
    text-decoration: underline;
}

fieldset p {
    margin-top: 0;
    padding-top: 1em;
}

#contact-form {
    padding-bottom: 5px;
}

.form-group {
    padding-bottom: .7em;
}

#name-label-first, #name-label-last, #email-label, #phone-label, #message-label {
    display: block;
    padding-bottom: .2em;
}

#message-label {
    padding-bottom: .3em;
}

label span {
    color: #FFB856;
    font-size: 1.2em;
}

#name_error_first, #name_error_last, #email_error, #phone_error, #message_error {
    color: #ffe8b7;
    display: none;
}

.error-hilite {
    -webkit-box-shadow: 0 0 5px #FC371D;
    -moz-box-shadow: 0 0 5px #FC371D;
    box-shadow: 0 0 5px #FC371D;
}

input#name-first, input#name-last, input#email, input#phone, textarea#message {
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.3em;
    padding: .6em .4em .4em .4em;
    width: 100%;
}

input#name-first:hover, input#name-last:hover, input#email:hover, input#phone:hover, textarea#message:hover {
    -webkit-box-shadow: 0 0 5px #1fde0b;
    -moz-box-shadow: 0 0 5px #1fde0b;
    box-shadow: 0 0 5px #1fde0b;
}

input#name-first:focus, input#name-last:focus, input#email:focus, input#phone:focus, textarea#message:focus {
    box-shadow: 0 0 5px #1fde0b;
}

#contact-submit {
    background: #e69425;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    float: right;
    padding: .4em 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    width: 6em;
}

#contact-submit:hover {
    background: #cd8c00;
}

/* Class for inserted "Thank you" message after form submission */
#thankyou div {
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    display: block;
    margin-bottom: 1.5em;
    padding: .5em;
    width: 100%;
}

#thankyou h2 {
    margin: 0 0 .5em;
}

#thankyou p {
    margin: 0;
}

footer {
    text-align: center;
}

/* Header Name Line Break */
.rwd-break {
    display: inline;
}

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

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

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    .head-gp {
        margin-bottom: 0;
        overflow: hidden;
    }

    nav {
        height: auto;
    }

    nav ul {
        height: 100%;
        width: 100%;
    }

    nav ul li {
        display: block;
    }

    nav a {
        padding: 20px 2%;
    }

    .name {
        font-size: 1.3em;
        /*line-height: normal;*/
        vertical-align: top;

    } 

    .rwd-break {
        display: none;
    }

    
    .bio-name {
        margin-bottom: 1em;
    }

    .bio-title {
        margin: -1.5em 0 0 0;
    }

    .bio-employ {
        font-size: .4em;
        margin-top: .5em;
    }

    .main aside,
    .sidebar{
        width: 100%;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    .lt-ie9 .header-container {
        overflow: visible;
        width: 100%;
    }

    .lt-ie9 .name {
        font-size: 1.75em;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 30px;
    }

    .lt-ie9 nav li {
        display: inline-block;
        width: 50px;
    }
}

@media only screen and (min-width: 768px) {
/* ====================
    WIDE: Font Size Reset
   ==================== */

   * {
        box-sizing: border-box;
   }

    body {
        font-size: 1em;
        line-height: 1.4;
    }

/* ====================
    WIDE: Wrapper Margins
   ==================== */

    .main {
        min-height: 700px;
    }

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

/* ============
    WIDE: Menu
   ============ */

    .head-gp {
        border-bottom: 0;
        position: relative;
    }

    .grad-stripe {
        bottom: 0;
        height: 36px;
        left: 0;

        background: blue;
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFiMzMzZiIgc3RvcC1vcGFjaXR5PSIwLjQ1Ii8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk1JSIgc3RvcC1jb2xvcj0iIzFhM2Q4MSIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxYTNkODQiIHN0b3Atb3BhY2l0eT0iMCIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
        background: -moz-linear-gradient(left,  rgba(27,51,63,0.45) 0%, rgba(26,61,129,0) 95%, rgba(26,61,132,0) 100%);
        background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(27,51,63,0.45)), color-stop(95%,rgba(26,61,129,0)), color-stop(100%,rgba(26,61,132,0)));
        background: -webkit-linear-gradient(left,  rgba(27,51,63,0.45) 0%,rgba(26,61,129,0) 95%,rgba(26,61,132,0) 100%);
        background: -o-linear-gradient(left,  rgba(27,51,63,0.45) 0%,rgba(26,61,129,0) 95%,rgba(26,61,132,0) 100%);
        background: -ms-linear-gradient(left,  rgba(27,51,63,0.45) 0%,rgba(26,61,129,0) 95%,rgba(26,61,132,0) 100%);
        background: linear-gradient(to right,  rgba(27,51,63,0.45) 0%,rgba(26,61,129,0) 95%,rgba(26,61,132,0) 100%);
        /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#731b333f', endColorstr='#001a3d84',GradientType=1 );*/
        position: absolute;
        width: 100%;
    }

    .title {
        height: 149px;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        width: 136px;
    }

    .name {
        font-size: 1.75em;
        padding-top: 1em;
    }

    nav {
        border-top: 0;
        bottom: 0;
        display: block;
        font-size: .8em;
        height: 36px;    
        overflow: visible;
        position: absolute;
        right: 0;
        width: 70%;
    }

    nav ul {
        height: 100%;
        margin-left: -.5em;
        width: auto;
    }

    nav ul li {
        display: inline-block;
        float: none;
        font-size: .9em;
        margin: 0;
    }

    nav a {
        background: transparent;
        border: 0;
        box-shadow: inset 0 0 0 rgba(255,255,255,0);    
        float: none;
        font-size: 1.2em;
        padding: .6em 1em .6em;
        white-space: nowrap;
        width: auto; 
    }

    nav a:hover {
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .content-row {
        overflow: hidden;
        margin-bottom: 0;
        padding-bottom: 0;
        width: auto;
    }

    .section-title {
        margin-bottom: 0;
        padding-bottom: 0em;
    }

    .location-title, .email-title {
        padding-bottom: 1em;
    }

    fieldset p {
        padding-top: 0;
    }

/* ========================
    WIDE: IE Fixes
   ======================== */

    .lt-ie9 .header-container {
        height: 150px;
        overflow: visible;
        width: 100%;   
    }

    .lt-ie9 .head-gp {
        height: 149px;
    }

    .lt-ie9 .name {
        padding-top: 55px;
    }

    .lt-ie9 nav {
        margin-bottom: 0;
        margin-top: -44em;
        overflow: visible;
        width: 70%;
    }

    .lt-ie9 nav li {
        display: inline;
    }

    .lt-ie9 nav a {
        border: 1px solid red;
        display: inline-block;
        line-height: 36px;
        margin: 0;
        padding: 0px 11px;
        text-align: center;
    }

    .lt-ie9 .home, .lt-ie9 .associates, .lt-ie9 .cost, .lt-ie9 .contact, .lt-ie9 .links {
        border: 0;
    }

    .lt-ie9 .main aside,
    .lt-ie9 .main .sidebar {
        margin-top: 0px;
    }

/* ============
    WIDE: Main
   ============ */

    .content-main {
        float: left;
    }

    .main aside,
    .sidebar {
        float: left;
        padding: .5em 2% 0 0;
        overflow: visible;
        width: 30%;
    }
    
    .main .single-col {
        float: none;
        padding: 0 3em 0 7em;
        width: 100%;
    }

    .address {
        width: 18%;
        float: left;
        padding-right: .3em;

    }
    .address p {
        font-size: .9em;
        margin-top: 0;
    }

    .map-outer {
        float: left;
        width: 52%;
    }

    .map-container {
        width: 100%;
    }

    .map-outer small{
        font-size: 1em;
    }

    .content-main.single-col.location {
        float: left;
        padding: 0;
        width: 100%;
    }

    .content-main.single-col.location.right {
        float: right;
    }

    .content-main.single-col.email {
        padding: 0;
    }

    .email form {
        padding: 0 30% 0 18%;
    }

    .iframe-rwd iframe {
        box-shadow: 0 0 5px rgba(0,0,0,0.2);
        left: 0;
        top: 0;
        width: 100%;
    }
    
    .single-col ol {
        padding-left: 1.35em;
    }

    .single-col dd {
        margin-left: 0;
    }

    .links ul {
        padding-left: 0;
    }

    .links li {
        list-style-type: none;
    }

    .links a {
        color: #ffe8b7;
    }

    .links a:hover {
        color: #fff;
    }

    aside.bio-pic figure {
        float: right;
        max-width: 12.5em;
        overflow: visible;
        padding: .3em;
        width: 90%;
    }

    .bio-pic img {
        clear: both;
    }

    .bio, .content-main {
        float: right;
        padding-right: 8%;
        width: 70%;
    }

    h2.bio-name {
        line-height: 22px;
    }

    /* Header Name Line Break */
    .rwd-break {
        display: none;
    }

    .map-container small a {
        font-size: .7em;
    }

    small {
        font-size: .6em
    }
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
    
    nav {
        width:68%;
    }

    nav a {
        padding: .6em .7em;
    }
}

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

/* ===============
    Maximal Width
   =============== */

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

    nav ul {
        height: 100%;
        margin-left: -.5em;
    }

    .main .single-col {
        float: none;
        padding: 0 10em 0 9.5em;
        width: auto;
    }

    .rwd-break {
        display: none;
    }

/* ========================
    WIDE: IE Nav Fixes
   ======================== */

    .lt-ie9 .name {
        padding-top: 2em;
    }

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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;
}
.clear {
    clear: both;
}

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

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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