body {
	background: #021e41;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* Typographical stuff
----------------------- */

body, p, h1, h2, h3, h4 {
	font: small "Lucida Grande", Tahoma, Verdana, Helvetica, Arial, sans-serif;
}
body, p, a, h1, h2, h3, h4 {
	color: #fff;
	text-decoration: none;
}
.prob {
	border-bottom: 1px dotted #fff;
}

/* Structural hacks
--------------------- */
hr {
	display: block; 
	clear: left; 
	/*margin: -0.66em 0;*/
	visibility: hidden;
}
a:link, a:hover, a:active, a:visited, a:focus { outline: 0 none !important; }


/* Main Layout
--------------------- */

head:first-child+body #container {
	width: 801px;
	/* IE5 \*/
	width: 795px;
	/* IE5 */
}

#container {
	margin: 18px auto 20px;
	padding: 0;
	width: 801px;
	border: 3px solid #023572;
	text-align:left;
}

#greysteelbg {
	width: 795px;
	height: 25px;
	background: #666 url(/styles/images/greysteel-bg.jpg) repeat top right;
}
#pageHeaderHome {
	width: 795px;
	height: 123px;
	/* sdf \*/
	height: 114px;
	/* sdf */
	background: #0167CC url(/images/home-headerphoto.jpg) no-repeat top right;
	border-top: 6px solid #FFCC00;
	border-bottom: 3px solid #FFCC00;
}
#pageHeaderHomeBackground {
	width: 440px;
	height: 114px;
	float: right;
	position: relative;
	background: #0167CC url(/images/home-headerphoto.jpg) no-repeat top right;
}
#pageHeaderHome span {
	display: none;
}
#pageHeaderSub {
	width: 795px;
	height: 123px;
	/* sdf \*/
	height: 114px;
	/* sdf */
	background: #0167CC url(/images/sub-headerphoto.jpg) no-repeat top right;
	border-top: 6px solid #FFCC00;
	border-bottom: 3px solid #FFCC00;
}
#pageHeaderSubBackground {
	float: right;
	position: relative;
	/*background: #0167CC url(/flash/no-flash.gif) no-repeat top right;*/
}
#pageHeaderSub span {
	display: none;
}

/* navigation
---------------------------------------- */
#navBg {
	position: relative;
	background: url(/styles/images/nav-bg.jpg) no-repeat top left;
	float: left;
	width: 215px;
}
#nav {
	padding: 50px 0px 0px 0px;
}
#nav a {
	display: block;
	text-align: right;
	font-size: 13px;
	font-weight: bold;
	line-height: 20px;
	padding: 10px 0px 0px 0px;
	width: 180px;
	color: #FFF;
}
#contactinfo {
	text-align: right;
	font-size: 81.3%;
	margin: 20px 35px 0 0;
	line-height: 1.5em;
}

/* navigation selection logic */
#nav a.selected, #nav a:hover,
.home #nav a#home, .about #nav a#about,
.services #nav a#services, .projects #nav a#projects,
.readymix #nav a#readymix, .precast #nav a#precast,
.careers #nav a#careers, .subcon #nav a#subcon, 
.forsale #nav a#forsale {
	color: #fc0;
}
#nav a:active { color: #aaa; }

/*  affiliate-nav
----------------------------------------------- */
.home #affiliate-nav { display: none;  }
#affiliate-nav {
  margin: 10px 35px 10px 15px;
  border-top: 1px solid #1c5fb0;
  border-bottom: 1px solid #1c5fb0;
}
#affiliate-nav h2 {
  text-align: right;
  font-size: 14px;
  color: #fc0;
}
#affiliate-nav ul { padding: 0; }
#affiliate-nav li {
  list-style-type: none;
  text-align: right;
}
#affiliate-nav li a {
  display: block;
  width: auto;
  line-height: 1.6em;
}
#affiliate-nav li a:hover { color: #fc0; }

/*  subnav
----------------------------------------------- */
.subnav {
	margin: 0 15px 8px 0;
	padding: 0;
	text-align: right;
	vertical-align: top;
	width: auto;
	overflow: hidden;
}

.subnav a {
	font-size: 12px;
	font-weight: bold;
	line-height: inherit;
	margin: 0;
	padding: 0 1.5em 0 0;
	white-space: nowrap;
	overflow: hidden;
}

.subnav a.selected {
	color: #fc0;
}
.subnav a:hover {
	color: #fc0;
	text-decoration: none;
}
.subnav a:active{
	color: #aaa;
}

/* content area
---------------------------------------- */
#content, #content2 {
	width: 795px;
	margin: 0;
	text-align: left;
}
#content { background: #1C5FB0 url(/styles/images/content-bg.jpg) repeat top left; }
#content2 { background: transparent url(/styles/images/content-bg.jpg) no-repeat top left; }
.home #content2 { background-image: url(/styles/images/content-bg-home.jpg); }
.about #content2 { background-image: url(/styles/images/content-bg-aboutus.jpg); }
.services #content2 { background-image: url(/styles/images/content-bg-services.jpg); }
.projects #content2 { background-image: url(/styles/images/content-bg-projects.jpg); }
.readymix #content2 { background-image: url(/styles/images/content-bg-readymix.jpg); }
.precast #content2 { background-image: url(/styles/images/content-bg-precast.jpg); }
.subcon #content2 { background-image: url(/styles/images/content-bg-subcon.jpg); }
.forsale #content2 { background-image: url(/styles/images/content-bg-subcon.jpg); }
.careers #content2 { background-image: url(/styles/images/content-bg-careers.jpg); }

.safariMinHeightFixTop {
	/*width:0px;
	height: 394px;
	float:left;
  /*border: 1px solid orange;*/
}
#safariMinHeightFixBottom {
	/*clear:left;
	height:0px;
	width:10px;
	/*border: 1px solid orange;*/
}2
#mainContentHome {
	margin: 0 0 0 215px;
	width: auto;
	float: none;
	min-height: 394px;
	height: 394px;
/* IE6 hack */
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 394px;
	margin: 0 0 0 215px;
	width: auto;
/* End IE6 hack */
/* IE5 Mac hack: \*/
	height: 394px;
	float: right;
	margin: 0;
	width: 580px;
/* End IE5 Mac hack */
}
html>body #mainContentHome {
	height: 394px;
	float: none;
/* IE5 Mac hack: \*/
	height: auto;
	margin: 0 0 0 215px;
	width: auto;
	float: none;
/* End IE5 Mac hack */
}

#mainContentSub {
	/*background: url(/styles/images/maincopy-bg-sub.jpg) no-repeat top right;*/
	margin: 0 0 0 215px;
	width: auto;
	float: none;
	/* padding: 10px 30px 20px; 
	font-size: 12px;
	line-height: 16px;
	color: #FFF; */
	font-size: 12px;
	min-height: 394px;
	height: 394px;
/* IE6 hack */
	voice-family: "\"}\"";
	voice-family: inherit;
	height: 394px;
	margin: 0 0 0 215px;
	width: auto;
/* End IE6 hack */
/* IE5 Mac hack: \*/
	height: 394px;
	float: right;
	margin: 0;
	width: 580px;
/* End IE5 Mac hack */
}
html>body #mainContentSub {
	height: 394px;
	float: none;
/* IE5 Mac hack: \*/
	height: auto;
	margin: 0 0 0 215px;
	width: auto;
	float: none;
/* End IE5 Mac hack */
}

/* page title
---------------------------------------- */
#pageTitle {
	height: 55px;
	padding: 0px;
	margin: 0 35px 0 0;
	text-align: right;
}
#pageTitle span {
	display: none;
}

/* main copy area
---------------------------------------- */
#mainCopy {
	float: left;
	margin: 0px 0 0 0;
	padding: 10px 30px 20px;
	font-size: 13px;
	line-height: 16px;
	color: #FFF;
}
#mainCopy p {
	margin-top: 1.5em;
	padding: 0 0;
}
#mainCopy a {
	color: #FFCC00;
}
#mainCopy a:hover {
	text-decoration: underline;
}
#mainCopy h2, .forsale h1 {
	width: auto;
	font-size: 18px;
	font-weight: bold;
	margin: 1em 0 1em 0;
	padding: .2em 0;
}
#mainCopy h3 {
	font-weight: bold;
	font-size: 16px;
	margin: 1em 0 .2em;
	padding: .2em 0;
}
#mainCopy h4 {
	font-weight: bold;
	font-size: 14px;
	margin: 1em 0 0;
	padding: .2em 0;
}
#mainCopy ul, ol {
	font-size: 11px;
	margin: 0;
	padding: 0 0 1em 2em;
}
#mainCopy li {
	margin: 0;
	padding: 0;
}
#mainCopy p.byline {
	font-size: 120%;
	font-style: italic;
}
/* Contact Info
---------------------------------------- */
#contactlist {
}
#contactlist strong {
	display: block;
	padding: 0;
	margin: 0 0 3px 0;
}
#contactlist a {
	display: block;
}
#contactlist h4 {
	margin-top: 10px;
	margin-bottom: 5px;
	clear: both;
}
#contactlist .contact {
	float: left;
	width: 50%;
	height: 65px;
	margin-bottom: 8px;
}

/* photoright
---------------------------------------- */
#photoright, .photoright {
	position: relative;
	float: right;
	width: auto;
	margin: 20px 0px 10px 8px;
	padding: .4em;
}

/* side callout box
---------------------------------------- */
#calloutbox, .calloutbox {
	position: relative;
	float: right;
	width: 175px;
	margin: 20px 0px 10px 8px;
	padding: .4em;
	background-color: #0A428C;
	border: 1px solid #2896F0;
}
#calloutbox p, .calloutbox p {
	width: 160px;
	font-size: 11px;
	margin: 0;
	padding: .8em;
}
#calloutbox ul, .calloutbox ul ol {
	width: 145px;
	font-size: 11px;
	margin: 0;
	padding: 0 0 0 2.2em;
}
#calloutbox li, .calloutbox li {
	width: 145px;
	list-style-image: url(/styles/images/yellow_bullet.gif);
}

/* ready mix pricing style
---------------------------------------- */
.readymixtext {
	font-size: 13px;
}
.readymixsmallyellow {
	font-size: 11px;
	font-weight: bold;
	color: #fc0;
}

/* global classes
---------------------------------------- */
.nowrap {
	white-space: nowrap;
}

/* hidden text
---------------------------------------- */
h1 {
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
	background-position: left top;
}
h1 span {
	display: none;
}
h3 {
	margin: 0;
	padding: 0;
}
h3 span {
	display: none;
}
h4 {
	margin: 0;
	padding: 0;
}
h4 span {
	display: none;
}

/* Ben's Addition (to be organized)
--------------------*/
.thumb {
	display: block;
	float: left;
	margin: .5em .5em .5em 0;
}
img { border: 0; }

.hidden {
	display: none;
}
div.left {
	float: left;
}
div.proj_description, div.test_comments {
	margin-bottom: 30px;
}
.project_date, .update_date {
	display: block;
	font-style: italic;
}
.testimonial_date {
	display: block;
	font-size: 87.5%;
}
.test_comments em {
	display: block;
	margin-bottom: 5px;
}

/* Thumbnails (Gallery Page) 
-----------------------------------------*/
.gallery {
	float: left;
	width: 520px;
}
.gallery div.pic { 
	float: left;
	display: inline;
	margin: 10px 5px;
	/*width: 140px;*/
	/*text-align: center;*/
}

/* form styles
---------------------------------------- */
#form {
	float: left;
	width: auto;
	/* border: 1px solid #F90; */
}
#form p {
	font: 13px "Lucida Grande", Tahoma, Verdana, Helvetica, Arial, sans-serif;
	padding: 0;
	/*margin: 0 0 .2em;*/
}
#form h2 {
	width: auto;
	font-size: 14px;
	font-weight: bold;
	color: #81AD25;
} 
textarea.formTextArea,select.formDropDown,input.formField,input.formButton,button.formButton {
	font: 12px "Lucida Grande", sans-serif;
	background-color: #82BDF3;
	border: solid 1px #023572;
}
textarea.formTextArea {
	padding: 3px;
}	
select.formDropDown {
	padding: 1px;
}
input.formField, textarea.formTextArea {
	width: 197px;
	padding: 3px;
}
select option {
	width: 175px;
}
input.formButton {
	padding: 2px;
}
button.formButton {
	padding: 2px;
}

/* other form rules
---------------------------------------- */
#contact_form {
	margin-top: 50px;
}

/* pop-up style
---------------------------------------- */
#popup_greysteelbg {
	width: auto;
	height: 25px;
	background: #666 url(/styles/images/greysteel-bg.jpg) repeat top right;
}
#popupContainer {
	background-color: #021E41;
	margin: 0;
	border-top: 6px solid #FFCC00;
}
#popupContent {
	background-color: #021E41;
	text-align: center;
}
#popupContent p {
	font: 12px "Lucida Grande", Tahoma, Verdana, Helvetica, Arial, sans-serif;
	padding: 5px;
	margin: 0 0 .2em;
}
#popupContent h2 {
	width: auto;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
}
#popupContent a {
	font: 12px "Lucida Grande", Tahoma, Verdana, Helvetica, Arial, sans-serif;
	padding: 5px;
	text-align: center;
	vertical-align: text-top;
	color: #fc0;
	text-decoration: none;
}
#popupContent a:hover {
	text-decoration: underline;
}

/*  Home Page
----------------------------------------------- */
.home #affiliate-list li {
  font-size: 14px;
  line-height: 1.4em;
}


/* Precast
-------------------------------------------------------- */
.precast .drawing-number {
  display: none;
}


/* For Sale
-------------------------------------------------------- */
.forsale #mainCopy hr {
  height: 1px;
  color: #fc0;
  background-color: #fc0;
  border: 0;
  visibility: visible;
}
.forsale #mainCopy ul#ad-list {
  padding: 5px 0;
  font-size: 13px;
}

.forsale #mainCopy ul li {
  list-style-type: none;
  margin: 0;
  padding: 0 0 10px 0;
  
}
.forsale #mainCopy ul.image-list {
  display: inline;
  clear: both;
}
.forsale #mainCopy ul.image-list li {
  float: left;
  margin: 5px;
  list-style-type: none;
  display: inline;
  height: 200px;
  width: 240px;
  overflow: hidden;
}

.forsale #ad-list tr {
  height: 50px;
}
.forsale #ad-list td {
  font-size: 125%;
}
.forsale #ad-list td.image-container {
  padding: 10px;
  float: left;
  text-align: center;
  height: 50px;
  width: 50px;
}
.forsale #ad-list td.image-container img {
  border: 2px solid #021E41;
}

/* admin panel
---------------------------------------- */
#login {
	text-align: center;
}
#login table {
	margin: 0 auto;
	width: 200px;
}
#login table input {
	border: 3px solid #357eb1;
	padding: 3px;
}

#editable-block, .preview-block {
  margin-top: 10px;
}
#editable-block ol, .preview-block ol {
  width: 100%;
  font-size: 100%;
}

/* footer
---------------------------------------- */
#footer {
	padding: 2em 0 0 0;
	background: #666 url(/styles/images/greysteel-bg.jpg) repeat;
	border-top: 6px solid #FFCC00;
	width: 795px;
	height: 72px;
	clear: left;
}
#footer p {
	margin: 0;
	padding: .2em 0;
	text-align: center;	
	vertical-align: middle;
	font-size: 10px;
	line-height: 1.2em;
	color: #FFF;
}
#footer p a {
	font-size: 10px;
	color: #FFCC00;
	text-decoration: none;
}
#footer p a:hover {
	text-decoration: underline;
}
