.editor-area {
  display:block;
  width:100%;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  overflow:auto;
}

.editor-toolbar {
  display:block;
  line-height:2em;
  zoom:1;
}

.editor-toolbar:after {
  content:"";
  display:table;
  clear:both;
}

.editor-toolbar-button {
  display:block;
  float:left;
  width:2em;
  height:inherit;
  line-height:inherit;
  text-align:center;
  margin:0 2px 2px 0;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
}

.editor-toolbar-separator {
  display:block;
  float:left;
  width:0;
  height:2em;
  border-right:1px solid;
  margin:0 2px 2px 0;
}

.editor-area + .editor-toolbar .editor-toolbar-button,
.editor-area + .editor-toolbar .editor-toolbar-separator {margin:2px 2px 0 0}

.custom-drop {
  position:absolute;
  top:-999999px;
  left:-999999px;
  background-color:white;
  border:2px solid;
  padding:2px;
  -webkit-box-shadow:0 1px 5px rgba(0,0,0,.4);
  -moz-box-shadow:0 1px 5px rgba(0,0,0,.4);
  box-shadow:0 1px 5px rgba(0,0,0,.4);
}

.custom-modal-overlay {
  position:fixed !important;
  position:absolute;
  top:0;
  right:0;
  bottom:0;
  left:0;
  z-index:9999;
  background-color:black;
  opacity:.7;
}

.custom-modal {
  position:absolute;
  top:-999999px;
  left:-999999px;
  background-color:white;
  border:1px solid;
  width:19.23076923076923em;
  padding:1em;
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  -webkit-box-shadow:0 1px 2px rgba(0,0,0,.4);
  -moz-box-shadow:0 1px 2px rgba(0,0,0,.4);
  box-shadow:0 1px 2px rgba(0,0,0,.4);
  overflow:hidden;
}

.custom-modal-header {
  font-weight:bold;
  line-height:1;
  cursor:move;
}

.custom-modal-content {margin:1em 0}
.custom-modal-content input,
.custom-modal-content select,
.custom-modal-content textarea,
.custom-modal-content .input {
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  box-sizing:border-box;
  display:block;
  width:100%;
  margin:.3076923076923077em 0 0;
}

.custom-modal-content input:first-child,
.custom-modal-content select:first-child,
.custom-modal-content textarea:first-child,
.custom-modal-content .input:first-child {margin-top:0}

.custom-modal-content input[type="checkbox"],
.custom-modal-content input[type="radio"] {
  display:inline-block;
  width:auto;
  margin:0;
}

.custom-modal-footer {float:right}

.custom-modal-footer button {
  display:block;
  float:left;
  outline:none;
  -webkit-box-shadow:none;
  -moz-box-shadow:none;
  box-shadow:none;
}

.custom-modal-footer button + button {margin:0 0 0 .3076923076923077em}