.runCodePage ~ footer,
.runCodePage ~ .side-tool {
  display: none;
}

body {
  overflow: hidden;
}

#runCode {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 51px;
  box-sizing: border-box;
  border-top: 1px solid #e8e8e8;
}

.rcLeft {
  width: 50%;
  height: 100%;
  float: left;
  border-right: 1px solid #e0e0e0;
}

.rcLeft textarea {
  height: 100%;
  width: 100%;
}

.rcRight {
  height: 100%;
  margin-left: 50%;
  position: relative;
  background: #f3f5f6;
}

.CodeMirror {
  height: 100%;
  font-size: 14px;
  font-family: Consolas, 'Courier New', monospace !important;
  background: #f3f5f6;
}

.rcIframe {
  border: none;
  height: 100%;
  width: 100%;
  background: #f3f5f6;
}

.consoleCollapsed .rcIframe {
  height: calc(100% - 231px);
}

.CodeMirror-gutters {
  border-right: 1px solid #f3f5f6;
  background: #f3f5f6;
}

.rcBtn {
  position: absolute;
  top: 10px;
  z-index: 200;
  right: 10px;
}

.rcBtn > * {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 7px;
  color: #fff;
  border-radius: 12px;
  font-size: 12px;
  font-family: Consolas, 'Courier New', Courier, monospace;
  cursor: default;
}

.rcBtn a:hover,
.rcBtn a:focus {
  background: rgba(0, 0, 0, 0.4);
  text-decoration: none;
  color: #fff;
}

.CodeMirror pre {
  display: inline-block;
  padding-left: 7px;
  line-height: 1.4;
}

.rcMeta {
  width: 260px;
  height: 100%;
  float: left;
  background: #fff;
  border-right: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.rcMeta h3 {
  margin: 15px;
  font-weight: bold;
  font-size: 14px;
}

.rcMeta textarea {
  margin: 15px;
  width: calc(100% - 30px);
}

.rcMeta .pagenavi {
  padding: 15px 0;
}

.runCodeCon {
  margin-left: 260px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.runCodeConAll {
  margin-left: 0;
}

.runCodeNav {
  position: absolute;
  line-height: 40px;
  box-sizing: border-box;
  border-bottom: 1px solid #dde3e8;
  background: #fff;
  z-index: 300;
  height: 41px;
  width: 100%;
}

.runCodeNav {
  display: flex;
}

.runCodeNav > div:nth-child(2) {
  border-left: 1px solid #dde3e8;
}

.runCodeNav a {
  display: flex;
  float: left;
  align-items: center;
  padding: 0 15px;
  color: #333;
  transition: none;
}

.runCodeNav .dropdown-menu {
  top: calc(100% + 1px);
  border-radius: 0 0 5px 5px !important;
}

.runCodeNav .dropdown-menu a {
  float: none;
}

.runCodeNav a:hover {
  background: #f3f6f8;
}

.runCodeNav i {
  margin-right: 6px;
}

.rcnEditChange {
  border-left: transparent 1px solid;
  border-right: transparent 1px solid;
}

.rcnEditChange:active,
.rcnEditChange:focus,
.rcnEditChange:hover {
  text-decoration: none;
}

.rcnEditChange.active {
  background: #f3f5f6;
  border-top: 3px solid #ccd6db;
  line-height: 34px;
  height: 41px;
  border-right: 1px solid #dde3e8;
}

.rcnEditChange.active:nth-child(2),
.rcnEditChange.active:nth-child(3) {
  border-left: 1px solid #dde3e8;
}

.rcnEditChange.active:nth-child(3) {
  border-right-color: transparent;
}

.rcBody {
  height: calc(100% - 40px);
  margin-top: 40px;
}

.side-tool {
  bottom: 80px;
}

.rcmTop h3 {
  font-size: 16px;
  margin: 0 0 10px 0;
}

.rcmTop textarea {
  margin-bottom: 20px;
}

.rcmCodeBox {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.rcmCodeList {
  margin: 0;
  padding: 10px 15px;
}

.rcmCodeList li {
  list-style: none;
  padding: 7px 0;
}

.rcmCodeList a {
  color: #333;
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.rcLeft > div {
  height: 100%;
  position: relative;
  box-sizing: border-box;
  position: relative;
}

.CodeMirror-foldmarker {
  text-shadow: none !important;
}

.contractLeft {
  position: absolute;
  z-index: 500;
  border: 1px solid #dde3e8;
  height: 40px;
  width: 20px;
  padding-top: 2px;
  background: #f3f5f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  border-right: none;
  top: calc(50% + 54px);
  left: 240px;
}

.contractLeft i {
  font-size: 12px;
}

.contractLeft:hover {
  background: #fff;
  cursor: pointer;
}

.contractLeftActive {
  border-right: 1px solid #dde3e8;
  border-left: none;
  left: 0;
}

.rcMetaSearch {
  padding: 15px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.rcMetaSearchBtn {
  position: absolute;
  height: 34px;
  width: 34px;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rcMetaSearchBtn i {
  color: #999;
  cursor: pointer;
}

.rcMetaSearchClear {
  right: 49px;
  width: 20px;
}

.rcMetaSearchClear i {
  font-size: 14px;
}

.langDPD {
  width: 360px;
  top: calc(100% + 12px) !important;
}

.langDPD li {
  padding: 0 15px;
}

.langDPD li label {
  margin-right: 30px;
}

.langDPDSpan {
  height: 16px;
  width: 16px;
  background-color: #d0d0d0;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

.langDPDSpan:hover {
  background-color: #337ab7;
  color: #fff;
}

.langDPDSpan:hover ul,
.langDPD:hover {
  color: #333 !important;
}

.langDPDSpan i {
  font-size: 10px;
  transform: rotate(-90deg);
  position: relative;
  margin-right: 0;
}
