/*
Site-specific Styles

Type:

Colors
MT Black:        #2A2829; rgb(42,40,41)     text
Shaded teal:     #668284; rgb(102,130,132)  links
Dancing on air:  #493736; rgb(73,55,54)     border (outer); headings
Red door:        #7B3B3B; rgb(123,59,59)    border (inner)
Light blue wall: #B9D7D9; rgb(185,215,217)  accents

Lighter brown:   #4E4D4A    accents; headings
Darker brown:    #353432    buttons/accents
Green:           #94BA65    buttons and accents
Water blue:      #4e84c5    links off
Darker blue:     #a3d8f5    links on
*/


/* TESTING */
#dimension {
    background: #000;
    color: #fff;
    font-size: 10px;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 6em;
}



/* Elements */
html {}

body {
    background: #fff;
    color: #4E4D4A;
    font: 12px/1.5 'nimbus sans l', 'helvetica neue', arial, helvetica, sans-serif;
    padding: 1.5em;
}

a {
    color: #4e84c5;
    text-decoration: none;
}

a:focus,
a:hover {
    color: #a3d8f5;
}

.content h1,
.content h2,
.content h3 {
    color: #353432;
    font-weight: normal;
}

.content h1 {
    margin: 0;
}

.content h2 {
    margin: 0 0 0.5em;
}

.content h3 {
    font-weight: bold;
    margin: 0;
}

.content p {
    margin: 0 0 1.5em;
}

.content h1 + p {
    font-size: 1.333333333em;
}

ul,
ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

p + ul,
p + ol {
    margin-top: -1em;
}

nav ul,
nav ol {
    margin-bottom: 0;
    overflow: hidden;
    padding-left: 0;
}

nav li {
    float: left;
    margin: 0 2% 0 0;
}

nav a {
    border: 1px solid #fff;
    border-bottom: 0;
    float: left;
    padding: 2px 5px;
}

nav a:hover,
nav a:focus,
nav a:active,
nav li.active a {
    background: #4e84c5;
    /* border-color: #a3d8f5; */
    border-color: #2790B0;
    color: #fff;
}

.figure {
    margin: 0.375em 0 1em;
    width: 29.166666667em; /* 350px */
}

.figure img,
.figure span {
    display: block;
}

.figure img {
    border: 1px solid #4E4D4A;
    margin-bottom: 0.25em;
    width: 100%;
}

.figure span {
    font-size: 0.85em;
    font-style: italic;
    text-align: center;
    line-height: 1.166666667;
}

fieldset {
    border: 0;
    padding: 0;
}

form ul {
    list-style: none;
    padding-left: 0;
}

form li {
    margin-bottom: 0.625em;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.125em;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
textarea,
select {
    border: 1px solid #4E4D4A;
    width: 400px;
    /* width: 21em; /* 336px */
}

.error label {
    color: #900;
}

.error input[type="text"],
.error input[type="number"],
.error input[type="email"],
.error input[type="tel"],
.error textarea,
.error select {
    border-color: #900;
}

form .actions {
    padding-bottom: 1em;
}

form .actions button {
    background: #4e84c5;
    border: 1px solid #a3d8f5;
    color: #fff;
    margin-right: 1em;
    padding: 0.375em 0.5em 0.25em;
}

form .actions button:hover,
form .actions button:focus,
form .actions button:active {
    background: #a3d8f5;
    border-color: #4e84c5;
    color: #fff;
}


.testimonial {
    margin: 0 0 1em;
    overflow: hidden;
}

.testimonial img {
    float: left;
    margin-right: 1em;
    padding-bottom: 0.5em;
}

.testimonial blockquote {
    margin: 0 0 1em 150px;
}

.testimonial blockquote p {
    margin: 0 0 1em;
}

.testimonial blockquote cite {
    display: block;
    font-style: italic;
}

.testimonial.right {}

.testimonial.right img {
    float: right;
    margin-left: 1em;
    margin-right: 0;
    vertical-align: middle;
}

.testimonial.right blockquote {
    margin: 0 150px 1em 0;
    text-align: right;
}

.testimonial.logos {
    border: 1px solid #2b4e72;
    padding: 1.5em;
}

.testimonial.logos img {
    margin-right: 1.5em;
    padding-bottom: 0;
}



/* Structure */
[role="banner"] {
    margin-bottom: 0;
}

[role="banner"] .logo {
    margin: 0 0 1.666666667em; /* 20px */
}

[role="banner"] h1 {
    font-size: 1.5em; /* 18px */
    line-height: 1.111111111;
    margin: 0;
    padding: 0;
}

[role="banner"] img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

[role="banner"] nav {
    border-bottom: 1px solid #4e84c5;
}

[role="main"] {
    border-bottom: 1px solid #4e84c5;
    padding-bottom: 1em;
    background: #ffffff;
}



@media screen and (min-width: 768px) {
    
    [role="banner"] {
        margin-bottom: 2em;
        overflow: hidden;
        padding-bottom: 0;
    }
    
    [role="banner"] .logo {
        margin-bottom: 0;
    }
    
    [role="banner"] nav {
        margin-top: 0;
    }
    
    [role="banner"] nav a {
        font-size: 1.166666667em /* 14px; */
    }
    
    .figure {
        float: right;
        margin-left: 1em; /* 12px */
        max-width: 21.5em; /* 258px */
    }
    
}


@media screen and (min-width: 940px) {
    html {
        background: #efefef url(/assets/i/bg.jpg);
        background-position: top left;
    }

    body {
        -moz-box-shadow: 0 0 0.5em 0.125em #668284; /* 8px 2px */
        -webkit-box-shadow: 0 0 0.5em 0.125em #668284; /* 8px 2px */
        box-shadow: 0 0 0.5em 0.125em #668284; /* 8px 2px */
        font-size: 16px;
        line-height: 1.375;
        margin-left: auto;
        margin-right: auto;
        padding: 1em;
        max-width: 864px;
    }
    
    [role="banner"] nav {
        margin-top: 0;
    }
    
    .figure {
        margin-left: 1.5em; /* 24px */
        max-width: 21.875em; /* 350px */
    }
    
}
