/**
    Master styles
*/

/* Undo existing styles
======================================================================*/
/* Removes and neutralizes the inconsistent default styling of HTML elements, reset.css
    applies a consistent style foundation for common HTML elements across A-grade browsers. */

/*--- Reset ---*/
    button, code, h1, h2, h3, h4, h5, h6,
    input, pre, select, table, td, textarea, th
    { font-size: 1em; }
    
    address, blockquote, body, br, button, dd, fieldset, form, h1, h2, h3, h4, h5, h6,
    html, label, legend, li, ol, p, pre, table, td, th, ul
    { margin: 0; padding: 0; }
    
    ul, ol { list-style-type: none; }
    hr { border: none; height: 1px; line-height: 1px; }

/*--- Add base styles ---*/
    /* Headings */
    h1 { font-size: 20px }
    h2 { font-size: 18px }
    h3 { font-size: 16px }
    h4 { font-size: 14px }
    h5 { font-size: 12px }
    h1,h2,h3 { margin: 1em 0 .4em 0; }
    h1,h2,h3,h4,h5,h6,strong { font-weight: bold; }
    
    /* Misc */
    abbr,acronym { border-bottom: 1px dotted #000; cursor: help; } 
    em { font-style: italic; }
    blockquote,ul,ol,dl { margin: 1em; }
    
    /* Lists */
    ol,ul,dl { margin-left: 1em; }
    dl dd { margin-left: 1em; }
    
    /* Tables */
    th,td { border: 1px solid #000; padding: .5em; }
    th { font-weight: bold; text-align: center; }
    caption { margin-bottom: .5em; text-align: center; }
    p,fieldset,table { margin-bottom: 1em; }

    
/* Basics
======================================================================*/
html { height: 100%; }

body         { background: url(../images/bg-body.gif) top left repeat-x; }
body.subpage { background: url(../images/bg-body-subpage.gif) 0 0 repeat-x; }

img { border: none; }
    
a, a:link { color: #3D51BB; border-bottom: solid 1px #eee; text-decoration: none; }
a:hover { color: #2E3E83; border-bottom-color: #ccc; }
a.non-href,
a.non-href:link,
a.non-href:hover { color: #000; border: none; text-decoration: none; }

.para { margin-bottom: 1em; }

.top { line-height: 0; font-size: 0; height: 0; }


/* Fonts
======================================================================*/
body, input, select, textarea { font-family: Verdana, Helvetica, Arial, sans-serif; }
code, kbd, pre { font-family: "Courier New", Courier, monospace; }
h1, h2, h3, h4, h5 { font-family: Verdana, Helvetica, Arial, sans-serif; }


/* Core layout
======================================================================*/
.clear { clear: both; }

body { text-align: center; }

#frame {
    margin: 0 auto;
    padding-top: 70px;
    position: relative;
    width: 460px;
    text-align: left;
}
    #secondary-nav {
        line-height: 14px;
        width: 100%;
    }
    #secondary-nav .wrapper { margin: 0 auto; width: 460px; }
    
    /* Logo */
    #logo { margin-top: 0; }
    #logo a {
        background: url(../images/logo.gif) top left no-repeat;
        border-bottom: none;
        display: block;
    	overflow: hidden;
    	text-indent: -9999px;
    	width: 294px;
    	height: 48px;
    }
    #logo a:hover { border-bottom: none; }
    .subpage #logo a:hover {
        background-position: 0 -48px;
    }

    #navigation {
        margin: 0;
        position: absolute;
        top: 104px;
        right: 0;
        width: auto;
        z-index: 9999;
    }
    /* Hide on page load for users that have JS enabled */
    .js #menu-nav { display: none; }

/* Navigation
======================================================================*/
#navigation {}
    
    #navigation a { display: block; border: none; }

    #navigation h2 {
        font-size: 14px;
        margin: 0;
        text-align: right;
    }
        #navigation h2 a {
            background: url(../images/bg-nav-arrow.gif) 0 1px no-repeat;
            line-height: 11px;
            padding: 1px 0 0 14px;
        }
        #navigation h2 a:hover { background-position: 0 -10px; }

    #nav-menu {
        background: #333 url(../images/watermark-k.gif) bottom right no-repeat;
        border: solid 5px #4e4e4e;
        margin: 4px 0 0 0;
        padding: 12px;
        text-align: left;
        width: 426px;
    }

    #nav-menu a { background: none; padding: 0; }
    #nav-menu a.hover, 
    #nav-menu a:hover { color: #fff; }

    #navigation dl dt {
        border-top: solid 1px #414141;
        margin: 0;
        padding: 8px 0 0 0;
    }
    #navigation dl dt:first-child {
        border-top: none;
        padding: 0;
    }
    #navigation dl dt a { color: #ccc; font-size: 12px; }

    #navigation dl dd {
        border-bottom: solid 1px #292929;
        margin: 0; 
        padding: 0 0 8px 0;
    }
    #navigation dl dd:last-child {
        border-bottom: none;
        padding: 0;
    }
    #navigation dl dd a { color: #777; font-size: 10px; }


/* Header
======================================================================*/
#header {
    margin-top: 19px;
    position: relative;
}

    /* Secondary Navigation */
    #secondary-nav {
        background: #f2f2f2;
        font-size: 10px;
        font-weight: bold;
        padding: 6px 0; 
    }
    #secondary-nav a { color: #2E3E83; border-bottom: solid 1px #f2f2f2; }
    #secondary-nav a:hover { color: #3D51BB; border-bottom-color: #ccc; }
    #secondary-nav a.current,
    #secondary-nav a.current:hover { color: #000; border: none; }
    #secondary-nav span { width: 200px; float: left; text-align: left; }
    #secondary-nav span#client-login { width: 200px; float: right; text-align: right; }
    #client-login a {
        background: url(../images/lock.gif) 0 1px no-repeat;
        padding-left: 10px;
    }
    
    #market-research-page #header {
        background: url(../images/market-research.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #marketing-audit-page #header {
        background: url(../images/marketing-audit.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #commercial-testing-page #header {
        background: url(../images/commercial-testing.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #mystery-shop-page #header {
        background: url(../images/mystery-shop.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #about-us-page #header {
        background: url(../images/about-us.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #thank-you-page #header {
        background: url(../images/thank-you.jpg) 0 37px no-repeat;
        padding-top: 188px;
    }
    #not-found-page #header { padding-top: 60px; }
    
    #header p {
        background: url(../images/photo-survey.jpg) 100% 30% no-repeat;
        color: #fff;
        font-size: 11px;
        line-height: 16px;
        padding: 12px 220px 48px 0;
    }


/* Content
======================================================================*/
#content {
    font-size: 11px;
    line-height: 16px;
}
    .subpage #header h2 {
        color: #fff;
        margin: 0 0 0 -1px;
        position: absolute;
        top: 10px;
        left: 0;
    }
    
    #thank-you-page #content .wrapper {
        padding-top: 12px;
    }
    #request-quote-page #content .wrapper {
        padding-top: 50px;
    }
    
    #frame #content h3,
    #frame #content h4 { padding-top: 18px; }
    #frame #content .first { padding-top: 0; }
    
    ul.custom-bullets {
        list-style-type: disc;
        margin: .2em 0 1em 2em;
    }
    #frame #content ul.col1 { width: 190px; float: left; margin-left: 12px; }
    #frame #content ul.col2 { width: 190px; float: right; margin-left: 0; }
    
    .highlight {
        background: #FEFFE0;
        padding: .4em;
    }
    
    #home-page .testimonial {
        background: #f9f9f9 url(../images/bg-quote.gif) top left no-repeat;
        border: solid 1px #eee;
        font-style: italic;
        font-size: 11px;
        margin: 12px 0 0 0;
        padding: 16px;
    }
        #home-page .testimonial .cite { font-style: normal; font-weight: bold; }
        #home-page .testimonial img { float: right; }
         #home-page .testimonial .cite span { color: #666; }

    #home-page #menu {
        float: left;
        margin: 0;
        width: 250px;
    }
        #home-page #menu li {
            margin: 1em 0 0 0;
            padding: 0 0 1.2em 0;
            border-bottom: solid 1px #eee;
        }
        #home-page #menu li.first {
            margin-top: 0;
            padding-top: 0;
        }
        #home-page #menu li.last {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
    #market-research-page #navigation .market-research a,
    #market-research-page #navigation .market-research a:hover,
    #marketing-audit-page #navigation .marketing-audit a,
    #marketing-audit-page #navigation .marketing-audit a:hover,
    #commercial-testing-page #navigation .commercial-testing a,
    #commercial-testing-page #navigation .commercial-testing a:hover,
    #mystery-shop-page #navigation .mystery-shop a,
    #mystery-shop-page #navigation .mystery-shop a:hover {
        color: #000;
        cursor: text;
    }
    
    #secondary-nav {
        font-size: 10px;
        
    }
    
    #services-overview {
        font-family: Verdana;
        float: right;
        width: 190px;
    }
    #services-overview span { font-weight: bold; }
    
    #request_quote_container {
        border: solid 1px #f2f2f2;
        border-bottom-color: #e9e9e9;
        border-right-color: #e9e9e9;
        padding: 12px;
        background: #f9f9f9;
        margin-bottom: 24px;
    }
    #request_quote_container h3 { margin-top: 0; }
    #request_quote_container .last { margin-bottom: 0; padding-top: 8px; }

    /* Marketing Audit */
    #marketing-audit-page #frame #content dl dt { font-weight: bold; }
    #marketing-audit-page #frame #content dl dd { margin: 0 0 12px 0; }
    
    /* ServTrak */
    #mystery-shop-page #frame #content ul { list-style-type: disc; padding-left: 24px; margin-left: 0; }
    #mystery-shop-page #frame #content ul.col2 { padding-left: 24px; margin-left: 0; }
    #mystery-shop-page #frame #content ul.sell {
        font-weight: bold;
        list-style-type: none;
        padding-left: 0;
    }    
    #mystery-shop-page #content ul.sell li {
        background: url(../images/bullet-check.gif) 0px 4px no-repeat;
        list-style-type: none;
        padding-left: 12px;
    }
    

    .to-top { font-size: 16px; font-weight: bold; text-align: center; }
    
    .btn-container {
        background: #eee;
        border-top: solid 1px #eee;
        border-bottom: solid 1px #eee;
        margin-top: 12px;
        margin-bottom: 24px;
        padding-top: 12px;
        padding-bottom: 12px;
        text-align: center;
    }
    .btn-container a,
    .btn-container a:hover { border-bottom: none; }
    
    /*--- Mini Nav ---*/
    #mini-nav {
        margin-top: 1em;
        padding-top: 1em;
        border-top: solid 1px #000;
    }
        #mini-nav .back { width: 190px; float: left; }
        #mini-nav .forward { width: 270px; float: right; text-align: right; }
    
    /*--- Icons ---*/
    .icon {
        padding-left: 16px;
        background-position: top left;
        background-repeat: no-repeat;
    }
    .ppt { background-image: url(../images/ppt.gif); }

    
/* Forms
======================================================================*/
.form .button   { padding: .2em .8em; }
.form .req      { font-weight: bold; }
.form input.validation-failed,
.form select.validation-failed,
.form textarea.validation-failed {
	border: 1px solid #BC2525;
	color : #BC2525;
}
.form .validation-advice {
	margin: 5px 0;
	padding: 5px;
    background: #FCEBEB;
	color : #BC2525;
	font-weight: bold;
}
.form .txt-field,
.form textarea {
    padding: 4px;
}
.form .select { padding: 2px 2px 2px 1px; }
.form-row {
    margin-bottom: 8px;
}
.form .field-err { color: #BC2525; }

.notify { padding: .4em; margin-bottom: 12px; }
.error { background: #FCEBEB; color: #BC2525; }

    
    
/* Footer
======================================================================*/
#footer {
    background: #f2f2f2;
    margin-top: 24px;
    padding: .8em;
    border-top: solid 2px #e9e9e9;
}
    #footer .email,
    #footer .mailing,
    #footer .phone {
        display: block;
    }
    #footer .email,
    #footer .phone {
        font-style: normal;
    }
    
    #copyright {
        color: #ccc;
        margin-bottom: 2em;
    }
    
