@import url(reset.css);
@import url(structure.css);
@import url(utilities.css);

html, body {
    height: 100%;
    padding-bottom: 1px;
}

body {
    text-align: center;
    line-height: 18px;
    background-color: #777;
    color: #222;
}

#container {
    padding-top: 18px;
    text-align: left;
    margin: 0 auto;
    width: 800px;
    position: relative;
}

.column {
    float: left;
    display: inline;
}

div.inner { padding: 15px; }

/* #header, #nav, #footer { padding: 0 20px; } */

#header,
#nav,
#body,
#footer {
    clear: both;
}

/* #header *,
#nav *,
#body *,
#footer * {
    text-align: left;
} */

#header {
    margin-left: 150px;
    height: 100px;
    margin-bottom: 20px;
    background-color: #E8E8E8;
}

#nav {
    position: absolute;
    top: 18px;
    left: 0;
}

#body {}

#content {
    clear: both;
    /*margin-right: 20px;*/
    /*padding: 15px 0 0 15px;*/
    padding-top: 15px;
    background-color: #CCC;
}

#content .column {
    width: 45%;
    margin-right: 4%;
    margin-left: 0;
}

body.one_column #content, #content { width: 800px; }
body.two_column #content { width: 540px; }

#sidebar {
    width: 240px;
    background-color: #CCC;
}

#footer {
    padding: 18px 0 18px 15px;
    clear: both;
    float: left;
    display: inline;
}

/* ################ PAGE SPECIFIC OVERRIDES ################ */

/* ################ DEFAULT FORMATTING ################ */

/* ========== LINKS ========== */
a:link,
a:visited {
    font-family: inherit;
    font-size: inherit;
    text-decoration: underline;
    color: #444;
}

a:link {}
a:visited {}
a:hover { color: #000; }
a:link:active, a:visited:active {}


/* ========== OTHER ELEMENTS ========== */

/* Set overall font and line-height */
h1, h2, h3, h4, h5, h6,
p, blockquote, address,
li, dt, dd,
legend, label,
th, td, caption {
}

/* Set general left and right margins */
h1, h2, h3, h4, h5, h6,
p, blockquote, address,
ul, ol, dl,
form, table {
    margin-left: 0;
    margin-right: 0;
}

/* General header top and bottom margins */
h1, h2, h3, h4, h5 {
    margin-top: 1em;
    margin-bottom: 0;
}

/* General content and container element top and bottom margins */
h6, p, blockquote, address,
ul, ol, dl,
form, table, object {
    margin-top: 0;
    margin-bottom: 1em;
}

/* General header styling */
h1, h2, h3, h4, h5, legend, dt {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-weight: normal;
}

/* General content styling */
p, blockquote, address,
li, dt, dd,
label,
th, td, caption {
    font-size: 14px;
    line-height: 18px;
    font-family: Georgia, "Times New Roman", Times, serif;
}


/* ========== BLOCK LEVEL AND CORE CONTENT ELEMENTS ========== */

h1 {
    font-size: 24px;
    margin-top: 0;
}

h2 {
    font-size: 16px;
}

h3 {
    font-size: 14px;
    font-weight: bold;
}
h4 {}
h5 {}
h6 {}
p {}
blockquote {}
address { font-style: normal; }
img {}

pre { margin: 1em 15px; }

/* ========== LISTS ========== */

/* Fixes nested list display bug in IE/Win */
ul, ol, dl { /* position: relative; */ }

ul {}
ol {}
li {}
ul ul {}
ol ol {}
ul li { list-style-type: none; }
ol li {}
dl {}
dt {}
dd {}


/* ========== FORMS ========== */

form {}
fieldset {}
legend {}
label {}
input.text, textarea {
    border: 1px solid #777;
    background-color: #BBB;
}
input.text:focus, textarea:focus {
    background-color: #FFF;
}
input.button, button {}
input[type="checkbox"], input[type="radio"] {}
textarea {}
button {}
input { vertical-align: middle; }
select {
    line-height: 30px;
}
option {line-height: 30px;}


/* ========== TABLES ========== */

table {
    border-collapse: collapse;
    border-spacing: 0;
}
tr {}
th {}
td {}
caption {}


/* ========== INLINE/PHRASE ELEMENTS ========== */

del, ins,
sup, sub, big, small,
em, strong, code, dfn, kbd, samp, var, q, cite, abbr, acronym,
a {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

q {}
cite {}
em {}
strong {}
sup {}
sub {}
del {}
ins {}
code {}
dfn {}
kbd {}
samp {}
var {}
big {}
small {}

/* ################ GENERAL STYLE OVERRIDES ################ */

li ul, li ol {
    margin-bottom: 0;
    margin-left: 15px;
}

/* ========== NICE FORMS ========== */

fieldset,
fieldset ul,
fieldset ol,
fieldset li,
fieldset li label {
    float: left;
    display: inline;
}

fieldset {
    width: 100%;
    border: none;
    margin-top: 18px;
}

fieldset.controls {
    padding-left: 150px;
    
}

fieldset ul,
fieldset ol {
    margin-bottom: 0;
}

fieldset,
fieldset li {
    clear: both;
}

fieldset li {
    line-height: 18px;
    clear: both;
    margin-bottom: 9px;
}

fieldset li label {
    width: 150px;
    margin-right: 5px;
}

fieldset li input {
    vertical-align: middle;
}


/* ################ PAGE SECTION REDEFINITIONS ################ */

#header h1,
#header h2 {
/*     margin-left: 120px; */
}

#header h1 {
    font-size: 30px;
    margin: 0 15px;
    padding-top: 15px;
    /*margin-top: 5px;*/
     line-height: 1.0; 
}

#header h1 a {
    color: #222;
    text-decoration: none;
}

#header h2 {
    font-size: 18px;
    line-height: 18px;
}

#nav li a {
    display: block;
    width: 120px;
    padding: 0 0 0 20px;
    line-height: 19px;
    margin-bottom: 1px;
    text-decoration: none;
    font-size: 14px;
    color: #AAA;
}

#nav li.dead {
    color: #555;
    padding-left: 20px;
}

#nav li a:hover, #nav li a.current {
    background-color: #CCC;
    color: #333;
    text-decoration: none;
}


#sidebar h2 { margin-top: 0; } 

#sidebar .date {
    margin-bottom: 0;
    color: #555;
    font-weight: bold;
}

#footer ul,
#footer p {
    margin-bottom: 0;
}

#footer #copyright,
#footer #validators,
#footer #validators li {
    float: left;
    display: inline;
    margin: 0;
    line-height: 1.0;
}

#footer #validators li {
    margin-left: 0.5em;
    padding-left: 0.5em;
    border-left: 1px solid #555;
}

/*#footer li {
    float: left;
    display: inline;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #555;
}

#footer li.last {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}*/

#footer a,
#footer p {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    text-decoration: none;
    color: #AAA;
}

#footer a:hover { color: #000; }


/* ################ PAGE SPECIFIC STYLES ################ */

#home #content h1, #portfolio #content h1 { display: none; }

#home #content dl {
    border: 1px solid #BBB;
    padding: 10px;
    background-color: #E2E2E2;
}

#home #content dt {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-size: 18px;
/*     line-height: 36px; */
    margin-bottom: 9px;
    font-weight: bold;
}

#home #content dd {
    font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 24px;
}

#portfolio #content h2 {
    margin-top: 0;
    margin-left: 15px;
}

#portfolio #content ul { margin-left: 30px; }

#portfolio #content ul li { list-style-type: disc; }

#portfolio #content li div.caseStudy {
    border: 1px solid #BBB;
    padding: 5px;
    background-color: #E2E2E2;
    color: #222;
    margin-right: 15px;
}

#portfolio #content ul li div.caseStudy ul {
    /*margin-top: -1em;*/
    margin-left: 15px;
}

#portfolio #content li div.caseStudy ul li {
    /*color: #666;*/
    list-style-type: none;
}

#portfolio #content li div.caseStudy li strong {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 9px;
    text-transform: uppercase;
}

/* ################ SERVICES ################ */

#services_list li {
    float: left;
    display: inline;
    width: 26%;
    margin-right: 3%;
    padding: 1em;
    border: 1px solid #CCC;
}

#services_list li * {
    margin: 0;
}

#services_list li.active {
    border: 1px solid #666;
    background-color: #DDD;
}

#services_list p {
    font-size: 14px;
}

#service_descriptions {
    clear: both;
    padding-top: 1em;
}


/* ################ CUSTOM CLASS ################ */

a.toggle, a.toggle:hover {
    cursor: pointer;
    font-size: 9px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
    font-family: Verdana, Helvetica, Arial, sans-serif;
    /* 	display: block; */
}

span.iheader {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 9px;
    text-transform: uppercase;
}

.hidden { display: none !important; }

.callout { text-align: center; }

/* ========== SYSTEM MESSAGES ========== */

div.error_msg,
div.success_msg {
    font-size: 12px;
    margin-top: 10px;
    border: 1px solid;
    padding: 1em 1em 0 1em;
    color: #000;
}

div.error_msg {
    border-color: #900;
    background-color: #F99;
}

div.success_msg {
    border-color: #090;
    background-color: #7E7;
}
