.drafts-editor__custom-block {}

/* inner figure tags */
.drafts-editor__custom-block.table,
.drafts-editor__custom-block.rich,
.drafts-editor__custom-block.photo,
.drafts-editor__custom-block.document {
  width: auto;
  margin: 0;
  padding: 0;
}

.drafts-editor__custom-block .caption {
  color: #7c7c7c;
  font-size: 11px;
  line-height: 1.4em;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

.drafts-editor__custom-block.document {
  width: 220px;
  padding: 0 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.drafts-editor__custom-block.document a { font-size: 13px; }
.drafts-editor__custom-block.document .caption {
  width: 220px;
  margin-left: -8px;
  border: none;
  border-top: 1px solid #ccc;
}

.drafts-editor__custom-block img {
  max-width: 100%;
  box-sizing: border-box;
}

.drafts-editor__custom-block.rich iframe {
  max-width: 100%;
  box-sizing: border-box;
}

.drafts-editor__custom-block.rich .rich-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.drafts-editor__custom-block.table {
  width: 100%;
  font-family: monospace;
  margin: 0;
}

.drafts-editor__custom-block.table table {
  width: 100%;
}

.drafts-editor__custom-block.table .table-header th {
  font-weight: bold;
  text-align: left;
}

.drafts-editor__custom-block.table th {
  min-width: 60px;
  font-weight: normal;
  text-align: left;
}

.drafts-editor__custom-block.table th.control-cell {
  min-width: 85px;
}
