/* General Formatting */
* { padding: 0; margin: 0; }
img { border: none; }
body { background: #fff; color: #8e8e8c; color: #6e6e6c; font: 62.8% Arial, Helvetica, sans-serif; text-align: center; }
.left { float: left; }
.right { float: right; }
img.left, img.right, object.left, object.right { margin: 10px; }
img.withcaption { margin-bottom: 0; }
div#content p.caption { margin: 0 10px 10px 10px; float: right; clear: right; width: 290px; padding: 3px 5px; background: #3383c4; color: #fff; }
div#content p.caption a { color: #fff; }
div.clear_strip { background: #a3a3a3; height: 3px; font-size: 1px; clear: both; border-top: 8px solid #fff; border-bottom: 3px solid #fff; }
div#container { width: 697px; margin: 2px auto; text-align: left; padding: 0 30px 0 39px; }
a { color: #417da6; }
.clear_left { clear: left; }
.clear_right { clear: right; }
.clear_both { clear: both; }

p#welcome_date { float: right; }

/* Latest News */
ul#latest_news { width: 227px; float: left; }
ul#latest_news li { list-style-type: none; border: 1px solid #d4d4d4; border-top: none; padding: 10px 12px; }
ul#latest_news li.header, ul#latest_news li.footer { border: none; padding: 0; }
ul#latest_news li.footer { margin-top: 3px; }
ul#latest_news li.header img, ul#latest_news li.footer img { display: block; }
ul#latest_news li p { font-size: 1.1em; color: #858585; text-align: justify; }
ul#latest_news li h2 { font-size: 1.1em; color: #858585; text-decoration: underline; font-family: Verdana, Arial, Helvetica, sans-serif; }
ul#latest_news li p.date { font-size: 1em; color: #87b024; }
ul#latest_news li p.date img { vertical-align: middle; padding-bottom: 5px; }

/* Main Box for Home Page */
div#main_copy { width: 467px; float: right; }
img#main_pic { float: left; margin: 0 0 2px 0; }
div#main_copy p { font-size: 1.1em; padding: 2px 10px; text-align: justify; }
div#main_copy h2 { font-size: 1.2em; padding: 3px 10px; color: #417da6; }
div#main_copy p#intro { margin-left: 170px; padding: 20px 15px; background: #f3f3f1; font-size: 1.1em; color: #8e8e8c; }
div#main_copy p.more_info { margin-left: 170px; padding: 5px 0; font-size: 1.1em; color: #87b024; text-align: right; }
div#main_copy p.more_info.blue { margin-left: 0; padding: 0; font-size: 1.1em; color: #417da6; text-align: right; }
div#main_copy p.more_info.orange { margin-left: 0; padding: 0; font-size: 1.1em; color: #f60; text-align: right; }
div#main_copy p.more_info a { color: #87b024; }
div#main_copy p.more_info.blue a { color: #417da6; }
div#main_copy p.more_info.orange a { color: #f60; }
div#main_copy h1 { margin-left: 170px; padding: 5px 0; }

/* 'Meet the Staff' */
div#meet_staff { width: 231px; float: left; clear: left; }
img#staff_pic { float: left; margin: 5px; border: 1px solid #8e8e8c; }

/* 'Oil Search' */
div#oil_search { width: 231px; float: left; padding-top: 5px; }

/* 'Our Services' */
div#our_services { width: 233px; float: right; }
div#our_services ul { list-style-type: none; color: #ba7513; font-size: 1.1em; padding: 8px 10px; }
div#our_services ul li { padding: 2px 0; }
div#our_services ul li a { color: #ba7513; }

/* 'Market Wire' */
div#market_wire { width: 233px; float: right; padding-top: 5px; }

/* Content Box for most pages */
div#content h1 { height: 35px; background: #3383c4 url("../gfx/header_bkg.jpg") bottom left repeat-x; color: #fff; font-size: 1.7em; font-weight: normal; margin-bottom: 5px; }
div#content h1 img { vertical-align: middle; }
div#content p { font-size: 1.2em; padding: 4px 10px; margin-right: 320px; text-align: justify; }
div#content ul { font-size: 1.2em; padding: 4px 10px; margin-right: 320px; text-align: justify; }
div#content p.fullwidth { margin-right: 0; }
div#content ul { padding-left: 30px; }
div#content ul li { padding: 2px 0; }
div#content h2 { font-size: 1.4em; padding: 12px 10px 4px 10px; color: #417da6; margin-right: 320px; text-align: justify; }
div#content h3 { font-size: 1.2em; padding: 12px 10px 4px 10px; color: #417da6; margin-right: 320px; clear: left; text-align: justify; }
div#content table { font-size: 1.2em; margin: 4px 10px; margin-right: 320px; }
div#content table td { padding-right: 5px; }

/* Forms */
fieldset { margin: 4px 10px; padding: 2px; border: 1px solid #8e8e8c; width: 44%; }
div#content fieldset p, div#content fieldset h3, div#content fieldset ul { margin-right: 0; }
fieldset.home { margin: 2px; padding: 2px; width: auto; }
label { float: left; width: 8em; padding-top: 2px; }
label.small { width: 5.5em; }
label.inline { float: none; width: auto; padding: 0; display: inline; }
legend { font-size: 1.4em; color: #417da6; padding: 2px 5px; margin-left: 10px; border-left: 1px solid #8e8e8c; border-right: 1px solid #8e8e8c; }

div.office_address { float: left; width: 325px; height: 18em; padding: 0 5px 5px 5px; border: 1px solid #8e8e8c; margin: 3px; }
div#content div.office_address p, div#content div.office_address h2, div#content div.office_address h3 { margin-right: 0; }

div#content div.newsletter { float: left; width: 325px; padding: 5px; border: 1px solid #8e8e8c; margin: 6px 3px; }
div#content div.newsletter p, div#content div.newsletter h2, div#content div.newsletter h3, div#content div.newsletter ul { margin-right: 0; }

div#content div.oily_rag { background: #767563; color: #fff; border-color: #000; padding: 5px; }
div#content div.newsletter.oily_rag { float: right; background: #767563; color: #fff; border-color: #000; padding: 0; }
div#content div.oily_rag a { color: #ff0; }

div#content div.newsletter.speciality { clear: left; background: #c2e1c2; color: #000; border-color: #008000; }
div#content div.newsletter.speciality h2 { color: #008000; }
div#content div.newsletter.speciality a { color: #008000; }

ul.spec_pdfs li { list-style-type: none; display: inline; }
ul.spec_pdfs li a { padding-right: 5px; }

/* Footer */
div#footer { background: #efefef; padding: 15px; font-size: 1.1em; }
div#footer a { color: #8e8e8c; }
p#footer_links { float: right; padding: 5px; }

div#content ul.oils_list { padding-left: 10px; }
div#content ul.oils_list li { list-style-type: none; width: 49%; float: left; }