/* general stuff */

html {
	margin: 0;
	padding: 0;
}

body {
  font-family :  Verdana, Tahoma, Helvetica, sans-serif;
  font-size : 11px;
  color : #000022;
  margin: 0;
  padding: 0px;
  background: url(../layout/images/gray_gradient_1px.png) repeat-x;
  background-color: #FFFFFF;
}

/* content page headers */
h3,h4 {
  color: #666666;
  padding: 10px;
}

p {
	margin: 0;
	padding: 10px;
}

img {
	border: 0
}

input{
  border: 1px solid #666666;
  font-size: 8pt;
}

textarea {
	color: #000000;
	font-size: 11px;
}

select {
  font-size: 11px;
}

table {
	margin: 0;
	padding: 0;
}

th {
  font-size: 11px;
  color: #E7ECF3;
  background-color: #666666;
  padding: 4px 6px 4px 6px; /* top right bottom left */
}

td {
  font-size: 11px;
  margin: 0;
  padding: 1px 10px 1px 10px;
  color: #666666;
}

ul {
	margin: 0;
	padding: 0;
}

li {
	margin: 0;
	padding: 0;
}

a {
  text-decoration: none;
  color: FF4500;
}

input.checkbox, input.button {
  width: auto;
}

/* *** *** main layout elements *** *** */

/* *** Header content *** */
#header{
  height: 100px;
  background: url(../layout/images/gradient.gif) repeat-x 20% 5%;
  color: #666666;
}  

#logo{
  float: left;
  width: 165px;
  height: 100px;
}

#heading{
  float: left;
  width: 537px;
  height: 100px;
  color: #ffffff;
  vertical-align: bottom;
}

.top{
  color: #ffffff;
  font-size: 13pt;
  margin-top: 65px;
  padding-left: 20px;
  border-left: 2px solid #fff;
}

#loginarea{
  color: #fff;
  font-size: 8pt;
  font-weight: bold;
  text-align: left;
  padding-left: 20px;
  padding-top: 30px;
}

#locator{
  padding-left: 180px;
  padding-top: 10px;
  color: #666666;
  text-decoration: none;
  font-weight: bold;
  font-size: 8pt;
  background: url(../layout/images/border_h.gif) bottom left repeat-x;
}

/* *** Menu *** */
#main-menu-container{
background: url(../layout/images/double_border.gif) repeat-y;
}

#main-menu{
  background: url(../layout/images/gray_gradient_1px.png) repeat-x;
  padding-left: 10px;
  vertical-align: top;
  padding-right: 8px;
  float: left;
  width: 150px;
}

#main-menu li a,
#main-menu li a:link,
#main-menu li a:hover{
  color: #666666;
  text-decoration: none;
  font-weight: bold;
  font-size: 8pt;
}

#main-menu li a:hover{
  text-decoration: underline;
}


div#main-menu ul{
  list-style-type: none;
  margin: 0px 10px 20px 5px;
}

div#main-menu li{
  padding-left: 5px;
}

div#main-menu ul{
  list-style-type: none;
  margin: 0px 10px 20px 5px;
}


/* first level, i.e. group menu */
ul.menu-lvl-1{
  list-style-type: none;
  margin: 0px 10px 20px 5px;
  background: url(../layout/images/border_h.gif) bottom left repeat-x;
}

ul.menu-lvl-1 > li{
  padding: 5px 0 0 10px;
  margin: 0px 0px 0px 0px;
  background: url(../layout/images/border_h.gif) top left repeat-x;
}

/* currently selected 1st level item */
#main-menu a.enabled_selected_group{
  text-decoration: underline;
}

/* 2nd level i.e. main menu */

ul.menu-lvl-2{
  list-style-type: none;
  margin: 4px 0 5px 10px;		/* top right bottom left */
  background: url(../layout/images/border_h.gif) bottom left repeat-x;
}

ul.menu-lvl-2 li{
  margin: 4px 0 0 4px; /* top right bottom left */
  line-height: 0.7em;
  padding-bottom: 2px;
  padding-left: 10px;
//  background: url(../layout/images/border_h.gif) top left repeat-x;
}


/* currently selected 2nd level item */
#main-menu a.enabled_selected_main{
  text-decoration: underline;
}


/* 3nd level i.e. submenu on top */

div#sub-menu {
  height: 1em;
  padding: 0.4em 0; /* top right bottom left */
  margin-left: 180px;
  margin-bottom: 5px;
  margin-top: 5px;
  background: url(../layout/images/border_h.gif) bottom left repeat-x;
}

div#sub-menu ul {
	float: left;
	list-style: none;
}

div#sub-menu ul li {
	float: left;
	font-weight: bold;
	padding: 0 1.5em;
}

#sub-menu a { 
  color: #666666;
}

#sub-menu a:hover { 
  text-decoration: underline;
}

/* currently selected 3rd level item */
#sub-menu a.enabled_selected_sub {
  color: FF4500;
}

div#main-menu span, div#sub-menu span {
	color: rgb(200, 200, 200);
}

/* content area */

div#content {
  margin-left: 165px;
  padding-left: 10px;
  background: url(../layout/images/gray_gradient_1px.png) repeat-x;
}

/* messages */

div.error_message {
  border: 1px solid red;
  border-left-width: 3px;
  border-right-width: 3px;
  margin-right: 300px;
  color: red;
  font-weight: bold;
  padding: 3px;
  background-color: #ffe6e5;
}

div.info_message {
  border: 1px solid green;
  border-left-width: 3px;
  border-right-width: 3px;
  margin-right: 300px;
  font-weight: bold;
  padding: 3px;
  color: green;
}

div.info {
	padding-bottom: 1em;
}

div.info p { 
	padding: 0.4em;
}

/* links */

a.optionlink {
	display: block;
	color: black;
	font-size: 1.2em;
	font-weight: bold;
	padding: 3px;
	margin-left: 1em;
}

/* *** table stuff *** */

td.label {
  font-size: 11px;
  margin: 0;
  padding: 1px 10px 1px 10px;
  color: #666666;
}

td.erroneous {
  font-size: 11px;
  margin: 0;
  padding: 1px 10px 1px 10px;
  color: red;
  background-color: #ffe6e5;
}

/* row background change for even / odd rows */
tr.resultrow1 {
  background: url(../layout/images/gray_gradient_1px.png) repeat-x;
}

tr.resultrow2 {
  background-color: #fff;
}

th.erroneous {
	background-color: #ffe6e5;
}

/* *** search result table *** */

table.results {
	border: 1px solid #666666;
	background-color: #fff;
}

table.results td.text {
	text-align: left;
}

/* either one of 2 below can be used to represent numeric results*/
table.results td.number {
	text-align: right;
}
table.results td.results_num {
	text-align: right;
}

table.results td.total_text {
	text-align: left;
	font-weight: bold;
}

table.results td.total_number {
	text-align: right;
	font-weight: bold;
}

/* resulting row at the bottom*/
table.results td.totals {
  text-align: left;
  font-weight: bold;
  font-size: 8pt;
  padding-top: 5px;
}
table.results td.totals_num {
  text-align: right;
  font-weight: bold;
  font-size: 8pt;
  padding-top: 5px;
}
/* page navigation links */
table.results a.activepage {
  font-weight: bold;
  color: FF4500;
}

table.results td.accented {
  
}

/* *** edit screens *** */
table.editscreen {
  border: 1px solid #666666;
  padding: 5px; 
  margin: 5px 0 5px 0; /* top right bottom left */
}

/* misc */

div.wrapper {
	border: 1px solid #9FB8D7;
	background-color: #E7ECF3;
	padding: 5px;
}

ul.explain {
	padding-left: 20px;
}

/* login page */

#login_page h1 {
	text-align: center;
	font-size: 1.2em;
}

#login_page table {
	width: 10%;
}

#login_page td {
	width: 50%;
	text-align: center;
}


/* *** tabbed menus *** */
.tabbed{
		border: 1px solid gray;
		width: 750px;
		margin-bottom: 1em; padding: 10px;
}
.shadetabs{
  padding: 3px 0;
  margin-left: 0;
  margin-top: 1px;
  margin-bottom: 0;
  list-style-type: none;
  font-weight: bold;
  text-align: left; /*set to left, center, or right to align the menu as desired*/
}

.shadetabs li{
  display: inline;
  margin: 0;
}

.shadetabs li a{
  text-decoration: none;
  padding: 3px 7px;
  margin-right: 3px;
  border: 1px solid #778;
  color: #2d2b2b;
  background: white url(../layout/images/gray_gradient_1px.png) top left repeat-x;
}

.shadetabs li a:visited{
  color: #666666;
}

.shadetabs li a:hover{
  text-decoration: underline;
  color: #666666;
}

.shadetabs li.selected{
  position: relative;
  top: 1px;
}

.shadetabs li.selected a{ /*selected main tab style */
  background: white;
  border-bottom-color: white;
}

.shadetabs li.selected a:hover{ /*selected main tab style */
  text-decoration: none;
}
