body {
	margin: 0;
	padding: 0;
	font: 13px "Verdana", sans-serif;
	color: #444;
}

#cke_content {
	margin-right: -30px;
}
body {
	background: white;
}
body.real_body_tag {
	background: #52A8AA url(design/images/page_fill.jpg) repeat-x; 
}

body#declaration a:link, 
body#declaration a:visited {
	text-decoration: underline;
	}

body#declaration a:hover {
	text-decoration: none;
	}


#real_body, #live_resources {
	background: #52A8AA url(design/images/page-fill.jpg) repeat-x;
}

h1 {
	color: #666;
	font-size: 1.3em;
	}

h2 {
	color: #2F7D7F;
	font-size: 1.15em;
	}

h3 {
	color: #333;
	font-size: 1.05em;
	}



#main_body a:link, 
#main_body a:visited,
#page_body a:link, 
#page_body a:visited, 
#live_resources a:visited,
#main_body table tr td a:link,
#page_body table tr td a:link {
	text-decoration: underline;
	}

#main_body a:link, #page_body a:link,
#main_body table tr td a:link,
#page_body trable tr td a:link {
	color: #2F7E80; /* darker teal */
	}

#main_body a:visited, #page_body a:visited,
#main_body table tr td a:visited,
#page_body trable tr td a:visited {
	color: #6F7698; /* blue theme */
	}

#main_body a:hover, #page_body a:hover,
#main_body table tr td a:hover,
#page_body table tr td a:hover {
	color: #327F81; /* teal */
	text-decoration: none;
	}

#uniform {
	background: url(design/images/shirt-background.jpg) right top no-repeat;
	height: 310;
	}

#centerer {
	margin: 0 auto;
	background: url(design/images/content-fill.png) repeat-y;
	width: 850px;
	padding: 0 35px;
	position: relative;
	padding-top: 1px;
}

#header {
	float: none;
	clear: both;
	width: 100%;
	}

#spc-logo {
	margin: 20px 110px 0 15px;
	float: left;
	}

#tagline {
	margin-top: 65px;
	float: left;
	}

ul#utilitylinks {
	width: auto;
	height: 30px;
	position: absolute;
	right: 50px;
	top: 10px;
	}

ul#utilitylinks li {
	display: inline;
	padding-left: 25px;
	}

ul#utilitylinks li a {
	font-size: smaller;
	}

#globalnav {
	width: 850px;
	height: 47px;
	margin: 15px 0 0 0;
	background: url(design/images/globalmenu-bg.png) repeat-x;
	}

#globalnav ul {
	margin: 0;
	padding: 0;
	}

#globalnav ul li {
	list-style: none;
	display: block;
	float: left;
	padding-left: 5px;

	}

#globalnav ul li:hover, #globalnav ul li.current {
	background: url(design/images/globalnav/left-shadow.png) no-repeat;
	background-position: left center;
	}

#globalnav ul li a {
	display: block;
	float: left;
	height: 35px;
	padding: 12px 25px 0 20px;
	}

#globalnav ul li a:link, #globalnav ul li a:visited, #globalnav ul li a:hover {
	color: #555;
	text-shadow: #fff 1px 1px 0;
	text-decoration: none;
	font-size: 16px;
	}

#globalnav li:hover a, #globalnav li.current a {
	background: url(design/images/globalnav/navlink-fill.png) no-repeat;
	background-position: right center;
	}
	
#logged_in_links, #admin_links {
	margin: 5px 0 0 0;
	padding: 12px;
	background: #2f7d7f url(design/images/adminbar-fill.jpg) repeat-x;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	color: #fff;
	}

#admin_links a img {
	margin: -7px 0 0 10px;
	}

span.logged-in-as {
	font-weight: bold;
	}

#admin_links a img {
	margin-top: -7px;
	}


#logged_in_links a:link, 
#logged_in_links a:visited,
#admin_links a:link, #admin_links a:visited {
	color: #ADF0F2;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	}

#logged_in_links a:hover,
#admin_links a:hover {
	color: #fff;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	}

#logged_in_links a#view_supply_chain:link, #logged_in_links a#view_supply_chain:visited {
	background: url(design/images/icon-wht-view.png) no-repeat;
	background-position: left center;
	padding: 5px 0 5px 30px;
	overflow: visible;
	}

#logged_in_links a#view_supply_chain:hover {
	background: url(design/images/icon-wht-viewOV.png) no-repeat;
	background-position: left center;
	padding-left: 30px;
	overflow: visible;
	}

#sidebar {
	width: 255px;
	margin: 0 15px 0 0;
	height: auto;
	float: left;
	}

#sidebar ul {
	list-style: none;
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	padding: 0;
	margin: 0;
	font-family: Trebuchet MS, Verdana, Arial, sans-serif;
	}

#sidebar ul li a {
	display: block;
	height: 32px;
	width: 230px;
	padding: 12px 0 0 25px;
	text-decoration: none;
	font-weight: bold;
	}
#sidebar ul li a:link, #sidebar ul li a:visited {
	color: #555;
	background: #D7CBC4;
	border-top: 1px solid #EBE2DD;
	border-bottom: 1px solid #C4BBB6;
	}

#sidebar ul li a:hover, #sidebar ul li a:active, #sidebar ul li.current a {
	color: #fff;
	background: #7F7F7F;
	border-top: 1px solid #555;
	border-bottom: 1px solid #555;
	}

#sidebar ul li.nav_aa_search_public_entity a:before,
#sidebar ul li.nav_aa_search_factory a:before,
#sidebar ul li.nav_aa_search_manufacturer a:before,
#sidebar ul li.nav_aa_search_product_category a:before,
#sidebar ul li.nav_aa_search_vendor a:before,
#sidebar ul li.nav_aa_search_contract a:before {
	height: 32px;
	vertical-align: top;
	width: 25px;
	content: '';
	background-image: url(design/images/icon-32-entities.png);
	background-repeat: no-repeat;
	display: -moz-inline-stack;
	display: inline-block;
	position: relative;
	top: -8px;
	left: -8px;
}

#sidebar ul li.nav_aa_search_public_entity a:before { background-position: left 0px; }
#sidebar ul li.nav_aa_search_factory a:before { background-position: left -32px; }
#sidebar ul li.nav_aa_search_manufacturer a:before { background-position: left -64px; }
#sidebar ul li.nav_aa_search_product_category a:before { background-position: left -96px; }
#sidebar ul li.nav_aa_search_vendor a:before { background-position: left -128px; }
#sidebar ul li.nav_aa_search_contract a:before { background-position: left -160px; }


#csv_download_box {
  margin: 10px 0 15px 0;
  padding: 8px 6px 10px 10px;
  background: #dfeced;
  background-position: bottom left;
  border: 1px solid #92bec2;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
}



/* OLD NAV */
.nav {
  display: block;
  position: absolute;
  top: 159px;
  height: 30px;
  background: transparent url(design/images/nav_over.png) -100px -100px no-repeat;
}
.nav strong {
  display: none;
}
#nav_about:hover {
  background-position: 0px -4px;
}
#nav_about {
  left: 86px;
  width: 74px;
}
#nav_services:hover {
  background-position: -128px -4px;
}
#nav_services {
  left: 214px;
  width: 171px;
}
#nav_join:hover {
  background-position: -354px -4px;
}
#nav_join {
  left: 440px;
  width: 116px;
}
#nav_resources:hover {
  background-position: -523px -4px;
}
#nav_resources {
	left: 609px;
	width: 106px;
	}
/* END OLD NAV */

#main_body {
  background: white;
  margin: 0 35px 0 0;
  min-height: 250px;
	}

#page_body {
  background: white;
  width: 540px;
  margin: 0 0 0 0;
  padding-left: 15px;
  min-height: 250px;
  float: left;
  border-left: 1px solid #cacaca;
	}
body.no-nav #page_body {
	float: none;
	width: auto;
	border: none;
}


#main_body p a:link {
	color: #2F7E80; /* darker teal */
	text-decoration: underline;
	font-weight: bold;
	}

hr {
	height: 1px;
	border-width:0;
	color: #ccb7aa; /* tan */
	background-color: #ccb7aa; /*tan */
}

ul#utilitylinks li a:link,
ul#footertext li a:link,
.db_record a:link
 {
	color: #000f66; /* blue theme */
/*	color: #694631; /* khaki theme */
	text-decoration: none;
	}

#centerer #main_body p a:visited, 
ul#utilitylinks li a:visited,
ul#footertext li a:visited,
.db_record a:visited {
	color: #6F7698; /* blue theme */
/*	color: #926348; /* khaki theme */
	text-decoration: none;
	}

#centerer #main_body p a:hover, 
#centerer a:active, 
ul#utilitylinks li a:hover, 
ul#utilitylinks li a:active,
ul#footertext li a:hover,
ul#footertext li a:active,
.db_record a:hover,
.db_record a:active {
/*	color: #A14F19; /* brick */
	color: #327F81; /* teal */
	text-decoration: none;
	}


#centerer ul.supply_chain_list li {
	padding: 2px 0 2px 0;
	}

#centerer ul.supply_chain_list li a:link {
	color: #000f66; /* blue theme */
/*	color: #694631; /* khaki theme */
	text-decoration: underline;
	}

#centerer ul.supply_chain_list li a:visited {
	color: #6F7698; /* blue theme */
/*	color: #926348; /* khaki theme */
	text-decoration: none;
	}

#centerer ul.supply_chain_list li a:hover, #centerer ul.supply_chain_list li a:active {
	color: #000;
	text-decoration: none;
	}

#footer {
  text-align: center;
  padding: 21px 0 25px 0;
  margin: 25px 0 25px 0;
  border-top: 1px solid #cacaca
}
#footer img {
  vertical-align: text-bottom;
}
#wfpl_messages {
  border: 2px solid red;
  background: #fbb;
  padding: 5px;
  margin: 20px 0px;
}
#wfpl_messages p {
  font-size: 120%;
  padding: 5px;
  margin: 0px;
}
#wfpl_messages hr {
  height: 1px;
  color: #999;
}

.my_supply_chain_connected {
  background: #D7F9FA; 
}
.my_supply_chain_current {
/*  background: #cef; */
/*  background: #E0C4A8; */
  background: #B3DEDF url(design/images/supply-chain-fill.jpg) repeat-x;
}



/****** DB (displaying data from the bsf database *****/

.db_record {
  margin: 20px 0 5px 0;
  padding: 6px 6px 10px 10px;
  background: #F1E8E3 url(design/images/dbrecord-fill.jpg) repeat-x;
  background-position: bottom left;
  border: 1px solid #CCB7AA;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
}

h2#factory {
	padding: 10px 0 0 60px;
	height: 50px;
	background: url(design/images/icon_sm-factory.png) no-repeat;
	background-position: left top;
	}

h3.entity {
	background: url(design/images/icon-25-entities.png) no-repeat;
	height: 25px;
	padding-left: 30px;
	background-position: 0 2px;
	}

h3.factory {
	background: url(design/images/icon-25-entities.png) no-repeat;
	height: 25px;
	padding-left: 30px;
	background-position: 0 -23px;
	}

h3.manufacturer {
	background: url(design/images/icon-25-entities.png) no-repeat;
	height: 25px;
	padding-left: 30px;
	background-position: 0 -48px;
	}

h3.product {
	background: url(design/images/icon-25-entities.png) no-repeat;
	height: 25px;
	padding-left: 30px;
	background-position: 0 -73px;
	}

h3.vendor {
	background: url(design/images/icon-25-entities.png) no-repeat;
	height: 25px;
	padding-left: 30px;
	background-position: 0 -98px;
	}



.db_record .db_record {
  margin: 20px;
  background-color: #ddd;
}
.db_record .db_record .db_record_type {
  border-bottom: 1px dashed #bbb;
}
.db_record .db_record_type, #csv_download_box_head {
  padding-bottom: 1px;
  border-bottom: 1px dashed #ccc;
  margin-bottom: 3px;
  text-align: center;
}
.db_record .db_record_type, .db_record .db_section, #csv_download_box_head {
  font-weight: bold;
}
.db_record .db_value_peren {
  color: #888;
}

.db_record span.db_caption {
  font-weight: bold;
}


div.buyer:before, a.buyer:before { background-position: 0 2px; }
div.factory:before, a.factory:before { background-position: 0 -23px }
div.manufacturer:before, a.manufacturer:before { background-position: 0 -49px; }
div.product:before, a.product:before { background-position: 0 -73px; }
div.vendor:before, a.vendor:before { background-position: 0 -100px; }
div.contract:before, a.contract:before { background-position: 0 -124px; }

div.buyer, div.factory, div.manufacturer, div.product, div.vendor, div.contract,
a.buyer, a.factory, a.manufacturer, a.product, a.vendor, a.contract, a.buyer {
	padding: 0px 0 3px 30px;
}

div.buyer:before, div.factory:before, div.manufacturer:before, div.product:before, div.vendor:before, div.contract:before,
a.buyer:before, a.factory:before, a.manufacturer:before, a.product:before, a.vendor:before, a.contract:before, a.buyer:before {
	height: 22px;
	width: 25px;
	vertical-align: bottom;
	content: '';
	background-image: url(design/images/icon-25-entities.png);
	background-repeat: no-repeat;
	display: -moz-inline-stack;
	display: inline-block;
	position: relative;
	top: 2px;
	left: -4px;
}

a.buyer, a.factory, a.manufacturer, a.product, a.vendor, a.contract {
	font-weight: bold;
	}

.db_record .db_section {
  margin: 10px 10px 5px 15px;
}

.db_record .db_record_link a:link, .db_record .db_record_link a:visited {
	background: url(design/images/icon-record_link.png) no-repeat; /* sprite used for link, visited, and hover */
	background-position: 0 -25px;
	padding-left: 20px;
	}

.db_record .db_record_link a:hover {
	background: url(design/images/icon-record_link.png) no-repeat;
	background-position: 0 1px;
	padding-left: 20px;
	}


/****** OLD FORMS (admin_login and pages) *******/
td.field, td.right_caption {
  text-align: left;
  vertical-align: bottom;
}
td.caption, td.errorcaption {
  text-align: right;
  vertical-align: top;
}
.caption, td.errorcaption, td.right_caption {
  font-weight: bold;
}
.errorcaption {
  color: red;
}
div.error {
  border: 2px solid red;
  padding: 13px;
  margin: 20px;
  background: #fdd;
}

.caption {
  margin-top: 15px;
  font-weight: bold;
}
.field {
  margin-bottom: 15px;
  margin-top: 3px;
}
div.field_notes {
  font-size: 12px;
  line-height: 16px;
  font-style: italic;
}
div.field_notes ul {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.form_instructions {
  font-style: italic;
}
fieldset {
  border: 1px dotted black;
  padding: 0 15px 15px 15px;
  margin: 15px 0;
  position: relative;
}
legend {
  padding: 0 6px;
  font-weight: bold;
}
div.error {
  border: 2px solid red;
  padding: 13px;
  margin: 20px;
  background: #fdd;
}
.form_section {
  border: 1px dotted black;
  padding: 23px 15px 15px 15px;
  margin: 25px 0;
  position: relative;
}
.form_section_header {
  position: absolute;
  left: 42px;
  top: -9px;
  background: white;
  padding: 0 6px;
}
span.wfpl_ifl {
  display: block;
  float: left;
  font-size: 10px;
  text-align: right;
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0 10px 2px 0;
}
span.wfpl_ifr {
  display: block;
  float: right;
  font-size: 10px;
  text-align: right;
  background-repeat: no-repeat;
  background-position: left top;
  margin: 0 0 2px 10px;
}
div.wfpl_ic {
  margin: 15px auto;
  font-size: 10px;
  text-align: right;
  background-repeat: no-repeat;
  background-position: center top;
}
td > :first-child,
th > :first-child,
legend + *,
article > :first-child,
section > :first-child,
nav > :first-child,
div > :first-child,
.first {
  margin-top: 0px;
}
td > :last-child,
th > :last-child,
fieldset > :last-child,
article > :last-child,
section > :last-child,
nav > :last-child,
div > :last-child,
.last {
  margin-bottom: 0px;
}

/* ========== Listing table styles ========== */
table.listing {
	border: solid #7d7d7d;
	border-width: 1px 1px 0 1px;
	}

table.listing tbody tr {
	border-bottom: 1px solid #7d7d7d;
	}

table.listing tbody tr td.listing {
	border-right: 1px solid #7d7d7d;
	}

table.listing tbody tr td, table.listing tbody tr th {
	border-bottom: 1px solid #7d7d7d;
	}

table.listing tbody tr th {
	color: #fff;
	background: url(design/images/denim-fill-header.jpg) repeat-x;
	}

table.listing tbody tr.even {
/*	background: #ededed url(design/images/even-fill-texture.jpg) repeat-x; */
	background: #ededed url(design/images/denim-fill.jpg) repeat-x;
	}

table.listing tr td a:link {
	color: #000f66; /* blue theme */
/*	color: #694631; /* khaki theme */
	text-decoration: underline;
	}

table.listing tr td a:visited {
	color: #6F7698; /* blue theme */
/*	color: #926348; /* khaki theme */
	text-decoration: none;
	}

table.listing tr td a:hover, table.listing tr td a:active {
	color: #A14F19;
	text-decoration: none;
	}

ul#footertext {
	list-style: none;
	padding: 0;
	margin: 0;
	}

ul#footertext li {
	display: inline;
	float: left;
	margin-right: 50px;
	}

a.pdf {
	padding-left: 25px;
	background: url(design/images/adobe_pdf_icon.gif) no-repeat;
	background-position: left center;
	}

p.linkup-links {
	margin-bottom: 15px;
	}

p.linkup-links a {
	padding: 3px 10px 3px 10px;
	border: 1px solid #9EC7C8;
	background: url(design/images/linkfill.jpg) repeat-x;
	background-position: left bottom;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-o-border-radius: 3px;
	}

p.linkup-links a:link, p.linkup-links a:visited {
	text-decoration: none;
	}

p.linkup-links a:hover {
	text-decoration: underline;
	}

a.newwindow {
	width: auto;
	background: url(design/images/newwindow.png) no-repeat;
	background-position: right center;
	padding-right: 15px;
	}
	
#csv_download_link {
	background: url(images/icon-download.png) no-repeat;
	background-position: left center;
	padding: 5px 0 5px 30px;
	}

.db_record {
	position: relative;
}
.fix_link {
	position: absolute;
	top: 3px; right: 5px;
}
