/* Default Layout Rules */
#nav {
	font-size: 75%;
	vertical-align: top;
}
#nav ul {
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	display: block;
	border-right: solid 1px gray;
	
}
#nav li {
	border-bottom: solid 1px gray;
}
#nav a {
	display: block;
	padding: 1px;
	padding-left: 10px;
	text-decoration: none;
	white-space: nowrap;
}
#body {
	vertical-align: top;
	background-color: #FFFFFF;
	width: 100%;
	padding: 3px;
	margin-top: 3px;
}

#body form {
	border: solid 1px #FFF;
}

#nav a:hover {
	background-color: gray;
	color: white;
}

a img {
	border: 0;
}

/* Form rules */
.clniAlert {
	background-color: red !important;
}

/* title rules */
h1.title {
	text-align: right;
	position: relative;
	margin: 0px;
	padding: 0px;
	padding-right: 3px;
	color: #FFF;
	font-size: 14pt;
	line-height: 16pt;
	white-space: nowrap;
	margin-top: -18pt;
}
* html h1.title {
	margin-bottom: 0pt;
}

/* grid links */
table.grid { empty-cells: show;
}
table.grid th { padding: 2px;
	font-size: 12px;
	background-color: transparent;
	vertical-align: bottom;
	white-space: nowrap;
}
table.grid td {
	margin: 2px;
	padding: 1px 1px 1px 5px;
	background-color: white;
}

table.grid tr.alt td { background-color: #ddd;
}

table.grid tr.waiting td { background-color: #aaa;
}
table.grid a.orderLink {
	color: #ccc;
}
table.grid a.orderLink:hover {
    color: rgb(0, 51, 204);
}

/* Form rules */
.clniAlert {
	background-color: #CC9999;
}
.clniMessageActive {
	border: solid 2px black;
	padding: 5px;
	margin-bottom: 5px;
	background-color: #CC9999;
}

div.waiting {
	display: none;
}
div.waitingActive {
	display: block;
	position: absolute;
	text-align: center;
	vertical-align: middle;
	width: 100%;
	background-color: white;
	border: solid 2px black;
	font-weight: bold;
}

