.wp-block[data-type="fl-builder/layout"] .components-placeholder__fieldset,
.wp-block[data-type="fl-builder/layout"] .components-placeholder__instructions,
.wp-block[data-type="fl-builder/layout"] .components-placeholder.components-placeholder {
  text-align: center;
  justify-content: center;
  align-items: center;
}

/**
 * We don't want this stuff for our block, ever.
 */
body.fl-builder-layout-enabled .block-editor-block-list__insertion-point-indicator,
body.fl-builder-layout-enabled .block-editor-block-list__insertion-point-inserter,
body.fl-builder-layout-enabled .block-editor-rich-text__editable,
body.fl-builder-layout-enabled .block-editor-default-block-appender,
body.fl-builder-layout-enabled .block-editor-block-contextual-toolbar {
  display: none !important;
}

/**
 * Lock down the block editor when the layout block is active.
 */
.fl-builder-layout-enabled .editor-block-toolbar,
.fl-builder-layout-enabled .editor-inserter,
.fl-builder-layout-enabled .editor-visual-editor__inserter,
.fl-builder-layout-enabled .editor-default-block-appender,
.fl-builder-layout-enabled .editor-block-list__insertion-point,
.fl-builder-layout-enabled .editor-block-settings-menu,
.fl-builder-layout-enabled .editor-block-mover,
.fl-builder-layout-enabled .editor-block-list__breadcrumb,
.fl-builder-layout-enabled .editor-block-list__block:not([data-type="fl-builder/layout"]) {
  display: none !important;
}
.fl-builder-layout-enabled .editor-block-list__block-edit:before {
  outline: none !important;
}

/**
 * Launch View
 */
.fl-builder-layout-launch-view .components-button {
  margin: 0 5px;
}
.fl-builder-layout-launch-view .components-placeholder__fieldset {
  max-width: none;
}

/**
 * Loading View
 */
.fl-builder-layout-loading-view .spinner {
  float: left;
}
/**
 * This should be removed when the API supports proper click
 * events on more menu items.
 */
.fl-builder-plugin-sidebar-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

