body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;

  color: #ccc;
}
a {
  color: #4CB76F;
}
.article {
  width: 50%;
  position: fixed;
  width: 50%;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
}
.article_content {
  padding: 0 1em;
}
.article_content p {
  padding-right: 5em;
}
#article_content_list {
  position: fixed;
  right: 50%;
  margin-right: 1.4em;
  top: 0;
  border: 1px solid black;
  background: rgba(40,40,40,.8);
  padding: .5em;
  font-size: .8em;
}
#article_content_list h2 {
  margin: 0;
  font-size: 1em;
}
#article_content_list ul {
  margin: 0;
  padding-left: 1em;
}
.content {
  position: fixed;
  width: 50%;
  top: 0;
  bottom: 0;
  right: 0;
  border-left: 2px solid #999;
}
.article h1 {
  color: #fff;

  margin-top: 0;
  padding-top: 0.5em;
}
.article_content h2 {
  color: #4CB76F;
  border-top: 1px solid white;
  padding-top: .5em;
}
.article pre {
  overflow-x: auto;
  border: 1px solid #f0f;
  background: #eee;
  border: 1px solid black;
  padding: .25em;
  color: black;
  clear: both;
}
.viewer {
  height: 50%;
  border-bottom: 2px solid #999;
  background: white;
  position: relative;
}
.viewer #viewer {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.editor {
  height: 50%;
  position: relative;
  width: 100%;
  border-top: 1px solid #333;
}
.editor textarea {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  top: 2.1em;
  overflow-y: scroll;
  border: 0;
  background: #eee;
}
.editor .editor_buttons {
  position: absolute;
  top: 0;
  right: 0;
}
.editor .tabs {
  margin: 0;
  padding: 0;
  background: #999;
  border-bottom: 1px solid #333;
}
.editor .tabs li {
  margin: 0;
  padding: 0;
  display: inline-block;
  background: #bbb;
  padding: .2em;
  color: #444;
  cursor: pointer;
}
.editor .tabs li.active {
  background: #eee;
  border-radius: 2px 2px 0 0;
  border: 1px solid #333;
  border-bottom: 0px;
  color: #333;
}
.article_content_select {
  font-size: 1em;
  border: 0;
  border-bottom: 1px solid #4CB76F;
  color: white;
  font-weight: bold;
  background: transparent;
}
.article_content_select:active,
.article_content_select:focus {
  outline: 1px solid #4CB76F;
}
.article_content_select option {
  background: #282828;
}
.article_image_right {
  float: right;
}
