/*basic elements*/
h1{
	color:#2c2c9a;
	margin: 0px 0px 8px 8px;
	line-height: 28px;
}
h2{
	color:#2c2c9a;
	margin: 0px 0px 6px 0px;
	line-height: 24px;
}
p{
	margin:5px;
}

ul{
	margin-left: 25px;
	margin-bottom: 10px;
}

table{
	font-size:1em;
	empty-cells: show;
	border:collapse;

}
tbody{
	width:100%;
	}

tr{
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-bottom: 0px;	
}

td{
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-bottom: 0px;	
	vertical-align: middle;
}
th{
	vertical-align: bottom;
}

*>body form {
	margin-top:0px;
	margin-bottom: 0px;
}
* html form {
	margin-top:0px;
	margin-bottom: 0px;
}
/*IW defined divs*/
div.display{
	background-color:#ffffff;
	border-left: 1px solid #5b5bc2;
	border-right: 1px solid #5b5bc2;
	border-bottom: 1px solid #5b5bc2;
}


div.header{
	background: url(../imgs/frag_topmiddle.gif);
	background-repeat: repeat-x;
	font-weight: bold;
	color: #2c2c9a;
	font-size: 1.2em;
	padding: 10px 5px 2px 5px;
	height: 24px;
	border-left: 1px solid #5b5bc2;
	border-right: 1px solid #5b5bc2;
	
}


/**
* Content Areas on the page
*/
#site_container {
	margin:0px;
	padding:0px 3px 0px 3px;
}

.main_content{
	padding: 4px 10px 4px 10px;
}

div.edit {
	border: 1px solid #5b5bc2;
	background-color: #e6e6e6;
	display: none;
	padding: 10px;
	
}

.container {
	margin-bottom: 6px;
}

.details table tr td {
	padding:2px;
	line-height:1.25em;
}

div.details, div.query_tool {
	background-color:#E6E6E6;
	border-left:1px solid #5B5BC2;
	border-right:1px solid #5B5BC2;
	border-bottom:1px solid #5B5BC2;
	margin-bottom: 8px;
/*	border-right:1px solid #5B5BC2;*/
}

table.short_query, table.adv_query {
	width:100%;
	}

.query_container td, table.short_query tr td, table.adv_query tr td {
	padding-bottom:2px;
	}
.query_container td.input, table.short_query tr td.input, table.adv_query tr td.input{
	width:40%;
}

.query_container td.label, table.short_query tr td.label, table.adv_query tr td.label{
	width:10%;
}

div.query_tool div.query_container {
	padding-top:3px;
	margin-bottom:3px;	
	width:100%;
	border-top:1px solid #5B5BC2;
}

/* headers */

div.header_sub {
	background-color:#99ccff;
	text-align: right;
	border-right: 1px solid blue;
	border-left: 1px solid blue;
	padding:2px;
}
div.header_sub a{
	color:blue;
}
div.header_sub a:hover{
	text-decoration:underline;
}

/* Label styles*/

	
.label, .label_bottom, .label_middle, .label_top {
	font-weight : bold;
	font-size:.9em;
	white-space: nowrap;
	text-align: right;
	vertical-align: middle;
	width: 100px;
}

.top, .label_top{
	vertical-align: top;
	padding-top:4px;
}

.left {
	text-align:left;
}
.right {
	text-align:right;	
}

.bottom, .label_bottom {
	vertical-align:bottom;
	padding-bottom:4px;
	}

legend{
	font-weight:bold;
	font-size:1.1em;
	line-height:1.1em;
	margin: 0px 10px 0px 10px;
	padding: 0px 5px 1px 5px;
}


/* Page Element*/
/***********
** right issue
*/


div.header span.right,div.header2_white span.right{
	float: right;
	font-size:.8em;
	margin-left: 5px;
}
div.header input, span.right input{
	margin:0px 0px 0px 0px;
}
div.header a{
	color:white;
	postion:absolute;
	text-decoration: none;
	white-space: nowrap;
	font-size:.9em;
}

div.header span.label{
	vertical-align: middle;
	}

div.header a:hover  {color: #2c2c9a; background-color:inherit;}
div.header a:visited,div.header a:active, div.header a:link {background-color:inherit;}
a.header_title {
	color: #2c2c9a;
	text-decoration: none;
	vertical-align: middle;
	line-height:16px;
}

a.header_title {
	color: #2c2c9a;
	text-decoration: none;
	vertical-align: middle;
	line-height:16px;
}

div.header2_white {
	background-color:#99ccff;
	color: white;
	width: 100%;
	/*position: relative;*/
	height: 24px;
}

th.header3 {
	font-size: 12px;
	text-align: left;
	border: 1px solid #cccccc;
	vertical-align: top;
	background-color:#ddeeff;
	text-indent: 8px;
}

/*RESULTS TABLE*/
/* classes */
/**
* Sort table stuff
*/

table.results,table.sortable{
	width:100%;
}
table.results td,table.sortable td{
	padding: 2px 2px 2px 2px;
	border: 1px solid #cccccc;
}
table.results thead,table.sortable thead{
	background-color: #eeeeee;
	line-height:18px;

}
table.results th,table.sortable th{
	border: 1px solid #3366cc;
	color: black;
	padding: 1px 2px 0px 2px;
	white-space: nowrap;
}
table.results th.action, table.sortable th.action{
	text-align:center;
	width: 55px;
}
table.results td.action img, table.sortable td.action img{
	/*margin: 1px 2px 1px 2px;*/
}
table.results td.action, table.sortable td.action{
	text-align:center;
	width: 65px;
}
table.results th a,table.sortable th a,table.results th a:visited,table.sortable th a:visited, table.sortable a.sortheader {
	/*display: block;*/
	text-decoration: none;
	color:#575757;
}

tr.results_odd {background-color:#ddeeff;}
tr.results {background-color: white;}

/* for highlighting active/focused links*/ 
table.results a:focus,table.sortable a:focus,table.results a:active,table.sortable a:active{
	background-color: #d8e86c ;
}





/*Menu*/
/*************************************/
/*  nested elements list menu        */
/*************************************/

#page_title_header * {
	margin:0px;
	padding:0px;
}

#navigation td
{
	padding:0px;
	margin:0px;
	}

#navigation a
{
	color: #000;
	background: url(../imgs/inactiveleft.gif) left top no-repeat;
	text-decoration: none;
	padding: 0px 0px 0px 10px;
}

#navigation a:hover
{
color: black;
background:  url(../imgs/inactiveleft.gif) left top no-repeat;
padding: 0px 0px 0px 10px;
}

/* underscore before rule will show the rule to ie only*/
#navigation a:hover span
{
background: url(../imgs/inactiveright.gif) right top no-repeat;

}

#navigation a:hover span b {
	color: #000000;
}


#subcenter span.submiddle table tr td a {
	padding-left: 5px;
	padding-right: 15px;
}
#subcenter span.submiddle table tr td {
	padding-top:3px;
}
#navigation a span b, #nav_top {
	background:url(../imgs/inactivemiddle.gif);
	background-repeat: repeat-x;
	padding: 9px 8px 8px 8px; 
	}
	

#nav_top_container {
	background:url(../imgs/inactivemiddle.gif);
	background-repeat: repeat-x;
	}
	
#navigation a span
{
	color:#FFFFFF;
	background: url(../imgs/inactiveright.gif) right top no-repeat;
	padding: 10px 10px 9px 0px
}
#nav_top_right 
{
	color:#FFFFFF;
	background: url(../imgs/inactiveright.gif) right top no-repeat;
	/*padding: 10px 10px 9px 0px;*/
	width:11px;
}
#navigation a span.nav_right
{
	color:#FFFFFF;
	padding: 10px 0px 9px 0px;
	background: none;
}
#navigation td.active
{
	color: #000;
	background: url(../imgs/activeleft.gif) left top no-repeat;
	text-decoration: none;
	
	padding: 0px 0px 0px 10px;

}

#navigation td.active b {
	background:url(../imgs/activemiddle.gif);
	background-repeat: repeat-x;
	padding: 9px 8px 8px 8px; 
	color: #000000;
	}
	
#navigation td.active a {
	background: none;
	padding: 0px;
	border:0px;
	
}

#navigation td.active a:hover b {
	color: #888888;
	
}
#navigation td.active a:hover {
	border:0px;
	_padding: 0px 0px 0px 0px;
}
#navigation td.active a:active {
	border:0px;
}
#navigation td.active a:hover span {
	background: url(../imgs/activeright.gif) right top no-repeat;
	padding: 10px 10px 9px 0px;
	color: #FFFFFF;
}

#navigation td.active span
{
	color:#FFFFFF;
	background: url(../imgs/activeright.gif) right top no-repeat;
	padding: 10px 10px 9px 0px
}

#navigation a, #navigation a span
{
display: block;
float: left
}

/* Hide from IE5-Mac \*/
#navigation a, #navigation a span
{
float: none
}
/* End hide */

	
	
	
}

ul#navigation 
{
list-style: none;
padding: 0;
margin: 0;

}

#navigation li
{
	float: left;
	
	}
/*submenu*/	
td#subleft {
	background: url(../imgs/subleft.gif) no-repeat;
	}
	
td#subright {
	background: url(../imgs/subright.gif) no-repeat;
	}

.submiddle, #nav_bottom {
	background-image: url(../imgs/submiddle.gif);
	background-repeat: repeat-x;
	/*display: none;*/
	padding: 5px 5px 10px 5px; 
	_padding: 5px 0px 0px 20px; /*IE*/
	}

#nav_bottom_container {
	background-image: url(../imgs/submiddle.gif);
	background-repeat: repeat-x;
	/*display: none;*/
	
	}

#nav_bottom {
	background:url(../imgs/submiddle.gif);
	background-repeat: repeat-x;
	padding: 5px 5px 10px 5px; 
	}


/* Footer */
.footertable {
	}
.footertable tr td {
	margin:0px;
	padding:0px;
	}
td#bottommiddle {
	vertical-align:middle;
	}
	
div#footer {
	text-align: center;
	/*display: inline;*/
}
div#footer a {
	font-size:1.3em;
}
#bottomleft {
	background-image:url(../imgs/bottombarleft.gif);
	background-repeat: no-repeat;
}
#bottomright {
	background-image: url(../imgs/bottombarright.gif);
	background-repeat: no-repeat;
	}

#bottommiddle {
	background-image: url(../imgs/bottombarmiddle.gif);
	padding-right:50px;
	padding-left:20px;
}


span#left {background-image:url(../imgs/bottombarleft.gif);
			background-repeat:no-repeat;
			padding-left:5px;
			padding-right:5px}

/* icon */
img.icon{
	vertical-align:top;
	border:none;
}

/* iwcalendar STYLES */
table.iwcalendar {
	width: 100%;
}

table.iwcalendar td {
	border: 1px solid #666666;
}

table.iwcalendar th {
	font-size:.9em;
	border: 1px solid black;
	background-color:#cccccc;
	text-align:center;
}
table.iwcalendar a {
	text-decoration: none;
}
table.iwcalendar #today {
	background-color: lightgreen;
}
table.iwcalendar th.week_day {
	width: 16%;
}
table.iwcalendar th.week_end {
	width: 10%;
}

table.iwcalendar .iwcalendar_day {
	background-color:#eeeeee;
}

table.iwcalendar td.iwcalendar_day div.day { /* boxes for day numbers */
	float:right;
	display: inline;
	border: 0px solid black;
	border-bottom-width: 1px;
	border-left-width: 1px;
	padding: 1px 3px 1px 3px;
	background-color:#aaaaaa;
	text-align: top;
}
table.iwcalendar td.iwcalendar_day div.day a { /* boxes for day numbers */
	text-decoration: none;
	color: black;
}

table.iwcalendar .events {
	padding: 3px;
	margin-top: 12px;
	min-height: 35px; /* for mozilla */
	_height: 35px; /* for ie */
	font-size: 11px;
}

.KnowledgeBase {
	font-size: 10pt;
	color:#000000;
	/*empty-cells: show;*/
	border: 1px solid #0000cc;
	/*border-collapse: collapse;*/
	/*width: 100%;*/
	margin-bottom: 20px;
	/*margin-left:-1px;*/
	/*margin-right:-1px;*/
}
			