#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);
  max-width: 420px;
  width: 100%;
}
[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 div {
  text-align: left;
}

[data-type=page-buttons].redactor-buttons-edit.single {
  position: sticky;
  bottom: 5px;
  width: 43.5px;
  left: 50%;
  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 .wcm-form {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  padding: 25px;
  color: #fff;
  background: #444;
  transform: translate3d(-50%, -50%, 0);
}
.widget-cover-media .btn-remove-cover {
  position: absolute;
  top: 1px;
  right: 1px;
  padding: 0;
  color: #fff;
}

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

.widget-cover-media-inner {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  overflow: hidden;
  text-align: center;
}

.widget-cover-media-inner img {
  width: 100%;
  max-width: 850px;
  height: 100%;
  max-height: 588px;
}

#page_blogs-blog-post {
  margin-bottom: 110px;
}

@media all and (max-width: 450px) {
  #page_blogs-blog-post {
    margin-bottom: 162px;
  }
  [data-type=page-buttons].redactor-buttons-edit {
    width: 90%;
    text-align: center;
  }
}
@media (pointer: coarse) {
  [data-type=page-buttons].redactor-buttons-edit {
    bottom: 0;
  }
}
@media (pointer: coarse) and (max-width: 500px) {
  [data-type=page-buttons].redactor-buttons-edit {
    bottom: -25px;
  }
}
@media (pointer: coarse) and (max-width: 400px) {
  [data-type=page-buttons].redactor-buttons-edit {
    bottom: -45px;
  }
}
@media (pointer: coarse) and (max-width: 385px) {
  [data-type=page-buttons].redactor-buttons-edit {
    bottom: -100px;
  }
}
@media (pointer: coarse) and (max-width: 335px) {
  [data-type=page-buttons].redactor-buttons-edit {
    bottom: -140px;
  }
}
