html {
	height: 100%;
	x-ms-overflow-style: -ms-autohiding-scrollbar;
}


body {
	margin: 0;
	height: 100%;
	font-family: arial;
	font-size: 14px;
	line-height: 1.3;
}

/************************************************* tablepanel *****************************************************************/

#tablepanel {
	position: absolute;
	width: calc(100% - 1000px);
	height: calc(100% - 30px);
	background: #eee;

	width: 240px;
	min-width: 240px;
	height: 100%;
	text-align: center;

	font-size: 14px;
}


/************************************************* graphpanel *****************************************************************/

#graphpanel {
	position: absolute;
	left: calc(100% - 1000px);
	top: 30px;
	width: 1000px;
	height: calc(100% - 30px);
	background: #ffa;

	xleft: 360px;

	left: 240px;
	width: calc(100% - 240px);
	top: 0;
	height: 100%;
}


/************************************************* table data *****************************************************************/

#tabledata {
	width: 100%;
	max-width: 640px;
	margin: auto;

	max-width: 160px;
}

#tabledata th {
	padding: 3px 0 1px 0;
	height: 18px;

	padding: 6px 0 4px 0;

	padding: 4px 0 3px 0;
}

#tabledata td {
	padding: 0;

	padding: 3px;
}

input.datavalue, input.datavalueoff {
    width: 80px; 
    text-align: center;
    
    width: calc(100% - 4px);
    border: 1px solid #fff;
    padding: 1px 0 1px 0;
    xheight: 18px;

	padding: 2px 0 1px 0;
	xheight: 17px;
}

input.datavalueoff {
    border: 1px solid #999;
    background-color: #eee;
    color: #666;
    cursor: default;
}

input.datavaluesm {
    width: 50px; 
    text-align: center;
    border: 0px solid #999;
    background-color: #fff;
    xcolor: #666;
    xcursor: default;
    height: 18px;
}


/************************************************* boxbox *********************************************************************/

.boxbox {
	width: 160px;
	margin: 20px auto 0;
	font-size: 13px;
	xbackground: #ddd;
	text-align: left;
}

.boxhead {
	font-size: 14px;
	font-weight: bold;
	margin: 0 0 3px 0;
}


/************************************************* sizebox ********************************************************************/

#sizebox {
}

#fgraphsize {
	font-size: 13px;
	width: 80px;
	float: right;
}


/************************************************* plotbox ********************************************************************/

#plotbox {
	margin-top: 2px;
}


/************************************************* scalebox *******************************************************************/

#scalebox {
}

.scalerow {
	margin: 3px 0 0 3px;
}

.scalec1 {
	width: 20px;
	padding: 3px 0 0 0;
	float: left;
}

.scalec2 {
	width: 50px;
	float: left;
}

input.scalevalue {
	width: 40px;
	padding: 3px 0 2px 0;
	border: 1px solid #000;
	text-align: center;
}

input.scalevalue[readonly] {
	color: #999;
	border: 1px solid #aaa;
	background: #f4f4f4;
}


/************************************************* zoombox *******************************************************************/

#zoombox {

}

#fzoomslider {
	width: 160px;
	padding: 0;
}

#fzoomslider::-ms-track {
	background: #ddd;
	color: #ddd;
}

#fzoomslider::-ms-fill-lower {
	background: #ddd;
	color: #ddd;
}

#fzoomslider::-ms-thumb {
	background: #f44;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	xcolor: #f44;
}

#fzoomslider::-ms-tooltip {
	display: none;
}


/************************************************* fitbox *********************************************************************/

#ffittype {
	width: 160px;
}

#fitanswer {
	margin: 3px 0 0 0;
	height: 55px;

	margin: 0;
	height: 20px;
}


/************************************************* graph items ****************************************************************/

#graphcontainer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fcc;	
	overflow: auto;

	background: #fafafa;
}

#canvas {
	xborder: 1px solid darkgray;
	background: #fff;
	display: block;
	xmargin:15px auto;

	xmargin: auto;
	xvertical-align: middle;
}


/************************************************* others *********************************************************************/

#output {
	position: absolute;
	width: 300px;
	height: 200px;
	top: 0;
	right: 0;
	overflow-y: auto;
	font: 13px/20px lucida console;
	background: rgba(240, 240, 240, 0.7);
	z-index: 10000;

	height: 700px;
	font: 12px/16px lucida console;

	display: none;
}

.spacer {
	width: 0;
	height: 0;
	clear: both;
}