/**
 * alliedenv.com main site style sheet.
 *
 * @package    AlliedEnvironmental
 * @subpackage UI
 * @copyright  Copyright 2008 Spenlen Media (http://spenlen.com)
 * @version    $Id$
 */


/**** Global Rules ****/

/* Page Structure */

HTML, BODY, H1, H2, H3, H4, H5, H6, HR, DIV, P, PRE, UL, OL, LI, BLOCKQUOTE, FORM, FIELDSET, LEGEND, TABLE, TR, TH, TD, DL, DT, DD {
  margin: 0;
  padding: 0;
}

HTML, BODY {
  height: 100%;
}

BODY {
  background: #e1e1e1 url('../images/page_background.gif') center top repeat-y;
  font: normal normal normal 0.9em/1.3em Helvetica, Arial, sans-serif;
  color: #000;
}

/* Headings */

H1, H2, H3, H4, H5, H6 {
  margin: 0 0 1em 0;
  font-size: 1em;
  font-weight: normal;
  color: #666;
}
H2 EM, H3 EM, H4 EM {
  color: #c60;
}

H2 {
  margin-left: -15px;
  padding: 0 0 0.3em 15px;
  border-bottom: 1px solid #ccc;
  font-size: 1.7em;
}

H3 {
  margin-left: -15px;
  margin-bottom: 0.5em;
  padding: 0.7em 0 0 15px;
  border-top: 1px solid #ccc;
  font-size: 1.3em;
  color: #c60;
}
H3.first {
  padding-top: 0;
  border-top: none;
}

H4 {
  margin-top: 2em;
  margin-left: -15px;
  padding: 0 0 0.3em 15px;
  border-bottom: 1px solid #ccc;
  font-size: 1.3em;
}

/* Tables */

TABLE {
  border-collapse: collapse;
  border-spacing: 0;
  background: none;
}

TH, TD {
  font-style: normal;
  font-weight: normal;
  text-align: left;
}

TR.odd {
  background: #fff;
}
TR.even {
  background: #e5fdfe;
}

/* Paragraphs and Other Block-Level Elements */

P {
  margin-bottom: 1em;
  line-height: 1.4em;
}

OL, UL {
  margin: 2em 1em 1em 2em;
  list-style: none;
}

LI {
  margin-bottom: 1em;
}

BR.clear {
  clear: both;
}

HR {
  margin: 1em 0 1em 0;
  border: 1px solid #ccc;
}

HR.sectionBreak {
  margin: 2em 0 2em 0;
}

HR.separator {
  border-right: none;
  border-bottom: none;
  border-left: none;
}

/* Anchors (Hyperlinks) */

A, A:link, A:visited {
  color: #999;
  text-decoration: underline;
}
A:hover {
  color: #000;
}

A.readMore {
  font-size: 0.85em;
}

/* Form Elements */

INPUT, TEXTAREA, SELECT, BUTTON {
  font: normal normal normal 1em Helvetica, Arial, sans-serif;
}

INPUT.fullWidth, TEXTAREA.fullWidth {
  width: 100%;
  max-width: 50em;
}

INPUT.cancelButton, BUTTON.cancelButton {
  margin-left: 2em;
}

/* Images and Other Inline Elements */

IMG {
  border: none;
}

ACRONYM, ABBR {
  text-decoration: none;
}

EM {
  font-style: italic;
}

STRONG {
  font-weight: bold;
  color: #c60;
}
STRONG.companyName {
  font-weight: normal;
  font-size: 1.3em;
}


/**** Site Layout ****/

/* Page Frame */

#page {
  margin: 0 auto;
  background: url('../images/page_background_globe.jpg') right bottom no-repeat;
  min-height: 100%;
  width: 936px;
  position: relative;
}
BODY.home #page {
  background: url('../images/footer_gradient.gif') left bottom repeat-x;
}


/* Page Header */

#pageHeader {
  background: url('../images/page_header.jpg') center top no-repeat;
  height: 116px;
  position: relative;
}
BODY.home #pageHeader {
  background: url('../images/page_header_main.jpg') center top no-repeat;
  height: 214px;
}

#pageHeader H1 {
  background: url('../images/logo.png') center center no-repeat;
  text-indent: -1000em;
  width: 93px;
  height: 102px;
  position: absolute;
  top: 5px;
  left: 15px;
}
BODY.home #pageHeader H1 {
  top: 80px;
  left: 547px;
}

#pageHeader H2 {
  border: 0;
  font-size: 1em;
  text-indent: -1000em;
}


/* Navigation Bar */

#pageNavigation {
  margin: 0;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  background: #fafafa url('../images/navigation_bar_background.gif') left center repeat-x;
}

#pageNavigation LI {
  margin-left: 30px;
  display: inline;
}

#pageNavigation A {
  background: url('../images/navigation_bar_arrows.gif') -600px center no-repeat;
  padding-left: 20px;
  font-weight: bold;
  line-height: 2em;
  text-decoration: none;
}
#pageNavigation LI.current A {
  background-position: 1px center;
}
#pageNavigation A, #pageNavigation A:visited {
  color: #666;
}
#pageNavigation A:hover {
  background-position: 1px center;
  color: #c60;
}


/* Page Content Area */

#pageContent {
  padding: 20px 70px 20px 215px;
  border-top: 5px solid #c60;
  background: url('../images/content_gradient.gif') left top repeat-x;
  position: relative;
}
BODY.home #pageContent {
  padding-right: 20px;
}
BODY.services #pageContent {
  padding-bottom: 250px;
}
BODY.about #pageContent {
  padding-bottom: 200px;
}
BODY.projects #pageContent {
  padding-bottom: 180px;
}
BODY.contact #pageContent {
  padding-bottom: 60px;
}

.alignLeft {
  text-align: left;
}

.alignCenter {
  text-align: center;
}

.alignRight {
  text-align: right;
}

.floatLeft {
  padding-right: 1em;
  padding-bottom: 1em;
  float: left;
}

.floatRight {
  padding-left: 1em;
  padding-bottom: 1em;
  float: right;
}

.noWrap {
  white-space: nowrap;
}

.hidden {
  visibility: hidden;
}


SPAN.title {
  color: #999;
}


TABLE.projectList {
  margin-left: -10px;
}

TABLE.projectList TH, TABLE.projectList TD {
  padding: 0.3em 10px;
  font-size: 0.95em;
  vertical-align: baseline;
}

TABLE.projectList TH {
  padding-bottom: 0.7em;
  font-size: 1.2em;
  color: #c60;
  white-space: nowrap;
}


#sidebarFrame {
  background: url('../images/sidebar_frame.gif') center center no-repeat;
  width: 182px;
  height: 264px;
  position: absolute;
  top: 20px;
  left: 20px;
}

#sidebar {
  background-position: center center;
  background-repeat: no-repeat;
  width: 182px;
  height: 264px;
}
BODY.services #sidebar {
  background-image: url('../images/sidebar_photo_services.jpg');
}
BODY.about #sidebar {
  background-image: url('../images/sidebar_photo_about.jpg');
}
BODY.projects #sidebar {
  background-image: url('../images/sidebar_photo_projects.jpg');
}
BODY.contact #sidebar {
  background-image: url('../images/sidebar_photo_contact.jpg');
}


BODY.home #pageContent H2 {
  margin-right: 260px;
}

#didYouKnow {
  margin: 0 0 45px 28px;
  padding: 80px 15px 15px 15px;
  background: url('../images/did_you_know_box.gif') center center no-repeat;
  font-size: 0.8em;
  width: 202px;
  height: 173px;
  float: right;
  overflow: hidden;
}
BODY.home #pageContent #didYouKnow H2 {
  margin: 0 0 0.6em 0;
  padding: 0;
  border-bottom: none;
}
#didYouKnow P {
  margin-bottom: 0.7em;
}

BODY.home #sidebarFrame {
  background-image: url('../images/sidebar_frame_main.gif');
  height: 287px;
}
BODY.home #sidebar {
  padding: 7px 3px 0 3px;
  background: url('../images/sidebar_photo_main.jpg') 4px 28px no-repeat;
  width: 176px;
  height: 280px;
}
BODY.home #pageContent #sidebar H2 {
  margin: 0 0 0.6em 4px;
  padding: 0;
  border-bottom: none;
  font-size: 1.2em;
  text-transform: uppercase;
  color: #c60;
}
BODY.home #sidebar P {
  margin: 10px 0 0 20%;
  padding: 2px 5px;
  background: url('../images/overlay_background.png');
  font-size: 0.9em;
  color: #fff;
  text-align: right;
}
BODY.home #sidebar A {
  font-size: 0.9em;
  color: #fff;
}
BODY.home #sidebar A:hover {
  color: #6d4217;
}

#projects {
  padding-bottom: 60px;
  font-size: 0.95em;
  color: #666;
  clear: both;
}
#projectsTitle {
  width: 15%;
  float: left;
}
#projectsTitle H2 {
  margin: 0;
  padding: 0;
  border: none;
  background: url('../images/projects_title.gif') right top no-repeat;
  text-indent: -1000em;
  height: 25px;
}
#projectsTitle P {
  margin: 10px 15px;
}
#projectsScroller {
  margin: 0 0 0 16%;
  background: url('../images/project_filmstrip.jpg') 0px 0px no-repeat;
  text-indent: -1000em;
  display: block;
  height: 128px;
}


/* Page Footer */

#pageFooter {
  padding: 15px 10px;
  text-align: right;
  position: absolute;
  right: 0;
  bottom: 0;
}

#pageFooter P {
  margin: 0.1em;
  font-size: 0.8em;
  color: #666;
}

#pageFooter .credit A {
  color: #7f7f7f;
  text-decoration: none;
}
#pageFooter .credit A:hover {
  color: #333;
  text-decoration: underline;
}
