/* ==========================================================================
   Normalized browser defaults
   ========================================================================== */

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}html,button,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}h2{font-size:1.5em;margin:.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:.83em;margin:1.67em 0}h6{font-size:.67em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}blockquote{margin:1em 40px}dfn{font-style:italic}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace,serif;_font-family:'courier new',monospace;font-size:1em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:none}q:before,q:after{content:'';content:none}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}

/* ==========================================================================
   Base styles
   ========================================================================== */

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

body {
    background: #fff;
    font: 1em/1.4 "futura-pt", helvetica, arial, sans-serif;
    font-weight:  400;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #005371;
    font-weight: 400;
    text-transform: uppercase;
}

h1 {
    font-size: 1.875em;
}

h2 {
    border-bottom: 2px solid #a6ddf7;
}

h3 a,
p a {
    color: #005371;
}

dt {
    margin-top: .5em;
    font-weight: bold;
    color: #005371;
}
dd {
    margin-left: 0;
    margin-bottom: .5em;
}

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

b,
strong {    
    color: #005371;
}

img {
    vertical-align: middle;
}

figcaption {
    margin: 1em 0;
    font-style: italic;
    text-align: center;
}


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

textarea {
    resize: vertical;
}

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


/* ==========================================================================
   Layout styles
   ========================================================================== */

.container {
    /*margin: 0 1em;*/
}

.grid-1-1,
.grid-1-2,
.grid-1-3,
.grid-2-3,
.grid-1-4,
.grid-3-4 {
    margin: 0 1em;
}

/* ==========================================================================
   Module styles
   ========================================================================== */

/* Main page styles
   ========================================================================== */  

.page-header {
    margin: 1em 0;
}    

.page-footer {
    background: #005371;
    padding: 1em 0;
    color: #fff;
}   

.page-footer h1,
.page-footer h2,
.page-footer h3,
.page-footer h4,
.page-footer h5,
.page-footer h6 {
    color: #fff;
}

.page-footer a {
    color: #a6ddf7;
}

/* Logo
   ========================================================================== */ 

.logo,
.logo img {
    display: block;
    width: 100%;
    max-width: 28.75em;
    margin: 0 auto;
}

.logo.logo-small,
.logo.logo-small img {
    width: 100%;
    max-width: 12.75em;
}

/* Header phone numbers
   ========================================================================== */ 

.header-number {
    color: #005371;
    text-align: center;
}   

.header-number span {
    display: block;
    font-size: 30px;
    font-size: 1.875rem;
}

/* Header navigation
   ========================================================================== */ 

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.header-nav li {
    display: inline;
    margin: 0 .5em;
}

.header-nav a {    
    font-size: 1.125em;
    color: #005371;
    text-decoration: none;
    text-transform: uppercase;
}

/* Banner
   ========================================================================== */

.banner-container {
    position: relative;
}

.banner {
    position: relative;
    list-style: none;
    overflow: hidden;
    padding: 0;
    margin-top: 0;
}

.banner li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    display: none;
    width: 100%;
    left: 0;
    top: 0;
}

.banner li:first-child {
    position: relative;
    display: block;
    float: left;
}

.banner img {
    display: block;
    height: auto;
    float: left;
    width: 100%;
    border: 0;
}

.banner-caption {    
    position: relative;
    overflow: hidden;
    padding: .5em 1em;
    margin: 1em 0;
    background: #005371;
    color: #fff;
    text-align: center;
    font-size: 1.125em;
    text-transform: uppercase;
}

.next-slide,
.prev-slide {
    position: absolute;
    z-index: 999;
    top: 30%;
    width: 2em;
    height: 2em;
    border: none;
    margin-top: -1em;
    background-color: rgb(0,83,113);
    background-color: rgba(0,83,113,0.9);
    color: #fff;
    font-weight: bold;
    border-radius: 1.5em;
}

.next-slide {
    right: .5em;
}

.prev-slide {
    left: .5em;
}

/* Features
   ========================================================================== */

.features {
    margin: 0;
    padding: 0;
    list-style: none;
}

.features-box {
    
}   

.features-caption {
    display: block;
    padding: .5em 1em;
    margin: 1em 0;
    background: #005371;
    color: #fff;
    font-size: 1.125em;
    text-decoration: none;
    text-transform: uppercase;
}

/* List of team members
   ========================================================================== */

/* If a team member has a profile image */

.team-list {
    overflow: hidden;
    padding-left: 0;
    list-style: none;
}

.team-list li {
    overflow: hidden;
    margin: 1em 1em 1em 0;
}

.team-list img {
    float: left;
    /*clear: both;*/
    margin: 0 1.25em 0 0;
}

/* Gallery
   ========================================================================== */

.gallery {
    list-style: none;
    padding: 0;
}

.gallery li {
    text-align: center;
}

.gallery img {
    width: 100%;
    max-width: auto;
}

.gallery p {
    font-style: italic;
}

/* Contact form
   ========================================================================== */

.contact-form {
    display: block;
    overflow: hidden;
}

.contact-form label,
.contact-form input[type="text"], 
.contact-form textarea {
    display: block;
    width: 100%;
}

.contact-form h3 {
    margin-top: 0;
} 

.contact-form input[type="text"], 
.contact-form select, 
.contact-form textarea {
    padding: 9px;
    border: 1px solid #ccc;
    margin-bottom: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 6em;
}

.contact-form .button {
    float: right;
    margin-bottom: 2em;
}

.contact-details {
    width: 28%;    
    margin-bottom: 2em;
}

.contact-details h3 {
    padding: .5em 1em;
    margin: 0;
    background: #034d69;
    color: #fff;
}

.cd-inner {
    padding: .5em 1em;
    background: #f4f4f4;
    border: 1px solid #ccc;
    border-top: none;
    font-size: .9em;
}

/* Contact form messages */

.text-error {
    padding: 10px;
    border: 1px solid #b94a48;
    background: #fcebed;
    color: #b94a48;
    list-style: inside;
}

.te-title {
    margin-bottom: 1em;
    list-style: none;
    font-weight: bold;
}

.text-success {
    padding: 10px;
    border: 1px solid #468847;
    background: #eff8ef;
    color: #468847;
    font-weight: bold;
}



/* Mini module styles
   ========================================================================== */  

/* Text modifiers */

.text-center {
    text-align: center;
}

/* Fluid images */

.fluid-img {
    display: block;
    width: 100%;
    margin: .5em auto;
}

.grid-1-3 .fluid-img {
    max-width: 18.3125em;
}

/* Button */

.button {
    padding: .5em 1em;
    border: none;
    margin: .5em 0;
    background: #034d69;
    color: #fff;
    text-transform: uppercase;
}

/* Images with descriptions that appear alongside main content */

.content-figure {

}

.content-figure img {
    display: block;
    width: 100%;
    max-width: 24em;
    margin: 0 auto;
}

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

@media only screen and (min-width: 35em) {
    .header-number {
        /*float: left;
        width: 50%;*/
    }

    .features-caption {
        text-align: center;
    }

    .team-list .half {
        float: left;
        width: 50%;
    }

    .next-slide,
    .prev-slide {
        width: 2.5em;
        height: 2.5em;
        top: 40%;
        border-top: -1.25em;
        border-radius: 1.25em;
    }

    .next-slide span,
    .prev-slide span {
        font-size: 1.5em;
        line-height: .8;
    }

    .next-slide {
        right: 1em;
    }

    .prev-slide {
        left: 1em;
    }
}

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

}

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

.no-top-space {
    margin-top: 0;
    padding-top: 0;
}   

.lead {
    font-size: 1.2em;
}

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