.mce-panel {
    border: 1px solid #3b4863 !important;
    background-color: #25293a !important;
    color: #d1d1e2 !important
}

.mce-label {
    text-shadow: none !important;
    color: #8997bd !important
}

.mce-tinymce {
    box-shadow: none !important
}

.mce-btn {
    background: transparent !important
}

.mce-flow-layout,
.mce-top-part::before {
    box-shadow: none !important;
    background-color: #3b4863 !important
}

.mce-caret {
    border-top: 4px solid #d1d1e2 !important;
    opacity: .7 !important
}

.mce-menubar .mce-caret {
    border-top-color: #d1d1e2 !important;
    opacity: .7 !important
}

.mce-menubar .mce-menubtn button span,
.mce-btn .mce-txt,
.mce-ico {
    color: #d1d1e2 !important
}

.mce-btn.mce-disabled button,
.mce-btn.mce-disabled:hover button {
    opacity: .7 !important
}

.mce-menu-item.mce-disabled,
.mce-menu-item.mce-disabled:hover,
.mce-menu-item:hover,
.mce-menu-item:focus {
    background: #2a2e40 !important
}




.tox-tinymce {
    border: 1px solid #1f2026 !important;
}

.tox {
    color: #edf0f5 !important
}

.tox .tox-menubar {
    background-color: #25293a !important
}

.tox .tox-mbtn {
    color: #edf0f5 !important
}

.tox .tox-mbtn:hover {
    background-color: #1a1d21 !important
}

.tox .tox-toolbar,
.tox .tox-toolbar__overflow,
.tox .tox-toolbar__primary {
    background-color: #1a1d21 !important;
    background: url(data:image/svg+xml;charset=utf8,%3Csvg height='39px' viewBox='0 0 40 39px' width='40' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0' y='38px' width='100' height='1' fill='#000'/%3E%3C/svg%3E) left 0 top 0 #1f2026 !important;
}

.tox .tox-tbtn svg,
.tox .tox-tbtn--disabled svg,
.tox .tox-tbtn--disabled:hover svg,
.tox .tox-tbtn:disabled svg,
.tox .tox-tbtn:disabled:hover svg {
    fill: #d1d1e2 !important
}

.tox .tox-menu {
    background-color: #212529 !important;
    border: 1px solid #212529 !important;
    border-radius: 3px;
    box-shadow: 0 4px 8px 0rgba(34, 47, 62, .1);
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    z-index: 1150
}

.tox .tox-collection--list .tox-collection__item--enabled {
    background-color: #7084c7 !important;
    color: #222f3e
}

.tox .tox-collection--toolbar .tox-collection__item--active {
    background-color: #7084c7 !important;
}
.tox .tox-collection__item {
    align-items: center;
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.tox .tox-collection--list .tox-collection__item--active {
    background-color: #7084c7 !important;
}
.tox .tox-tbtn svg:hover,
.tox .tox-tbtn--disabled svg:hover,
.tox .tox-tbtn--disabled:hover svg:hover,
.tox .tox-tbtn:disabled svg:hover,
.tox .tox-tbtn:disabled:hover svg:hover {
    background-color: #1a1d21 !important
}

.tox .tox-tbtn--enabled,
.tox .tox-tbtn {
    color: #d1d1e2 !important
}

.tox .tox-tbtn--enabled:hover,
.tox .tox-tbtn:hover {
    color: #d1d1e2 !important;
    background: #1a1d21 !important
}

.tox .tox-split-button:hover {
    box-shadow: none !important
}

.tox .tox-tbtn--enabled,
.tox .tox-split-button:focus {
    color: #d1d1e2 !important;
    background: #1a1d21 !important
}

.tox .tox-edit-area__iframe {
    background: #1a1d21 !important;
    border-top: 1px solid #1f2026 !important;
}

.tox .tox-statusbar {
    color: #8c97b7 !important;
    background: #1a1d21 !important;
    border-top: 1px solid #2d3552 !important
}

.tox .tox-menubar+.tox-toolbar,
.tox .tox-menubar+.tox-toolbar-overlord .tox-toolbar__primary {
    border-top: 1px solid #2d3552 !important
}

.tox .tox-statusbar a,
.tox .tox-statusbar__path-item,
.tox .tox-statusbar__wordcount {
    color: #8997bd !important
}

.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) {
    border-right: 1px solid #2d3552 !important
}