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

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

body {
    font-size: 1em;
    line-height: 1.4;
    font-family: 'Oxygen', sans-serif !important;
}

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

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


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Helvetica, Helvetica Neue, Arial;
}

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


.header-container {
    background: rgb(0,97,175); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(0,97,175,1) 6%, rgba(49,127,194,1) 30%, rgba(0,97,175,1) 92%, rgba(49,127,194,1) 99%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(6%,rgba(0,97,175,1)), color-stop(30%,rgba(49,127,194,1)), color-stop(92%,rgba(0,97,175,1)), color-stop(99%,rgba(49,127,194,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,97,175,1) 6%,rgba(49,127,194,1) 30%,rgba(0,97,175,1) 92%,rgba(49,127,194,1) 99%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,97,175,1) 6%,rgba(49,127,194,1) 30%,rgba(0,97,175,1) 92%,rgba(49,127,194,1) 99%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,97,175,1) 6%,rgba(49,127,194,1) 30%,rgba(0,97,175,1) 92%,rgba(49,127,194,1) 99%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,97,175,1) 6%,rgba(49,127,194,1) 30%,rgba(0,97,175,1) 92%,rgba(49,127,194,1) 99%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0061af', endColorstr='#317fc2',GradientType=0 ); /* IE6-9 */
}

.main aside {
    border-top: 20px solid #e44d26;
}

.footer-container {
    background-image: url("/img/footer-background.png");
}

.main aside {
    background: #f16529;
}

.title {
    color: white;
    margin: 5px 0;
}

.title img {
    width: 100%;
}

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

.mobileMenu {
    color: #ffffff;
    font-weight: bold;
    text-align: right;
}


nav {
    display: none;
}

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

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 0;

    text-align: center;
    text-decoration: none;

    color: white;

    font-family: Arial, Gadget, sans-serif;
}

nav a span {
    color: red;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

nav span.hidden {
    display: inline !important;
    color: #ffffff;
    visibility: visible;
}

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

.main {
    padding: 30px 0;
    vertical-align: top;
}

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

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

.footer-container footer h3 img {
    width: 100%;
    max-width: 624px;
}

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

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.main-container {
    background: rgb(189,190,190); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(189,190,190,1) 0%, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 49%, rgba(189,190,190,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(189,190,190,1)), color-stop(0%,rgba(255,255,255,1)), color-stop(49%,rgba(255,255,255,1)), color-stop(100%,rgba(189,190,190,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 49%,rgba(189,190,190,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 49%,rgba(189,190,190,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 49%,rgba(189,190,190,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 49%,rgba(189,190,190,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdbebe', endColorstr='#bdbebe',GradientType=0 ); /* IE6-9 */
}

#greet {
    color: #126CB6;
    font-size: 18.4pt;
    font-weight: bold;
}

.serviceBox {
    width: 90%;
    /*
    width: 375px;
    */
    display: inline-block;
    background: rgb(255,255,255); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(216,216,216,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(216,216,216,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(216,216,216,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#d8d8d8',GradientType=0 ); /* IE6-9 */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #d2d2d2;
    margin: 10px auto;
	cursor: pointer;
    /*
    vertical-align: top;
    height: 460px;
    */
}

.serviceBox .shadow {
    left: 0;
    position: absolute;
    width: 90%;
}

div.serviceBox:first-child {
    margin-left: 0 !important;
}

div.serviceBox:last-child {
    margin-right: 0;
}

.serviceBox .imgContainer {
    /*
    width: 355px;
    */
    width: 85%;
    margin: 10px auto;
    background: rgb(189,190,190); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(189,190,190,1) 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 90%, rgba(189,190,190,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(189,190,190,1)), color-stop(10%,rgba(255,255,255,1)), color-stop(90%,rgba(255,255,255,1)), color-stop(100%,rgba(189,190,190,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(189,190,190,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(189,190,190,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(left,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(189,190,190,1) 100%); /* IE10+ */
    background: linear-gradient(to right,  rgba(189,190,190,1) 0%,rgba(255,255,255,1) 10%,rgba(255,255,255,1) 90%,rgba(189,190,190,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bdbebe', endColorstr='#bdbebe',GradientType=1 ); /* IE6-9 */
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}



.serviceBox .imgContainer img {
    /*margin-bottom: 265px;*/
    width: 100%;
    -webkit-border-top-left-radius: 5px;
    -webkit-border-top-right-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}


.serviceBox .textContent p {
    color: #454444;
    display: inline-block;
    font-size: 11pt;
    line-height: 12pt;
    padding: 12px;
    text-align: left;
    width: 70%;
}

.serviceBox .textContent .moreContent {
    display: inline-block;
    width: 10%;
}


.serviceBox .textContent .moreContent a img {
    vertical-align: inherit;
    width: 100%;
}

.dashLine {
    height: 1px;
    width: 100%;
    background: url("/img/line-dash.png") repeat-x;
    padding-bottom: 5px;
}

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

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

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

    nav a {
        float: left;
        margin: 0 1.7%;
        font-size: 13px;
    }

    nav span.hidden {
        display: none !important;
    }

    nav a img {
        vertical-align: middle;
    }

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

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

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

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }

}

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

    .mobileMenu {
        display: none;
    }

    nav {
        float: right;
        display: block;
        top: auto;
        width: 100%;
    }

    .serviceBox .imgContainer {
        width: 96%;
    }

    .serviceBox .textContent p {
        width: 85%;
    }

    .serviceBox .textContent .moreContent a img {
        width: inherit;
    }

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

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

    .title {
        float: left;
    }

}

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

    nav {
        float: right;
        display: block;
        top: auto;
        width: 100%;
    }

    .serviceBox {
        width: 27%;
        vertical-align: top;
        height: 425px;
        margin: 0 2%;
        position: relative;
    }

    .serviceBox .shadow {
        position: absolute;
        bottom: -12px;
    }

    .serviceBox .imgContainer {
        width: 90%;
    }

    .serviceBox .textContent p {
        width: 75%;
    }

}

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

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

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

    nav {
        width: 55%;
        position: relative;
        top: 15px;
    }

    .serviceBox .textContent .moreContent {
        bottom: 10px;
        position: absolute;
    }
}

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

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

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

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

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