:root {
    --primary-color:#282a36;
	--border-color: #2f313e;
	--secondary-color: #336699;
}
html, body {margin: 0 !important; height: 100% !important; overflow: hidden !important}
body {
    
    background: var(--primary-color);
	color: #95A0AA;
	font-family: 'IBM Plex Sans', sans-serif;
}
a {
	text-decoration: none;
}
button {
	border:none ;
	background: none ;
}
.run-code {
	color: #50fa7b !important;

}
.clear-output {

	color: red !important;

}
textarea {
	background: var(--primary-color) !important;
}
#dialog-form{
	display: none;
}
.ui-dialog {
	z-index: 999999;
}
.tools-sidebar{
	position: fixed;
  height: 100%;
  width: 40px;
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  border-right: 1px solid #2f313e;
  /* box-shadow: 0 0 15px rgba(0,0,0,0.75);
    clip-path: inset(0px -15px 0px 0px); */
	padding-top: 8px;
}
.tools-sidebar button {
	border: 0px !important;
    background: none !important;
	color: #95A0AA;
	margin-bottom: 2rem;
}
.tools-sidebar button:hover, .tools-sidebar button:active  {
	color: #fff;
}
.mt-1 {
	margin-top: 1rem;
}
.sidebar-editor {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #21222d;
	overflow-x: hidden;
	transition: 0.5s;
	-webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
	z-index: 99999;
  }
  .sidebar-editor .header {
	height: 42px;
	border-bottom:1px solid var(--border-color);
	background: var(--primary-color);
  }
  #drag {
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 8px;
    cursor: w-resize;
	z-index: 9999999;
}


/**
 * nth-tabs
 * author:nethuige
 * version:2.0
*/
.CodeMirror {
	height: 100% !important;
	/* min-height: 200rem !important; */
}
.CodeMirror, .tab-content  {
	/* height: fit-content; */
    background: var(--primary-color) !important;
}
.code-editor{
	height: 100vh !important;
	overflow: hidden !important;
	border: 0px !important;
	border-radius: 0px !important;
	margin-left: 40px;
	position: relative;
	z-index: 9999;
}

.nth-tabs {
	/* color: #76838f; */
	/* font-family: "Helvetica Neue",Helvetica,Tahoma,Arial,"Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif; */
	/* border: 1px solid #E4EAEC !important; */
	height: 100% !important;
	overflow: hidden !important;
	padding-bottom: 4vh;
}

.code-editor .editor-toolbar-mid {

	border: 0px !important;
	border-top: 1px solid var(--border-color) !important;
	border-bottom: 1px solid var(--border-color) !important;
}
.editor-toolbar-mid button{
    color: #b8b8b8;
    font-size: 0.9rem;
}
.editor-output-container{
	height: 32vh;
	position: absolute;
    z-index: 999999;
	bottom: -20px;
    left: 0;
    width: 100%;
	background: var(--primary-color);

}
.editor-output{
	height: 100%;
	/* white-space: pre-wrap; */
	padding: 0.5rem 1rem;
	padding-bottom: 6.5rem !important;
	padding-top: 0px;
    /* margin-top: -20px; */
	overflow: scroll;
	color: #fff;
	font-size: 0.8rem;
	white-space: pre-line;   
	display: block;
	unicode-bidi: embed;
	outline: none !important;
}
.editor-output pre {
	padding-top: 0px;
    margin-top: 0px;
	padding-left: 1rem;
	white-space: pre-line;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
	outline: none !important;
}
.editor-output:focus-visible {
	outline: 0 !important;
}
.blinker {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 10px;
	height: 10px;
	background-color: #ce2b37;
	border-radius: 50%;
	position: relative;
	z-index: 999;
	float: left;
    top: 4px;
  }
  .blinker:before {
	content: "";
	width: inherit;
	height: inherit;
	border: 5px solid #ce2b37;
	border-radius: inherit;
	position: absolute;
	z-index: -10;
	opacity: 0;
	animation: 2s expand cubic-bezier(0.29, 0, 0, 1) infinite;
	animation-delay: 1s;

  }
  
  @keyframes expand {
	/* Starting at 1 to prevent IOS flicker */
	1% {
	  width: 0;
	  height: 0;
	  opacity: 1;
	}
	100% {
	  width: 750%;
	  height: 750%;
	  opacity: 0;
	  border-color: #fff;
	  background-color: none;
	  border-width: 2px;
	}
  }
.code-editor .CodeMirror .CodeMirror-sizer {
	min-height: 100% !important;
    height:100% !important; 
}
.CodeMirror-code{
	padding-bottom: 10rem;
}
.copy-code-wrap {
	z-index: 2 !important;
	cursor: pointer;
}
.code-editor .copy-code-wrap .copy-code {
	
	top: 0px !important;
}
.nth-tabs .page-tabs {
	width: 100%;
	height: 42px;
	/* background: #fafafa; */
	background: var(--primary-color);
	line-height: 40px;
	position: relative;
}
.CodeMirror-simplescroll-horizontal div, .CodeMirror-simplescroll-vertical div {
    background: var(--primary-color);
    border: 1px solid rgb(0, 0, 0);
	height: 100% !important;

}
.CodeMirror-simplescroll-horizontal, .CodeMirror-simplescroll-vertical {

    background: var(--secondary-color);
}
.nth-tabs .content-tabs {
	width: 100%;
	position: relative;
	height: 42px;
	background: var(--primary-color) !important;
	line-height: 40px;
	overflow: hidden;
	border-bottom: 1px solid var(--border-color) !important;
}

.nth-tabs .content-tabs-container {
	width: 100000px;
	margin-left: 60px;
	overflow: hidden;
	height: 42px;
	transition: margin-left 1s;
	-moz-transition: margin-left 1s;
	-webkit-transition: margin-left 1s;
	-o-transition: margin-left 1s;
}
.tab-content{
	overflow: auto;
}
.tab-pane{
	padding: 0px !important;
}
.nth-tabs,.tab-content,.tab-pane{
	/* height: 100%; */
	height: calc(100% - 42px);
}
.nth-tabs-content{
	width:100%;
	height: calc(100% - 42px);
	position: relative;
	overflow-x: hidden;
}
.nth-tabs-frame{
	width:100%;
	height: calc(100% - 42px);
	position: relative;
	overflow-x: hidden;
}

.nth-tabs .roll-nav {
	position: absolute;
	width: 40px;
	/* height: inherit; */
	text-align: center;
	color: #999;
	/* background-color: #FFFFFF; */
	background: var(--primary-color);
	z-index: 2;
	top: 0;
}

.nth-tabs a.roll-nav:hover {
	color: var(--secondary-color) !important;
}

.nth-tabs a.roll-nav:active,.nth-tabs a.roll-nav:visited {
	/* color: var(--border-color); */
}

.nth-tabs .roll-nav-left {
	left: 2.5rem;
	border-bottom: 1px solid var(--primary-color);
}

.nth-tabs .roll-nav-right {
	padding: 0.07rem;
	right: 40px;
	/* border-bottom: 1px solid #E4EAEC; */
	/* background: #fff; */
	background: var(--primary-color);
	height: 40px;
}

.dropdown-menu.show {
	top: 4px !important;
	background: #dfdfe4 !important;
	z-index: 99;
}
.dropdown-item{
	cursor:  pointer !important;
}
.dropdown-item a {
	background: #dfdfe4 !important;
	text-align: center !important;
}
.dropdown-item a:hover {
	background: #fff !important;
}

.nth-tabs .tab-close {
	position: absolute;
	top: 13px;
	right: 10px;
	width: 16px;
	height: 16px;
	text-align: center;
	line-height: 16px;
	color: #95A0AA;
}

.nth-tabs .tab-close:hover {
	background-color: #f96868;
	border-radius: 16px;
	color: #fff;
	cursor: pointer;
}

.nth-tabs .tab-down{
	/* border-top: 4px solid;
	-webkit-transition: .25s;
	-o-transition: .25s;
	transition: .25s;
	-webkit-transform: scale(1.001);
	-ms-transform: scale(1.001);
	-o-transform: scale(1.001);
	transform: scale(1.001);
	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; */
}

/*tab list*/
.nth-tabs .right-nav-list {
	/* top: 5px; */
	right: 0;
	border-left: 1px solid var(--border-color);
	padding: 0.44rem;
}


.nth-tabs .right-nav-list a {
	color: #999;
	/* background: #fff; */
	background: var(--primary-color);
}

.nth-tabs .right-nav-list a:hover {
	color: #797979;
	text-decoration: none;
}

.nth-tabs .left-nav-list {
	top: -4px;
    /* left: 0; */
    border-right: 1px solid var(--border-color);
    /* border-bottom: 1px solid var(--border-color); */
    padding: 0.44rem;
    height: 45px;
	z-index: 99;
}

.close_editor{
	
		position: absolute;
		right: 10px;
		top: 12px;
		color: inherit;
		cursor:pointer;
	
}
.close_editor:hover{

	color: red;

}
.nth-tabs .left-nav-list a {
	color: #999;
	/* background: #fff; */
	background: var(--primary-color);
}

.nth-tabs .left-nav-list a:hover {
	color: #797979;
	text-decoration: none;
}

.tab-list-scrollbar {
	max-height: 250px;
	max-width: 180px;
}
.dropdown-menu{
	z-index: 99999999 !important;
	right: 10px !important;
}

.dropdown-menu ul {
	list-style: none;
	margin: 0px;
	text-align: left;
	padding: 0px;
}

.dropdown-menu ul li {
	line-height: 30px;
	padding: 0px 20px;
	white-space: nowrap;
}

.dropdown-menu ul li:hover {
	background-color: #ececec;
	cursor: pointer;
}

.scrollbar-outer {
	overflow: hidden;
}


/*重写tab*/
.nav-tabs-nth {
	/* background-color: #FFFFFF; */
	/* border-bottom: 1px solid #E4EAEC!important; */
	border-bottom: 1px solid #282a36 !important;
}

.nav-tabs-nth a {
	color: #76838f;
	border-radius: 0;
}

.nav-tabs-nth>li{
	position: relative;
	/* width:8.1em; */
}

.nav-tabs-nth>li>a {
	border-radius: 0;
	margin-right: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	padding-right:25px;
	padding-left: 10px;
	text-align: center;
}
.nav-tabs-nth>li>a>span {
	line-height: 1rem;
    padding: 2rem 1.1rem;
}
.nav-tabs-nth>li.active, .nav-tabs-nth>li.active:focus, .nav-tabs-nth>li.active:hover,
.nav-tabs-nth>li.active>a, .nav-tabs-nth>li.active>a:focus, .nav-tabs-nth>li.active>a:hover {
	border-top:1px solid transparent;
	/* border-bottom: 1px solid #E4EAEC;
	border-left:1px solid #E4EAEC;
	border-right:1px solid #E4EAEC;
	background-color: #F1F4F5; */
	border-bottom: 1px solid #336699;
    border-left: 1px solid #336699;
    border-right: 1px solid #336699;
    background-color: #336699;
	color: #ffffff !important; 

	/* -webkit-transition-property: background-color,border-bottom;
	-webkit-transition-duration: 0.2s;
	-webkit-transition-timing-function: ease;
	-moz-transition-property: background-color,border-bottom;
	-moz-transition-duration: 0.2s;
	-moz-transition-timing-function: ease;
	-o-transition-property: background-color,border-bottom;
	-o-transition-duration: 0.2s;
	-o-transition-timing-function: ease; */
}

.nav>li:focus, .nav>li:hover {
	background-color: #1f3d5c;
	color: #fff !important;
}
.nth-tabs .content-tabs-container, .nav-tabs-nt{
	background: #282a36 !important;
}
/*animation*/

[class*=animation-] {
	-webkit-animation-duration: .5s;
	-o-animation-duration: .5s;
	animation-duration: .5s;
	-webkit-animation-timing-function: ease-out;
	-o-animation-timing-function: ease-out;
	animation-timing-function: ease-out;
}
.animation-fade {
	-webkit-animation-name: fadeIn;
	-o-animation-name: fadeIn;
	animation-name: fadeIn;
	-webkit-animation-duration: .8s;
	-o-animation-duration: .8s;
	animation-duration: .8s;
	-webkit-animation-timing-function: linear;
	-o-animation-timing-function: linear;
	animation-timing-function: linear;
}

@-webkit-keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.fadeIn {
	-webkit-animation-name: fadeIn;
	animation-name: fadeIn;
}

