/*div#header, div#middle_container { background: url(images/grid.png) left top; }*/
div#middle_container { overflow: hidden; }

html, body, * html #container {
	height: 100%;
}
div#container {
	position: relative;
	min-height: 100%;
}
div#content {
	padding-bottom: 36px;	
}

/* Header
-------------------------------------------------------------- */
div#header_container {
	width: 100%;
	height: 144px;
	background: #f5f5f5 url(images/top_bg.jpg) repeat-x left top;
}
div#header {
	position: relative;
	margin: 0 auto;
	width: 828px;
	height: 100%;
}
div#header h1 {
	height: 126px;
	width: 192px;
	background: #f5f5f5 url(images/logo.jpg) no-repeat left top;
}
div#header h1 a {
	display: block;
	height: 126px;
	width: 192px;
	background: transparent url(images/logo.jpg) no-repeat left top;
	text-indent: -9000px;
}
div#header h1 {
	float: left;
	margin: 0;
	padding: 0;
}
p#header_contact {
	position: absolute;
	top: 0;
	right: 0;
	height: 29px;
	width: 108px;
	background: #DE5C19 url(images/utility_nav.jpg) no-repeat right top;
}
p#header_contact a {
	color: #fff;
	font-size: 1.2em;
	display: block;
	height: 29px;
	width: 108px;
	line-height: 29px;
	padding: 0;
	text-indent: -9999em;
	outline: none;
	background: transparent url(images/utility_nav.jpg) no-repeat right top;
}
p#header_contact a:hover {
	color: #FFF;
	background-position: -132px -29px;
}
p#utility_nav {
	position: absolute;
	top: 0;
	right: 0;
	height: 29px;
	width: 240px;
	background: #DE5C19 url(images/utility_nav.jpg) no-repeat left top;
}
p#utility_nav a {
	color: #fff;
	font-size: 1.2em;
	float: left;
	display: block;
	height: 29px;
	line-height: 29px;
	padding: 0;
	text-indent: -9999em;
	outline: none;
}
p#utility_nav a#home_link {
	width: 71px;
	background: transparent url(images/utility_nav.jpg) no-repeat 0px 0px;
}
p#utility_nav a#blog_link {
	width: 61px;
	background: transparent url(images/utility_nav.jpg) no-repeat 71px 0px;
}
p#utility_nav a#contact_link {
	width: 108px;
	background: transparent url(images/utility_nav.jpg) no-repeat 132px 0px;
}
p#utility_nav a:hover {
	color: #FFF;
}
p#utility_nav a#home_link:hover {
	background-position: 0px -29px;
}
p#utility_nav a#blog_link:hover {
	background-position: -71px -29px;
}
p#utility_nav a#contact_link:hover {
	background-position: -132px -29px;
}


/* Header Tabs
-------------------------------------------------------------- */
ul#site_sections {
	position: absolute;
	bottom: -1px;
	right: 0;
	margin: 0;
	list-style: none;
	height: 48px;
}
ul#site_sections li {
	float: left;
	padding: 0 0 0 3px;
	line-height: 48px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 3px -48px;
}
ul#site_sections li a {
	background-color: transparent;
	text-indent: -999em;
	outline: none;
	overflow: hidden;
	height: 48px;
	display: block;
	background-repeat: no-repeat;
	background-position: 0px -48px;
}

ul#site_sections li#electronics { width: 206px; background-image: url(images/electronics_tab.jpg); }
ul#site_sections li#pharmasourcing { width: 134px; background-image: url(images/pharma_tab.jpg); }
ul#site_sections li#about { width: 145px; background-image: url(images/about_tab.jpg); }

ul#site_sections li#electronics  a { width: 206px; background-image: url(images/electronics_tab.jpg); }
ul#site_sections li#pharmasourcing  a { width: 134px; background-image: url(images/pharma_tab.jpg); }
ul#site_sections li#about a { width: 145px; background-image: url(images/about_tab.jpg); }

ul#site_sections li a:hover {
	background-position: 0px 0px;
}
ul#site_sections li.current_section a, ul#site_sections li.current_section a:hover {
	background-position: 0px -96px;
}

div#middle_container {
	width: 828px;
	margin: 0 auto;
}

/* Side-Bar
-------------------------------------------------------------- */
div#side_bar {
	float: left;
	width: 216px;
	padding: 0;
}
div#side_bar h3 {
	margin: 4px 0 2px 0;
	padding: 0;
	line-height: 1.2em;
	border-bottom: 1px solid #eee;
}
ul#page_navigation {
	margin: 0 9px 0 0;
	padding: 0;
}
ul#page_navigation li {
	margin: 0;
	padding: 0;
	line-height: 36px;
	list-style: none;
}
ul#page_navigation li.staff_heading {
	color: #999;
	background: #fff url(images/staff_li.jpg) no-repeat 0px 26px;
}
ul#page_navigation li.staff {
	background: #fff url(images/staff_li.jpg) no-repeat left top;
}
ul#page_navigation li a {
	display: block;
	padding: 0 9px;
	color: #333333;
	text-decoration: none;
}
ul#page_navigation li a:hover {
	background: #fff url(images/other_page.jpg) no-repeat right center;
}
ul#page_navigation li.current_page a {
	background: #fff url(images/current_page.jpg) no-repeat right center;
	color: #000000;
}

/* Main Content
-------------------------------------------------------------- */
div#main_content {
	float: left;
	width: 576px;
	margin: 0 0 0 18px;
	padding: 0;
}
body#blog div#main_content { margin: 0 18px 0 0; }
div#main_content h3 {
	font-size: 18px;
}
a:link { color: #10117C; }
a:visited { color: #10117C; }
a:hover { color: #10117C; }
a:active { color: #10117C; }
div#main_content h2#page_title  {
	margin: -5px 0 4px 0;
}
div#main_content ul.documents li {
	margin-bottom: 18px;
}
div#main_content .highlight { background-color: #FFFFE4; }
img.profile {
	padding: 8px;
	margin: 0 18px 9px 0;
	background-color: #D4E4F5;
	border: 1px solid #10117C;
}
div.line_card h4 {
	line-height: 36px;
	font-size: 18px;
	border-top: 1px solid #ddd;
	padding: 0 0 0 9px;
	background: #fff url(images/line_card_bg.jpg) repeat-x left top;
}
div.line_card p {
	padding: 0 9px;
}
div.line_card p img {
	float: right;
	margin: 0 0 7px 7px;
	padding: 6px;
	border: 1px solid #C3D9F2;
	background-color: #D4E4F5;
}
div.contactform {padding-bottom: 36px;}
div.contactform label {display: block;}
div.contactform .required, div.contactform .form_error { color: #900; }
div.contactform br {display: none;}
input#contactsubmit { display: block; }
.contacterror {
	border: 1px solid #900;
}

p.post_category {
	text-align: right;
	background-color: #f7f7f7;
	line-height: 3em;
	padding: 0 1em;
}

form#commentform textarea {
	width: 500px;
}

div.post h2 {
	font-size: 24px;
	font-weight: bold;
	line-height: 1.5em;
}
div.post h2 a {
	text-decoration: none;
}
div.post h2 a:hover {
	text-decoration: underline;
}



/* Footer
-------------------------------------------------------------- */
div#footer_container {
	width: 100%;
	clear: both;
	float: none;
	background: #10117C;
	position: relative;
	height: 36px;
	margin-top: -36px;
}
div#footer {
	position: relative;
	width: 828px;
	margin: 0 auto;
	color: #f5f5f5;
	 text-shadow: 0 0 0 #000;
	line-height: 36px;
}
div#footer p {
	position: relative;
	margin: 0;
}
div#footer p#copyright {float: left;}
div#footer p#contact_info {float: right;}
div#footer span.contact_type {color: #6465A9; margin-left: 9px;}
div#footer p a {color: #f5f5f5;}

/* Home Page Specific Styles
-------------------------------------------------------------- */
body#home { background-color: #10117C; }
body#home div#header_container {background-image: url(images/home_top_bg.jpg);}

body#home ul#site_sections li#electronics { background-image: url(images/electronics_tab_home.jpg); }
body#home ul#site_sections li#pharmasourcing { background-image: url(images/pharma_tab_home.jpg); }
body#home ul#site_sections li#about { background-image: url(images/about_tab_home.jpg); }

body#home ul#site_sections li#electronics a { background-image: url(images/electronics_tab_home.jpg); }
body#home ul#site_sections li#pharmasourcing a { background-image: url(images/pharma_tab_home.jpg); }
body#home ul#site_sections li#about a { background-image: url(images/about_tab_home.jpg); }
body#home ul#site_sections li a:hover { background-position: 0px -96px; }
body#home div#main_content {height: 396px;}
body#home div#side_bar p { color: #f5f5f5; text-align: left; font-size: 14px; line-height: 21px; text-shadow: 0 0 0 #000;}
* html body#home div#images {display: inline;}
body#home div#images {position: relative; width: 594px; height: 396px; margin-top: 1px; padding-bottom: 36px; }
body#home div#images a, div#image_fader {display: block; position: absolute; top: 0; left: 0; width: 594px; height: 396px;}
body#home div#images img { width: 594px; height: 396px; cursor: pointer; }
body#home div#image_fader {background-color: #fff;}
body#home div#footer_container {background-color: #0C0D5F;}