
/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: none; }
html, body { height: 100%; }
body {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 14px;
    color: #333;
    background: url(../images/bg-body.png) 0 0 repeat;
}
h1 { font-size: 38px; font-weight: normal; line-height: 1.2; color: #004970; margin: 0 0 20px 20px; }
h2 { font-size: 28px; font-weight: normal; color: #333; margin: 15px 0; }
h3 { font-size: 22px; font-weight: normal; color: #333; margin: 15px 0; }
p  { font-size: 14px; line-height: 21px; color: #333; padding: 8px 0; }
a  { text-decoration: none; color: #5985C5; }
a:hover { text-decoration: underline; }
ul { padding: 0 0 0 25px; }
li { font-size: 14px; line-height: 21px; color: #333; padding: 5px 0;
     list-style-image: url(../images/list-style-image.gif); }

/* ============================================================
   WRAPPER & BACKGROUND
   ============================================================ */
#outer-wrapper {
    position: relative;
    width: 960px;
    background: url(../images/bg-shadows.png) 0 0 repeat-y;
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden;
}
#inner-wrapper {
    position: relative;
    background: url(../images/bg_main_light.jpg) 0 143px no-repeat;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#header {
    padding: 0 0 0 14px;
    position: relative;
    height: 160px;
}
#logo {
    display: block;
    width: 250px;
    height: 160px;
    background: url(../images/logo-withgrace.png) 0 center no-repeat;
    background-size: contain;
    text-indent: -9999px;
}
#main-nav {
    position: absolute;
    top: 100px;
    right: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}
#main-nav li {
    float: right;
    list-style: none !important;
}
#main-nav li a {
    display: inline;
    font-size: 19px;
    color: #5985C5;
    padding: 5px 4px;
    line-height: 26px;
}
#main-nav li a:hover { color: #9F9F9F; text-decoration: none; }
#main-nav li span {
    display: inline;
    font-size: 19px;
    color: #996C00;
    padding: 5px 2px;
    line-height: 26px;
}

/* Mobile nav */
#mobilemenu {
    display: none;
    background: #004970;
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
}
#menupanel { display: none; background: #004970; padding: 5px 10px; }
#menupanel li { list-style: none !important; padding: 0; border-top: 1px solid #336; }
#menupanel li a { display: block; font-size: 16px; color: #8ab4f8; padding: 10px 4px; }

/* ============================================================
   CONTENT LAYOUT
   ============================================================ */
#content { padding-top: 10px; overflow: hidden; }
#content::after { content: ''; display: table; clear: both; }
#content h1 { max-width: 800px; }

#col-left  { float: right; width: 545px; padding: 0 30px 30px 30px; }
#col-right { float: left;  width: 300px; padding: 0 0 30px 0; }

/* ============================================================
   SIDEBAR MENU
   ============================================================ */
#expertise-categories {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 4px;
}
#expertise-categories h3 {
    font-size: 22px;
    font-weight: normal;
    color: #00466C;
    margin: 14px 0 4px;
    padding: 0;
    line-height: normal;
}
#expertise-categories h3:first-child {
    margin-top: 0;
}
#expertise-categories p { padding: 0; }
#expertise-categories p a {
    font-size: 16px;
    line-height: 24px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px dashed #ACB898;
}
#expertise-categories p a:hover {
    color: #5985C5;
    text-decoration: none;
    border-bottom: 1px dashed #F4EAF3;
}

/* ============================================================
   QUOTE FORM
   ============================================================ */
#get-quote h3 {
    background: url(../images/icon-arrow.png) 5px 0 no-repeat;
    font-size: 26px;
    font-weight: normal;
    line-height: 32px;
    color: #99338E;
    padding: 0 0 8px 55px;
    margin: 10px 0 0;
}
#get-quote #quote-form {
    background: #F4EAF3;
    padding: 8px 16px 14px;
}
#get-quote #quote-form .spam-notice {
    font-family: Arial, sans-serif !important;
    font-size: 12px !important;
    line-height: 15px !important;
    color: #333 !important;
    display: block;
    padding: 4px 0 8px;
}
/* Label + input pairs — clean stacking, no floats */
#get-quote #quote-form p {
    font-size: 14px;
    font-weight: normal;
    color: #99338E;
    padding: 0 0 2px;
    margin: 0;
    clear: both;
}
#newsletter-signup .text-box,
#newsletter-signup .select-box {
    display: block;
    float: none;
    width: 100%;
    max-width: 220px;
    padding: 5px 6px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    font-family: Georgia, serif;
    font-size: 14px;
    background: #fff;
}
.signup {
    display: block;
    width: 140px;
    background: url(../images/bg_submit.gif) 0 0 repeat-x;
    background-color: #731372;
    border: 3px solid #9B6F9A;
    border-radius: 5px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 15px;
    color: #fff;
    padding: 5px 0;
    cursor: pointer;
    margin-top: 6px;
    text-align: center;
}
.signup:hover { color: #ddd; }

/* ============================================================
   SNIPPET BAR
   ============================================================ */
#snippet {
    position: relative;
    width: 940px;
    background-color: #D1DDEF;
    border-top: 1px solid #fff;
    padding: 20px 15px 30px 15px;
    margin-bottom: 5px;
    overflow: hidden;
    clear: both;
}
#snippet div { float: left; padding: 0 0 5px 0; }
#snippet div span { font-size: 60px; color: #fff; line-height: 1; }
#snippet div#about { width: 570px; padding: 12px 12px 15px 15px; }
#snippet div#about p { font-size: 15px; line-height: 17px; color: #333; padding: 0; }
#snippet > p { font-size: 30px; line-height: 28px; color: #5985C5; padding: 8px 0 0 8px; float: left; clear: none; }
#snippet > p span { color: #99338D; }
#snippet img { float: left; margin: 0 10px 0 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
    clear: both;
    background: #fff;
    text-align: center;
    padding: 14px 20px;
    border-top: 1px solid #e0e0e0;
    margin: 0 -10px;
}
#footer p {
    font-size: 13px;
    line-height: 1.6;
    color: #5985C5;
    padding: 0;
    margin: 0;
}
#footer a { color: #5985C5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media only screen and (max-width: 980px) {
    #outer-wrapper, #footer { width: 100% !important; max-width: 960px; }
    #snippet { width: 100% !important; box-sizing: border-box; }
}
@media only screen and (max-width: 800px) {
    #outer-wrapper { margin: 0 1% !important; }
    #main-nav li a  { font-size: 14px !important; }
    #main-nav li span { font-size: 14px !important; }
}
@media only screen and (max-width: 640px) {
    #header { height: auto; min-height: 80px; }
    #logo { height: 80px; width: 160px; background-position: left center; }
    #main-nav { top: 50px; right: 10px; }
    #main-nav li a  { font-size: 12px !important; padding: 3px 3px; }
    #main-nav li span { font-size: 12px !important; padding: 3px 1px; }
}
@media only screen and (max-width: 540px) {
    #main-nav  { display: none !important; }
    #mobilemenu { display: block !important; }
    #header { height: auto; padding-bottom: 0; }
    #col-left, #col-right {
        float: none !important; width: 100% !important;
        padding: 0 12px 16px !important;
    }
    h1 { font-size: 24px !important; margin-left: 0 !important; }
    #col-left img[style*="float"] {
        float: none !important; display: block !important;
        width: 100% !important; max-width: 260px;
        height: auto !important; margin: 0 auto 12px !important;
    }
    #newsletter-signup .text-box,
    #newsletter-signup .select-box { max-width: 100% !important; }
    .signup { width: 100% !important; }
    #snippet { width: 100% !important; box-sizing: border-box; padding: 12px; }
    #snippet div span, #snippet img, #snippet > p { display: none; }
    #snippet div#about { width: 100% !important; float: none; }
    #footer { width: 100% !important; }
}
