/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* elements */

html, body {
    font: 14px/20px Arial, sans-serif;
    color: #76a6cd;
    min-width: 1024px;
    background: url('../img/bg.jpg') repeat-x top center #fdfdfe;

    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'TeXGyreAdventorBold', sans-serif;
    letter-spacing: .05em;
}

p {
    text-align: justify;
}

a {
    color: #fdfdfe;
    text-decoration: none;
}
a:hover, a:focus {
    text-decoration: underline;
}

/* navigation / link lists. */

nav {
    font-family: 'TeXGyreAdventorRegular', sans-serif;
}
nav ul {
    padding: 0;
    margin: 0;
}
nav ul li {
    display: inline-block;
    padding: 0 20px;
    border-left: 1px solid #fdfdfe;
}
    .lt-ie8 nav ul li { display: inline }
    nav ul li:first-child {
        padding-left: 0;
        border-left: none;
    }
    nav ul li:last-child {
        padding-right: 0;
    }

/* helpers */

.alt-font {
    font-family: 'TeXGyreAdventorRegular', sans-serif;
}
.alt-font-bold {
    font-family: 'TeXGyreAdventorBold', sans-serif;
}

.container {
    width: 980px;
    margin: 0 auto;
}

.span1 {
    width: 310px;
    margin-left: 20px;
}
.span1:first-child {
    margin-left: 0;
}
.span2 {
    width: 650px;
    margin-left: 20px;
}
.span2:first-child {
    margin-left: 0;
}

.block {
    float: left;
    padding: 20px;
    margin-bottom: 20px;
    background: url('../img/block-bg.png') repeat-x;
    background-size: contain;

    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
        -ms-border-radius: 8px;
         -o-border-radius: 8px;
            border-radius: 8px;

    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}
.lt-ie8 .block.span1 { width: 270px }
.lt-ie8 .block.span2 { width: 610px }

.block h2 {
    margin-top: 0;
    line-height: 130%;
    text-transform: uppercase;
}
.block h2 img {
    margin-right: 10px;
}
.block h2 span {
    display: inline-block;
    vertical-align: middle;
}

.btn {
    display: inline-block;
    font-size: 80%;
    text-transform: uppercase;
    padding: 10px 20px;
    border: 1px solid #fdfdfe;

    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
        -ms-border-radius: 8px;
         -o-border-radius: 8px;
            border-radius: 8px;
}
.btn.btn-blue {
    background: url('../img/btn-blue-bg.png') repeat-x;
}

/* header */

header {
    padding: 20px 0 0;
}
    header p {
        font-size: 110%;
        text-indent: 1em;
        color: #1e5fb8;
        margin-top: .4em;
    }

#language-select {
    margin-bottom: 22px;
}
    #language-select li {
        float: right;
        border: none;
        padding: 0;
    }
#account {
    font-size: 90%;
    text-align: right;
}

/* primary navigation */

#navbar {
    background: url('../img/navbar-bg.png') repeat-x 0 0;

    -webkit-border-radius: 8px 8px 0 0;
       -moz-border-radius: 8px 8px 0 0;
        -ms-border-radius: 8px 8px 0 0;
         -o-border-radius: 8px 8px 0 0;
            border-radius: 8px 8px 0 0;
}
    #navbar a {
        display: block;
        font-family: 'TeXGyreAdventorBold', sans-serif;
        font-size: 110%;
        color: #1e5fb8;
        height: 20px;
        padding: 25px 21px 23px;
    }
    #navbar li {
        display: block;
        position: relative;
        float: left;
        white-space: nowrap;
        overflow: visible;
        padding: 0;
        border-color: #eef4f8;
        border-color: rgba(97,117,133,.1);
    }
        #navbar li:first-child a {
            -webkit-border-radius: 8px 0 0;
               -moz-border-radius: 8px 0 0;
                -ms-border-radius: 8px 0 0;
                 -o-border-radius: 8px 0 0;
                    border-radius: 8px 0 0;
        }
        #navbar li.active a {
            color: #fdfdfe;
            background: url('../img/navbar-item-active.png') repeat-x 0 0;
        }
        #navbar li ul {
            position: absolute;
            z-index: 100;
            padding: 10px;
            background: #195daf;
            opacity: 0;

            -webkit-transition: opacity .5s linear;
               -moz-transition: opacity .5s linear;
                -ms-transition: opacity .5s linear;
                 -o-transition: opacity .5s linear;
                    transition: opacity .5s linear;
        }
        .lt-ie9 nav li ul {
            display: none;
            top: 68px; left: 0;
            z-index: 100;
        }
        #navbar li:hover ul {
            display: block;
            opacity: 1;
        }
            #navbar ul ul li {
                float: none;
                padding: 10px;
                border: none;
            }
            #navbar ul ul a {
                color: #fdfdfe;
                padding: 0;
            }
            #navbar li.active ul a {
                background: none;
            }

/* auto-quote */

#auto-quote {
    margin-bottom: 35px;
}
#auto-quote h2 {
    color: #8aabef;
    text-decoration: underline;
    margin: 0;
    padding: 30px;
}
#auto-quote textarea {
    width: 265px;
    height: 245px;
    border: none;
    resize: none;
    overflow: auto;
}
#auto-quote .container {
    margin: 20px auto;
    background: #fdfdfe;

    -webkit-box-shadow: inset 1px 1px 9px rgba(0, 0, 0, .4);
       -moz-box-shadow: inset 1px 1px 9px rgba(0, 0, 0, .4);
        -ms-box-shadow: inset 1px 1px 9px rgba(0, 0, 0, .4);
         -o-box-shadow: inset 1px 1px 9px rgba(0, 0, 0, .4);
            box-shadow: inset 1px 1px 9px rgba(0, 0, 0, .4);

    -webkit-border-radius: 8px;
       -moz-border-radius: 8px;
        -ms-border-radius: 8px;
         -o-border-radius: 8px;
            border-radius: 8px;
}
    #auto-quote .container > div {
        padding: 0 30px 30px;
    }
#auto-quote .step {
    float: left;
    width: 300px;
    margin-left: 10px;
}
#auto-quote .step:first-child {
    margin-left: 0;
}
#auto-quote .instruction {
    font-size: 110%;
    color: #fdfdfe;
    padding: 15px;
    margin-bottom: 1px;
    background: #85cdfb;
}
#auto-quote .action {
    text-align: center;
    height: 250px;
    padding: 15px;
    background: #3984be;

    -webkit-border-radius: 0 0 8px 8px;
       -moz-border-radius: 0 0 8px 8px;
        -ms-border-radius: 0 0 8px 8px;
         -o-border-radius: 0 0 8px 8px;
            border-radius: 0 0 8px 8px;
}
#auto-quote .input-summary,
#auto-quote .quote-summary,
#auto-quote .quote-acceptance {
    display: block;
    font-size: 140%;
}
#auto-quote .input-summary {
    margin-top: 5px;
    line-height: 150%;
    color: #fdfdfe;
}
#quote-word-count {
    font-size: 140%;
}
#auto-quote .quote-summary {
    font-size: 130%;
    text-decoration: underline;
    color: #fdfdfe;
    padding: 20px 0;
}
#auto-quote .quote-acceptance {
    text-align: justify;
}
#terms-accept {
    display: inline-block;
    vertical-align: top;
    margin-top: 7px;
}
#auto-quote .quote-acceptance .terms {
    display: inline-block;
    width: 90%;
    line-height: 130%;
}
#auto-quote .email-collect * {
    display: block;
    margin: 0 auto;
}
#auto-quote .email-collect label {
    font-size: 140%;
    color: #fdfdfe;
    margin: 40px auto 10px;
}
#auto-quote .email-collect #email_address {
    width: 250px;
    border: none;
    padding: 5px;
}
#auto-quote .email-collect small {
    color: #85cdfb;
    margin: 10px auto 20px;
}

/* body */

#body {
    padding: 20px 0;
    background: url('../img/body-bg.png') repeat-x bottom center #fff;
}
#body .top-row .block {
    height: 255px;
}
#body .bottom-row > div {
    height: 275px;
}
#body .bottom-row h2 {
    text-transform: uppercase;
}

/* footer */

footer .ctc-referral {
    text-align: center;
    padding: 40px;
    background: #085da4;
}
footer .closing {
    text-align: right;
    padding: 10px 0;
    background: #003f82;
}
footer .closing a {
    font-size: 80%;
    text-transform: uppercase;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.pull-left { float: left }
.pull-right { float: right }

/*
 * 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;
    }
}



.normallink
{
	color:#3aa500;
}

.preferword
{
  width: 945px;
  left: 50%;
  position: relative;
  margin-left: -490px;
  height: 175px;
  padding: 10px;
  text-align: right;
}

.word_input
{
  background-color: #FFFFFF;
  border: 0px;
  padding: 6px;
  color: #2a5696;
  font-weight: bold;
}