/* 
 * MAIN CSS
 *
 * All styles for the screen, other than color-specific styles,
 * should be included here.  Color styles should be included
 * in colors.css.
 *
  * COMMON STYLES
 */
body {
	font: 12px Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}

#page {
	margin: 8px;
	width: auto;
}

/*
 * HEADER STYLES
 */
#header {
	background: #6c940b url(../images/header-stretch.png);
	width: 100%;
	height: 72px;
}

#name-and-company {
	background: url(../images/header-left.png) top left no-repeat;
	width: 100%;
	height: 72px;
	position: relative;
	top: 0px;
	left: 0px;
}

#site-name {
	margin: 0;
	display: inline;
	font-size: 150%;
}

#site-name a,#site-name a:hover {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	position: absolute;
	top: 30px;
	left: 16px;
	text-decoration: none;
}

#company-name a {
	position: absolute;
	right: 0px;
	background: url(../images/header-right.png) top right no-repeat;
	height: 72px;
	width: 190px;
	font-size: 8px;
	text-align: center;
}

#search {
	position: absolute;
	padding: 0;
	top: 0;
	right: 0;
}

/*
 * TEXT FORMATTING STYLES
 */
h1 {
	font-size: 1.4em;
	padding: 12px 0 5px 0;
	line-height: 125%;
}

h2 {
	font-size: 1.2em;
	padding: 10px 0 2px 0;
}

h3 {
	font-size: 1em;
	padding: 8px 0 5px 0;
}

h4 {
	font-size: 1em;
	padding-top: 8px;
}

/*
 * MENU STYLES
 */
#primary-navigation {
	padding: 0;
	background: url(../images/primary-menu-stretch.png) repeat-x;
	height: 23px;
	position: relative;
	margin: 8px 0 0 0;
}

#primary-left {
	background-image: url(../images/primary-wrapper-left.png);
	background-repeat: no-repeat;
	background-position: top left;
	font-size: 93%;
	line-height: normal;
	padding: 0 0 0 8px;
	height: 23px;
	position: relative;
	float: left;
}

#primary-right {
	background-image: url(../images/primary-wrapper-right.png);
	background-repeat: no-repeat;
	background-position: top right;
	font-size: 93%;
	line-height: normal;
	padding: 0 8px 0 0;
	height: 23px;
	position: relative;
	float: right;
}

#primary-left ul,#primary-right ul {
	padding: 0 0 0 5px;
	margin: 0;
	list-style: none;
}

#primary-left li,#primary-right li {
	display: inline;
}

#primary-left a,#primary-right a {
	font-weight: normal;
	display: block;
	float: left;
	padding: 5px 14px 5px 14px;
	margin: 0px 1px 0 0;
	background-position: 0% 0;
	background-image: url(../images/primary-item-background.png);
	background-repeat: repeat-x;
}

#primary-left a:hover,#primary-right a:hover {
	background-image: none;
}

#secondary-navigation {
	width: 212px;
	height: 100%;
	margin-left: 16px;
	float: left;
}

#secondary-navigation ul {
	margin: 0;
	padding: 12px 0 0 0;
	list-style: none;
}

#secondary-navigation li a {
	display: block;
	text-decoration: none;
	padding: 6px 5px;
}

#secondary-navigation ul ul {
	margin: 0;
	padding: 0 0 0 12px;
	list-style: none;
}

#content,#content-no-nav {
	display: block;
	margin: -10px 16px 0 244px;
	padding-bottom: 20px;
}

#content-no-nav {
	margin-left: 16px;
}

/*
 * CONTAINER STYLES
 */
#container {
	margin: 0;
	padding-bottom: 20px;
    overflow:hidden;
}

/*
 * TABLE STYLES
 */
table {
	border-spacing: 0;
	margin: 0;
	border-collapse: collapse;
}

th {
	height: 19px;
	text-align: left;
	font-weight: bold;
	margin: 0;
	padding: 3px 6px 0 6px;
	line-height: 19px;
}

.bordered-table th {
	background-image: url(../images/table-header-background.png);
	background-repeat: repeat-x;
	white-space: nowrap;
}

td {
	margin: 0;
	padding: 4px 6px;
	vertical-align: top;
}

.name-sublevel1-odd {
	padding-left: 20px;
	font-weight: bold;
}

.name-sublevel1-even {
	padding-left: 20px;
	font-weight: bold;
}

.two-tables {
	width:100%;
}

.two-tables .left {
	float:left;
}

.two-tables .right {
	float:right;
}

/*
 * FORM STYLES
 */

input, textarea, textfield {
    margin: 0;
    font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
    padding: 1px;
    font-size: 100%;
  }

input.form-checkbox, input.form-radio {
  border: none;
}

#search .form-text, #user-login-form .form-text {
  padding: 2px;
}

.form-submit, .button {
  padding: 1px;
}

#user-login-form {
  text-align: left;
}

#user-login-form .item-list ul {
  margin-top: 10px;
}

/*
 * ALERTS, STATUS, HELP MESSAGE STYLES
 */

.messages {
  padding: 1.3em 1em .3em 52px;
  margin: 10px 0;
}

.messages ul {
  padding: 0 0 0 20px;
  margin: 0;
}

/*
 * FOOTER STYLES
 */
#footer-wrapper {
	clear: both;
	margin: 0;
	background-image: url(../images/footer-stretch.png);
	background-repeat: repeat-x;
	height: 29px;
	width: 100%;
}

#footer-left,#footer-right {
	margin: 0;
	font-size: 85%;
	padding: 1em;
	height: 29px;
}

#footer-left {
	text-align: left;
	background-image: url(../images/footer-left.png);
	background-repeat: no-repeat;
	position: relative;
	left: 0;
	float: left;
}

#footer-right {
	text-align: right;
	background-image: url(../images/footer-right.png);
	background-repeat: no-repeat;
	background-position: top right;
	position: relative;
	right: 0;
	float: right;
}
