#redactor-modal-image-preview {
  width: 40%;
}
#redactor-modal-image-preview .desc {
  display: none;
}
#redactor-modal-image-preview + .redactor-modal-area {
  width: 56%;
}

#redactor-image-resizer {
  z-index: 2;
}

[data-type=page-buttons].redactor-buttons-edit {
  position: fixed;
  bottom: 0;
  left: 50%;
  padding: 20px 20px 10px;
  color: #eee;
  background: #333;
  z-index: 10;
  transform: translate3d(-50%, 0, 0);
}
[data-type=page-buttons].redactor-buttons-edit .custom-control-input:checked ~ .custom-control-label::before {
  background: #ec2559;
  border-color: #ec2559;
}
[data-type=page-buttons].redactor-buttons-edit .btn {
  margin-bottom: 5px;
}

[data-type=page-buttons].redactor-buttons-edit.single {
  bottom: 5px;
  padding: 0px;
  border-radius: 5px;
}
[data-type=page-buttons].redactor-buttons-edit.single .btn-link {
  padding: 6px 7px;
  color: #eee;
  line-height: 1px;
}
[data-type=page-buttons].redactor-buttons-edit.single .btn-link:hover {
  opacity: 0.8;
}

.redactor-custom-widget {
  position: absolute;
  top: 0;
  left: -36px;
  display: none;
  z-index: 10;
}
.redactor-custom-widget .dropdown-menu {
  left: calc(100% + 10px) !important;
  margin: 0;
  padding: 5px;
  background: #333;
  transform: none !important;
}
.redactor-custom-widget .dropdown-menu .dropdown-item {
  color: #fff;
  display: inline-block;
  width: auto;
  padding: 5px;
}
.redactor-custom-widget .dropdown-menu .dropdown-item:hover {
  background: #000;
  color: #fff;
}
.redactor-custom-widget .dropdown-toggle {
  display: flex;
  justify-content: center;
  align-content: center;
  padding: 0;
  width: 26px;
  height: 26px;
  text-align: center;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 50%;
  outline: none;
  box-shadow: none;
}
.redactor-custom-widget .dropdown-toggle [data-icon] {
  font-size: 24px;
}
.redactor-custom-widget .dropdown-toggle:after {
  position: absolute;
  top: 4px;
  left: 80%;
  font-size: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 16.7px;
  border-color: transparent transparent transparent #000;
}
.redactor-custom-widget .dropdown-toggle:focus {
  background: #000;
  border: none;
  outline: none;
  box-shadow: none;
}

.redactor-box-fullscreen {
  background: #fff;
}

/* edit is error */
.redactor-box [data-edit-type].is-invalid {
  outline: 1px solid #dc3545;
}
.redactor-box [data-edit-type].is-invalid + .invalid-feedback,
.redactor-box [data-edit-type].is-invalid .invalid-feedback {
  display: block;
}

.rbe-date .datetimepicker {
  width: 170px;
  color: #fff;
  font-weight: 700;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}
.rbe-date .datetimepicker:focus {
  outline: none;
}
.rbe-date .datetimepicker::-moz-placeholder {
  color: #fff;
  font-weight: 700;
}
.rbe-date .datetimepicker::placeholder {
  color: #fff;
  font-weight: 700;
}

/* widget cover media */
.widget-cover-media .custom-file-input-primary {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(2.25rem + 2px);
  margin: 0;
  opacity: 0;
}

.widget-cover-media .custom-file-input-primary + .custom-file-label {
  background: #f8f8f8;
  white-space: nowrap;
  overflow: hidden;
}
.widget-cover-media .custom-file-input-primary + .custom-file-label:empty:before {
  content: attr(data-placeholder);
  display: inline;
}
.widget-cover-media .custom-file-input-primary + .custom-file-label:after {
  content: attr(data-placeholder-button);
}

.widget-cover-media-divider {
  white-space: nowrap;
}

.widget-cover-media-inner {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  overflow: hidden;
}
.widget-cover-media-inner .wcm-image {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; */
}
