/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

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

img {
    vertical-align: middle;
}

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

textarea {
    resize: vertical;
}


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

body {
    font-family: "adelle-sans", Arial, Helvetica, sans-serif;
    background: #fefefe;
    color: #444;
}

.c5EditMode {
    margin-top: -50px;
}

#page {
    background: #fefefe;
    padding: 1rem 0;
}

nav:hover > ul { display: block; }

header {
    background-color: #174572;
    background-image: url(../img/head-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    padding: 1px 0;
    position: relative;
}

header h1 {
    margin: 5em 0 2em -3em;
}

.banner {
    position: absolute;
    left: 0;
    bottom: -25%;
}

.banner img {
    width: 100%;
    height: auto;
}

nav,
.btn,
.hl-box-green {
    background: #9aa770;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzlhYTc3MCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4MDhlMzEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #94ce58 0%, #9cba5f 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#94ce58), color-stop(100%,#9cba5f));
    background: -webkit-linear-gradient(top,  #94ce58 0%,#9cba5f 100%);
    background: -o-linear-gradient(top,  #94ce58 0%,#9cba5f 100%);
    background: -ms-linear-gradient(top,  #94ce58 0%,#9cba5f 100%);
    background: linear-gradient(to bottom,  #94ce58 0%,#9cba5f 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#94ce58', endColorstr='#9cba5f',GradientType=0 );
    /*box-shadow: 0px -1px 6px rgba(0,0,0,0.5);*/
}

nav {
    /*margin-top: -56px;*/
    line-height: 54px;
}

nav a {
    color: #fff;
    text-decoration: none;
    text-align: center;
    width: 100%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
    font-weight: bold;
    margin: 0 -1px;
}

nav li:first-child a {
    border-left: none;
    margin-left: 0;
}

nav li:last-child a {
    border-right: none;
    margin-right: 0;
}

nav ul {
    margin: -1px -1px 0 -1px;
    padding: 0;
    border-right: 1px solid rgba(0,0,0,0.10);
    border-left: 1px solid rgba(255,255,255,0.10);
    border-top: 1px solid rgba(255,255,255,0.10);
}

nav li,
nav a {
    display: inline-block;
}

nav a:hover,
nav a:focus,
nav a.active,
nav a.nav-path-selected {
    background: #9aa770;
    background: rgba(255,255,255,0.075);
}

h1,
h2 {
    margin: 1rem 0;
}

h1, h2, h3, h4 {
    font-weight: bold;
}

h1 {
    color: #9cba5f;
}

h2, h3, h4 {
    color: #9cba5f;
}

a {
    color: #9cba5f;
}

a:hover,
a:focus {
    text-decoration: none;
}

footer {
    background: #E5DACF;
    padding: 1px 0;
}

.sidebar h2 {
    border-top: 2px solid #9cba5f;
    padding-top: 0.444em;
}

table th,
table td {
    vertical-align: top;
}

.hours {
    width: 100%;
}

.hours th,
.hours td {
    border-bottom: 1px solid #dedede;
    padding: 0.444em 0;
}

.hours tr:last-child th,
.hours tr:last-child td {
    border-bottom: none;
}

.hours th {
    color: #9cba5f;
    text-align: right;
    padding-right: 0.67em;
}

h2 [class^="icn-"], h2 [class*=" icn-"] {
    font-size: 0.667em;
    line-height: 1;
    vertical-align: middle;
}

h2 {
    vertical-align: middle;
}

.btn {
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
    line-height: 2.25em;
}

.btn:hover,
.btn:focus {
    background: #94ce58;
}

.fade {
    color: #999;
}

.hl-box-green {
    padding-bottom: 1px;
    text-align: center;
}

.hl-box-green,
.hl-box-green h2 {
    color: #fff;
}

.hl-box-green h2 {
    border: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

.call {
    font-size: 1.5em;
}

.location-map .google-map {
    width: 100%;
    height: 400px;
}

.team {
    width: 100%;
}

.team th {
    color: #94ce58;
    border-bottom: 2px solid #9cba5f;
    font-size: 1.25rem;
}

.team td {
    padding: 0.667rem 0;
    border-bottom: 1px dotted #ccc;
}

.subtext {
    color: #999;
}

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

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.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;
}

/* ==========================================================================
   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
     */

    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;
    }
}