
/* general styles */

html { background-color: #fff; }

p { margin-bottom: 16px; }

h1 { margin-bottom: 10px; font-size: 2.2em; }
h2 { font-size: 1.2em;  }

p.flush.bottom { margin-bottom: 0; }

strong { display: inline; font-size: inherit; }

input.button.attention {
    display: inline-block; box-sizing: border-box;
    height: 50px; padding: 0 30px; border: 2px solid #ed1b24;
    border-radius: 25px; -webkit-border-radius: 25px; -moz-border-radius: 25px;
    color: #ffffff; font-size: 15px; line-height: 46px; text-align: center;
    vertical-align: middle; overflow: hidden;
    background-color: #ed1b24;
}
input.button.attention:hover {
    border-color: #9b262c; background-color: #9b262c;
    color: #ffffff; text-decoration: none;
    }

.copy.left { text-align: left; }

.header .header-primary { display: none; }

.header .header-secondary .header-right {
    padding-top: 16px;
    padding-right: 10px;
    }

    .header .header-secondary .header-right .link.icon .icon {
        height: 20px; width: 20px;
        padding: 3px;
        }
    .header .header-secondary .header-right .link.icon .icon:before {
        font-size: 18px; line-height: 18px;
        }
    .header .header-secondary .header-right .link.icon {
        font-weight: normal; display: block;
        font-size: 14px;
        padding-left: 40px; padding-top: 2px;
        height: 35px;
        }

section.banner { background-color: #e1e1e1; }

.banner .banner-image { height: 250px; }
.banner .banner-image ul { list-style: none; }
.banner .banner-copy {
    display: block; position: absolute; box-sizing: border-box;
    color: #fff; font-size: 3.1em; line-height: 1em;
    left: 50%; top: 25%; transform: translateX(-50%);
    padding: 0 45px; padding-right: 40%;
    width: 100%; max-width: 1076px;
    }

section.narrow { max-width: 986px; padding: 0 45px; margin: 0 auto; }

section.narrow.lead-content .columns.aside > *:first-child { padding-right: 60px; }


.icon.dark:before {
    color: #414141;
    }

.icon-list-item {
    clear: left;
    }

.icon-list-item .icon {
    float: left;
    margin-right: 20px; margin-top: -5px;
    }

.lead-content .icon.large, .inner-content .icon.large {
    width: 50px; height: 50px; line-height: 48px;
}

.lead-content .icon.large:before, .inner-content .icon.large:before {
    font-size: 48px; line-height: 48px;
}

.lead-content p { margin-right: -.15em; }

#form-window {
    overflow: hidden; position: relative; height: auto;
}
    #form-window.mobileQ { display: none; position: absolute; z-index: 1000; width: 100%; }
        #form-window.mobileQ .copy.fill { background-color: #fff; }
        #form-window.mobileQ .copy.stroke { border-width: 0; padding: 0; }
        #form-window.mobileQ .copy.stroke form { padding: 12px; padding-top: 0; padding-bottom: 130px; }
        #form-window.mobileQ .copy.stroke h2 { margin: 14px 0; }
        #form-window.mobileQ .copy.stroke .right { margin: 0 auto; width: 88%; float: none; }
        #form-window.mobileQ .copy.stroke .formback { display: none; }
        #form-window.mobileQ .copy.stroke table, #form-window.mobileQ .copy.stroke #schedulecta { width: 90%; margin: 0 auto; }

        #form-window.mobileQ .callday label, #form-window.mobileQ .calltime label { padding-left: 14px; }

    .quoteClose { display: none; }

    .mobileQ .quoteClose {
        display: block; padding: 20px;
        text-align: left;
        border-bottom: 1px solid #cacaca;
        }

    .quoteClose .icon.small {
        display: inline-block;
        width: 16px; height: 16px;
        line-height: 24px;
        vertical-align: middle;
        }
        .quoteClose .icon.small:before {
            font-size: 14px; line-height: 14px;
            float: left;
            }
            .quoteClose .icon.small.x-to-close:before {
                font-size: 24px; text-indent: -6px;
                }

#top-schedpop, #top-caslpop {
    display: none;
}

/*#form-window:after {
    content: '.'; display: block;
    clear: both; visibility: hidden;
    height: 0; line-height: 0;
    }*/

/* quote widget styles */

#quote-widget {
    display: inline-block; position: relative;
    clear: none; box-sizing: border-box;
    width: 100%; top: 0px;
}

#quote-widget .errors, #quote-schedule .errors {
    display: none; width: 92%; margin: 6px auto;
    border-radius: 4px; padding: 6px; background-color: rgba(255,255,255,0.5);
    font-size: 0.85em; color: red;
}

#quote-widget .right { display: block; text-align: right; font-size: 0.8em; }

#quote-widget label, #quote-schedule label { display: block; clear: left; text-align: left; padding-left: 6px; margin-bottom: 0px; margin-top: 10px; font-size: .9em; line-height: .9em;
}

#form-window .smallcopy {
    display: block; text-align: left; padding-left: 16px; font-size: .8em;
}

#quote-widget h2, #quote-results h2, #quote-schedule h2, #quote-scheduleresults h2 { font-size: 1.7em; }

#quote-widget hr, #quote-results hr, #quote-schedule hr, #quote-scheduleresults hr { margin: 16px 0; }

.tooltip a { display: inline-block; }

#quote-widget .help-icon, #quote-results .help-icon, #quote-schedule .help-icon {
    position: relative;
    font-size: 14px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 0 5px;
    color: #fff;
    line-height: 20px;
    text-align: center;
    background: #0079c1;
    z-index: 100;
}

.tooltip .new-tooltip-bubble {
    display: none; position: absolute; box-sizing: border-box; bottom: 26px;
    padding: 10px; width: 250px; left: -80px;
    border: 1px solid #0079c1; border-radius: 5px;
    background: #fff; white-space: initial;
    font-size: 12px; font-weight: normal; line-height: 1.3;
    z-index: 1000;
}
    .tooltip .new-tooltip-bubble .icon {
        position: absolute; top: -10px; right: -10px;
        display: block; width: 16px; height: 16px;
        padding: 2px; padding-left: 0; padding-right: 4px;
        cursor: pointer;
    }
    .tooltip .new-tooltip-bubble .icon:before { line-height: 16px; font-size: 20px; }


#quote-widget input[type=text], #quote-widget input[type=number], #quote-schedule input[type=text], #quote-schedule input[type=email], #quote-schedule input[type=tel]  {
    width: 92%;
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 8px;
    padding-bottom: 6px;
    border: 2px solid #cacaca;
    border-radius: 4px;
}
#quote-widget input[type=text]:focus, #quote-widget input[type=number]:focus, #quote-schedule input[type=text]:focus, #quote-schedule input[type=email]:focus, #quote-schedule input[type=tel]:focus {
    border-color: #0079c1;
}
#quote-widget select:focus, #quote-schedule select:focus { outline: auto 5px -webkit-focus-ring-color; }

#quote-schedule input[type=email], #quote-schedule input[type=tel] { width: 86%; }

#quote-widget input[name=day] { display: inline-block; width: 18%; }
#quote-widget input[name=month] { display: inline-block; width: 20%; }
#quote-widget input[name=year] { display: inline-block; width: 23%; }
#quote-widget .divider { font-size: 20px; display: inline-block; text-align: center; width: 7%; }

/* #quote-widget input[type=text],  { width: 92%; } */

#quote-widget select, #quote-widget input[name=coverage], #quote-schedule select {
    width: 92%;
    margin-top: 8px; margin-bottom: 8px;
    padding: 10px; padding-bottom: 8px;
    border: 2px solid #cacaca; border-radius: 4px;
    background-image: url('select-arrow.gif'); background-repeat: no-repeat;
    background-color: #fff; background-position: top right; background-size: 39px 45px;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
}
#quote-widget input[name=coverage] { margin-bottom: 2px; }

#coverlist-container { display: none; }

#quote-widget select#coverlist {
    width: 92%;
    margin-top: 0px; margin-bottom: 0px;
    padding: 3px; padding-bottom: 0px;
    border: 2px solid #cacaca; border-radius: 4px;
    background-image: none;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    }

#quote-widget select#coverlist option { padding: 7px; }

#coverlist-container {
    box-sizing: border-box; width: 92%;
    margin: 0 auto;
    padding: 3px; padding-bottom: 0px;
    background-color: #fff;
    border: 2px solid #cacaca; border-radius: 4px;
    background-image: none;
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
}

#coverlist-container a {
    display: block; text-align: left;
    padding: 7px;
    color: #414141;
    text-decoration: none;
    }

    #coverlist-container a:hover {
        background-color: #f1f1f1;
        }

/* quote results styles */

#quote-results, #quote-schedule, #quote-scheduleresults { display: none; position: absolute; clear: none; box-sizing: border-box; width: 100%; top: 0px; }

#quote-results .formback, #quote-results .formback:hover {
    display: block;
    text-align: left;
    padding-top: 2px;
    padding-bottom: 5px;
    font-size: .9em;
    text-decoration: none;
    }

#quote-results .coverage {
    display: block;
    font-size: 1.3em;
    padding-top: 5px; padding-bottom: 20px;
    }

#quote-results table thead th {
    vertical-align: top;
    padding: 0 15px 15px;
    border-bottom: 0;
    line-height: 1em;
    font-size: 0.9em;
    font-weight: normal;
    text-align: left;
    }

#quote-results thead .tooltip { float: right; }

#quote-results table thead th, #quote-results table tbody td {
    border-right: 1px solid #cacaca;
    }

#quote-results table thead th.last, #quote-results table tbody td.last {
    border-right: 0;
    }

#quote-results.fill table tbody td:nth-child(odd), #quote-results.fill table tbody td:nth-child(even) { background-color: transparent; border-bottom: 0; }

#quote-results table tbody tr:nth-child(odd) {
    background-color: #ffffff;
    }

#quote-results span[data-copy="quotenote"] { display: block; text-align: center; }

/* quote schedule styles */

#quote-schedule .formback, #quote-schedule .formback:hover {
    display: block;
    text-align: left;
    padding-top: 2px;
    padding-bottom: 5px;
    font-size: .9em;
    text-decoration: none;
    }

#quote-schedule .right.mandatory { display: block; text-align: right; float: right; }

#quote-schedule .callday { display: inline-block; width: 50%; float: left; }
#quote-schedule .calltime { display: inline-block; width: 50%;  }

#quote-schedule .callday select, #quote-schedule .calltime select { width: 84%; }

#quote-schedule .schedterms {
    display: block; width: 90%;
    padding: 8px; margin: 0 auto;
    text-align: left; font-size: .866em;
}

#quote-schedule .schedconsentbox label {
    display: block;
    width: 90%;
    padding: 8px;
    margin: 0 auto;
    text-align: left;
    font-size: .866em;
    padding-left: 32px;
    box-sizing: border-box;
    line-height: 1.3;
}

input[type="checkbox"] + label:before { top: 20px; }

/* quote schedule results styles */

#quote-scheduleresults p {
    display: block; width: 92%; margin: 0 auto;
    text-align: left;
}

#confirmation { display: none; }


/* inner content styles */

.inner-content h3, .cta-content h3 { font-size: 1.733em; }

.inner-content .columns > div { vertical-align: top; }

.inner-content table {}

.inner-content table td {
    text-align: center; border-bottom: 0;
    padding-top: 8px; padding-bottom: 8px;
    background-color: none;
    }

.inner-content table.centered thead th:first-child, .inner-content table.centered tbody th:first-child, .inner-content table.centered tbody td:first-child {
    text-align: center; background-color: none;
    }

.inner-content table tbody td:nth-child(odd) { background-color: none; }

.inner-content table tr td:first-child { border-right: 1px solid #cacaca; }

.inner-content table tbody tr:nth-child(odd) td { background-color: #f2f2f2; }
.inner-content table tbody tr:nth-child(even) td { background-color: #ffffff; }

.inner-content table thead th { padding-bottom: 2px; }

.inner-content .optional .icon.large { margin-bottom: 12px; }
.inner-content .optional .copy.left { padding-bottom: 0; }
.inner-content .copy.optional { padding-top: 0; }

.inner-content .optional .copy { line-height: 1.3; }

.inner-content .optional .tooltip .tooltip-bubble { width: 320px; }

p.narrow-paragraph { width: 70%; margin: 0 auto; margin-bottom: 16px; }

/* CTA Blocks */

.cta-block {
    display: block; position: relative;
    text-align: left; padding-left: 58px; padding-top: 14px;
    }

.cta-block .icon { position: absolute; left: 0; top: 0; }

.cta-block strong { display: block; font-size: 1.1em; margin-bottom: 14px; }

.cta-block p { margin-bottom: 0px; }

/* schedule a call popup */

#bottom-schedpop-window, #bottom-caslpop-window {
    width: 90%; height: 70%;
    max-width: 800px; max-height: 550px;
    border: 0;
    /* -webkit-overflow-scrolling: touch; overflow-y: scroll; */
    }

#bottom-schedpop-window iframe, #bottom-caslpop-window iframe {
    max-width: 800px; width: 100%; height: 100%; border: 0;
    }

#top-schedpop, #top-caslpop {
    display: none; position: relative; width: 100%; height: 100%; overflow: hidden;
    -webkit-overflow-scrolling: touch; overflow-y: scroll;
    }

    #top-schedpop iframe, #top-caslpop iframe { border: 0; width: 100%; overflow: auto; }

        .schedClose, .caslClose {
            display: block; padding: 20px; text-align: left;
            border-bottom: 1px solid #cacaca; 
            }

        .schedClose .icon.small, .caslClose .icon.small { display: inline-block; width: 16px; height: 16px; line-height: 24px; vertical-align: middle; }
        .schedClose .icon.small:before, .caslClose .icon.small:before { font-size: 14px; line-height: 14px; float: left; }
        .schedClose .icon.small.x-to-close:before, .caslClose .icon.small.x-to-close:before { font-size: 24px; text-indent: -6px; }


@media (max-width: 820px) {

    #bottom-schedpop-window, #bottom-caslpop-window {
        width: 600px; height: 500px;
        border: 0;
    }

    section.narrow.lead-content .columns.aside > *:first-child {
        padding-right: 20px; width: 53.6%;
    }

    .columns.aside > *:last-child {
        width: 45.4%;
    }

    #top-schedpop, #top-caslpop {
        display: none; position: relative; width: 100%; height: 100%; overflow: hidden;
        -webkit-overflow-scrolling: touch; overflow-y: scroll;
    }

    #top-schedpop iframe, #top-caslpop iframe { border: 0; width: 100%; overflow: auto; }

        .schedClose, .caslClose {
            display: block; padding: 20px; text-align: left; border-bottom: 1px solid #cacaca;
            }

        .schedClose .icon.small, .caslClose .icon.small { display: inline-block; width: 16px; height: 16px; line-height: 24px; vertical-align: middle; }
        .schedClose .icon.small:before, .caslClose .icon.small:before { font-size: 14px; line-height: 14px; float: left; }
        .schedClose .icon.small.x-to-close:before, .caslClose .icon.small.x-to-close:before { font-size: 24px; text-indent: -6px; }

}

@media ( max-width: 767px ) {

    .header .header-secondary { display: none; height: 84px; }

        .header .header-secondary .header-logo { height: 50px; width: 190px; line-height: 0; padding-top: 10px; }
        .header .header-secondary .header-logo img { height: 50px; width: 190px; }
        .header .header-secondary .header-right { padding-top: 16px; padding-right: 20px; }
        .header .header-secondary .link.icon { text-align: left; left: 10px; }
        .header .header-primary { display: block; height: 84px; }
        .header .header-primary .header-rondel { height: 44px; left: 20px; }
        .header .header-primary .header-rondel img { height: 36px; }
        .header .header-primary .header-right {
            display: inline-block; float: right; text-align: right; padding-top: 12px; padding-right: 12px;
            }

            .header .header-primary .header-right .icon.large { width: 40px; height: 40px; line-height: 40px; }
            .header .header-primary .header-right .icon.large:before { line-height: 40px; font-size: 40px; color: #414141; }
            .header .header-primary .header-right .callus { display: inline-block; text-align: center; }
            .header .header-primary .header-right .schedulacall { display: none; text-align: center; }

            .header .header-primary .header-right .callus span { display: block; font-size: 14px; }
            .header .header-primary .header-right .schedulacall span { display: block; font-size: 14px; }

            .header .header-primary .header-right a:link, .header .header-primary .header-right a:visited { text-decoration: none; color: #414141; margin-left: 16px; }

    .banner .banner-image { height: auto; }
    .banner .banner-image img { width: 100%; height: auto; }
    .banner-image ul { padding: 0px; line-height: 0; }
    .banner-image ul li { padding: 0; line-height: 0; }
    .banner .banner-copy { padding: 0 25px; padding-right: 36%; }

    .icon-list-item {
        padding-left: 70px; margin-bottom: 0;
        }

    .lead-content .icon.large { margin-left: -70px; }

    section.narrow { padding: 0 25px; }
    section.narrow.lead-content .columns.aside > *:first-child { padding-right: 0; width: 100%; }

    .lead-content .columns .copy.flush { padding-right: 0; }

    .columns.lines.two > * { width: 100%; }
    .columns.lines > * { border-left: 0; }

    .columns.lines .copy { padding: 0px; }

    p.narrow-paragraph { width: 90%; text-align: left; }

    #quote-widget hr, #quote-results hr, #quote-schedule hr, #quote-scheduleresults hr { margin: 16px auto; width: 88%; }

    #form-window.mobileQ .copy.stroke .right { margin: 0 auto; width: 88%; }

    #quote-results.fill table tbody tr:nth-child(odd) { background-color: #f2f2f2; }

    .inner-content .optional .tooltip .tooltip-bubble {
        width: 100%;
        left: 0px !important;
        bottom: 0px !important;
        top: auto !important;
        z-index: 1000;
    }


}

@media (max-width: 600px) {

    #bottom-schedpop-window, #bottom-caslpop-window {
        width: 320px; height: 500px;
        border: 0;
    }

    .tooltip .new-tooltip-bubble {
        margin-left: 0;
    }
        .tooltip .new-tooltip-bubble .icon {  }
        .tooltip .new-tooltip-bubble .icon:before {  }

    .banner .banner-copy { top: 13%; font-size: 2.9em; padding-right: 36%; }

}

@media ( max-width: 450px ) {

    .header .header-secondary { display: none; height: 130px; }

        .header .header-secondary .header-logo {
            height: 50px;
            width: 190px;
            line-height: 0;
            padding-top: 10px;
            margin-left: 50%;
            transform: translateX(-95px);
        }
        .header .header-secondary .header-logo img { height: 50px; width: 190px; }

        .header .header-secondary .header-right {
            padding-top: 10px;
            padding-bottom: 10px;
            float: none;
            width: 100%;
            text-align: center;
        }

        .header .header-secondary .link.icon {
            margin-left: 50%;
            display: block;
            transform: translateX(-50%) translateY(14px);
            width: 200px;
            clear: both;
            padding-top: 10px;
            }

    .banner .banner-copy {
        top: 13%;
        font-size: 2.2em;
        padding-right: 45%;
        left: 0%;
        display: block;
        position: absolute;
        box-sizing: border-box;
        transform: none;
    }

    .tooltip .new-tooltip-bubble { left: -60px; }

}

@media ( max-width: 320px ) {

    .banner .banner-copy {
        font-size: 2.0em;
    }

}






