html, div, table{
	font-family: 'trebuchet MS','Lucida sans',Arial;
	font-size: small;
	border-collapse: collapse;
}
body{
	margin: 0;
	padding: 0;
}
input[type="submit"],input[type="reset"],input[type="button"] {
	height: 30px;
	width: 70px;
}
input[type="submit"]:hover,input[type="submit"]:focus,
input[type="reset"]:hover,input[type="reset"]:focus,
input[type="button"]:hover,input[type="button"]:focus{		
	background-color: #fddb6f;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#ffb94b), to(#fddb6f));
	background-image: -webkit-linear-gradient(top, #ffb94b, #fddb6f);
	background-image: -moz-linear-gradient(top, #ffb94b, #fddb6f);
	background-image: -ms-linear-gradient(top, #ffb94b, #fddb6f);
	background-image: -o-linear-gradient(top, #ffb94b, #fddb6f);
	background-image: linear-gradient(top, #ffb94b, #fddb6f);
}
a, a:link, a:active, a:visited, a:hover{
	text-decoration: none;
}




/* pHeader =============================================================================== */
#pHeader{
	position: fixed;
	background-color: oldlace;
	top: 0px;
	width: 100%;
	height: 50px;
	z-index: 2;
	overflow: hidden;
}
#pHeader h1, #pHeader h3{
	display: inline;
	left: 10px;
	position: relative;
	top: 15px;
}



/* pMenu =============================================================================== */
#pMenu{
	position: fixed;
	top:50px;
	float: left;
	width: 100%;
	background:#5B5B5B;
	min-width: 860px;
	font-size: 1.2em;
	z-index: 2;
	text-shadow: #AAAAAA 0px 1px 0px;
}
#pMenu div ul{
	margin: 0;
	padding: 0;
}
#pMenu div ul li{
	list-style-type: none;
	display: inline;
}
#pMenu div li a{
	display: block;
	float: left;
	padding: 5px 10px;
	color:#fff;
	border-right: 1px solid #585858;
	text-transform: uppercase;
}
#pMenu div ul li a:hover, #pMenu div ul li a:active, #pMenu div ul li a:focus{
	background:#383;
}
#pMenu div ul li a.selected{
	background:#008000;
}
#top {
	-moz-border-bottom-colors: none;
	-moz-border-image: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	border-color: #DDDDFF #9999FF #9999FF #DDDDFF;
	border-right: 1px solid #9999FF;
	border-style: solid;
	border-width: 1px;
	color: #0000CC;
	outline: medium none;
	padding: 3px 6px;
	position: absolute;
	right: 10px;
	text-decoration: none;
}


/* pMain =============================================================================== */ 
#pMain{
}
#pContent{
	margin-top: 100px;
	margin-left: 260px;
}
#fPaginator td span {
	vertical-align: middle;
	border: 0px none white;
	text-align: center;
}
#pTable{
	height: 550px;
	overflow: auto;
}

#pInfo{
	float: left;
}
#pFooter{
	clear: both;
	width: 100%;
	height: 50px;
	bottom: 25px;
}

#pLoading{
	border: 0;
	margin: 0;
	padding: 0;
	display: none;
	position: absolute;
}

/* pSearch =============================================================================== */
#pSearch{
	background-image: url("img/bg.png");    
	border: 1px solid silver;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 1px 1px 5px silver;
	padding: 10px;
	position: fixed;
	width: 225px;
	top: 100px;
	left: 5px;
}
#pSearch table td{
	padding-bottom: 10px;
}
#pSearch select, #pSearch input[type="text"], #pSearch input[type="radio"], #pSearch input[type="checkbox"]{
	font-size: 90%;
}




/* pLogin ============================================================================== */
#fLogin{
	background-image: url("img/bg.png");  
	margin: -150px 0 0 -230px;
	padding: 50px;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;  
	-webkit-box-shadow:
	0 0 2px rgba(0, 0, 0, 0.2),
	0 1px 1px rgba(0, 0, 0, .2),
	/*0 3px 0 #fff,*/
	0 4px 0 rgba(0, 0, 0, .2),
	/*0 6px 0 #fff,  */
	0 7px 0 rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 0 2px rgba(0,0,0,0.2),1px 1px   0 rgba(0,0,0,.1),3px 3px 0 rgba(255, 255, 255, 1), 4px 4px 0 rgba(0, 0, 0, .1),
	6px 6px   0 rgba(255, 255, 255, 1),  
	7px 7px   0 rgba(0,   0,   0,   .1);
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2),0 1px 1px rgba(0, 0, 0, .2);
}
#fLogin td{ 
	vertical-align: top;
}
#pLoginMsg{
	color: red;
	font-style: italic;	
}







/* tbTable =============================================================================== */
#tbTable{	
	border-collapse: collapse;
	empty-cells: show;
	border-radius: 7px 7px 7px 7px;
	box-shadow: 0 1px 5px silver; 
	font-family: 'Times New Roman';
	font-size: small;
}

#tbTable tbody tr:hover,
#tbTable tbody tr:focus,
#tbTable tbody tr:hover,
#tbTable tbody tr:focus {
	background: #CEFFFF;
	-moz-border-radius: 5px; -webkit-border-radius: 5px;
}

#pTable tbody tr.selected{	
	background: #FDDC79;
}
#pTable td:first-child, #pTable th:first-child {
	border-left: medium none;
}
#pTable td, #pTable th, #pCol_Visible td {
	border-left: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	padding: 6px;
}
#pTable th:first-child {
	border-radius: 6px 0 0 0;
}
#pTable th {
	background-color: #DCE9F9;
	background-image: -moz-linear-gradient(center top , #EBF3FC, #DCE9F9);
	border-top: medium none;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	vertical-align: baseline;
}
#pTable tfoot tr{	
	background: #FFFFC0;
}
 



/* ToolTip ============================================================================= */ 
.tooltip{
	position: relative;
}
.tooltip span{
	visibility: hidden;
	position: absolute; 
	bottom: 30px;
	left: 50%;
	z-index: 999;
	width: 230px;
	margin-left: -127px;
	padding: 10px;
	border: 2px solid #ccc;
	opacity: .9;
	background-color: #ddd;                     
	background-image: -webkit-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
	background-image: -moz-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
	background-image: -ms-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
	background-image: -o-linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
	background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));  
	-moz-border-radius: 4px;
	border-radius: 4px;  
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;
	box-shadow: 0 1px 2px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset;  
	text-shadow: 0 1px 0 rgba(255,255,255,.4); 
	font-size: small;
	font-weight: normal;
	text-align: center;
}
.tooltip:hover{
	border: 0; /* IE6 fix */
}
.tooltip:hover span{
	visibility: visible;
}
.tooltip span:before, .tooltip span:after{
	content: "";
	position: absolute;
	z-index: 1000;
	bottom: -7px;
	left: 50%;
	margin-left: -8px;  
	border-top: 8px solid #ddd;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;        
	border-bottom: 0;  
}
.tooltip span:before{
	border-top-color: #ccc;
	bottom: -8px;
}
.yellow-tooltip span{
	border-color: #e1ca82;
	background-color: #ffeaa6;                     
}
.yellow-tooltip span:after{ 
	border-top-color: #ffeaa6;
}
.yellow-tooltip span:before{
	border-top-color: #e1ca82;
}




/* ToolTip ============================================================================= */ 
#pCol_Visible select{
	font-weight: normal;
	font-size: 75%;
}

#fLimitPage{
	font-size: 90%;
	color: #FF0000;
	vertical-align: middle;	
}

.vSpace{
	width: 0px;
	height: 20px;
	border: 1px solid #D3D3D3;
}
.hSpace{
	width: 100%;
	height: 0px;
	border: 1px solid #D3D3D3;
}

#pSearch > table:last-child td{
	margin-bottom: 0;
	margin-top: 0;
	padding-bottom: 0;
	padding-top: 0;
}

#tbHome{
	font-size: 1em;
	padding: 5px;
}
#tbHome td {
	padding: 0 10px 6px;
}
#tbHome tr td:first-child {
	width: 100px;
}