/*
	Backend CSS for Block Editor

    Created on : 15.10.2018, 15:32:20
    Author     : günter
*/

body.block-editor-page.avia-advanced-editor-enabled.avia-wp54-fix .block-editor-editor-skeleton__content,
body.block-editor-page.avia-advanced-editor-enabled.avia-wp55-fix .interface-interface-skeleton__content {
    position: relative;
}

body.block-editor-page .edit-post-meta-boxes-area #avia_alb_actions {
    display: none;
}

body.block-editor-page .edit-post-header__settings .avia-builder-button {
    margin: 0 3px 0 10px;
    padding: 0 12px 2px;
    font-size: 13px;
    height: 33px;
    line-height: 32px;
}

body.block-editor-page #avia_alb_actions h2:hover {
    cursor: pointer;
}

body.block-editor-page #avia_builder #postdivrich_wrap_builder_meta {
    display: none;
}

/*body.block-editor-page.avia-advanced-editor-enabled .edit-post-layout__content .components-notice-list,*/
body.block-editor-page.avia-advanced-editor-enabled .edit-post-visual-editor {
    display: none;
}


body.block-editor-page.avia-advanced-editor-enabled .edit-post-header .edit-post-header-toolbar {
    visibility: hidden;
}

body.block-editor-page.avia-advanced-editor-enabled .components-popover {
    /*visibility: hidden;		removed with 4.5.7.1, publish and visibility not shown	*/
}

body.block-editor-page.avia-advanced-editor-enabled .components-popover.nux-dot-tip {
    display: none;
}

body.block-editor-page #normal-sortables .postbox:last-child {
    margin-bottom: 0;
}

body.block-editor-page.avia-advanced-editor-enabled #normal-sortables .postbox#avia_builder:first-child {
    margin-top: 0;
    width: 100%;
    padding-bottom: 24px;
}

body.block-editor-page.avia-advanced-editor-enabled #avia_builder #post-body-content {
    width: 100%;
}

body.block-editor-page.avia-advanced-editor-enabled #avia_builder .avia-builder-main-wrap {
    padding: 55px 0 0 0;
    width: 100%;
}

body.block-editor-page.avia-advanced-editor-enabled .avia-expand-button {
    display: none; /*lets hide this thing for now. the fullscreen mode of the block editor also somehow works for us. if a lot of users complain we can add the old fullscreen button again with a little effort*/
}

body.block-editor-page.avia-advanced-editor-enabled .avia-template-save-button-container {
    bottom: 6px;
    left: 14px;
}

body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expanded .avia-fixed-controls {
    /*padding-top: 10px;*/
}

/*	beta feature: display button with theme support "avia_block_editor_fullscreen_mode" - seems to work	*/
body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expand-button {
    /*	display: block;
        right: 19px;
        bottom: 8px;*/
}

body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expanded .avia-builder-main-wrap > .shortcode_button_wrap.avia-tab-container,
body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expanded .avia-sort-list-container,
body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expanded .avia-expand-button {
    /*display: none;*/
}

body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-expanded .avia-expanded-buttons .avia-expand-button {
    /*display: block;*/
}

body.block-editor-page.avia-advanced-editor-enabled.avia-block-editor-expand .avia-template-save-button-container {
    /*right: 37px;*/
}

body.block-editor-page #avia_builder #post-body-content {
    height: 40px;
}

body.block-editor-page #avia_builder .avia_inner_shortcode textarea {
    display: none;
}

body.block-editor-page .edit-post-meta-boxes-area #avia_alb_actions .av-metabox-no-editing,
body.block-editor-page.avia-advanced-editor-enabled .edit-post-meta-boxes-area #avia_alb_actions .av-metabox-no-editing {
    display: none;
}

/*
 *	Hide gutenberg elements when editing the pretty permalink
 */
body.block-editor-page.avia-edit-permalink .edit-post-layout .editor-block-list__layout,
body.block-editor-page.avia-edit-permalink .edit-post-layout .editor-writing-flow__click-redirect {
    display: none;
}

body.block-editor-page.avia-edit-permalink .edit-post-header .edit-post-header-toolbar {
    visibility: hidden;
}


/*improve visual appearance in backend. added 4.5.1 by kriesi*/

body.block-editor-page.avia-advanced-editor-enabled #poststuff #avia_builder .hndle {
    box-sizing: content-box;
}

body.block-editor-page.avia-advanced-editor-enabled #poststuff #avia_builder .hndle span {
    font-size: 20px;
    font-weight: normal;
}

body.block-editor-page.avia-advanced-editor-enabled .edit-post-layout__content .edit-post-visual-editor + .edit-post-layout__metaboxes {
    border-top: none;
    margin-top: -10px;
}

body.block-editor-page.avia-advanced-editor-enabled #poststuff #avia_builder.postbox .handlediv {
    height: 55px;
}

body.block-editor-page.avia-advanced-editor-enabled .avia_meta_box.avia_meta_box_visual_editor {
    margin: 32px 0px;
}

body.block-editor-page.avia-advanced-editor-enabled .avia_meta_box #titlediv #title-prompt-text {
    padding: 4px 10px;
}


body.block-editor-page.avia-advanced-editor-enabled .avia_layout_builder,
body.block-editor-page.avia-advanced-editor-enabled .avia-controll-bar {
    box-sizing: border-box;
    right: 0;
}

body.block-editor-page.avia-advanced-editor-enabled .avia-controll-bar {
    height: 32px;
    line-height: 32px;
}

body.block-editor-page.avia-advanced-editor-enabled div#titlewrap + .inside {
    padding: 3px 0;
    border: none;
    margin: 0;
}

body.block-editor-page.avia-advanced-editor-enabled div#titlewrap input {
    border-color: #dadada;
}

body.block-editor-page.avia-advanced-editor-enabled div#titlewrap + .inside #edit-slug-box {
    display: none;
}

body.block-editor-page.avia-advanced-editor-enabled .avia-hotkey-info {
    top: 68px;
}

body.block-editor-page.avia-advanced-editor-enabled #avia-sort-list-dropdown {
    top: 61px;
}

body.block-editor-page.avia-advanced-editor-enabled .edit-post-sidebar__panel-tab[data-label="Block"] {
    display: none;
}

body.block-editor-page.avia-advanced-editor-enabled .avia_sorthandle {
    box-sizing: content-box;
}

body.block-editor-page.avia-advanced-editor-enabled #avia_builder > .inside {
    border: none;
}

body.block-editor-page.avia-advanced-editor-enabled .edit-post-layout .interface-interface-skeleton__content {
    background: #e6e6e6;
}

body.block-editor-page.avia-advanced-editor-enabled .interface-interface-skeleton__content #avia_builder .postbox-header .handle-actions {
    display: none;
}

body.block-editor-page.avia-advanced-editor-enabled #avia_builder .postbox-header {
    border-bottom: 1px solid #e2e2e2;
}

body.block-editor-page.avia-advanced-editor-enabled #avia_builder > .inside {
    display: block;
}
