/* Адаптация Kartik Summernote под имеющиеся стили */

.note-editor.note-frame {
    background-color: #fff !important;
    margin-top: -0.5rem !important;
    margin-left: -0.75rem !important;
    margin-right: -0.75rem !important;
    border: 1px solid #ddd !important;
    border-radius: 0.375rem;
}

.note-editor.note-frame .note-editing-area .note-editable {
    background-color: #fff !important;
    color: #000;
}

.note-editor.note-frame .note-statusbar,
.note-editor.note-airframe .note-statusbar {
    background-color: #8080801d !important;
}

.note-editor .note-toolbar {
    background-color: rgba(0, 0, 0, .03) !important;
    border-bottom: 1px solid #ddd !important;
}

.note-btn-group.note-view {
    float: none !important;
}

.note-icon-caret::before {
    display: none !important;
}

.note-editor .dropdown-toggle::after {
    margin-left: 0 !important;
}

.btn-codeview {
    display: none !important;
}

.note-insert>button:not(:first-of-type) {
    display: none !important;
}

.note-insert>button:is(:first-of-type) {
    border-radius: 0.375rem !important;
}

.note-insert>div {
    display: none;
}

.kv-editor-container {
    height: auto !important;
    border: 0 !important;
    padding-bottom: 0 !important;
}