/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* =============================================================================
   WP Image Styles
   ========================================================================== */

.aligncenter, div.aligncenter {display: block;  margin-left: auto;  margin-right: auto;}
.alignleft { float: left;}
.alignright { float: right;}
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
.wp-caption img { margin: 0; padding: 0; border: 0 none;}
.wp-caption p.wp-caption-text {font-size: 11px; line-height: 17px; padding: 3px 4px 5px; margin: 0;}
img.alignright {padding: 4px;margin: 0 0 22px 24px;display: inline;}
img.alignleft {padding: 4px;margin: 0 11px 22px 0;display: inline;}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
a { color: #db5544; text-decoration: underline; }
a:hover { color: #fb6350; }
#headernav {width: 950px}
#headernav hr {width: 934px;}



/* Base Styles */
#wrapper{background:url('../img/bg.png') repeat left top #F3F3F3;}
body {background: #495782; font-family: 'MuseoSans500Regular','arial',sans-serif; }
header { width: 980px; margin: 0 auto; }
#logo { width: 500px; height: 186px; float: left;}
h1 { margin:0; }
h1 a { background: url('../img/logo.png') left top no-repeat; display:inline-block; width: 500px; height: 186px; }
#contactCTA { float: right; width: 335px; padding: 45px 0 35px 75px; position: relative;}
#contactCTA .icon { position: absolute; height: 44px; width: 62px; background: url('../img/sprite.png') left top no-repeat; left: 0px; top: 50px; }
#contactCTA p { text-transform: uppercase; font-size: 22px;color: #495782; margin:0;font-family: 'MuseoSans500Regular'; }

#searchBox { float: right; }
#searchForm { position: relative; }
#s { height: 24px; line-height: 23px ; font-size: 14px; font-family: 'MuseoSans500Regular','arial', sans-serif; padding-left: 5px; width: 320px; border: 1px solid #E1E1E1;}
#searchSubmit  { position: absolute; right: 6px; top: 6px; height: 14px; width: 14px; background: url('../img/sprite.png') -64px 0 no-repeat; cursor: pointer;}
.container { width: 940px; margin: 0 auto 20px; background: #ffffff; box-shadow:-1px 1px 2px rgba(0,0,0,0.4); padding:20px; }

/* Nav */
nav > ul { padding:0; margin:0; }
nav > ul > li {float: left;}
nav > ul > li a { padding: 10px 13px;margin-right: 6px;display: block; text-transform: uppercase; color: #ffffff; text-decoration: none; background-color: #DB5544;}
nav > ul > li a:hover {color:#ffffff; text-decoration: underline;}
nav > ul > li.current_page_item, nav > ul > li.current_page_parent, nav > ul > li.current_page_ancestor { font-weight: bold; }
nav hr { margin: 0;border: 4px solid #db5544;height: 0;}
.top-ancestor-6 nav hr { border: 4px solid #495782;}
.top-ancestor-9 nav hr { border: 4px solid #55715A;}
.top-ancestor-11 nav hr { border: 4px solid #3A6AAB;}
.top-ancestor-13 nav hr { border: 4px solid #8A453A;}
.top-ancestor-20 nav hr { border: 4px solid #2d385b;}
.top-ancestor-22 nav hr { border: 4px solid #005b7f;}

li.page-item-4 a { background-color: #db5544; }
li.page-item-6 a { background-color: #495782; }
li.page-item-9 a { background-color: #55715A; }
li.page-item-11 a { background-color: #3a6aab; }
li.page-item-13 a { background-color: #8a453a; }
li.page-item-20 a { background-color: #2d385b; }
li.page-item-22 a { background-color: #005b7f; }


/* Homepage */
#slider { width: 940px; height: 420px; position: relative; background: transparent; border: medium none; }
.introText { position: absolute; top: 0px;left: 30px;width: 365px;}
.introText h2 {color: white;font-weight: 300;line-height: 1.1em;font-size: 30px;}
.videoButton { position: absolute; top:23px; right: 15px; }
.videoButton a { background: url('../img/sprite.png') -62px -48px no-repeat; height: 120px;width: 160px;display: block;}
.videoButton a:hover {opacity: 0.9;}
.hpWidget {float: left; width:220px; margin-right: 20px; background: #d7d7d7;}
#hpWidgetWrapper { padding-right: 0; width: 960px;}
.hpWidgetTitle { background-position: -1px 0; background-repeat: repeat; height: 150px; padding: 10px; }
.hpWidgetContent { padding: 15px 15px 1px; }
#hpWidget1 .hpWidgetTitle { background-image: url('../img/widgetbg0.png'); }
#hpWidget2 .hpWidgetTitle { background-image: url('../img/widgetbg1.png'); }
#hpWidget3 .hpWidgetTitle { background-image: url('../img/widgetbg2.png'); }
#hpWidget4 .hpWidgetTitle { background-image: url('../img/widgetbg3.png'); }
.hpWidgetTitle h3 { color: white; text-align: center;font-style: italic;font-size: 27px;margin-top: 10px;line-height: 1.1em;font-weight: 700;}
.hpWidgetContent p { color: #000000; font-size: 16px; line-height: 1.2em; margin-top: 0; }
.page-id-4 h2 a {text-decoration: none;}
.page-id-4 h2 a:hover {text-decoration: none;}

/* homepage video */ 
#modalBG {display: none;position: fixed;top: 0;left: 0;height: 100%;width: 100%;background: black;background: rgba(0,0,0,0.9); z-index: 1000;}
#modalPopup {width: 100%;height: 100%;position: relative;}
#modalContent {position: relative;margin: 70px auto;width: 800px;padding: 10px;background: #ffffff;border-radius: 5px;box-shadow: inset 0.9px 1px 1px #B65C06;}
#modalClose {position: absolute;height: 22px;width: 22px;right: -10px;top: -10px;background: transparent url('../img/close.png') no-repeat scroll top left;cursor: pointer;}
#modalClose:hover {background: transparent url('../img/close.png') no-repeat scroll bottom left;}
/* homepage prefooter */
#preFooter { width: 980px; margin: 0 auto;}
.container.preFooter { float: left; width: 440px;}
#pfLeft { margin-right: 20px;}
.pfIcon { background-image: url('../img/sprite.png'); background-repeat: none; width: 60px;float: left;}
#pfLeft .pfIcon { background-position: 0 -48px; height: 70px;}
#pfRight .pfIcon { background-position: 0 -121px; height: 122px; }
.pfContent { float: left;width:360px; padding-left:20px;}
.preFooter h2 { font-size:28px; color:#db5544; margin: 0 0 0.4em 0; }
.pfContent h3 { font-size: 21px;color: #495782;margin: 0;line-height: 1.2em;font-weight: normal;}
.pfContent p { font-size: 14px; }

/* footer */ 
footer { background-color: #495782;}
footer p { color: #ffffff; font-size: 14px;}
footer span { color: #DB5544 ;}
.tiny { font-size: 12px; }
footer .left { float : left; }
footer .right { float : right; }
#footer { width: 980px; margin: 0 auto;}
footer hr { border-top: 1px solid white; margin:0;}
footer a { color: #ffffff;}

/* content pages */
.transNormal { -webkit-transition: all 0.6s;}
.subNav {margin: 0;list-style-type: none;padding: 10px 0;border-bottom: 2px solid;}
.subNav li {float: left;text-transform: uppercase;padding: 0;}
.subNav li a, .subNav li a:visited {padding: 0 10px;text-decoration: none;border-right: 2px solid #DB5544;}
.subNav li a:hover, .subNav li a:active {test-decoration:underline;}
.subNav li.current_page_item a, .subNav li.current_page_item a:visited,.subNav li.current_page_ancestor a, .subNav li.current_page_ancestor a:visited {font-weight: bold;}
.subNav li.current_page_item a:hover, .subNav li.current_page_item a:active, .subNav li.current_page_ancestor a:hover, .subNav li.current_page_ancestor a:active {}
.subNav li.first a {padding-left: 0;}
.subNav li.last a {border: medium none;}
#subNav-4 li a { color: #db5544; border-color: #db5544;}
#subNav-6 li a { color: #495782; border-color: #495782;}
#subNav-9 li a { color: #55715A; border-color: #55715A;}
#subNav-11 li a { color: #3a6aab; border-color: #3a6aab;}
#subNav-13 li a { color: #8a453a; border-color: #8a453a;}
.subNav { border-color: #db5544;}
#subNav-4 { border-color: #db5544;}
#subNav-6 { border-color: #495782;}
#subNav-9 { border-color: #55715A;}
#subNav-11 { border-color: #3a6aab;}
#subNav-13 { border-color: #8a453a;}
.subNav.hideme { height: 0;overflow: hidden;padding: 0;margin: 0;border-bottom: 0;}
#subNav-20 {display:none;}

#pageCopy h2 {text-transform: uppercase;margin-bottom:0; color: #db5544; font-size:28px;font-weight: normal;}
#pageCopy h3 {font-weight: normal;font-size:22px;margin-top:0;}
#pageCopy h4 { margin-bottom:0;color:#db5544;}
#pageCopy p {margin-top:0;}
.twoCol #pageCopy { width: 540px; float :left;}
.twoCol #pageAttachments{ float: left; padding-left: 20px;}
#pageAttachments .highslide img { border: medium none; }

/* Page Accordions */
#accordionWrapper {}
.accordion{}
.accordionTitle { position: relative; padding: 5px;border: 1px solid #d3d3d3;}
.accordionTitle h4 { cursor: pointer; margin:0;}
.accordionContent {display: none;border: 1px solid #d3d3d3;padding: 20px 20px 1px;}
.accordionTitle span { position: absolute; top: 5px; right: 5px; font-family: 'Lucida Console', sans-serif; cursor: pointer; }
.accordionTitle .show { display: none; }
.accordionTitle .hide { display: block; }
.accordionTitle.open .show { display: block;}
.accordionTitle.open .hide { display: none;}


/* testimonials page */
.page-id-22 h5 {color: #DB5544; margin: -10px 0 20px 0; border-bottom: 1px solid lightGrey; padding-bottom: 10px;}

/* contact page - including form */
.page-id-13 table { float: left; margin-right: 100px;}
.page-id-13 th { text-align: left; padding-right:10px;}
.page-id-13 table h4 {margin: 0;}
.page-id-13 #usermessagea, .page-id-13 #cformsform { float: left; background-color: white; border: none; margin-top:0; }
.page-id-13 #cformsform label {width: 25%; font-family: 'MuseoSans500Regular','arial',sans-serif; color: #DB5544;font-size: 1em; }
.page-id-13 .cform textarea {background: #EDEDED; border: none;} 
.page-id-13 .cform input {background: #EDEDED; border: none;} 
.page-id-13 #cformsform p.cf-sb { margin: 10px 21px 0px 0px;}
.page-id-13 #cformsform span.reqtxt, .page-id-13 #cformsform span.emailreqtxt { display: inline; margin: 0;padding: 0 0 0 6px;text-align: right;vertical-align: middle;width: auto;}
.linklove { display: none;}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

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

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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


#holiday{
    background: transparent;
    width: 100%;
    text-align: center;
    z-index: 1;
    color: #fff;
    position: relative;
    padding: 300px 30px;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */   -moz-box-sizing: border-box;    /* Firefox, other Gecko */   box-sizing: border-box;
}
#holiday.close{display:none;}
#holiday p{
    font-size: 20px;
    margin: 0px;
}
#holiday span{
    cursor:pointer;
    position: absolute;
    background: #db5544;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 30px;
    font-weight: bold;
    top: 22px;
    right: 30px;
}

ol.cf-ol li ul.cf_li_text_err {
height: auto !important;
}

ol.cf-ol ul.cf_li_text_err li {
font-weight: normal !important;
}