form.adorecord {
	width:700px;
	float:left;	
	margin:0;
}
form.dorecord img {
	margin-bottom:10px;
}
div.adotable {
	padding:0;
	margin:0;
	width:730px;
	float:left;
	margin:0;
}
div.adotable,  .adorecord div {
	font-size:100%;
}
div.adotable tr.act {
	background-color:#DDF2FF;
}
div.adotable tr.nrm {
	background-color:#fff;
}
div.adotable tr.aact {
	background-color:#def1fc;
}
div.adotable tr.anrm {
	background-color:#f6f5f5;
}

div.adotable table img {
	border:none;
	margin:0;
}
div.adorecord table form {
	text-align:right;
}
form.adorecord fieldset {
	border:none;
	float:left;
	width:700px;
}
form.adorecord fieldset div {
	text-align:left;
}
form.adorecord fieldset div.group{
	background:#F8F8F8 url('../images/ado/bg.gif') 0 0 repeat-x;
	color:#666;
	padding:4px;
	border:1px solid #DADBDC;
}
form.adorecord fieldset div p {
	margin:5px 10px;
	color: red;
}
form.adorecord fieldset div input,form.adorecord fieldset div  textarea {
	margin:5px 0;
	color:#666;
	float:left;
	width:250px;
	border:1px solid #999;
}
form.adorecord fieldset div  textarea {
	height:150px;
}
form.adorecord fieldset div input.err {
	background-color: #ffcccc;
}
form.adorecord fieldset div input.file {
	margin-left:0;
}
form.adorecord fieldset div label.err {
	color: red;
}
.dmbutton, .dmupload, .dmbuttonhref {
	background-image:url('../images/bbg.gif');
	background-repeat:repeat-x;
	background-color: #6FBBFE;
	border:1px solid #3398EC;
	width:70px;
	height:18px;
	margin:5px;
	padding:0;
	color:#fff;
	text-align:center;
}
.dmbuttonhref {
	float:left;
	text-decoration:none;
}
.dmbutton {
	float:right;
	text-align:center;
}
.checkbox {
	text-align:center;
}
form.adorecord fieldset div label {
	width:200px;
	color:#666;
	text-align:right;
	margin:5px;
	float:left;
}
form.adorecord fieldset div label span {
	color: red;
}
form.adorecord fieldset br {
	clear:both;
}
form.adorecord input{
	margin:5px;
}
div.adotable table {
	border-bottom: 1px solid #E9E9E9;
	border-right: 1px solid #E9E9E9;
	color:#676767;
	background-color:#fff;
	width:730px;
	float:right;
	margin-top:0;
	margin-bottom: 10px;

}
div.adotable table th {
	text-align:center;
	background:#F8F8F8 url('../images/ado/bg.gif') 0 0 repeat-x;
	font-weight:normal;
	color:#666;
}
div.adotable table th a {
	display:block;	
	color:#666;
	width:100%;
	height:100%;
	text-decoration:none;
}
div.adotable table th a span {
	float:right;
	display:block;
	background:transparent url('../images/ado/ad.gif') 0 0 repeat-x;
	height:6px;
	width:11px;
}
div.adotable table th a span.act_up {
	background:transparent url('../images/ado/aau.gif') 0 0 repeat-x;
}
div.adotable table th a span.act_down {
	background:transparent url('../images/ado/aad.gif') 0 0 repeat-x;
}
div.adotable table th a span.up {
	background:transparent url('../images/ado/au.gif') 0 0 repeat-x;
}

div.adotable table td,div.adotable table th {
	padding:4px;
	border-top: 1px solid #E9E9E9;
	border-left: 1px solid #E9E9E9;
}
div.adotable table td div.f_n_act {
	display:block;
	width:100%;
	height:16px;
	background:transparent url('../images/ado/n_act.gif') center 0 no-repeat;
	text-align:center;
}
div.adotable table td div.f_act {
	display:block;
	width:100%;
	height:16px;
	background:transparent url('../images/ado/act.gif') center 0 no-repeat;
	text-align:center;
}
div.adotable p.left{
	float:right;
	width:100px;
	display:block;	
	margin-right: 150px;
}
div.adotable ul.right{
	float:left;
	width:200px;
	list-style-type:none;
	margin-left:0;
	
}
div.adotable ul.right a {
	width:18px;	
	height:18px;
	display:block;
}
div.adotable ul.right li {
	float:left;
	margin:0 2px;
}
div.adotable ul.right li.first{
	background:transparent url('../images/ado/first.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.right li.next{
	background:transparent url('../images/ado/next.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.right li.prev{
	background:transparent url('../images/ado/prev.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.right li.last{
	background:transparent url('../images/ado/last.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.right li.text {
	margin:0 10px;
}
div.adotable ul.center{
	list-style-type:none;
	margin:5px 0 0 0;
	padding:5px 0;
	text-align:center;
}
div.adotable ul.center a {
	width:18px;	
	height:18px;
	display:block;
}
div.adotable ul.center li {
	margin:0 2px;
}
div.adotable ul.center li.first{
	float:left;
	background:transparent url('../images/ado/first.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.center li.next{
	float:right;
	background:transparent url('../images/ado/next.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.center li.prev{
	float:left;
	background:transparent url('../images/ado/prev.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.center li.last{
	float:right;
	background:transparent url('../images/ado/last.gif') 0 0 no-repeat;
	display:block;
	width:18px;	
	height:18px;
}
div.adotable ul.center li.text {
	margin:0 10px;
	display:inline;
}

/************************* Lookup Box Widget *********************************/

#lookupwrapper {
	box-sizing:content-box;
	-boz-box-sizing:content-box;
	position:absolute;
	/*display:none;*/
	visibility:hidden;
	padding:0;
	margin:0;
	border:solid #E9E9E9 1px;
	top:0;
	left:0;
	width:0;
	height:13em;
	background:white;
}
#lookupframe {
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	border:none;
}
.lookupbtn {
	float:left;
	padding:0;
	margin:5px 0;
	width:17px;
	height:20px;
	text-decoration:none;
	cursor:pointer;
	background:transparent url(../images/ado/lookup.gif) 0 0 no-repeat;
}
.lookupbtn a {
	display:block;
	border:none;
	width:17px;
	height:20px;
	margin:0;
	padding:0;
	background:transparent url(../images/ado/lookup.gif) 0 0 no-repeat;
	overflow:hidden;
	text-decoration: none;
}
#activebtn {
	color:#E66;
}
#activebtn a {
	background-position:0 -20px;
}

/************************* Combo Box Widget ********************************/
.combotable {
	display:block;
	overflow:visible;
	float:left;
	margin:0 30px 0 0;
	width:250px;
	padding:0;
	color:#666;
}
.combotable,.combotable .optiontab {
	width:140px;
}

.conbotable, .combotable * {
	font: normal 9.5pt Trebushet, Arial, sans-serif;
}

.combotable .btnup, .combotable .btndown, .combotable .inp, .tview {
	border:1px solid #999;
}
.combotable .btnup, .combotable .btndown, .combotable .inp {
	float:left;
	display:inline;
	height:1.4em;
	margin:0;
	vertical-align:middle;
	overflow:hidden;
	line-height:1.4em;
	color:black;
	text-decoration:none;
}

.combotable .inp, .tview {
	background:#FFF;
	cursor:default;
}

.combotable .inp {
	width:210px;
	padding:0 1px;
	border-right:none;
	white-space:nowrap;
	color:#666;
}
.combotable .btnup, .combotable .btndown {
	width:16px;
	border-left:none;
	background:#FFF url(../images/ado/lookup.gif) right 0 no-repeat;
	overflow:hidden;
	height:18px;
}
.combotable .btndown {
	background-position:right -18px;
}
.tview {

	display:block;
	position:absolute;
	top:1.55em;
	left:0;
	cursor:pointer;
	height:11em;
	overflow-y:auto;
	overflow-x:hidden;
}
.tview .optiontab {
	border-collapse:collapse;
	width:100%;
}
.tview .optiontab tr {
	border:1px solid #d7d7d7;
}
.tview .optiontab td {
	vertical-align:top;
	padding:1pt 2px;
	white-space:nowrap;
	text-align:left;
	font-size:80%;
	color:#666;
	border-bottom:1px solid #d7d7d7;
}
.tview .optiontab tr.odd, .tview .optiontab tr td {

}
.tview .optiontab tr#cbcurrent,.tview .optiontab tr#cbcurrent td {
	background:#56b0ff;
	color:white;
}
.tview .optiontab th {
	vertical-align:top;
	padding:2pt 0;
	text-align:left;
	font-weight:normal;
	background:#fff;
}
select {
	visibility:hidden;
	width:170px;
}