iframe {
	position: absolute;
	width: 0;
	height: 0; 
}

* {	
	color: #000;
	font-family: "Courier New";
}

html, body {
	OFFposition: absolute;
	height: 100%;
	width: 100%;
	overflow: hidden;
}

body {
	background-color: #FFFFCC;
	background-color: #FFF;
	
}

html, body, div, p, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

#IdMainContainer {
	position: absolute;
	width: 100%;
	height: 100%;
	height: expression((document.body.clientHeight) + "px");
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#IdLeftPanel,
#IdRightPanel {
	position: absolute;
	top: 0;
	height: expression(document.getElementById("IdMainContainer").clientHeight + "px");
}

#IdLeftPanel {
	width: 50%;
	left: 0;
}

#IdRightPanel {
	width: 50%;
	right: 0;
}

#IdInputCss,
#IdInputHtml,
#IdInputJs,
#IdPage,
#IdLog {
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	border: 0px solid #000;
	overflow: auto;
	font-size: 1.25em;
}

#IdInputCss,
#IdInputHtml,
#IdInputJs {
	color: #AAA;
}

#IdInputCss.active,
#IdInputHtml.active,
#IdInputJs.active {
	color: #000;
}

#IdInputCss,
#IdInputHtml,
#IdInputJs {
	/*padding left + width = 100%*/
	padding-left: 1.5%;
	width: 98.5%;
	overflow-x: hidden;
	overflow-y: scroll;
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#e8e8e8",endColorstr="#ffffff");
}

#IdLeftPanel textarea {	
	background-color: #FFF;
	height: expression( 0.05 * (document.getElementById("IdMainContainer").clientHeight)  + "px");
}

#IdLeftPanel textarea.active {
	background-color: #FFF;
	height: expression( 0.90 * (document.getElementById("IdMainContainer").clientHeight) + "px");
}

#IdPage,
#IdLog {
	height: expression( 0.10 * (document.getElementById("IdMainContainer").clientHeight) + "px");
}

#IdPage.active,
#IdLog.active {
	height: expression( 0.90 * (document.getElementById("IdMainContainer").clientHeight) + "px");
}

#IdPage {
	background-color: #000;
	border-width: 0;
	position: relative;
}

#IdLog {
	white-space: pre-line;
	background-color: #000;
	color: #FFF;
	border-width: 0;
}

#IdPage.error {
	background-color: #600;
	color: #FFF;
}


#IdAppTitle {
	color: green;
}

.template {
	display: none;
}

/*******************************************/

html.dark #IdInputCss.active,
html.dark #IdInputHtml.active,
html.dark #IdInputJs.active {
	color: #fff;
}

html.dark #IdInputCss,
html.dark #IdInputHtml,
html.dark #IdInputJs {
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr="#333333",endColorstr="#000000");
	color: #fff;
}

/*******************************************/
html.excel body {
	OFFbackground-image: url("bkg-excel-menu.png");
}

html.excel #IdMainContainer {
	/*height of excel top section*/
	top: 65px;
	height: expression((document.body.clientHeight - 65) + "px");
	/*30 = width of excel left section*/
	left: 30px;
	width: expression((document.body.clientWidth - 30) + "px");
}

html.excel #IdInputCss,
html.excel #IdInputCss.active,
html.excel #IdInputHtml,
html.excel #IdInputHtml.active,
html.excel #IdInputJs,
html.excel #IdInputJs.active,
html.excel #IdTryButton,
html.excel #IdPage,
html.excel #IdPage.active,
html.excel #IdLog,
html.excel #IdLog.active {
	background-color: transparent;
	overflow: hidden;
	border: none;
	filter: none;
	color: #000;

}

html.excel #IdLog {
	color: #000;
}
