#wp-content-editor-container {
    border: 1px solid #c3c4c7 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}
.tox-tinymce {
    border: none !important;
    border-radius: 0 !important;
}
.tox-fullscreen,
.tox-tinymce-aux {
    z-index: 150000 !important;
}
.tox-collection__item-label > * {
    line-height: normal !important;
}
.quicktags-toolbar,
#post-status-info {
    display: none;
}
.acf-input > .tox-tinymce {
    border: #ccd0d4 solid 1px !important;
}

#postdivrich {
    padding-top: 20px;
}

.tox-edit-area {
    &:before {
        border-radius: 0 !important;
    }
}

.tox-dialog__body {
    &.td-link {
        .tox-bar {
            align-items: flex-end;
        }
        .tox-checkbox {
            margin-bottom: 4px;
        }
        .tox-button--icon {
            cursor: pointer;
            height: 40px;
            margin: 0;
            width: 40px;
        }
    }
}

.tox-fullscreen {
    &.tox-tinymce--toolbar-sticky-on {
        .tox-editor-container {
            padding-top: 78px !important;
        }
    }
}

// Hide Visual/Code tabs on JetEngine WYSIWYG fields
.cx-control-wysiwyg .wp-editor-tabs {
    display: none;
}

// JetEngine textarea inline editor border
.cx-control-textarea .erte-inline-editor {
    border: 1px solid #c3c4c7;
    border-radius: 4px;
    padding: 8px 12px;
    min-height: 100px;
}

.acf-field-textarea {
    padding-bottom: 0 !important;

    .acf-label, .acf-input {
        float: none !important;
        clear: both;
        width: 100% !important;
    }

    .acf-input {
        margin-top: 20px !important;
        padding: 0 !important;
        > .tox-tinymce {
            border-left: none !important;
            border-right: none !important;
            border-bottom: none !important;
            border-top: #EEEEEE solid 1px !important;
        }
    }

    &:before {
        width: 100% !important;
    }
}
