body {
	font-family: "Arial", "宋体";
	font-size: 14px;
	color: #333;
	margin: 0;
	min-height: 500px;
	padding-bottom: 15px;
	overflow-y: auto;
}

html, body {
	*height: 100%;
	*background-image: url(about:blank);
	max-height: 100%;
}
body.iframe {
	overflow-y: hidden;
}

ul, li {
	list-style: none;
	padding: 0;
	margin: 0;
}
a {
	text-decoration: none;
}
.content {
	margin: 0;
}
.demo-list {
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	width: 219px;
	background-color: #F8F8F8;
	padding: 10px;
	border-right: 1px solid #AAA;
	box-shadow: inset -1px 0 white, 1px 0 8px #CCC;
	*position: absolute;
	*height: 100%;
	*top: expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt
(this.currentStyle.marginBottom,10)||0) + 30);
}
body.iframe .demo-list {	
	z-index: 9999999999;
}
.demo-list h3 {
	font-family: 'Microsoft Yahei';
	margin: 5px 0 10px 0;
	color: #333;
	font-weight: normal;
	font-size: 18px;
	text-shadow: 1px 1px white;
}
.demo-list li {
	margin-bottom: 5px;
	position: relative;
}
.demo-list a {
	color: #666;
	text-shadow: 0 -1px white;
	background: url(demo.png) 0 6px no-repeat;
	padding-left: 25px;
	height: 25px;
	line-height: 25px;
	display: inline-block;
}
.demo-list a.open-blank{
	position: absolute;
	right: 0;
	top: 0;
	background: url(fullscreen_toggle.png) no-repeat;
	height: 20px;
	width: 20px;
	padding: 0;
}
.demo-list a.open-blank:hover {
	background-position: 0 -20px;
}
.demo-list a.open-blank:active {
	background-position: 0 -40px;
}
.demo-list a:hover {
	color: #1590B3;
	background-position: 0 -19px;
}
.demo-list a.selected {
	font-weight: bold;
	color: black;
	background-position: 0 6px;
	cursor: text;
}
.main-wrap {
	margin-left: 255px;
	margin-right: 15px;
	margin-bottom: 240px;
}
.demo-wrap {
	background-color: #808080;
	color: #FFF;
	padding: 15px;
	margin-top: 15px;
	border-radius: 10px;
	margin-bottom: 15px;
	*zoom:1;
}
.demo-wrap h3 {
	color: #FFF;
	font-family: 'Microsoft Yahei';
	margin: 10px 0 20px;
	font-weight: normal;
	text-shadow: 1px 1px #000;
}
.demo-view {
}
.console-wrap {
	border: 1px solid #999;
	position: fixed;
	bottom: 0;
	left: 239px;
	right: 0;
	z-index: 100;
	margin: 0;
	border-bottom: none;
	border-right: none;	
	*position: absolute;
	*top: expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt
(this.currentStyle.marginBottom,10)||0));
}
.console-wrap h3 {
	margin: 0;
	padding: 5px 35px 5px 10px;
	font-size: 14px;
	font-weight: normal;
	background-color: #F3F3F3;
	border-top: 1px solid white;
	border-bottom: 1px solid #BBB;
	height: 20px;
	line-height: 20px;
	color: #666;
	text-align: right;
}
a.clear-console {
	position: absolute;
	left: 5px;
	top: 4px;
	display: block;
	height: 16px;
	line-height: 16px;
	padding: 3px 5px 3px 24px;
	background: url(edit_clear.png) 4px 2px no-repeat;
	cursor: default;
	color: #666;
	border: 1px solid transparent;
	border-radius: 3px;
	-webkit-transition: all .15s ease;
	   -moz-transition: all .15s ease;
	    -ms-transition: all .15s ease;
	     -o-transition: all .15s ease;
	        transition: all .15s ease;
}
a.clear-console:hover {
	border: 1px solid #777;
	color: black;
	box-shadow: inset 0 1px white;
}
a.clear-console:active {
	box-shadow: inset 0px 0px 4px rgba(0,0,0,.3);	
	-webkit-transition: all .05s ease;
	   -moz-transition: all .05s ease;
	    -ms-transition: all .05s ease;
	     -o-transition: all .05s ease;
	        transition: all .05s ease;
}
a.console-expander {
	position: absolute;
	right: 2px;
	top: 2px;
	display: block;
	width: 25px;
	height: 25px;
	background: url(expander.png) no-repeat;
	cursor: pointer;
}
a.console-expander:hover{
	background-position: 0 -25px;
}
a.console-expander:active{
	background-position: 0 -50px;
}
a.console-expander.expanded{
	background-position: 0 -75px;
}
a.console-expander.expanded:hover{
	background-position: 0 -100px;
}
a.console-expander.expanded:active{
	background-position: 0 -125px;
}
.console {
	height: 200px;
	background-color: white;
	overflow: scroll;
	overflow-x: hidden;
}
.console p {
	padding: 0 0 5px 3px;
	border-bottom: 1px solid #E1E1E1;
	margin: 5px 0;
}
.console span {
	padding: 3px;
	margin-right: 5px;
}
.console .event {
	background-color: #A7CC25;
}
.console .fn {
	background-color: #A6C9D7;
}
.console .info {
	background-color: #89D;
}

.clearfix:after {
	content: '.';
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	zoom: 1;
}
.demo-control {
	border-collapse: collapse;
	color: #333;
	margin-top: 10px;
}

.demo-control td {
	padding: 8px;
	background-color: #f6f6f6;
	border: 1px solid #ccc;
	line-height: 22px;
}

.demo-control td span {
	vertical-align: middle;
}

.demo-control td .textInput, .demo-control td .textInput-s, .demo-control td .textArea {
	width: 195px;
	padding-left: 5px;
	height: 22px;
	line-height: 22px;
	border: 1px solid #ccc;
}
.demo-control td .textInput-s {
	width: 50px;
}
.demo-control td .textArea {
	height: 50px;
	overflow: auto;
}

.demo-control td .btn {
	width: 60px;
	height: 22px;
	line-height: 14px;
	padding: 0;
}