body {
	padding: 0px;
	margin: 0px;
	font-family: sans-serif;
	font-size: 12px;
	background: #fff url(images/gray-logo.jpg) no-repeat fixed bottom right;
}

h1 {
	color: #47b4c4;
	font:bold 20px trebuchet ms,arial,helvetica,sans-serif; 
}

h1 a {
	color: #47b4c4;
	text-decoration: none;
}

h1 a:hover {
	text-decoration: underline;
}

h2 {
	color: #e8a14b;
	font:bold 16px trebuchet ms,arial,helvetica,sans-serif; 
	padding-bottom: 0px;
	margin-bottom: 0px;
}

h3 {
        color: #666;
        font:bold 14px trebuchet ms,arial,helvetica,sans-serif;
        padding-bottom: 0px;
        margin-bottom: 0px;
}

h3 a {
	color: #666;
	text-decoration: none;
}

h3 a:hover {
	color: #47b4c4;
}

a {
	color: #2794a4;
}

a:hover {
	color: #e8a14b;
	text-decoration: none;
}

input, button {
	background-color:#fff;
	color: #555;
	padding: 2px;
}

button, input[type="button"], input[type="submit"]  {
        background-color: #efefef;
        color: #666;
        border: 1px solid #999;
        border-top: 1px solid #ddd;
        border-left: 1px solid #ddd;
        font-weight: bold;
        margin-left: 2px;
        margin-right: 2px;
}

                                                                                                                                                             
button:hover, input[type="button"]:hover, input[type="submit"]:hover  {
        background-color: #47b4c4;
        color: #fff;
}
                                                                                                                                                             
button:active, input[type="button"]:active, input[type="submit"]:active {
        background-color: #fff;
        color: #000;
		border: 1px solid #47b4c4;
}

input[type="text"], input[type="password"], textarea { 
	color: #333;
	background-color: #fff;
	border: 1px solid #ddd;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	padding:3px;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus	{ 
	color: #000;
	background-color: #fff; 
	border: 1px solid #47b4c4;
}

textarea {
	width: inherit;
}

fieldset {
	border: 1px solid #ddd;
	-moz-border-radius: 4px;
	border-radius: 4px;
	padding: 4px;
}

legend {
	font-weight: bold;
	font-size: 110%;
	padding: 4px;
}

#grid {
	padding: 4px;
}

#grid h1 {
	font-size: 16px;
	color: #e8a14b;
}

#grid table {
	padding: 4px;
	border: 1px solid #ddd;
	background: #fff;
	min-width: 90%;
	width: 90%;
}

#grid table th {
	text-align: left;
	font-weight: bold;
	background: #fff;
	border-bottom: 3px solid #47b4c4;
	padding: 4px;
	padding-right: 8px;
}

#grid table th a {
	color: #000;
	text-decoration: none;
}

#grid table th a:hover {
	color: #e8a14b;
}


#grid table td {
	padding: 3px;
	color: #000;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

#grid table tr.data:hover > td {
	border-top: 1px solid #178494;
	border-bottom: 1px solid #178494;
}

#grid table tr.data:hover > td a {
	color: #47b4c4;
}

#grid #message {
	z-index: -5;
	margin-bottom: 15px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #eec;
	border: 1px solid #ddb;
	padding: 2px;
	color: #333;
	font-weight: bold;
	font-size: 10px;
	margin-top: 20px;
}

#message {
	margin-bottom: 15px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-color: #eec;
	border: 1px solid #ddb;
	padding: 8px;
	color: #333;
	font-weight: bold;
	font-size: 10px;
	padding-top; 20px;
	overflow: auto;
}


#dbmsg {
	padding: 2px;
	font-size: 10px;
}

#dbmsg #details { 
	z-index: -4;
	color: #009; 
	font-weight: normal;
	padding:4px;
}

div#dbdetailsmsg { 
	z-index: -3;
	display: none; 
	color: #666;
	background: #fff;
	border: 1px solid #999;
	padding: 10px;
	overflow: auto;
}
#dbmsg #details:hover { 
	z-index: -2;
	background: #fff;
	color: #666;
	border-top: 1px solid #999; 
	border-left: 1px solid #999; 
	border-right: 1px solid #999; 
}
#dbmsg #details:hover > div#dbdetailsmsg { 
	z-index: -5;
	display: block; 
}

#trheader td {
	background: #fff;
	border-bottom: 2px solid #47b4c4;
	color: #000;
	font-weight: bold;
	padding:4px;
}

#spDiv {
	color: #47b4c4;
	z-index: 2;
}

#spDiv #hidDiv {
	display: none;
	border: 1px solid #ddd;
	padding: 4px;
	z-index: 1;
	background: #fff;
	width: 190px;
	/* IE proprietary */
	filter:alpha(opacity=90);
    
	/* Mozilla proprietary */
	-moz-opacity:0.90;
	-moz-border-radius: 12px;
}


#spDiv #expand:hover > #hidDiv {
	position: absolute;
	display: block;
	z-index: 2;
}

#masterheader {
        margin-top: 15px;
        margin-bottom: 15px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        background-color: #fafafa;
        border: 1px solid #eee;
        padding: 4px;
        color: #666;
        font-weight: bold;
        font-size: 13px;
}

#masterheader #msg {
	/*float: left;*/
}


#help {
	background: #eee;
}

#help #title {
	margin: 5px;
	background: #eee url(/images/stock/help.png) no-repeat top left;
	color: #333;
	padding-left: 20px;
	font-weight: bold;
	font-size: 14px;
}

#help #contents {
	-moz-border-radius: 4px;
        border-radius: 4px;
	padding: 10px;
	border: 1px solid #999;
	background: #fff;
}

#top {
	background: #fff url(images/top.jpg) no-repeat top left; 
	min-height: 90px;
	height: 100px;
}


#search {
	border: 1px solid #47b4c4;
	background: #b7e6ee url(images/bg-bar.jpg) repeat-x;
	padding: 2px;
	margin-bottom: 20px;
}
