﻿/* eslint-disable */
body,
html,
div,
ul,
li,
iframe,
dd,
dl,
dt,
p,
img {
	border:none;padding:0;margin:0;
}

body,
html {
	width:100%;height:100%;overflow: hidden;
}

body {
	font-size:12px;color:#000;font-family:"微软雅黑";
}
/**设置滚动条的样式**/
::-webkit-scrollbar {
    /* width: 10px; */
    width: 6px;
}
/**滚动槽**/
::-webkit-scrollbar-track {
    /* box-shadow: inset 0 0 6px #d1cfcf;  */
    border-radius: 10px;
}
/**滚动条滑块**/
::-webkit-scrollbar-thumb {
    border-radius: 12px;
    /* background: #f7f7f7;  */
    /* -webkit-box-shadow: inset 0 0 6px #D8D8D8;  */
    background-color: #d8d8d8;
}
/* ::-webkit-scrollbar {
    width: 6px;
} */
::-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: #292C2D;
    position: absolute;
}

#header .logo {
    height: 26px;
    float: left;
    margin-top: 6px;
    margin-left: 20px;
}

#header .logo img {
    width: 120px;
    height: 38px;
}

#header span {
    line-height: 50px;
    font-size: 24px;
    margin-left: 10px;
    color: #fff;
}

#header .demo-top-nav {
    margin-left: 260px;
    color: #fff;
    list-style: none;
}

#header .demo-top-nav li {
    position: relative;
    float: left;
    display: block;
}

#header .demo-top-nav li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: .5s background-color;
    padding: 15px;
    display: block;
    line-height: 20px;
}

#header .demo-top-nav li a:before {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    top: 0;
    background: #a9334c;
    height: 4px;
}

#header .demo-top-nav li a:hover {
    background-color: #111;
    color: #fff;
    text-decoration: none;
}

#header .demo-top-nav li a.checked {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

#header .demo-top-nav li a:visited {
    text-decoration: none;
}

#header .demo-top-nav li a:link {
    text-decoration: none;
}

.dropdown-menu {
    width: 200px;
    padding: 0;
    background-color: #162346;
    box-shadow: none;
    border: none;
    margin-top: 0;
    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    border-radius: 4px;
    background-clip: padding-box;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px dashed;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
/**导航部分**/
.first-title {
    font-size: 14px;
    font-weight: 500;
    padding: 16px 0 5px 20px;
    color: #141419;
    background: url("img/jsapisideup.png") 214px 20px / 12px 6px no-repeat;
    background-size: 6px 12px;
}

.firset_title_active_icon {
    background: url("img/jsapisidedown.png") 214px 20px / 12px 6px no-repeat;
    background-size: 12px 6px;
}

#menu ul li > .one_head_active_icon {
    background: url("img/jsapisidedown.png") 182px 8px / 12px 6px no-repeat !important;
    background-size: 12px 6px !important;
}

#content{
	position: absolute;
    width: 100%;
	border-bottom: 1px solid #ccc;
	top: 50px;
	bottom: 0;
}

#menu{
    min-width: 251px;
    float: left;
    border-right: 1px solid #e9e9e9;
    overflow-y: scroll;
    height: 100%;
    font-family: 'PingFangSC-Regular' !important;
    letter-spacing: 0;
    font-weight: 400;
}

#menu .demo-search {
    background: #f7f9fd;
}

#menu .demo-search #srch-demo {
    height: 26px;
    width: 186px;
    margin: 8px 0 8px 20px;
    padding-left: 10px;
    border: 1px solid #d3d6db;
    border-radius: 20px;
    outline: none;
}

#menu ul {
    font-size: 14px;
    /* font-family:"微软雅黑"; */
    /* background-color: #f7f9fd; */
    padding: 0px 10px;
    display: none;
}

#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; */
    margin-left: 14px;
    color: #141419;
    font-family: 'PingFangSC-Regular' !important;
}

#menu ul li > .one_head {
    background: url("img/jsapisideup.png") 182px 8px / 12px 6px no-repeat;
    background-size: 6px 12px;
}

#menu ul li:last-child {
    border-bottom: none;
}

#menu .submenu a {
    margin: 0;
    text-decoration: none;
    display: block;
    height: 35px;
    width: 100%;
    /* color:#000; */
    color: #666;
}

#menu .submenu {
    z-index: 9999;
    width: 100%;
    margin-left: 6px;
    margin-top: 10px;
}

#menu .submenu dl {
    list-style-type: square;
}

#menu .submenu dl dd {
	line-height: 35px;
	height: 35px;
    font-size: 14px;
}
/* #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 a {
	margin-left: 11px;
}

#menu ul li,
#code_close,
#code_open,
#d_clip_button {
    cursor: pointer;
}

.first-title:hover {
    cursor: pointer;
}

#code_area #d_menu > div > a:hover {
    cursor: pointer;
    font-weight: bold;
}

#openbar > p {
    line-height: 36px;
    margin-left: 10px;
}

#menu .first-title:hover,
.clickState {
    color: #f5533d !important;
}

#menu .submenu dl dd a:hover {
    color: #f5533d !important;
}

#menu .submenu dl dd a::before {
    content: "";
    /* font-size: 27px;
    float: left; */
    margin-left: 10px;
    margin-right: 1px;
}

#menu i {
    display: none;
    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 {
    /* width: 500px; */
    width: 466px;
    -webkit-user-select: none;
    float: left;
    height: 100%;
    z-index: 999;
    position: relative;
    /* box-shadow:3px 0px 6px rgba(0,0,0,0.1); */
}

#code_area #myresource {
    border: none;
    width: 100%;
    /* height: 350px;  */
    outline: none;
}

.console-wrap {
    /* background-color: ; */
    height: 200px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.console-header {
    height: 30px;
    background: #f6f6f6;
    font-size: 13px;
    line-height: 30px;
    border: 1px solid #ddd;
}

.console-header .coding-title {
    margin-left: 10px;
}

.console-header .code-clear {
    float: right;
    padding-right: 20px;
    cursor: pointer;
}

#code_area #openbar {
    /* border-bottom: 1px solid #ddd; */
    /* background: #f6f6f6; */
    padding: 0;
    height: 36px;
    overflow: hidden;
    /* csshint-disable */
    -webkit-user-select: none;
    -moz-user-select: none;
    /* csshint-enable */
}

#code_area #openbar .copy {
    display: 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; */
    width: 155px;
}

#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_run_container a {
    background: url(img/jsApiopen.png) no-repeat;
    color: #666;
    padding-left: 17px;
    background-size: 15px 15px;
}
/* #code_area #d_refresh_container a{
	background:url(img/result.png) no-repeat 0 -47px;
	color:#3189f3;
	padding-left:20px;
} */
#code_area #d_refresh_container a {
    background: url(img/jsApiReset.png) no-repeat;
    color: #666;
    background-size: 15px 15px;
    padding-left: 20px;
}

#code_area #d_help_container a {
    background: url(img/jsapiHelp.png) no-repeat;
    color: #666;
    background-size: 15px 15px;
    padding-left: 17px;
}
/* #code_area #d_help_container a{
	background:url(img/result.png) no-repeat 0 -71px;
	color:#3189f3;
	padding-left:17px;
} */
#code_area .coding-title {
    /* font-size: 14px; */
    font-size: 16px;
    color: #141419;
}

#code_close {
    display: none;
    /* background: url(img/result.png) no-repeat 0 -142px;
		width: 14px;
		height: 90px; */
    position: absolute;
    right: -24px;
    z-index: 9999;
    top: 50%;
    margin-top: -45px;
    width: 24px;
    height: 72px;
    /* background-color: #FFFFFF; */
    background: #fff url(img/jsApiDemoleft.png) no-repeat 9.5px 30px / 6px 12px;
    /* background:url(img/jsapisideup.png) no-repeat 0 -142px; */
    border-radius: 0px 8px 8px 0px;
}

#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;
    width: 24px;
    height: 72px;
    background: #fff url(img/jsApiDemoright.png) no-repeat 9.5px 30px / 6px 12px;
    border-radius: 0px 8px 8px 0px;
}
/**地图部分**/
#overiframe { 
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 999;
    display: none;
    -webkit-user-select: none;
}

#mapContent {
    border-left: 1px solid #e9e9e9;
    overflow: hidden;
    height: 100%;
    position: relative;
}

#mapContent #container {
    overflow: hidden;
    -webkit-user-select: none;
}
/*code add*/
.CodeMirror {
    /* font-family:Consolas,monaco,'Courier New', Courier, monospace; */
    font-family: 'PingFangSC-Medium';
    position: absolute;
    bottom: 0px;
    top: 33px;
    width: 100%;
    font-size: 14px;
    /* color: #FB0E0E; */
    letter-spacing: 1px;
    line-height: 24px;
    font-weight: 500;
}

.CodeMirror pre {
    line-height: 1.5em;
}

.CodeMirror-sizer {
    padding-left: 2px;
}

#drag {
    /* width: 2px;
		height: 100%;
		background: #eee;
		cursor: w-resize;
		float:left; */
}
