html, body, form {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: Tahoma, Arial, Geneva, Verdana, Helvetica, sans-serif;;
	font-size: 11px;
	color: #000000;
	background-color: #ffffff; /*#d6d3ce;*/
}

img {
	border: 0;
}

input, select, textarea, button {
	font-weight: normal;
	font-family: Tahoma, Arial, Geneva, Verdana, Helvetica, sans-serif;
	font-size: 1em;
	padding-left: 5px;
	border: 1px solid;
	margin: 1px;
}

.cellEdit {
	border: 1px solid #000000;
}

fieldset {
	position: relative;
	top: 1em;
	padding: 0 0.5em 1em 0.5em;
	margin: 10px 10px 20px;
	clear: both;
	background-color: #d6d3ce;
}

html>body fieldset {
	padding-top: 1em;
	top: 0;
}

legend {
	position: relative;
	top: -1em;
	padding: 0.4em;
	font-weight: bold;
	background-color: transparent;
	color: #000000;
}

 form label {
	clear: both;
/*	display:inline; */
	width: expression(140 + 'px');	 	/* for IE */
	min-width: 140px;
	margin: 3px 5px 3px 5px;
 }

form label.logon {
	float:left;
}

form label.properties {
	width: 180px;
	float:left;
}

form label.classic {
	white-space: nowrap;
	font-weight: bold;
	float:left;
}

form label.cbclassic {
	white-space: nowrap;
	font-weight: bold;
	margin-left: 5px;
}

 a, a:visited
{
	text-decoration : none;	 
}

 a:active
 {
	text-decoration : none;	 
 }

a:hover
{
	text-decoration : underline;
}

a.disabled:hover
{
	text-decoration : none;
}

/* ###################### */
/* CLASS */
/* ###################### */
input.tinycontrol, textarea.tinycontrol  {
	width: 25px;
}

input.shortcontrol, textarea.shortcontrol  {
	width: 50px;
}
select.shortcontrol {
	width: 58px;
}

input.mediumcontrol, textarea.mediumcontrol {
	width: 150px;
}
select.mediumcontrol {
	width: 158px;
}

input.longcontrol, textarea.longcontrol{
	width: 280px;
}

select.longcontrol {
	width: 288px;
}

textarea.sqlmodule {
	width: 99%;
	width: expression((document.documentElement.clientWidth - 58) + 'px');	 	/* for IE */
	height: 400px;
	height: expression((document.getElementById('zPageContent_Container').clientHeight - 120) + 'px');	 	/* for IE */
	border: 1px solid #000000;
}

textarea.sqlquery {
	width: 99%;
	width: expression((document.documentElement.clientWidth - 58) + 'px');	 	/* for IE */
	height: 400px;
	height: expression((document.getElementById('zPageContent_Container').clientHeight - 170) + 'px');	 	/* for IE */
	border: 1px solid #000000;
	background: url(../img/app/scriptline.gif) repeat 1px 1px;
}

.btnDlgDiv {
	text-align: right; 
	padding: 0 0.5em 1em 0.5em; 
	margin: 10px 4px 0;
}

.objName {
	font-size: 2em;
	padding-left: 5px;
}

.objList {
	width: 100%; 	/* for Mozilla */
	/*width: expression((document.documentElement.clientWidth - 35) + 'px');	*/ 	/* for IE */
	border-width: 0px;
	border: none;
}

.objList tr, .objList td { border: 1px solid #d6d3ce; }

.objListHeaderCell {
	border-style: outset;
	border-width: 1px;
	border-color: #ffffff #000000 #000000 #ffffff !important;
	background-color: #d6d3ce;
	padding-left: 4px;
}

.objListItemCell {
	padding-left: 4px;
	white-space: nowrap;
	overflow: hidden;
/*	text-overflow:ellipsis;*/
/*	border: 1px solid #d6d3ce; */
	border: none;
}

.objListItemRow {
	background-color: #f6f6f6;
	border: none;
}

.objListAltItemRow {
	background-color: transparent;
	border: none;
}

.objListIcon {
	vertical-align: middle;
}

/* **************************************** */
/* CONTENT DATAGRID CLASSES */
/* **************************************** */
.contentList {
	width: 100%;
	border-width: 0px;
	border: none;
}

.contentList tr, .contentList td { border: 1px solid #d6d3ce; }

.contentFirstItemCell {
	border-style: outset;
	border-width: 1px;
	border-color: #ffffff #000000 #000000 #ffffff !important;
	background-color: #d6d3ce;
	text-align: center;
	width: 45px;
}

.contentIcon {
	padding-left: 2px;
	padding-right: 2px;
}

.contentItemCell {
	padding-left: 4px;
/*	border: 0; */
	white-space: nowrap;
	overflow: hidden;
/*	text-overflow:ellipsis;*/
	border: 1px solid #d6d3ce;
	height: 20px;
}

.toolong {
	color: #ff0000;
}

.pageinfo {
	padding: 2px 2px 2px 7px;
	/*vertical-align: top;*/
	font-weight: bold;
}

.isnull {
	font-style: italic;	
}

/* ********************** */
/* FORM CLASSES   */
/* ********************** */
.formList, .propList {
	width: 100%;		/* for Mozilla */
/*	width: expression((document.documentElement.clientWidth - 35) + 'px');	 	/* for IE */ 
	border-width: 0px;
	border-collapse:collapse;
}

.formHeaderCell {
	border-style: outset;
	border-width: 1px;
	border-color: #ffffff #000000 #000000 #ffffff;
	background-color: #d6d3ce;
	padding-left: 4px;
}

.formLabelCell {
	vertical-align: middle;
	padding-left: 4px;
	border: 0;
	white-space: nowrap;
	font-weight: bold;
	width: 30%;
}

.formElementCell {
	padding-left: 4px;
	border: 0;
	white-space: nowrap;
}

.formItemRow {
	background-color: #f6f6f6;
	border: 0;
}

.formAltItemRow {
	background-color: transparent;
	border: 0;
}

.propItemRow {
	background-color: #ffffff;
}

.propItemRow_title {
	background-color: #d6d3ce;
}

.propTreeCell {
	vertical-align: middle;
	width: 15px;
	border-top: 1px solid #d6d3ce;
	border-bottom: 1px solid #d6d3ce;
	border-left: 1px solid #d6d3ce;
	border-right: 0;
	background-color: #d6d3ce;
}

.propLabelCell {
	vertical-align: top;
	padding-left: 4px;
	white-space: nowrap;
	font-weight: bold;
	width: 20%;
	border-top: 1px solid #d6d3ce;
	border-bottom: 1px solid #d6d3ce;
	border-left: 0;
	border-right: 0
}

.propElementCell {
	padding-left: 4px;
	white-space: nowrap;
	border-top: 1px solid #d6d3ce;
	border-bottom: 1px solid #d6d3ce;
	border-right: 1px solid #d6d3ce;
	border-left: 0;
}


.alphaFormElement {
	width: 90%;
}

.dateFormElement {
	width: 130px;
}

.numericFormElement {
	width: 150px;
	text-align: right;
}

.disabled {
	color: #828282;
}

.dependenciesTitle {
	font-weight: bold;
	margin: 10px 0 10px 0;
	font-size: 12px;
}

.columnChoice {
	position: relative;
	top: -1em;
	padding: 0.4em;
	font-weight: bold;
	background-color: #ffffff;
	color: #000000;
	margin: 0;
}

.listTitle {
	font-weight: bold;
	margin: 0 0 0 5px;
}

/* ********************** */
/* TAB CLASSES      */
/* ********************** */
#zTabs {
	margin: 0px;
	padding: 0px;
}

.tab {
	width: 143px;
	height: 25px;
	text-align: center;
	color: #666666;
	background: transparent url(../img/app/tab_normal.gif) no-repeat 0 0;
	font-weight: bold;
	cursor: pointer;
	float: left;
}

.tabselected {
	background: transparent url(../img/app/tab_selected.gif) no-repeat 0 0;
	color: #000000;
}

.zonetab {
	border: 1px solid #9c9a9c;
	clear: both;
	padding: 5px;
	margin: 0px 0px 0px;
	
	overflow-x: auto;
		
}

/* ###################### */
/* ID */
/* ###################### */
#connDlgBox {
	/* default.aspx */
	width: 400px; 
	border: 1px solid #000000; 
	background-color: #d6d3ce; 
	margin: 50px auto;
}

#zFullZone {
	height: 100%;
	overflow: hidden;
}

#zFullZone_1 {
	margin: 2px 2px 2px 1px; 
	background-color: #d6d3ce;
}

#zPageHeader {
	width:100%;
}

#zPageHeader_Container {
	padding: 5px 5px 0 5px;
}

#zPageHeader_Icon {
	padding: 0px 5px;
}

#zPageHeader_ObjectInfo {
	padding-top: 10px;
}

#zPageHeader_ObjectPath {
	float:left; 
	padding-left: 37px;
	margin-bottom: 5px;
}

#zPageHeader_ItemCount {
	float:right;
}

#zPageHeader_Icon2 {
	clear: both; 
	border: inset 1px; 
	margin: 5px 0; 
	padding: 0px 5px;
}

#zPageHeader_Icon2  img {
	margin: 2px 0 0;
}

#zPageContent {
	padding: 0 11px 2px 5px;
	background-color: #d6d3ce;
}

#zPageContent_Container {
	background-color: #ffffff; 
	border: inset 1px; 
	width: 100%;
	padding: 2px; 
	overflow: auto;
}

#popmenuLogo {
	background: #ffffff url(../img/popmenu/vlogo.gif) no-repeat bottom;
	position:absolute;
	top:0;
	left:0;
	width: 20px;
	height: 100%;
}

#popmenuMenu {
	position:absolute;
	top:0;
	left:20px;
	margin-bottom: 0px;
	background-color: #ffffff;
	padding: 2px 5px;
	height: 196px;
	width: 120px;
	overflow: auto;
}

#dgNavIcon {
	margin-top: 15px;
	padding-left: 4px;
}

#dgNavIcon input {
	vertical-align: middle;
}

#zFormButton {
	margin-top: 15px;
	text-align: center;
}



#zColumnList, #zIncludedColumnList {
	padding-left: 10px;
}

#zForm_Container {
	padding: 10px;
}

#ErrorBox {
	position:absolute;
	top:130px;
	left: 60px;
	left: expression(((document.getElementById('zPageContent_Container').clientWidth - 544)/ 2) + 'px');
	width: 544px;
	height: 321px;
	background-color: #d6d3ce;
	border: 2px outset;
	overflow: hidden;
}

.errorBoxIFrame {
	position:absolute;
	top:0px;
	left: 0px;
	width: 544px;
	height: 321px;;
}

.errorBoxDiv {
	z-index:1;
	position:absolute;
	top:0px;
	left: 0px;
	width: 540px;
	height: 317px;
}

textarea.errorModule {
	margin: 5px;
	width: 525px;
	height: 250px;
	border: 1px solid #000000;
}

.errorTitleBar {
	width: 100%;
	height: 15px;
	background: #e2381b url(../img/app/error.gif) no-repeat 3px 1px;
	color: #ffffff;
	font-weight: bold;
	padding: 2px;
}

.errorTitleBarText {
	margin-left: 22px;
}

.errorButtonBar {
	width: 100%;
	text-align: center;
	margin: 5px 0 10px;
}


#ScriptBox {
	position:absolute;
	top:130px;
	left: 60px;
	left: expression(((document.getElementById('zPageContent_Container').clientWidth - 544)/ 2) + 'px');	 	/* for IE */
	width: 544px;
	height: 321px;
	background-color: #d6d3ce;
	border: 1px outset;
	overflow: hidden;
}

.scriptBoxIFrame {
	position:absolute;
	top:0px;
	left: 0px;
	width: 544px;
	height: 321px;
	border: none;
}

.scriptBoxDiv {
	z-index:1;
	position:absolute;
	top:0px;
	left: 0px;
	width: 540px;
	height: 317px;
}

textarea.scriptModule {
	margin: 5px;
	width: 525px;
	height: 250px;
	border: 1px solid #000000;
	background-color: #fff;
	background: url(../img/app/scriptline.gif) repeat 1px 1px;
}

.scriptTitleBar {
	width: 100%;
	height: 15px;
	background: #666699 url(../img/app/sql.gif) no-repeat 3px 1px;
	color: #ffffff;
	font-weight: bold;
	padding: 2px;
}

.scriptTitleBarText {
	margin-left: 22px;
}

.scriptButtonBar {
	width: 100%;
	text-align: center;
	margin: 5px 0 10px;
}

.querysql {
	font-weight: bold;
}

.queryerr {
	color: #ff0000;
}

.classic {
	font-weight: bold;
}

.cbperm {
	text-align: center;
	width: 70px;
}

#WaitingBox {
	display: none;
	position:absolute;
	width:100%;
	z-index:1;
}

#WaitingBox2 {
	position:absolute;
	top: expression((document.getElementById('zPageContent_Container').scrollTop + 50) + 'px');
	left: 100px;
	left: expression(((document.getElementById('zPageContent_Container').clientWidth - 344)/ 2) + 'px');	 	/* for IE */
	width: 344px;
	height: 101px;
	background-color: #ffffff;
	border: 1px outset;
	overflow: hidden;
}

.waitingBoxIFrame {
	position:absolute;
	top:0px;
	left: 0px;
	width: 344px;
	height: 101px;
	border: none;
}

.waitingBoxDiv {
	z-index:1;
	position:absolute;
	top:0px;
	left: 0px;
	width: 340px;
	height: 97px;
}

#WaitingBoxCache {
	filter: alpha(opacity=50); 
	-moz-opacity: 0.50; 
	opacity: 0.50; 
	background: #000; 
	top: expression((document.getElementById('zPageContent_Container').scrollTop) + 'px');
	width:99%; 
	width: expression((document.getElementById('zPageContent_Container').clientWidth - 3) + 'px');	 	/* for IE */
	height: 99%;
	height: expression((document.getElementById('zPageContent_Container').clientHeight - 3) + 'px');	 	/* for IE */
	position:absolute;
}

#dgFilter {
	border: 1px #000 solid;
	background-color: #ccddee;
	position:absolute;
	padding: 2px;
	z-index:1;
	top: 5px;
	left: 97px;
	display:none;
}

.FilterCaption {
	background-color: #666699;
	color: #fff;
	padding: 2px;
}

.FilterTextBox {
	width: 200px;
	height: 40px;
	border: 1px solid #000000;
}

.FilterButtons {
	padding: 2px;
	text-align: center;
}

.FilterButton {
	width: 60px;
	margin-right: 5px;
	font-size: 0.8em;
	height: 17px;
	border: 1px solid #000000;
}


.scriptButtonBar  button, .btnDlgDiv  input, #zFormButton input  {
	-moz-border-radius: 4px; -webkit-border-radius: 4px; padding: 2px;
}

#zInfo a, #zInfo a:visited, #zInfo a:hover { color: #2984a6; }