/* General Custom Block CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom {
  border: 1px solid #d3d3d3;
  padding: 1.5rem;
}

.block-editor-block-list__block .editor-block-custom .editor-block-explanation {
  color: #999;
}

.block-editor-block-list__block .editor-block-custom .editor-block-title {
  margin: 0 0 1.5rem;
  padding: 1.5rem 0;
  background-color: #d3d3d3;
  color: #5D5D5D;
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
}

.block-editor-block-list__block .editor-block-custom .editor-block-title:before {
  display: none;
}

.block-editor-block-list__block .editor-block-custom .title-dash {
  font-size: 2rem;
}

.block-editor-block-list__block .editor-block-custom h3 {
  font-size: 1.5rem;
}

.block-editor-block-list__block .editor-block-custom .title-dash:before {
  margin: 0;
}

.block-editor-block-list__block .editor-block-custom label {
  display: block;
  font-weight: bold;
  cursor: default;
}

.block-editor-block-list__block .editor-block-custom .editor-rich-text {
  margin-bottom: 20px;
}

.block-editor-block-list__block .editor-block-custom ol ul {
  padding-left: 2rem;
}

/* Custom InnerBlocks CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-recipe-column .editor-block-title,
.block-editor-block-list__block .editor-block-custom-image-text .editor-block-custom-image-text-item .editor-block-title {
  display: inline-block;
  padding: 0;
  background: none;
  border-bottom: 2px solid #5D5D5D;
  line-height: 1.3;
  text-align: left;
}

/* Custom List Block CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom-list.hide-list-item-titles .list-item-title,
.block-editor-block-list__block .editor-block-custom-list.hide-list-item-titles .list-item-title-label {
  display: none;
}

/* Custom List Item Block CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom-list-item .list-item-body p:last-child {
  margin: 0;
}

/* Custom Recipe Block CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list .title-dash,
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list .list-introduction,
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list .list-title-label,
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list .list-introduction-label {
  display: none;
}

.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list-item .list-item-title,
.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list-item .list-item-title-label {
  display: none;
}

.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list .editor-rich-text {
  margin: 0;
}

.block-editor-block-list__block .editor-block-custom-recipe .editor-block-custom-list-item p {
  margin: 0;
}

/* Custom Image Text Item Block CMS styles */
/* ---------------- */
.block-editor-block-list__block .editor-block-custom-image-text-item img {
  display: block;
  cursor: pointer;
}

@media only screen and (min-width: 64rem) {
  .block-editor-block-list__block .editor-block-custom-image-text-item img {
    width: 25%;
  }
}

/* Custom Relevant posts CMS styles */
/* ---------------- */
.block-editor-block-list__block .search-title-container {
  display: flex;
  align-items: center;
}

.block-editor-block-list__block .search-title-container label {
  margin-right: 10px;
}

.block-editor-block-list__block .search-title-container .posts-loader {
  display: none;
  width: 32px;
  height: 32px;
}

.block-editor-block-list__block .searched-posts-container,
.block-editor-block-list__block .authors-container {
  list-style-type: none;
  overflow: auto;
  width: 75%;
  margin: 0 auto;
}


.block-editor-block-list__block .authors-container {
  width: 25%;
  margin: 0;
}

.block-editor-block-list__block .searched-posts-container li,
.block-editor-block-list__block .authors-container li {
  text-align: center;
  border: 1px solid #333;
  padding: 10px;
  margin-bottom: 10px;
}

.block-editor-block-list__block .searched-posts-container img,
.block-editor-block-list__block .authors-container img {
  width: 100px;
}

.block-editor-block-list__block .searched-posts-container label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.block-editor-block-list__block .searched-posts-container .ui-sortable-placeholder,
.block-editor-block-list__block .authors-container .ui-sortable-placeholder {
  border: 3px dashed #aaa;
  background: #ccc;
  height: 56px;
}

.block-editor-block-list__block .authors-container .ui-sortable-placeholder {
  height: 150px;
}

.components-toggle-control .components-base-control__field {
    align-items: center;
}
