.aloha-mouse-over .aloha-empty-paragraph {
  background-color: #dadff3;
}

#contenteditor .aloha-block.aloha-block-TitleBlock.aloha-block-active, .aloha-block.aloha-block-TitleBlock.aloha-block-active:hover {
  box-shadow: none !important;
}

#contenteditor .aloha-block.aloha-block-SimpleTableBlock.aloha-block-active, .aloha-block.aloha-block-SimpleTableBlock.aloha-block-active:hover {
  box-shadow: none !important;
}

#contenteditor .aloha-block-TitleBlock.aloha-block-highlighted H1 {
  background-color: #dadff3;
}

#contenteditor .aloha-block-TitleBlock.aloha-block-highlighted H1 {
  background-color: #dadff3;
}

#contenteditor .aloha-block-TitleBlock.aloha-block-highlighted H2 {
  background-color: #dadff3;
}

#contenteditor .aloha-block-TitleBlock.aloha-block-highlighted H3 {
  background-color: #dadff3;
}

.external-resource {
  border: 1px solid red;
  padding: 3px;
}

.compare_table td {
  width: 50% !important;
}

.history-filters .select2-container-multi .select2-choices .select2-search-field input {
  padding: 2px 5px;
  font-size: 90%;
}

.history-filters .select2-container {
  vertical-align: top;
}

.notes-tab .save-button {
  margin-top: 10px;
  position: absolute;
  bottom: 35px;
  width: 100%;
}

.notes-tab .save-button .btn {
  font-size: 10px;
  float: left;
  margin-right: 10px;
}

.notes-tab .notes-tab-content {
  margin-top: 15px;
}

.notes-tab .notes-tab-content .note-textarea {
  position: absolute;
  top: 88px;
  bottom: 80px;
  left: 0;
  right: 0;
  height: auto;
}

.notes-tab .notes-tab-content .note-textarea textarea {
  height: 100%;
}

.notes-tab .notes-tab-content .info {
  line-height: 30px;
  color: #4b2e82;
  visibility: hidden;
}

#button-cancel {
  margin-left: 5px !important;
}

.design-tab-content {
  margin-top: 15px;
}

/* Color Picker
------------------------------------------------------*/
.dropdown-menu.color-picker {
  padding: 20px;
  width: 270px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

#pickerHolder {
  position: relative;
  height: 120px;
}

.dropdown-menu.color-picker .colorinput {
  border: 1px solid #ccc;
  padding: 2px;
  margin: 0 0 10px 0;
  width: auto;
  overflow: hidden;
}

.dropdown-menu.color-picker .colorinput input,
.dropdown-menu.color-picker .colorinput input:focus {
  outline: none;
  border: none;
  width: 100%;
  padding: 0 4px;
  font-size: 13px;
}

.dropdown-menu.color-picker .colorswatches {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.dropdown-menu.color-picker .colorswatches.margin {
  margin: 0 0 8px 0;
}

.dropdown-menu.color-picker .colorswatches .bt-color {
  float: left;
  margin: 0 3px 3px 0;
  width: 20px;
  height: 20px;
  outline: none;
  border: none;
}

.dropdown-menu.color-picker .colorswatches .bt-color:last-child {
  margin: 0 0 3px 0;
}

#compareDialog .modal-body {
  max-height: 450px;
  overflow-y: auto;
}

.alert-book-settings {
  font-size: 13px;
  padding: 10px 15px;
}

.alert-book-settings .close {
  top: 0;
  right: 0;
}

div.contentHeader span.info-message {
  font-size: 12px;
  margin-right: 10px;
}

.template {
  display: none;
}

.tabpane .tab-content .scrollable .list h4 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 50px;
}

.list h4 {
  margin: 0;
  font-size: 13px;
  line-height: 18px;
}

.list .label {
  color: white;
  position: absolute !important;
  top: 0;
  right: 0;
  font-size: 10px;
  padding: 1px 4px 2px 4px;
  line-height: normal;
  font-weight: normal;
}

.logotext {
  font-size: 17px;
  line-height: 40px;
  PAdding-left: 78px;
}

.logotext a {
  color: #fff;
}

.license-link-element {
  padding: 0 !important;
}

.license-link {
  float: right;
  margin-right: 15px;
}

/* Cover Manager */

.coverOptions .tooltip {
  position: fixed;
}

.tooltip {
  z-index: 1151 !important;
}

/* Search and Replace */

#find-replace.modal {
  background: none;
}

.aloha-search-marker {
  background-color: yellow;
}

.aloha-search-plugin-loaded .modal-backdrop.fade.in {
  background: none;
}

/* Table Plugin
------------------------------------------------------*/
.dropdown-menu.table-dropdown {
  width: 240px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

.dropdown-menu.table-dropdown .insert-table-block {
  margin: 4px 14px 20px 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6d6d6;
}

.dropdown-menu.table-dropdown .insert-table-block .slider {
  float: left;
  width: 180px;
  margin-bottom: 6px;
  margin-left: 2px;
}

.dropdown-menu.table-dropdown .insert-table-block .value {
  float: left;
  margin-left: 10px;
  margin-top: 2px;
}

.dropdown-menu.table-dropdown .insert-table-block h4 {
  font-size: 13px;
  margin: 2px 0 0;
  line-height: 1.2;
}

.dropdown-menu.table-dropdown .inserttable {
}

.dropdown-menu.table-dropdown .insert-table-block .btn-sm {
  padding: 4px 6px !important;
}

#contenteditor .aloha-block-SimpleTableBlock TABLE {
  border: 1px solid gray;
}

#contenteditor .aloha-block-SimpleTableBlock.aloha-block-highlighted TABLE {
  border: 1px solid gray;
}

#contenteditor .aloha-block-SimpleTableBlock div.aloha-editable-active {
  background-color: #dadff3;
}

#contenteditor .aloha-block-SimpleTableBlock .to-delete {
  background-color: #f06510;
}

#contenteditor .aloha-block-SimpleTableBlock .to-insert {
  background-color: #8ccac9;
}

#contenteditor sup, #contentrevision sup,
#contenteditor pre, #contentrevision pre,
#contenteditor table, #contentrevision table,
#contenteditor tbody, #contentrevision tbody,
#contenteditor tr, #contentrevision tr,
#contenteditor td, #contentrevision td {
  border: inherit;
  text-align: inherit;
  font-size: inherit;
  padding: inherit;
  margin: inherit;
  background-color: inherit;
  color: inherit;
}

#contenteditor td, #contentrevision td {
  min-width: 20px;
}

#contenteditor a, #contentrevision a {
  text-decoration: underline;
}

/* Style Tab
------------------------------------------------------*/

.userstyle {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid #DDD;
  padding: 0;
  overflow: hidden;
  font-size: 13px;
}

.userstyle h4 {
  margin: 20px 0 5px 0;
}

.userstyle .styleblock {
  width: 100%;
}

.userstyle .styleblock .btn-xs {
  background-color: #d0d0d0 !important;
  color: #000 !important;
  font-size: 11px !important;
  padding: 4px 7px 4px 7px !important;
  font-weight: normal !important;
  border-right: 1px solid #000 !important;
}

.userstyle .styleblock .btn-xs.active {
  background-color: #6f7671 !important;
  color: #FFF !important;
}

.userstyle .styleblock .colorinput {
  border: 1px solid #ccc;
  padding: 2px;
  float: right;
  margin-right: 12px;
  width: 120px;
}

.userstyle .styleblock .colorinput input {
  border: none;
  padding: 0 4px;
  width: 100%;
}

.userstyle .styleblock select {
  padding: 2px;
}

.heading-align.btn-group {
  margin-top: 5px;
}

/* checkbox styling */
.userstyle .styleblock .row input[type="checkbox"] {
  display: none;
}

.userstyle .styleblock .row input[type="checkbox"] + label {
  color: #000;
  font-size: 13px;
  font-weight: normal;
  margin: 6px 0;
}

.userstyle .presetThumbnailDetail {
  float: left;
  margin-left: 10px;
  width: 126px;
}

.userstyle .presetThumbnailDetail h4 {
  margin: 0;
  font-size: 14px;
}

.userstyle h5, .tabpane .tab-content h5 {
  margin: 0;
  font-size: 13px;
}

/* Endnotes Plugin
------------------------------------------------------*/
#contenteditor sup.endnote {
  font-size: 8pt;
}

#contenteditor .aloha-block-EndnoteBlock {
  margin-top: 20px;
  margin-bottom: 50px;
  border-top: 1px solid black;
}

#contenteditor .aloha-block-EndnoteBlock .info-bar {
  width: 100%;
  height: 12px;
  font-size: 8pt;
  font-weight: bold;
  line-height: 8pt;
  margin-top: 0;
  padding: 1px;
}

#contenteditor .aloha-block-EndnoteBlock .info-bar {
  background-color: transparent;
  color: black;
}

#contenteditor .aloha-block-EndnoteBlock.aloha-block-active .info-bar {
  color: white;
  background-color: #80b5f2;
}

#contenteditor .aloha-block-EndnoteBlock .endnotes-container,
#contenteditor .aloha-block-EndnoteBlock .orphans-container {
  padding: 5px;
}

#contenteditor .aloha-block-EndnoteBlock .elem {
  padding-bottom: 2px;
}

#contenteditor .aloha-block-EndnoteBlock.aloha-block-active .elem {
  margin: 1px;
  border-bottom: 1px dotted #80b5f2;
  padding-bottom: 5px;
}

#contenteditor .aloha-block-EndnoteBlock .endnotes-container .command,
#contenteditor .aloha-block-EndnoteBlock .orphans-container .command {
  display: none;
}

#contenteditor .aloha-block-EndnoteBlock.aloha-block-active .endnotes-container .command,
#contenteditor .aloha-block-EndnoteBlock.aloha-block-active .orphans-container .command {
  display: inherit;
}

#contenteditor .aloha-block-EndnoteBlock.aloha-block-active {
  border-top: 0;
}

#contenteditor .aloha-block-EndnoteBlock.aloha-block-active .info-bar {
  display: block;
}

/* Endnotes Plugin
------------------------------------------------------*/
.icejs-tab-content h4 {
  margin: 16px 0 0;
  font-size: 14px;
}

.icejs-tab-content .btn-xs {
  font-size: 11px !important;
  padding: 4px 7px 4px 7px !important;
  font-weight: normal !important;
}

#contenteditor .aloha-block-ColumnsBlock .aloha-editable {
  min-height: 200px;
  padding: 10px;
}

#contenteditor .aloha-block-ColumnsBlock.bk-marker .aloha-editable {
  display: none;
}

#contenteditor .aloha-block-ColumnsBlock .bk-columns-marker {
  display: none;
}

#contenteditor .aloha-block-ColumnsBlock.bk-marker .bk-columns-marker {
  display: block;
  padding: 2px;
  color: black;
  font-size: 10px;
  border-radius: 2px;
  background-color: #dadff3;
  text-transform: uppercase;
}

#contenteditor .aloha-block-ColumnsBlock .bk-columns-info {
  background-color: #dadff3;
  color: black;
  padding: 3px;
  display: none;
}

#contenteditor .aloha-block-ColumnsBlock .bk-columns-info a.bk-action {
  float: right;
  color: black;
  text-decoration: none;
  padding-right: 5px;
}

#contenteditor .aloha-block-ColumnsBlock .bk-columns-info a.bk-help {
  color: black;
  text-decoration: none;
  padding-right: 5px;
}

#contenteditor .aloha-block-ColumnsBlock .bk-columns-info .bk-title {
  color: black;
  font-weight: bold;
  text-transform: uppercase;
}

#contenteditor .aloha-block-ColumnsBlock.aloha-block-active .bk-columns-info {
  display: block;
}

#contenteditor .aloha-block-ColumnsBlock .aloha-editable {
  column-rule: 4px solid #dadff3;
  column-gap: 20px;

  -webkit-column-rule: 4px solid #dadff3; /* Chrome, Safari, Opera */
  -moz-column-rule: 4px solid #dadff3; /* Firefox */

  -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
  -moz-column-gap: 40px; /* Firefox */
}

#contenteditor .aloha-block-InfoBoxBlock.aloha-block-active
#contenteditor .aloha-block-ColumnsBlock.aloha-block-active {
  border: 2px solid #dadff3;
}

#contenteditor .bk-column-break::before {
  content: "COLUMN BREAK";
  padding: 2px;
  color: black;
  font-size: 10px;
  font-weight: bold;
  border-radius: 2px;
  background-color: #dadff3;
}

#contenteditor .bk-column-break {
  -webkit-column-break-after: always;
  break-after: column;
}

#content .publish-info-box a,
#content .publish-info-box a:visited {
  text-decoration: underline;
}

/* Imageeditor Plugin
------------------------------------------------------*/

#contentrevision .group_img {
  display: none;
}

#contenteditor .aloha-block.aloha-block-ImageBlock.aloha-block-active, .aloha-block.aloha-block-ImageBlock.aloha-block-active:hover {
  box-shadow: none !important;
}

#contenteditor div.bk-image-editor,
#contentrevision div.bk-image-editor {
  overflow: hidden;
}

#contenteditor div.bk-image-editor-frame {
  border: 2px dotted black !important;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAIAAABLbSncAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAChJREFUeNpiPHPmDAMMGBsbw9lMDDgA6RKM%2F%2F%2F%2Fh3POnj1LCzsAAgwAQtYIcFfEyzkAAAAASUVORK5CYII%3D');
}

#contenteditor div.bk-image-editor img {
  max-width: none;
  max-height: none;
}

#contenteditor div.image {
  display: inline-block;
}

#contenteditor div.image-focus {
  border: 1px solid #A1A1A1;
}

#contenteditor div.group_img {
  overflow: auto;
}

#contenteditor div.group_img::-webkit-scrollbar {
  display: none;
}

#contenteditor div.group_img div.caption_small {
  display: inline-block;
}

#imagePopup {
  position: absolute;
  background-color: white;
  margin: 1px;
  border: 1px solid black;
  padding: 4px;
  z-index: 999;
  width: 400px;
  text-align: center;
}

#imagePopup button {
  width: 28px;
}

#imagePopup hr {
  margin-top: 10px;
  margin-bottom: 10px;
}

#imagePopup div.slider-track,
#imagePopup div.slider-handle {
  background-color: #FF6600;
}

#imagePopup div.slider-track {
  height: 2px;
}

#imagePopup div.slider-handle {
  margin-top: -6px;
}

#bk-image-editor-zoom-slider,
#bk-image-editor-contrast-slider,
#bk-image-editor-blur-slider,
#bk-image-editor-saturate-slider,
#bk-image-editor-brightness-slider {
  width: 250px;
}

div.bk-image-editor-ui-controls div.tooltip {
  top: -30px !important;
}

div.bk-image-editor-ui-controls div.toggle {
  margin-bottom: 2px;
}

div.bk-image-layout-ui-controls img {
  border: 2px solid #ebebeb;
  margin: 5px;
}

div.bk-image-layout-ui-controls img:hover {
  border: 2px solid #FF6600;
  cursor: pointer;
}

div.bk-image-layout-ui-controls img.selected {
  border: 2px solid #FF6600;
}

div.bk-image-layout-ui-controls table {
  margin-left: 6px;
  margin-bottom: 4px;
}

div.bk-image-layout-ui-controls table td {
  border: 3px solid white;
  width: 64px;
  text-align: left;
}

div.bk-image-layout-ui-controls table td.color-image {
  background-color: #aeaeae;
}

div.bk-image-layout-ui-controls table td.color-caption {
  background-color: #6d6d6d;
}

#contenteditor .aloha-block-InfoBoxBlock {
  margin-top: 10px;
  margin-bottom: 10px;
}

#contenteditor .aloha-block-InfoBoxBlock .box-caption {
  background-color: #dadff3;
  color: black;
  padding: 3px;
}

#contenteditor .aloha-block-InfoBoxBlock .box-caption p {
  margin-bottom: 0px;
  padding-bottom: 0px;
  padding-left: 6px;
  padding-right: 20px;
}

.image-layout-1image_1caption_left div.image {
  float: right;
}

.image-layout-1image_1caption_right div.image {
  float: left;
}

.image-layout-2images div.image,
.image-layout-2images_1caption_bottom div.image,
.image-layout-2images_2captions_bottom div.image {
  vertical-align: top;
}

.image-layout-2images div.image:first-child,
.image-layout-2images_1caption_bottom div.image:first-child,
.image-layout-2images_2captions_bottom div.wrap:first-child {
  margin-right: 6px !important;
}

.image-layout-2images_2captions_bottom div.wrap {
  vertical-align: top;
  display: inline-block;
}

.image-layout-1image_1caption_left div.caption_small {
  margin-top: 0 !important;
  padding-right: 0.8em;
}

.image-layout-1image_1caption_right div.caption_small {
  margin-top: 0 !important;
  padding-left: 0.8em;
}

#contenteditor .aloha-block-InfoBoxBlock .box-caption .aloha-editable {
  padding: 0px 2px 2px 2px;
}

#contenteditor .aloha-block-InfoBoxBlock .aloha-editable {
  padding: 10px;
}

#contenteditor .aloha-block-InfoBoxBlock .box-caption .bk-remove {
  position: absolute;
  right: 8px;
  text-decoration: none;
  color: #000;
  top: 5px;
  display: none;
}

#contenteditor .aloha-block-InfoBoxBlock.aloha-block-active .box-caption .bk-remove {
  display: block;
}

/* bk blockquote styles */

#contenteditor .aloha-block-BlockquoteBlock .bk-quote-info {
  background-color: #dadff3;
  color: black;
  padding: 3px;
  display: none;
}

#contenteditor .aloha-block-BlockquoteBlock .bk-quote-info a.bk-action {
  float: right;
  color: black;
  text-decoration: none;
  padding-right: 5px;
}

#contenteditor .aloha-block-BlockquoteBlock .bk-quote-info a.bk-help {
  color: black;
  text-decoration: none;
  padding-right: 5px;
}

#contenteditor .aloha-block-BlockquoteBlock .bk-quote-info .bk-title {
  color: black;
  font-weight: bold;
  text-transform: uppercase;
}

#contenteditor .aloha-block-BlockquoteBlock.aloha-block-active .bk-quote-info {
  display: block;
}

.wizard-section-settings .content {
  min-height: 350px;
}

.wizard-section-settings .section-settings-table {
  overflow-y: auto;
  height: 280px;
}

.wizard-section-settings .section-settings-table table {
  margin-bottom: 0px;
}

.wizard-section-settings .section-settings-table table td {
  vertical-align: middle !important;
}

.wizard-section-settings label.radio-inline {
  width: 75px !important;
}

.wizard-section-settings label.radio-inline input {
  position: inherit;
  margin-left: 2px;
}

.wizard-section-settings label.toc-inline {
  width: 125px !important;
  margin-left: 20px;
}

.wizard-section-settings select.toc.form-control {
  width: 240px;
  margin-bottom: 3px;
  margin-top: 3px;
}

.wizard-section-settings label.output_name {
  width: 100px !important;
  text-align: right;
  padding-right: 5px;
  margin-right: 30px;
}

.wizard-section-settings .extra label.output_name {
  width: 130px !important;
}

.wizard-section-settings .extra .row {
  margin-bottom: 10px;
}

.wizard-section-settings .extra [name="mark_section_as"] {
  margin-right: 2px;
}

.wizard-section-settings .extra [name="custom_mark"] {
  max-width: 150px !important;
}

#contentrevision ins {
  background-color: #e5ffcd;
}

#contentrevision del {
  text-decoration: line-through;
  color: #555;
  background-color: rgba(206, 12, 12, 0.28);
}

.tabpane .history-tab .scrollable {
  top: 100px;
}

.tabpane .history-tab h3 {
  border-bottom: none !important;
}

/* we need to create and separate utitly classes */
.pb10 {
  padding-bottom: 10px;
}

.borderBottom {
  border-bottom: 1px solid #ddd;
}

span.nbsp {
  background-color: #d3e9fb;
}
