header {
  border-bottom: 1px solid #ddd;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  z-index: 2;
  overflow: hidden;
}

.header__right {
  float: right;
  padding: 13px 20px;
}

.header__left {
  float: left;
  padding: 9px 15px;
}

.header__controls {
  float: left;
  margin-left: 38px;
  padding-top: 19px;
}

.header__docs {
  margin-left: 100px;
  padding-top: 19px;
  float: left;
}

.header__code-editor {
  float: right;
  padding-top: 19px;
  padding-right: 15px;
}

.header__logo {
  float: left;
  padding: 15px;
}

.header__compile__strategy {
  float: right;
  padding: 13px 10px;
}

.sidebar1 {
  top: 60px;
  border-right: 1px solid #ddd;
  position: fixed;
  left: 0;
  bottom: 0;
  padding: 5px 10px;
  width: 240px;
  background: #f9f9f9;
  overflow-y: auto;
}

.sidebar1__section--active {
  background-color: #1890ff !important;
  color: #ffffff;
  cursor: pointer;
}

.sidebar1 .sidebar1__section:hover {
  background-color: #eee;
}

.sidebar1 div {
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.sidebar2 {
  right: 0;
  width: 240px;
  position: fixed;
  top: 60px;
  bottom: 0;
  border-left: 1px solid #ddd;
  background: #f9f9f9;
  padding: 20px;
  overflow-y: auto;
}

.sidebar2__field {
  padding-bottom: 10px;
  margin-bottom: 5px;
  border-bottom: 1px solid #f1f1f1;
}

.sidebar2__field__variable__split {
  overflow: hidden;
}

.sidebar2__field__variable__split__left {
  float: left;
  width: 80%;
}

.sidebar2__field__variable__split__right {
  width: 20%;
  float: left;
  text-align: right;
  padding-top: 4px;
}

.sidebar2__field__description {
  font-size: 13px;
}

.sidebar2__field__variable {
  font-weight: bold;
  font-size: 13px;
  margin-top: 3px;
}

.sidebar2__size-variable__input {
  width: 129px !important;
  font-size: 12px !important;
  float: left !important;
  border-right: none !important;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.sidebar2__size-variable__buttons {
  width: 63px;
  float: left;
}

.sidebar2__size-variable__buttons__left {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.preview {
  position: fixed;
  left: 240px;
  right: 240px;
  top: 60px;
  bottom: 0;
}

.preview__menu {
  overflow: hidden;
  padding: 5px;
  background-color: #ffffff;
}

.sidebar1 a {
  display: block;
  text-align: center;
  padding: 10px;
}

.preview__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
}

.preview__content::-webkit-scrollbar { 
    display: none;
}

.preview__content--split {
  bottom: 50%;
}

.ace_scrollbar::-webkit-scrollbar-track {
	background-color: #fff;
	border-radius: 0;
}

.ace_scrollbar::-webkit-scrollbar {
	width: 7px;
	background-color: #f9f9f9;
}

.ace_scrollbar::-webkit-scrollbar-thumb {
	border-radius: 0;
  background-color: #dddddd;
}

.ace_scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #cccccc;
}

.scroll-style::-webkit-scrollbar-track {
	background-color: #fff;
	border-radius: 0;
}

.scroll-style::-webkit-scrollbar {
	width: 7px;
	background-color: #f9f9f9;
}

.scroll-style::-webkit-scrollbar-thumb {
	border-radius: 0;
  background-color: #dddddd;
}

.scroll-style::-webkit-scrollbar-thumb:hover {
  background-color: #cccccc;
}

iframe {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  bottom: 0;
  border: none;
}

.blur {
  filter: blur(5px);
}

.preview__loader {
  text-align: center;
  padding-top: 60px;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.8);
}

.ant-input-suffix {
  pointer-events: none;
}

.color-swatch {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 0 5px #ddd;
}

.code-editor {
  border-top: 2px solid #ddd;
  position: absolute;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  cursor: vertical-text;
}

#brace-editor {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: auto !important;
  height: auto !important;
}

.ace_scrollbar-h {
  height: 7px !important;
}
