﻿/* =========================================================
   Modern Element Reset
   ==========================================================*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
}

/* Ensure modern box sizing layout model across the entire page template */
html {
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: inherit;
}

a {
    outline: 0;
}

/* ======================================================
   Global Document Body
   =======================================================*/
body {
    padding: 0;
    margin: 0;
    background-color: #CCCCCC;
    background-image: url("images/eoswintershade6a.png");
    line-height: 1.4;
    font-size: 1em;
    color: #2D2E2E;
    font-family: Arial, Helvetica, sans-serif;
}

body img {
    border: 0;
    text-decoration: none;
    height: auto;
    width: auto\9; /* ie8 fallback */
}

/* =====================================
   Executive Header Typography
   ========================================*/
h1, h2, h3 {
    color: #1C140E;
    margin: 10px 0 10px 0;
    font-family: Arial, Helvetica, sans-serif;
}
h1 {
    font-size: 1.76rem;
    line-height: 1.2;
}
h2 {
    font-size: 1.45rem;
    line-height: 1.25;
}
h3 {
    font-size: 1.2rem;
    line-height: 1.3;
}

/* ================================
   Global Anchor & Link Transitions
   =================================*/
a, a:link {
    color: #CC6600;
    font-weight: bold;
    text-decoration: none;
}
a:visited {
    color: #666633;
}
a:hover, a:focus, a:active {
    color: #2170bd;
    text-decoration: underline;
}

/* ======================================
   Core Document Structure Wrappers
   ========================================== */
#outerWrapper {
    background-color: #FFFFFF;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    border: 1px solid #000000;
    border-radius: 10px;
    box-shadow: 0 0 20px #453823;
}

/* CORRECTED: Set padding to 0 and background to transparent.
   This allows your inline 'leasing-lawyer.jpg' banner to seamlessly 
   fill the entire header box width without awkward borders or background fighting.
*/
#outerWrapper #header {
    background: transparent;
    padding: 0;
    font-weight: bold;
    border-radius: 8px 8px 0px 0px;
}

.site-name {
    font-size: 2.2rem;
    text-align: center;
    font-family: Federo, "Segoe UI", Optima, Helvetica, Arial, sans-serif;
}

.tagline {
    font-size: 0.85rem;
}

#content {
    padding: 20px;
}

/* Flexible, clean layout clearing rule */
.clearFloat {
    display: block;
    clear: both;
}

/* =================================================
   Global Site Footer
   ==================================================*/
#footer {
    background-color: #000000;
    padding: 15px;
    border-radius: 0 0 8px 8px;
    color: #FFFFFF;
}
#footer p {
    margin: 0;
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.4;
}
#footer a:link {
    color: #FFFFFF;
}
#footer a:visited {
    color: #CCCCCC;
}
#footer a:hover, #footer a:focus {
    color: #FFFFFF;
    text-decoration: underline;
}
#footer a:active {
    color: #999999;
}

/* ============================================
   Image Placement Utilities
   =============================================*/
.imglft {
    padding: 5px 15px 5px 0;
    float: left;
}
.imgrgt {
    padding: 5px 0 5px 15px;
    float: right;
}
.imgctr {
    display: block;
    margin: 10px auto;
}

/* Responsive Image Fluidity Class */
img.scalable {
    display: block;
    max-width: 100%;
    height: auto !important;
    width: 100% !important;
}

/* =====================================
   Typographic Helpers
   ======================================*/
.ctr {
    text-align: center;
}
.smltxt {
    font-size: 0.85rem;
}

/* =====================================
   Semantic Form Field Engineering
   ======================================*/
form fieldset {
    padding: 1.5em;
    font-family: sans-serif;
    font-size: 90%;
    border: 2px solid #000000;
    width: auto;
    border-radius: 8px;
    box-shadow: 3px 3px 6px #DDDDDD;
}
form fieldset label {
    display: inline-block;
    width: 15%;
    margin-right: 0.5em;
    padding-top: 0.2em;
    text-align: right;
    font-weight: bold;
}
form fieldset legend {
    padding: 0.2em 0.5em;
    color: #000000;
    font-size: 95%;
    text-align: right;
    font-variant: small-caps;
    font-weight: bold;
}
.cf {
    border: 1px #353c48 solid;
    background-image: url("images/form-bg.jpg");
    background-repeat: repeat;
}
.button {
    font-family: Verdana, sans-serif;
    font-size: 90%;
    height: 28px;
    padding: 0 12px;
    border: 1px solid #CDBB99;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.button:hover {
    background-color: #222222;
}
input:focus, select:focus, textarea:focus {
    border: 2px solid #993300;
    outline: none;
}