body,html,div,ul,li,iframe,dd,dl,dt,p,img {
	border: none;
	padding: 0;
	margin: 0;
	color:#000;
}
ol,
ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
}
body,html {
	width: 100%;
	height: 100%;
	overflow: hidden;
	font-family: "Microsoft YaHei", 微软雅黑, "HanHei SC", PingHei, "PingFang SC", STHeitiSC-Light, "Helvetica Neue", "Hiragino Sans GB", Helvetica, Arial, "WenQuanYi Micro Hei", "WenQuanYi Micro Hei", 微軟正黑體, "儷黑 Pro", 宋体, simsun, sans-serif;
	font-size: 14px;
}

body {
	color: #000;
}
/**设置滚动条的样式**/
::-webkit-scrollbar {
	width: 8px;
}
/**滚动槽**/
::-webkit-scrollbar-track {
	box-shadow: inset 0 0 1px #d1cfcf;
	border-radius: 0px;
	/* border-radius: 10px; */
}
/**滚动条滑块**/
::-webkit-scrollbar-thumb {
	border-radius: 0px;
	/*background: #40b24a;*/
	-webkit-box-shadow: inset 3px 3px 3px 10px #e4e4e4;
}

::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(245,245,245,0.4);
}
/**responsive**/
@media screen and (max-width: 1024px) {
	#code_area,#code_open,#drag {
		display: none !important;
	}
}
/**clear float**/
.clearfix {
	display: block;
	zoom: 1;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
/**头部**/
#header {
	width: 100%;
	height: 50px;
	background-color: #40b24a;
	position: absolute;
}

#header h2 {
	color: #fff;
	line-height: 16px;
	font-size: 20px;
	text-indent: 1em;
}

#header .logo {
	height: 34px;
	float: left;
	margin-top: 6px;
	margin-left: 20px;
}
/**导航部分**/
#content {
	position: absolute;
	width: 100%;
	border-bottom: 1px solid #ccc;
	top: 61px;
	bottom: 0;
}

#menu {
	/* min-width:280px; */
	width: 280px;
	float: left;
	/*border-right: 1px solid #e9e9e9;*/
	overflow-y: scroll;
	height: 100%;
	background: #F7F9FD;
}

#menu ul {
	font-size: 14px;
	font-family: "微软雅黑";
	background-color: #f7f9fd;
	padding: 0px 10px;
	height: 100%;
}

#menu ul li {
	list-style: none;
	border-bottom: 1px solid #e9e9e9;
	padding: 15px 10px;
}

#menu>ul>li>a {
	width: 100%;
	display: block;
	height: 21px;
	text-decoration: none;
	color: #000;
	line-height: 21px;
}

#menu ul li:last-child {
	border-bottom: none;
}

#menu .submenu a {
	margin: 0;
	text-decoration: none;
	display: block;
	height: 35px;
	width: 100%;
	color: #000;
}

#menu .submenu {
	z-index: 9999;
	width: 100%;
	margin-left: 6px;
	margin-top: 10px;
}

#menu .submenu {
	display: none;
}

#menu .submenu dl {
	list-style-type: square;
}

#menu .submenu dl dd {
	line-height: 35px;
	height: 35px;
	font-size: 14px;
	border-left: 1px dotted #b0b5c2;
}

#menu .submenu dl dd:before {
	border-bottom: 1px dotted #b0b5c2;
	content: "";
	display: inline-block;
	float: left;
	width: 10px;
	margin: -15px 0 0;
	height: 33px;
	/*border-left: 1px dotted #b0b5c2;*/
}

#menu .submenu dl dd:nth-last-of-type(1) {
	border-left:none;
}

#menu .submenu dl dd:nth-last-of-type(1):before {
	border-left: 1px dotted #b0b5c2;
}

#menu .submenu dl dd a {
	margin-left: 11px;
}

#menu ul li a:hover,
#code_close,
#code_open,
#d_clip_button {
	cursor: pointer;
}

#code_area #d_menu>div>a:hover {
	cursor: pointer;
	font-weight: bold;
}

#openbar>p {
	line-height: 36px;
	margin-left: 10px;
}

#menu a:hover,
.clickState {
	color: #40b24a !important;
}

#menu .submenu dl dd a:before {
	content: "·";
	font-size: 27px;
	float: left;
	margin-left: 2px;
	margin-right: 1px;
}

#menu i {
	width: 13px;
	height: 13px;
	display: block;
	float: left;
	margin-top: 4px;
	margin-right: 7px;
}

#menu .t_close {
	background: url(img/result.png) no-repeat 0 -96px;
}

#menu .t_open {
	background: url(img/result.png) no-repeat 0 -119px;
}
/**代码部分**/
#code_area {
	position: relative;
	z-index: 999;
	width: 500px;
	height: -moz-calc(100% - 36px);
	height: -webkit-calc(100% - 36px);
	height: calc(100% - 36px);
	float: left;
	-webkit-user-select: none;
	font-size: 12px;
	/*height: 94%;*/
}

#code_area #myresource {
	border: none;
	width: 100%;
	height: 350px;
	outline: none;
}

#code_area #openbar {
	padding: 0;
	height: 36px;
	background: #f6f6f6 url(img/bg-footbar.gif) repeat-x;
	overflow: hidden;
	-webkit-user-select: none;
	-moz-user-select: none;
}

#code_area #openbar span.split,
#code_area #openbar>a {
	line-height: 36px;
	color: #000;
	text-decoration: none;
}

#code_area #openbar .f-r {
	color: #0083d6;
	padding: 0 0 0 20px;
	line-height: 36px;
}

#code_area #openbar  .on {
	color: #0083d6;
	background: url(img/tab.png) no-repeat 0 7px;
}

#code_area #d_menu {
	float: right;
	/* width: 195px; */
}

#code_area #d_menu div {
	float: left;
	margin-right: 7px;
}

#code_area #d_menu i {
	display: block;
	float: left;
	margin-top: 11px;
	margin-right: 3px;
}

#code_area #d_menu div a {
	line-height: 36px;
	text-decoration: none;
	padding-bottom: 2px;
}

#code_area #d_clip_container a {
	background: url(img/result.png) no-repeat 0 2px;
	color: #3189f3;
	padding-left: 15px;
}

#code_area #d_run_container a {
	background: url(img/result.png) no-repeat 0 -23px;
	color: #3189f3;
	padding-left: 17px;
}

#code_area #d_refresh_container a {
	background: url(img/result.png) no-repeat 0 -47px;
	color: #3189f3;
	padding-left: 20px;
}

#code_area #d_help_container a {
	background: url(img/result.png) no-repeat 0 -71px;
	color: #3189f3;
	padding-left: 17px;
}

#code_close {
	display: none;
	background: url(img/result.png) no-repeat 0 -142px;
	width: 14px;
	height: 90px;
	position: absolute;
	right: 0;
	z-index: 9999;
	top: 50%;
	margin-top: -45px;
}

#code_open {
	display: none;
	background: url(img/result.png) no-repeat 0 -242px;
	width: 14px;
	height: 90px;
	position: absolute;
	z-index: 9999;
	top: 50%;
	margin-top: -45px;
}
/**地图部分**/
#overiframe {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 999;
	display: none;
	-webkit-user-select: none;
}

#mapContent {
	overflow: hidden;
	height: 100%;
	/* width: 100%; */
	position: relative;
}

#mapContent #container {
	overflow: hidden;
	-webkit-user-select: none;
	height: 100%;
}
/*code add*/
.CodeMirror {
	font-family: Consolas,monaco,'Courier New', Courier, monospace;
	position: absolute;
	bottom: 0px;
	top: 33px;
	width: 100%;
	height: 100%;
}

.CodeMirror pre {
	line-height: 1.5em;
}

.CodeMirror-sizer {
	padding-left: 2px;
}

#drag {
	width: 4px;
	height: 100%;
	background: #f1f2f7;
	cursor: w-resize;
	float: left;
}

.layerMask {
	width: 42px;
	height: 42px;
	position: absolute;
	border-radius: 2px;
	text-align: center;
	cursor: pointer;
	font-size: 0.8em;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 42px;
	color: rgb(30, 130, 250);
	background-color: white;
	z-index: 999;
}

@media screen and (max-width:640px) {
	#menu {
		width: 150px;
		float: left;
		/*border-right: 1px solid #e9e9e9;*/
		overflow-y: scroll;
		height: 100%;
		background: #F7F9FD;
		-moz-box-sizing: border-box; /*Firefox3.5+*/
		-webkit-box-sizing: border-box; /*Safari3.2+*/
		-o-box-sizing: border-box; /*Opera9.6*/
		-ms-box-sizing: border-box; /*IE8*/
		box-sizing: border-box;
	}

	#menu ul {
		width: 90%;
		font-size: 12px;
		font-family: "微软雅黑";
		background-color: #f7f9fd;
		padding: 0px;
	}

	#menu ul li {
		list-style: none;
		border-bottom: 1px solid #e9e9e9;
		padding: 10px 3px;
		white-space: nowrap;
	}

	#menu .submenu dl dd {
		line-height: 35px;
		height: 35px;
		font-size: 12px;
		word-break: keep-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#mapContent {
		overflow: hidden;
		height: 100%;
		position: relative;
		width: 60%;/*写给不支持calc()的浏览器*/
		width: -moz-calc(100% - 152px);
		width: -webkit-calc(100% - 152px);
		width: calc(100% - 152px);
	}
}/*宽度小于640px时*/
@media screen and (max-width:800px) and (min-width:640px) {
	#menu {
		width: 200px;
		float: left;
		/*border-right: 1px solid #e9e9e9;*/
		overflow-y: scroll;
		height: 100%;
		background: #F7F9FD;
		-moz-box-sizing: border-box;/*Firefox3.5+*/
		-webkit-box-sizing: border-box; /*Safari3.2+*/
		-o-box-sizing: border-box; /*Opera9.6*/
		-ms-box-sizing: border-box; /*IE8*/
		box-sizing: border-box;
	}

	#menu ul {
		width: 90%;
		font-size: 12px;
		font-family: "微软雅黑";
		background-color: #f7f9fd;
		padding: 0px;
	}

	#menu ul li {
		list-style: none;
		border-bottom: 1px solid #e9e9e9;
		padding: 10px 10px;
	}

	#menu .submenu dl dd {
		line-height: 35px;
		height: 35px;
		font-size: 12px;
		word-break: keep-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#mapContent {
		overflow: hidden;
		height: 100%;
		position: relative;
		width: 73%;/*写给不支持calc()的浏览器*/
		width: -moz-calc(100% - 202px);
		width: -webkit-calc(100% - 202px);
		width: calc(100% - 202px);
	}
}

@media screen and (max-width:1100px) and (min-width:800px) {
	#menu {
		min-width: 280px;
		float: left;
		/*border-right: 1px solid #e9e9e9;*/
		overflow-y: scroll;
		height: 100%;
		background: #F7F9FD;
	}

	#menu ul {
		font-size: 14px;
		font-family: "微软雅黑";
		background-color: #f7f9fd;
		padding: 0px 10px;
	}

	#menu ul li {
		list-style: none;
		border-bottom: 1px solid #e9e9e9;
		padding: 15px 10px;
	}

	#menu .submenu dl dd {
		line-height: 35px;
		height: 35px;
		font-size: 12px;
		word-break: keep-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#code_area {
		width: 500px;
		-webkit-user-select: none;
		float: left;
		height: 94%;
		z-index: 999;
		position: relative;
	}

	#mapContent {
		overflow: hidden;
		height: 100%;
		position: relative;
	}
}

@media screen and (max-width:1400px) and (min-width:1100px) {
	#menu {
		min-width: 280px;
		float: left;
		/*border-right: 1px solid #e9e9e9;*/
		overflow-y: scroll;
		height: 100%;
		background: #F7F9FD;
	}

	#menu ul {
		font-size: 14px;
		font-family: "微软雅黑";
		background-color: #f7f9fd;
		padding: 0px 10px;
	}

	#menu ul li {
		list-style: none;
		border-bottom: 1px solid #e9e9e9;
		padding: 15px 10px;
	}

	#menu .submenu dl dd {
		line-height: 35px;
		height: 35px;
		font-size: 14px;
		word-break: keep-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#code_area {
		width: 500px;
		-webkit-user-select: none;
		float: left;
		height: 94%;
		z-index: 999;
		position: relative;
	}

	#mapContent {
		overflow: hidden;
		height: 100%;
		position: relative;
	}
}/*宽度大于800px时 */

@media screen and (min-width:1401px) {
	#menu {
		min-width: 280px;
		float: left;
		/*border-right: 1px solid #e9e9e9;*/
		overflow-y: scroll;
		height: 100%;
		background: #F7F9FD;
	}

	#menu .submenu dl dd {
		line-height: 35px;
		height: 35px;
		font-size: 14px;
		word-break: keep-all;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	#mapContent {
		overflow: hidden;
		height: 100%;
		position: relative;
	}
}
