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

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


/* ==========================================================================
   AFW custom styles
   Font weights: 300,400,700,900,400italic,700italic
   ========================================================================== */
html, body, h1, h2, h3, h4, h5, h6, th, tr, td {font-family: 'Lato', sans-serif!important;}
body {
    font-size: 1.0em;
    line-height: 1.5;
}


button, .button {
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    line-height: 1;
    margin: 0 0 1.25em;
    position: relative;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    padding-top: 0.75em;
    padding-right: 1.5em;
    padding-bottom: 0.8125em;
    padding-left: 1.5em;
    font-size: 1em;
    background-color: #4d90fd;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4d90fd', endColorstr='#4888ed',GradientType=0 );

    border-color: #377ded;
    color: white; }
button:hover, button:focus, .button:hover, .button:focus {
    background-color: #2a6fdc; }
button:hover, button:focus, .button:hover, .button:focus {
    color: white; }

button.large, .button.large {
    padding-top: .5em;
    padding-right: 1.5em;
    padding-bottom: .6em;
    padding-left: 1.5em;
    font-size: 1.15em; }
button.small, .button.small {
    padding-top: 0.5625em;
    padding-right: 1.125em;
    padding-bottom: 0.625em;
    padding-left: 1.125em;
    font-size: 0.9em; }
button.tiny, .button.tiny {
    padding-top: 0.4375em;
    padding-right: 0.875em;
    padding-bottom: 0.5em;
    padding-left: 0.875em;
    font-size: 0.6875em; }

button, .button {
    -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    -webkit-transition: background-color 300ms ease-out;
    -moz-transition: background-color 300ms ease-out;
    transition: background-color 300ms ease-out; }
button:active, .button:active {
    -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2) inset; }
button.radius, .button.radius {
    -webkit-border-radius: 3px;
    border-radius: 3px; }


.afw-blue {color:#4e98dd}
a.afw-blue:visited {color:#4e98dd}
a.afw-blue:hover {color:#eb1c4d}
a.afw-blue:active {color:#eb1c4d}

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="month"],
input[type="week"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
    background-color: white;
    font-family: inherit;
    border: 1px solid #cccccc;
    border-radius: 5px; -moz-border-radius:5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 0.875em;
    /*margin: 0 0 1em 0;*/
    padding: 0.5em;
    height: 2.3125em;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
    -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus {
    -webkit-box-shadow: 0 0 5px #999999;
    -moz-box-shadow: 0 0 5px #999999;
    box-shadow: 0 0 5px #999999;
    border-color: #999999; }
input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus {
    background: #fafafa;
    border-color: #999999;
    outline: none; }
input[type="text"][disabled],
input[type="password"][disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="month"][disabled],
input[type="week"][disabled],
input[type="email"][disabled],
input[type="number"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
textarea[disabled] {
    background-color: #dddddd; }





#companion td {padding:5px}

input[type="checkbox"] {}

.row { width:100%;}
.content-wrap { width:1030px; margin:0 auto; position:relative; }
#qualifier .question-group {border-bottom: 1px solid #bfbfbf; padding:25px 0;}
#qualifier .question-group:last-of-type {border:none;}
#qualifier .question {padding:0 0 0 20px; text-indent:-20px; width:370px; float:left; font-size:105%; max-width: 100%;}
#qualifier .answer {float:right; width:210px; margin:10px 0 0 50px;}
#qualifier input[type="radio"], #qualifier input[type="checkbox"] { display:none; }
#qualifier .answer input[type="radio"] + span.choice, #qualifier .answer input[type="checkbox"] + span.choice { color: #000; font-weight:700; background:transparent; padding:5px 10px 7px 10px; border:1px solid #ddd; border-radius:5px; margin:0 6px 0 0}
#qualifier .answer input[type="radio"]:checked + span.choice, #qualifier .answer input[type="checkbox"]:checked + span.choice { color: #000; background:#2eaa2e; border:1px solid #2eaa2e;}

#qualifier select.afw-custom {
    margin-top:-6px;
    background-color: white;
    font-family: inherit;
    border: 1px solid #cccccc;
    border-radius: 5px; -moz-border-radius:5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 0.875em;
    /*margin: 0 0 1em 0;*/
    padding: 0.5em;
    height: 2.3125em;
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
    -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
    height: 2.0em;
    padding: 0.30em 0 0.35em 0.5em;
    overflow: hidden;
    background-position:center right;
    background-repeat: no-repeat;
    background: transparent\9; /*IE hack*/
    font-size: 1.0em;
    max-width:200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

/* hat offerform styles*/
#hat_order .question-group { margin: .6em 0 1.2em 0;}
#hat_order .question-group:last-of-type {}

#hat_order label {display: inline-block; float:left; padding-top:4px; line-height:1.2em;}
#hat_order input[type="text"], #hat_order  textarea { display: inline-block; float:left;}

#hat_order label.long { width: 30%; }
#hat_order input[type="text"].short, #hat_order  textarea.short { width: 70%; }

#hat_order label.medium { width: 22%; }
#hat_order input[type="text"].medium, #hat_order  textarea.medium { width: 78%; }

#hat_order label.short { width: 12%; }
#hat_order input[type="text"].long, #hat_order  textarea.long { width: 88%; }

#hat_order input[type="text"].min, #hat_order  textarea.min { width: 35%; }

#hat_order label.wrap {display:block; width:100%; padding-bottom:7px; padding-top:0px;}

#hat_order input[type="text"].wrap, #hat_order  textarea.wrap { display:block; width:100% }

#hat_order label.check-radio {display: inline; float:none; padding:0 5px;}
#hat_order .question-note {font-size:.8em; font-weight:400; color:#666}

#hat_order .check-radio-group {padding:0 0 10px 6px; clear:both; }
#hat_order label.has-note {padding-top:0;}

#hat_order label.large {font-size:1.0em; font-weight:900;}
#hat_order label.caption {font-size:1.0em; font-weight:900; padding-bottom:15px; display:block; width:100%; color:#4e98dd}

#hat_order select.afw-custom {
    background-color: white;
    font-family: inherit;
    border: 1px solid #cccccc;
    border-radius: 5px; -moz-border-radius:5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 0.875em;
    /*margin: 0 0 1em 0;
   padding: 0.5em;
   height: 2.275em;*/
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
    -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
    height: 2.0em;
    padding: 0.45em 0 0.45em 0.5em;
    overflow: hidden;
    background-position:center right;
    background-repeat: no-repeat;
    background: transparent\9; /*IE hack*/
    max-width:200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

#hat_order .error {color:red; font-weight:900;}


#transaction_status {font-size:15px; line-height:130%; background:#fff; border:1px solid #2ab8e8; border-radius:4px; padding:10px 15px;}
#transaction_status p {margin-top:0; padding-top:0; margin-bottom:4px; padding-bottom:4px;}
#transaction_status p:first-child {font-weight:bold;}



/*application_form form styles updated 3/19/14 by TP*/

#application_form .question-group { margin: .6em 0 1.2em 0;}
#application_form .question-group:last-of-type {}

#application_form label {display: inline-block; float:left; padding-top:4px; line-height:1.2em;}
#application_form input[type="text"], #application_form  textarea { display: inline-block; float:left;}

#application_form label.long { width: 30%; }
#application_form input[type="text"].short, #application_form  textarea.short { width: 70%; }

#application_form label.medium { width: 22%; }
#application_form input[type="text"].medium, #application_form  textarea.medium { width: 78%; }

#application_form label.short { width: 12%; }
#application_form input[type="text"].long, #application_form  textarea.long { width: 88%; }

#application_form input[type="text"].min, #application_form  textarea.min { width: 35%; }

#application_form label.wrap {display:block; width:100%; padding-bottom:7px; padding-top:0px;}

#application_form input[type="text"].wrap, #application_form  textarea.wrap { display:block; width:100% }

#application_form label.check-radio {display: inline; float:none; padding:0 5px;}
#application_form .question-note {font-size:.8em; font-weight:400; color:#666}

#application_form .check-radio-group {padding:0 0 10px 6px; clear:both; }
#application_form label.has-note {padding-top:0;}

#application_form label.large {font-size:1.0em; font-weight:900;}
#application_form label.caption {font-size:1.0em; font-weight:900; padding-bottom:15px; display:block; width:100%; color:#4e98dd}

#application_form select.afw-custom {
    background-color: white;
    font-family: inherit;
    border: 1px solid #cccccc;
    border-radius: 5px; -moz-border-radius:5px;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-size: 0.875em;
    /*margin: 0 0 1em 0;
   padding: 0.5em;
   height: 2.275em;*/
    width: 100%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: -webkit-box-shadow 0.45s, border-color 0.45s ease-in-out;
    -moz-transition: -moz-box-shadow 0.45s, border-color 0.45s ease-in-out;
    transition: box-shadow 0.45s, border-color 0.45s ease-in-out;
    height: 2.0em;
    padding: 0.45em 0 0.45em 0.5em;
    overflow: hidden;
    background-position:center right;
    background-repeat: no-repeat;

    background: transparent\9; /*IE hack*/
    max-width:200px;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

#application_form .error {color:red; font-weight:900;}



.ui-widget {font-size:1em!important;}







.disclaimer {clear:both; text-align:center; color:#999; font-size:.8em; padding-top:25px;}

.prompt-wrap {clear:both; overflow: hidden; display:block; padding:10px 0 0 0;}
.prompt-wrap.active {display:block;}
.prompt-message {background:#f9edb3; border:1px solid #e9cc7d; border-radius:6px; padding:6px 10px; width:95%; margin:0 auto; color:#95660b; font-size:85%}
.prompt-inactive {clear:both; display:none;}
.header {color:#8fc2f1; font-weight:300; font-size:90%;}
.header a {color:#afd0ef; text-decoration:none; font-weight:300; font-size:90%;
    -webkit-transition: color 300ms ease-out;
    -moz-transition: color 300ms ease-out;
    transition: color 300ms ease-out;
}
.header a:visited {color:#afd0ef; text-decoration:none;}
.header a:hover {color:#fff; text-decoration:none;}
.header-button { padding:5px 15px; background-color:#3b78b0; border-radius:5px; margin:0 10px; }
.header-button:hover {background-color:#eb1c4d; webkit-transition: background-color 100ms ease-out; -moz-transition: background-color 100ms ease-out; transition: background-color 100ms ease-out;}
a.main-nav {float:left; height:100px; background:#fff; color:#000; padding:10px 25px; display:block; text-decoration:none;}
a.main-nav:hover {background-color:#d6e2e8; -moz-transition: background-color 300ms ease-out; transition: background-color 300ms ease-out;border-top-left-radius:7px; -moz-border-radius-topleft:7px; border-top-right-radius:7px; 	-moz-border-radius-topright:7px;}
a.main-nav > span {text-transform:uppercase; font-weight:300; font-size:1.5em;}
a.main-nav > div {font-weight:300; font-size:95%; line-height:120%; margin-top:7px;}
a.main-nav.active {background:#4e98dd; color:#fff; cursor:default; pointer-events: none; border-top-left-radius:7px; -moz-border-radius-topleft:7px; border-top-right-radius:7px; 	-moz-border-radius-topright:7px;}

a.footer-nav {font-size:80%; background:#fff; color:#000; padding:5px 15px; margin:0 15px; text-align:center; text-decoration:none; border:1px solid #c8d5e9; border-radius:4px; }
a.footer-nav:hover {background-color:#d6e2e8; -moz-transition: background-color 300ms ease-out; transition: background-color 300ms ease-out;}
a.footer-nav.active {background:#4e98dd; color:#000; }
.legal {color:#ccc; font-size:75%; text-align:center; padding:0 0 20px 0; font-weight:300;}
.slider-static-block {position:absolute; top:0; left:0; background:rgba(0,0,0,.7); width:325px; height:300px; padding:20px 20px 0 30px}
.slider-static-block h2 { font-weight:400; font-size:2.0em; color:#fff; padding-bottom:0; margin-bottom:0; }
.slider-static-block h3 {font-weight:300; font-size:1.5em; color:#fff; padding-top:0; margin-top:0; }

.error {color:red;}

#form_error { float:left; background:#ffcccc; margin-top:20px; padding:10px 20px; border:1px solid #ff6666; border-radius:10px;}
#form_error_wide { float:left; width:100%; background:#ffcccc; margin-top:20px; padding:10px 20px; border:1px solid #ff6666; border-radius:10px;}

/* ==========================================================================
   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: 100%;
}

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


/* IE 8 and later. Now, when you set a width and height, the element will always be that width and height, regardless of padding and borders. * (asterisk) for IE6 and 7 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing:    border-box;
    box-sizing:        border-box;
}

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