@import url("https://fonts.googleapis.com/css?family=Nunito|Economica|Russo+One|Ubuntu");
* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  height: 100vh;
}

html select, body select {
  display: none;
}

html .ace_editor, body .ace_editor {
  font-family: "Lucida Console", Monaco, monospace;
}

body {
  background: #475c4d;
  padding-top: 40px;
  overflow: hidden;
}

body header {
  background: #0b0b0b;
  display: block;
  padding: 0;
  max-height: 40px;
  position: absolute;
  top: 0;
  width: 100%;
}

body header span, body header a {
  border-right: #000 1px solid;
  display: inline-block;
  vertical-align: top;
}

body header span {
  font-family: 'Russo One', sans-serif;
  font-size: 22px;
  line-height: 32px;
  padding: 4px 15px;
  color: #009338;
}

body header a {
  cursor: pointer;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  line-height: 20px;
  margin: 0 0 0 -4px;
  padding: 12px 15px 8px;
  text-decoration: none;
  text-transform: uppercase;
  color: #b2b2b2;
}

body header a.active {
  color: #009338;
}

body header nav {
  display: inline-block;
}

body header #headerUI {
  display: inline-block;
  float: right;
}

body header #headerUI a {
  display: none;
  background: none;
  color: #009338;
  border: none;
  font-size: 20px;
}

body header #headerUI a.active {
  display: block;
}

body .dimension {
  height: 100%;
}

body .dimension .portal {
  padding: 0;
  margin: 0;
  height: 100%;
  text-align: center;
}

body .dimension .portal#editors {
  height: 50%;
  -ms-box-orient: horizontal;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -moz-flex;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

body .dimension .portal#editors .compartment {
  width: 34%;
  padding: 25px 0 0 0;
}

body .dimension .portal#editors .compartment .ace_scroller .ace_content {
  height: 100% !important;
}

body .dimension .portal#editors .compartment .handle {
  height: calc(100% - 25px);
}

body .dimension .portal#render {
  height: 50%;
  position: relative;
}

body .dimension .portal#render iframe#codeRender {
  border: none;
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  background: #f3f3f3;
}

body .dimension .portal .compartment {
  display: inline-block;
  height: 100%;
  margin: 0 -2px;
  padding: 25px 0;
  position: relative;
  vertical-align: top;
  width: 50%;
}

body .dimension .portal .compartment .editor {
  width: 100%;
  height: 100%;
}

body .dimension .portal .compartment .handle {
  display: block;
  height: calc(100% - 50px);
  position: absolute;
  right: 0px;
  width: 10px;
  top: 25px;
  background: #131313;
  cursor: ew-resize;
  z-index: 10;
}

body .dimension .portal .compartment .controls {
  background: #1a1a1a;
  color: #010101;
  position: absolute;
  overflow: visible;
  height: 25px;
  max-height: 25px;
  text-align: right;
  width: 100%;
}

body .dimension .portal .compartment .controls.top {
  top: 0;
}

body .dimension .portal .compartment .controls.bottom {
  bottom: 0;
}

body .dimension .portal .compartment .controls .nice-select {
  background: transparent;
  border-radius: initial;
  border: initial;
  color: #8d8d8d;
  display: inline-block;
  height: 25px;
  line-height: 26px;
  font-family: 'Economica', sans-serif;
  padding: 0 30px 8px 0;
  float: none;
  font-size: 12px;
}

body .dimension .portal .compartment .controls .nice-select.static {
  pointer-events: none;
  padding: 0 0 0 20px;
  float: left;
  font-family: 'Ubuntu', sans-serif;
  text-transform: uppercase;
}

body .dimension .portal .compartment .controls .nice-select.static:after {
  border: 0;
}

body .dimension .portal .compartment .controls .nice-select.lower:after {
  top: 50%;
  transform: rotate(-135deg);
}

body .dimension .portal .compartment .controls .nice-select.lower.open:after {
  top: 50%;
  transform: rotate(45deg);
}

body .dimension .portal .compartment .controls .nice-select.lower .list {
  top: initial;
  bottom: 100%;
  margin-bottom: 0px;
}

body .dimension .portal .compartment .controls .nice-select .list {
  background: #1d1d1d;
  max-height: 60vh;
  overflow: scroll;
  margin: 0 0px 0 -57px;
}

body .dimension .portal .compartment .controls .nice-select .list .option {
  line-height: 26px;
  min-height: initial;
}

body .dimension .portal .compartment .controls .nice-select .list .option:hover {
  background: #2a2a2a;
}

body .dimension .portal .handle-y {
  display: block;
  width: 100%;
  height: 8px;
  position: absolute;
  bottom: 0px;
  cursor: ns-resize;
  background: #3b3b3b;
  margin: 0px 0px -5px;
  z-index: 10;
}
