.clear { clear:both; }
.left { float:left; }
.right { float:right; }


body {
	margin:0px;
	padding:0px;
}
body, td, th, select, input, option, textarea {
	font: 11px/14px normal arial, sans-serif;
}

h1 { padding: 5px 0px 5px 10px; margin: 0px 0px 0px 0px; background-color:#B02B2C; color: #fff; font-weight:bold; font-size:14px; line-height:18px; }
h2 { padding: 5px 0px 0px 0px; font-size:16px; margin: 0px 0px 8px 0px; line-height:18px; }

/* h3-h5 used for titles */
h3 { background-color: #C3D9FF; color: #666; padding: 5px; margin: 0px 0px 0px 0px; font-size: 11px; line-height:16px; }
h4 { background-color: #EEE; color: #666; padding: 5px; margin: 0px 0px 5px 0px; font-size: 11px; line-height:16px;  }

h5 { background-color: #EEE; color: #666; padding: 5px; margin: 0px 0px 0px 0px; font-size: 11px; line-height:16px; border-bottom:1px solid #999; }

h6 {}

#footer {
	margin: 20px 0px 30px 0px;
	text-align:center;
	color: #999;
}

a { color: #B02B2C; text-decoration:none; }
a:hover { color: #000000; text-decoration:none; }
a:active {}
a.no_underline:hover { border:none;}
#module {
	margin: 10px 0px 0px 0px;
}

#container {
	
	width:900px;
	
	margin: 10px 0px 0px 10px;
	background: transparent url(../images/mini-logo.gif) top right no-repeat;
}

#header {
	background-position: 25px 25px;
	background-repeat: no-repeat;
	background-color: transparent;
}

#submenu {
	clear:both;
	background-color: #B02B2C;
	padding:5px;
	color:#fff;
}

#submenu a {
	color:#fff;
}


#tabs {
  	
  	font-size:93%;
  	line-height:normal;
	margin: 0px 0px 0px 250px;
	padding: 60px 0px 0px 10px;	
  }
#tabs ul {
  margin:0;
  padding:10px 10px 0px 0px;
  list-style:none;

  }
#tabs li {
  display:inline;
  margin:0px;
  padding:0;
  
  }
#tabs a {
  float:left;
  background: transparent url("../images/btn_left_gray.gif") no-repeat left top;
  margin:0px 0px 0px 2px;
  padding:0 0 0 4px;
  text-decoration:none;
  color:#000;
cursor:pointer;
  }

#tabs a:hover {
	border:none;
}

#tabs a:hover span {
	color: #000;
}

#tabs a span {
  float:left;
  display:block;
  background:url("../images/btn_right_gray.gif") no-repeat right top;
  padding:8px 10px 6px 6px;
  color:#666;
  }
  
  
  #tabs li.active a {
  	background:url("../images/btn_left_orange.gif") no-repeat left top;
	color:#fff;
	
  }
  
  #tabs li.active a span {
  	background:url("../images/btn_right_orange.gif") no-repeat right top;
	color:#fff;
  }


.QuerySimpleTable {
	margin-bottom:8px;
	width:100%;
	border:none;
	border-collapse:collapse;
	border:1px solid #ccc;
}

.QuerySimpleTable th {
	width:150px;
	text-align:left;
	font-weight:bold;
	padding:4px 4px;
	background-color:#ccc;
	color:#fff;
	vertical-align:top;
}

.QuerySimpleTable td {
	padding: 4px 4px;
	vertical-align:top;
}

.alt-background {
	background-color:#f5f5f5;
}

.QueryCommentsCount {
	background-color:#EEE;
	color:#999;
	text-align:center;
}

#UtilityBar {
	margin: 0px 0px 10px 0px;
	padding:5px 5px;
	background-color:#f5f5f5;
}
#UtilityBar table {
	width:100%;
	border:0px;
	margin:0px;
	padding:0px;
	border:none;
	border-collapse:collapse;
}

.SimpleTable {
	width:100%;
	border:none;
	border-collapse:collapse;
}

.SimpleTable tr {
	vertical-align:top;
}

.SimpleTable td {
	padding: 2px 5px;
}

.SimpleTable th {
	text-align:left;
	font-weight:bold;
	color: #000;
	padding: 2px 5px;
}
#ErrorBox {
	border: 1px solid #ffdfdf;
	background-color: #ffeded;
	padding:5px 5px 5px 10px;
	margin-bottom:10px;
}

#ErrorBox h6 {
	margin:0px;
	padding:0px;
	font-size:14px;
	line-height:24px;
	color: #feb5b5;
}

#ErrorBoxInner {
	font-size:10px;
	color: #999;
}

.QueryCommentContainer {
	margin:5px 0px;
	padding:2px 6px 2px 6px;
	border-bottom: 1px dotted #999;
}

.QueryComment {
	color:#999;line-height:14px;margin:0px;padding: 2px 6px 5px 6px;
}
.QueryQuotes { line-height:14px; size:14px; color: #000; font-weight:bolder;}

.Pagination {
	text-align:right;
	padding: 0px 10px 0px 0px;
}

.textfield { width:250px; }
.required { color: #990000; padding-left:18px; background:url(../images/error.gif) left no-repeat; }
.missing {color: #990000;}
.error {color: #990000;padding: 2px 0px 0px 18px; background:url(../images/error.gif) left no-repeat; margin:0px;}
.attention {color: #003366; padding: 2px 0px 0px 18px; background:url(../images/error.gif) left no-repeat;}
.added { color: #003366; }
.deleted {color: #990000; text-decoration:line-through;}
.show { display:block; }
.hide { display:none; }

#tabnav_container {
	margin: 10px 0px 0px 0px;
	padding:0px;
}

#tabnav
	{
		height: 20px;
		margin: 0;
		padding-left: 10px;
		background: url(../images/tab_bottom.gif) repeat-x bottom;
	}

#tabnav li
	{
		margin: 0; 
		padding: 0;
  		display: inline;
  		list-style-type: none;
  	}
	
#tabnav a:link, #tabnav a:visited
	{
		float: left;
		background: #f3f3f3;
		font-size: 10px;
		line-height: 14px;
		font-weight: bold;
		padding: 2px 10px 2px 10px;
		margin-right: 4px;
		border: 1px solid #ccc;
		text-decoration: none;
		color: #666;
	}

#tabnav a:link.active, #tabnav a:visited.active
	{
		border-bottom: 1px solid #fff;
		background: #fff;
		color: #000;
	}

#tabnav a:hover
	{
		background: #fff;
	}
.query_info_bar { background-color:#999; color:#fff; }
.query-admin { background-color:#FFFFCC; color: #999; }
