body {
	padding-bottom: 40px; /* Let the footer breathe. */
	background: #efefef;
}
#wrapper {
	width: 865px;
	margin: 0 auto;
}
#nav {
	margin: 0 10px;
	background: #48505b url(../images/backgrounds/nav.gif) repeat-x 0 100%;
}
#nav ul {
	float: right;
	padding: 10px;
}
#nav ul li,
#nav ul li a {
	float: left;
}
#nav ul li {
	background: url(../images/backgrounds/nav_li.gif) no-repeat 0 50%;
}
#nav a {
	padding: 4px 12px;
}
#nav ul li.first { background: none; }
#header {
	position: relative; /* for the h1 link */
	margin: 0 10px;
	height: 250px;
	background: url(../images/backgrounds/header.jpg) no-repeat 50% 0;
}
#home_page #header {
	height: 311px;
	background: url(../images/backgrounds/header_home.jpg) no-repeat 50% 0;
}
#home_page #about_us {
	position: absolute;
	top: 229px;
	left: 35px;
	width: 350px;
}
#home_page #about_us p { 
	margin-bottom: 10px; 
	line-height: 17px;
}
#home_page #about_us a {
	margin-left: 30px;
	text-align: center;
}
#container {
	padding: 0 10px 10px;
	background: url(../images/backgrounds/container.gif) repeat-y 50% 0;
}
#content {
	background: url(../images/backgrounds/content.gif) repeat-y 50% 0;
}
#main {
	padding-bottom: 12px;
	background: url(../images/backgrounds/main.gif) no-repeat 50% 100%;
}
#primary {
	width: 604px; /* Visual width = 604px */
	margin-top: -20px;
	margin-left: 10px;
	z-index: 200;
	float: left;
}
#home_page #primary {
	margin-top: 0;
}
#secondary {
	width: 169px; /* Visual width = 209px */
	margin-top: 20px;
	margin-right: 10px;
	padding: 0 20px 20px;
	float: right;
}
#home_page #secondary {
	position: relative;
	margin-top: -40px;
	z-index: 200;
}
#footer {
	margin-top: 35px;
	text-align: center;
}
#footer #copyright { padding-right: 5px; }
.feed img {
	float: left;
	padding: 0 7px 2px 0;
}

/* Main content sections
/* ---------------------------- */
.section {
	margin-left: 1px;
	padding: 20px 22px;
	border-top: 10px solid #323c47;
}
.first {
	border: none;
}
.sub-sections {
	background: url(../images/backgrounds/sub-sections.gif) repeat-y 50% 0;
}
.sub-section {
	width: 259px; /* Visual width = 279px */
	padding: 0 20px 0 0;
}
.sub-sections .right {
	padding: 0 0 0 17px;
}
.section h3 { margin-bottom: 15px; }
.section h4 { margin: 10px 0; }
.section h5 { margin: 0; }
#contact {
	padding: 20px 20px;
	background: #f6f6ed;
}

/* Absolutely-positioned header link
/* --------------------------------- */
#header h1 a {
	position: absolute;
	text-indent: -10000px;
	height: 60px;
	width: 400px;
	top: 75px;
	left: 45px;
}
#header h1 a:hover { background: none; }

/* Buttons
/* ---------------------------- */
a.button {
	display: block;
}
a.button:hover {
	background: none;
}
body#home_page #primary a.button {
	margin: 0 20px 10px;
}
#secondary a.button {
	margin: 30px 0 10px;
	text-align: center;
}

/* Forms
/* ---------------------------- */
input, textarea {
	display: block;
}
#contact form {
	width: 190px;
	float: right;
	margin-bottom: 10px;
}
#contact form input {
	width: 190px;
}
#contact form label {
	font-size: 10px;
}
#contact form div {
	margin: 0 0 10px;
}
#contact form input.button {
	float: right;
	width: auto;
}
#contact p {
	clear: both;
/*	padding-top: 15px;*/
}
#contact h3 {
	margin: 15px 0;
	font-size: 16px;
}
#search_site input, 
#secondary form.edbd input {
	display: inline;
	height: 12px;
	width: 130px;
	font-size: 10px;
}
#secondary #search_site input.button, 
#secondary form.edbd input.button {
	margin-bottom: -5px;
	width: 26px;
	height: 19px;
}

/* Tables
/* ---------------------------- */
table {
	margin-top: 15px;
}
thead {
	color: #fff;
	background: #323c47;
}
th, td { padding: 10px; }
thead th {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: normal;
}
td {
	background: url(../images/backgrounds/sub-sections.gif) repeat-y 0 0;
}
td:first-child { background: none; }
td.blank div { background: url(../images/backgrounds/blank_cell.gif) no-repeat 50% 50%; }
tr.odd th,
tr.odd td {
	background-color: #eaebec;
}

/* ---------------------------- */
body {
	font: 11px "Lucida Grande", Arial, sans-serif;
	color: #333;
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Trebuchet MS", sans-serif;
	color: #323c47;
}
h2 { font-size: 20px; }
h2 span {
	font-size: 12px;
	text-transform: uppercase;
}
h3 { font-size: 14px; }
h4 {
	font-size: 12px;
	text-transform: uppercase;
	color: #be0000;
}
h5 {
	font-size: 12px;
	font-weight: bold;
}
a {
	text-decoration: none;
	color: #eb0000;
}
a:hover {
	/*color: #640000;*/
	/*background: #ebd8d8;*/
	text-decoration: underline;
}
a:visited {
	color: #b00000;
}
#nav, #nav a {
	color: #b5d8ff;
	text-transform: uppercase;
}
#nav a:hover {
	background: none;
	color: #fff;
	text-decoration: underline;
}
#home_page #about_us {
	color: #323c47;
}
#footer { color: #323c47; }
#footer span, #footer span a { color: #323c47; text-decoration: none; }

.sub-section ul {
	color: #53616f;
	text-transform: uppercase;
}
#contact h2 {
	margin-bottom: 10px;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
}
#secondary h2 {
	margin: 30px 0 10px;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 2px;
}
#secondary h2 span {
	font-size: 9px;
	letter-spacing: normal;
	color: #788590;
}
#secondary h2.first { margin-top: 0; }
#secondary .jobs li {
	padding-bottom: 1px;
	background: url(../images/backgrounds/jobs_list.gif) repeat-x 0 100%;
}

#secondary .jobs strong, #secondary .more {
	text-transform: uppercase;
	font-size: 9px;
	font-weight: bold;
	letter-spacing: 1px;
}
#secondary .jobs a {
	display: block;
	padding: 5px 0;
}
#secondary .jobs a:hover {
	background-color: #d0d7dd;
	text-decoration: none;
}
.feed {
	font-size: 10px;
	line-height: 1.8em;
}
.feed a { text-transform: uppercase; }

#secondary .quote {
	margin: 85px 0;
}

#secondary .quote blockquote {
	padding-left: 15px;
	border-left: 2px solid #ccc;
	color: #666;
}
#secondary .quote cite {
	font-style: italic;
	display: block;
	text-align: right;
}


/* ---------------------------- */
#main #primary p,
#main #primary ul,
#main #primary ol { margin: 12px 0; }
#main #primary li { margin-left: 20px; }
#main #primary ul li { list-style: disc; }
#main #primary ol li { list-style: decimal; }
#main #primary blockquote {
	padding-left: 15px;
	border-left: 2px solid #ccc;
	color: #666;
}
#main #primary p  { line-height: 1.5em; }
#main #primary ul { line-height: 1.3em; }

body#sec_contact .post table {
	margin-top: 0;
}
body#sec_contact .post img {
	padding: 1px;
	border: 2px solid #f6f6ed;
}

em { font-style: italic; }
strong { font-weight: bold; }

.small {
	font-size: 10px;
}

/* ---------------------------- */
.center { text-align: center; }
.right { float: right; }
.left { float: left; }
.clear { clear: both; }
#nav:after,
#main:after,
.sub-sections:after,
#contact:after,
#contact form:after,
.floatclear:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* @group job */

.apply {
	font-size: large;
	font-weight: bold;
}

.navigation {
	margin-top: 25px;
}

.navigation a {
	padding: 10px;
}

/* @end */

/* @group forms */

.section fieldset {
	padding: 0px 20px;
	background: #f6f6ed;
	border: none;
}

.section legend {
	font-size: 16px;
	color: #323c47;
}

.section form input {
	width: 190px;
}

form.edbd input {
	display: inline;
}

form.edbd input.button {
	margin-bottom: -5px;
	width: 26px;
	height: 19px;
}

.section form input.button {
	width: auto;
}
.section form label {
	font-size: 10px;
	cursor: pointer;
}
.section form div {
	margin: 0 0 10px;
}
.section form p {
	margin: 0; padding: 0;
}

/* @end */
