.editorjs {
    width: 100% !important;
    max-width: none !important;
    min-height: 384px !important;
    margin: 0 auto !important;
    color: #333 !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
    font-family: "IstokRegular";
}

.codex-editor ::-moz-selection {
    background-color: #d6e0ef !important;
}

.codex-editor ::selection {
    background-color: #d6e0ef !important;
}

.ce-block--selected .ce-block__content {
    background-color: #d6e0ef !important;
}

.codex-editor__redactor {
    padding-top: 12px !important;
    padding-bottom: 325px !important;
}

.ce-block__content {
    max-width: calc(100% - 132px) !important;
}

.cdx-block {
    padding: 12px 0 !important;
}

.ce-paragraph {
    line-height: inherit !important;
}

.codex-editor [data-placeholder-active]:empty:before,
.codex-editor [data-placeholder-active][data-empty="true"]:before,
.codex-editor [data-placeholder]:empty:before,
.codex-editor [data-placeholder][data-empty="true"]:before {
    color: #8b8b8b !important;
}

.ce-header {
    padding: 12px 0 !important;
    color: #000 !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}

h2.ce-header {
    font-size: 24px !important;
}

.image-tool {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    padding: 20px 0 !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
}

.image-tool__image {
    margin-bottom: 0 !important;
    border-radius: 4px !important;
}

.image-tool--withBorder .image-tool__image {
    border: 1px solid rgba(0, 66, 105, 0.28) !important;
}

.image-tool--withBackground .image-tool__image-picture {
    max-width: 100% !important;
}

.image-tool--withBackground .image-tool__image {
    padding: 20px !important;
    background: #377ce3 !important;
}

.image-tool__image-preloader {
    position: absolute !important;
    top: 39.5px !important;
    left: 50% !important;
    width: 72px !important;
    height: 72px !important;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
    border-radius: 0 !important;
    background-color: #fff !important;
    pointer-events: none !important;
}

.image-tool__image-preloader::before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MiIgaGVpZ2h0PSI3MyIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDcyIDczIj4KICA8cGF0aCBmaWxsPSIjMDAyMDMzIiBmaWxsLW9wYWNpdHk9Ii4zIiBkPSJNNjggNjEuMzg5VjExLjYxQzY4IDcuNyA2NC44IDQuNSA2MC44ODkgNC41SDExLjExQzcuMiA0LjUgNCA3LjcgNCAxMS42MTFWNjEuMzlDNCA2NS4zIDcuMiA2OC41IDExLjExMSA2OC41SDYwLjg5QzY0LjggNjguNSA2OCA2NS4zIDY4IDYxLjM4OVpNMjMuNTU2IDQxLjgzM2w4Ljg4OCAxMC43MDNMNDQuODkgMzYuNWwxNiAyMS4zMzNIMTEuMTFsMTIuNDQ1LTE2WiIvPgo8L3N2Zz4K) !important;
    background-position: 50% 50% !important;
    background-size: 72px 72px !important;
    background-repeat: no-repeat !important;
    content: "" !important;
}

.image-tool__image-preloader[style] {
    border-radius: 50% !important;
}

.image-tool__image-preloader[style]::before {
    display: none !important;
}

.image-tool__image-preloader:after {
    display: none !important;
    width: 72px !important;
    height: 72px !important;
    margin-top: -36px !important;
    margin-left: -36px !important;
    border: 2px solid #fff !important;
    border-top-color: #377ce3 !important;
}

.image-tool__image-preloader[style]:after {
    display: block !important;
}

.image-tool .cdx-button,
.image-tool__caption {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.image-tool .cdx-button {
    order: -1 !important;
    padding: 99.5px 19.5px 19.5px !important;
    border: 2px dashed rgba(0, 66, 105, 0.28) !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: #5e646b !important;
    line-height: 1.4 !important;
    -webkit-box-ordinal-group: 0 !important;
    -ms-flex-order: -1 !important;
}

.image-tool__caption {
    margin-top: 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #8b8b8b !important;
    font-style: italic !important;
}

.image-gallery,
.image-gallery__container {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-direction: column !important;
    flex-direction: column !important;
    padding: 20px 0 !important;
    -webkit-box-orient: vertical !important;
    -webkit-box-direction: normal !important;
}

.image-gallery__container {
    margin-bottom: 0 !important;
    padding: 0 !important;
    border: 2px dashed rgba(0, 66, 105, 0.28) !important;
    border-radius: 4px !important;
    background-color: #fff !important;
}

.image-gallery__items {
    padding: 19.5px !important;
    gap: 12px !important;
    background-color: #fff !important;
}

.image-gallery__image {
    aspect-ratio: unset !important;
    padding: 0 !important;
    border-radius: 4px !important;
    background-color: transparent !important;
}

.image-gallery__image::after {
    display: block !important;
    width: 100% !important;
    padding-bottom: 56.256% !important;
    content: "" !important;
}

.image-gallery__image-picture,
.image-gallery__preloaders::before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.image-gallery__image-picture {
    border-radius: 4px !important;
}

.image-gallery__image-trash {
    top: 8px !important;
    right: 8px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: #333 !important;
    font-size: inherit !important;
}

.image-gallery__image-trash svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 20px !important;
    height: 20px !important;
    -webkit-transform: translate(-50%, -50%) !important;
    -ms-transform: translate(-50%, -50%) !important;
    transform: translate(-50%, -50%) !important;
}

.image-gallery__image-trash svg [stroke-width] {
    stroke-width: 1.5 !important;
}

.image-gallery__controls {
    position: relative !important;
    order: -1 !important;
    padding: 0 !important;
    gap: 0 !important;
    -webkit-box-ordinal-group: 0 !important;
    -ms-flex-order: -1 !important;
}

.image-gallery__preloaders {
    display: block !important;
    position: absolute;
    top: 19.5px !important;
    left: 50% !important;
    width: 72px !important;
    height: 72px !important;
    padding: 0 !important;
    overflow: visible !important;
    gap: 0 !important;
    -webkit-transform: translateX(-50%) !important;
    -ms-transform: translateX(-50%) !important;
    transform: translateX(-50%) !important;
    pointer-events: none !important;
}

.image-gallery__preloaders::before {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MiIgaGVpZ2h0PSI3MyIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDcyIDczIj4KICA8cGF0aCBmaWxsPSIjMDAyMDMzIiBmaWxsLW9wYWNpdHk9Ii4zIiBkPSJNNjggNjEuMzg5VjExLjYxQzY4IDcuNyA2NC44IDQuNSA2MC44ODkgNC41SDExLjExQzcuMiA0LjUgNCA3LjcgNCAxMS42MTFWNjEuMzlDNCA2NS4zIDcuMiA2OC41IDExLjExMSA2OC41SDYwLjg5QzY0LjggNjguNSA2OCA2NS4zIDY4IDYxLjM4OVpNMjMuNTU2IDQxLjgzM2w4Ljg4OCAxMC43MDNMNDQuODkgMzYuNWwxNiAyMS4zMzNIMTEuMTFsMTIuNDQ1LTE2WiIvPgo8L3N2Zz4K) !important;
    background-position: 50% 50% !important;
    background-size: 72px 72px !important;
    background-repeat: no-repeat !important;
    content: "" !important;
}

.image-gallery__preloaders:not(:empty)::before {
    display: none !important;
}

.image-gallery__preloader {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    background-color: #fff !important;
}

.image-gallery__preloader:last-child {
    display: block !important;
}

.image-gallery__preloader[style] {
    border-radius: 50% !important;
}

.image-gallery__preloader:after {
    display: none !important;
    width: 72px !important;
    height: 72px !important;
    margin-top: -36px !important;
    margin-left: -36px !important;
    border: 2px solid #fff !important;
    border-top-color: #377ce3 !important;
}

.image-gallery__preloader[style]:after {
    display: block !important;
}

.image-gallery .cdx-button,
.image-gallery__caption {
    border: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-size: 14px !important;
}

.image-gallery .cdx-button {
    width: 100% !important;
    height: auto !important;
    padding: 99.5px 19.5px 19.5px !important;
    gap: 0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #5e646b !important;
    line-height: 1.4 !important;
}

.image-gallery__caption {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #8b8b8b !important;
    font-style: italic !important;
}

.cdx-list--ordered,
.cdx-list--unordered {
    list-style: none !important;
}

.cdx-list--ordered {
    counter-reset: num !important;
}

.cdx-list__item {
    position: relative;
    min-height: 35px !important;
    padding: 6px 6px 6px 28px !important;
    line-height: inherit !important;
}

.cdx-list--unordered .cdx-list__item::before {
    position: absolute !important;
    top: 14px !important;
    left: 0 !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #377ce3 !important;
    content: "";
}

.cdx-list--ordered .cdx-list__item::before {
    position: absolute !important;
    top: 6px !important;
    left: 0 !important;
    width: 28px !important;
    content: counter(num) "." !important;
    counter-increment: num !important;
}

.cdx-quote__caption,
.cdx-quote__text {
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-style: italic !important;
}

.cdx-quote__text {
    min-height: auto !important;
    margin-bottom: 0 !important;
    padding: 0 0 0 8px !important;
    border-left: 3px solid #377ce3 !important;
}

.cdx-quote__caption {
    margin-top: 12px !important;
    padding: 0 !important;
    color: #8b8b8b !important;
    font-size: 14px !important;
}

.cdx-idea {
    position: relative !important;
    padding: 20px 0 !important;
}

.cdx-idea::after,
.cdx-idea::before {
    position: absolute;
    left: 0;
    width: 90px;
    height: 3px;
    background: #377ce3;
    content: "";
}

.cdx-idea::before {
    top: 20px;
}

.cdx-idea::after {
    bottom: 20px;
}

.cdx-idea__text {
    min-height: auto !important;
    margin-bottom: 0 !important;
    padding: 20px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    font-style: normal !important;
    font-weight: 700 !important;
    font-size: 40px !important;
    line-height: 1.5 !important;
}

.cdx-idea__caption {
    display: none !important;
}

.cdx-checklist {
    gap: 0 !important;
}

.cdx-checklist__item {
    position: relative !important;
}

.cdx-checklist__item-checkbox {
    position: absolute !important;
    top: 8px !important;
    left: 0 !important;
    width: 20px !important;
    height: 20px !important;
    margin-top: 0 !important;
    margin-right: 0 !important;
}

.cdx-checklist__item-checkbox-check {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #377ce3 !important;
    border-radius: 4px !important;
}

.cdx-checklist__item--checked .cdx-checklist__item-checkbox-check {
    border-color: #377ce3 !important;
    background: #377ce3 !important;
}

.cdx-checklist__item-checkbox-check:before {
    background-color: #377ce3 !important;
}

.cdx-checklist__item-checkbox svg {
    top: -1px !important;
    left: -1px !important;
    width: 20px !important;
    height: 20px !important;
    max-height: 20px !important;
    color: #377ce3 !important;
}

.cdx-checklist__item-text {
    width: 100% !important;
    min-height: 35px !important;
    padding: 6px 6px 6px 28px !important;
    line-height: inherit !important;
}

.ce-delimiter {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    justify-content: center !important;
    line-height: 1 !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
}

.ce-delimiter:before {
    height: 16px !important;
    font-size: 32px !important;
    line-height: 1 !important;
}

.ce-toolbar {
    margin-top: -1px !important;
}

.ce-toolbar__content {
    max-width: calc(100% - 132px) !important;
}

.ce-toolbar__actions {
    padding-right: 6px !important;
}

.ce-toolbar__plus {
    border-radius: 4px !important;
    color: #333 !important;
}

.ce-inline-tool svg,
.ce-toolbar__plus,
.ce-toolbar__plus svg,
.ce-toolbar__settings-btn,
.ce-toolbar__settings-btn svg {
    width: 24px !important;
    height: 24px !important;
}

.ce-toolbar__plus svg [stroke-width] {
    stroke-width: 1.5 !important;
}

.ce-toolbar__settings-btn {
    margin-left: 0 !important;
    border-radius: 4px !important;
    color: #333 !important;
}

.ce-toolbar__settings-btn svg [stroke-width] {
    stroke-width: 2.5 !important;
}

.ct {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.ct:after,
.ct:before {
    background: #377ce3 !important;
}

.ct:before {
    border-radius: 4px !important;
}

.ct:after {
    width: 6px !important;
    height: 6px !important;
}

.ct--bottom {
    margin-top: -2px !important;
}

.ct--bottom:after {
    top: -3px !important;
}

.ct__content {
    padding: 6px 12px !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.ce-toolbar__plus-shortcut {
    word-spacing: 0 !important;
}

.ce-hint__description,
.ce-toolbar__plus-shortcut {
    margin-top: 3px !important;
    opacity: 1 !important;
}

.ce-popover__container {
    top: calc(100% + 3px) !important;
    left: 0 !important;
    width: 200px !important;
    min-width: 200px !important;
    max-height: 366px !important;
    border-radius: 4px !important;
    background: #fff !important;
    -webkit-box-shadow: 0 14px 30px rgba(151, 151, 151, 0.15) !important;
    box-shadow: 0 14px 30px rgba(151, 151, 151, 0.15) !important;
}

.ce-popover--opened>.ce-popover__container {
    max-height: 366px !important;
    padding: 3px !important;
    border: 0 !important;
}

.ce-popover--nested .ce-popover__container {
    top: calc(var(--trigger-item-top) - 3px) !important;
    left: calc(var(--nesting-level) * 200px + 3px) !important;
}

.ce-popover--inline .ce-popover__container {
    width: -webkit-max-content !important;
    width: -moz-max-content !important;
    width: max-content !important;
    min-width: -webkit-max-content !important;
    min-width: -moz-max-content !important;
    min-width: max-content !important;
    height: 30px !important;
}

.ce-popover--inline .ce-popover--nested .ce-popover__container {
    top: 36px !important;
    left: 0 !important;
    width: 200px !important;
    min-width: 200px !important;
    height: -webkit-fit-content !important;
    height: -moz-fit-content !important;
    height: fit-content !important;
}

.ce-popover--inline>.ce-popover__container .ce-popover-item:not(:last-of-type) {
    margin-right: 3px !important;
    margin-bottom: 0 !important;
}

.ce-popover--inline>.ce-popover__container .ce-popover__items> :not(:last-child) {
    margin-right: 3px !important;
}

.ce-popover--inline>.ce-popover__container .ce-popover-item {
    padding: 0 !important;
}

.ce-popover--inline>.ce-popover__container .ce-popover-item__icon {
    margin-right: 0 !important;
}

.ce-inline-tool {
    width: 24px !important;
    border-radius: 4px !important;
    color: #333 !important;
    line-height: inherit !important;
}

.ce-inline-tool--active {
    background: #377ce3 !important;
    color: #fff !important;
}

.cdx-search-field__icon svg [stroke-width],
.ce-inline-tool svg [stroke-width],
.ce-popover-item__icon svg [stroke-width] {
    stroke-width: 1.5 !important;
}

.ce-popover__search {
    margin-bottom: 3px !important;
}

.cdx-search-field {
    padding: 3px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #fff !important;
}

.cdx-search-field__icon {
    width: 24px !important;
    height: 24px !important;
    margin-right: 6px !important;
}

.cdx-search-field__icon svg {
    width: 24px !important;
    height: 24px !important;
    color: #333 !important;
}

.cdx-search-field__input {
    min-width: calc(100% - 24px - 6px) !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.cdx-search-field__input::-webkit-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.cdx-search-field__input::-moz-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.cdx-search-field__input:-ms-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.cdx-search-field__input::-ms-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.cdx-search-field__input::placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-popover__nothing-found-message {
    padding: 3px !important;
    color: #8b8b8b !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.ce-popover-item {
    padding: 3px !important;
    border-radius: 4px !important;
    color: #333 !important;
}

.ce-popover-item:not([data-item-name]) {
    display: none !important;
}

.ce-popover-item--active {
    background: #377ce3 !important;
    color: #fff !important;
}

.ce-popover-item:not(:last-of-type) {
    margin-bottom: 3px !important;
}

.ce-popover-item__icon--tool {
    margin-right: 6px !important;
}

.ce-popover-header__back-button svg,
.ce-popover-item__icon,
.ce-popover-item__icon svg {
    width: 24px !important;
    height: 24px !important;
}

.ce-popover-item__title {
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.ce-popover-item-separator {
    display: none !important;
}

.ce-popover-item--confirmation {
    background: #e24a4a !important;
    color: #fff !important;
}

.ce-popover-header {
    margin-top: 0 !important;
    margin-bottom: 3px !important;
}

.ce-popover-header__back-button {
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    color: #333 !important;
}

.ce-popover-header__text {
    margin-left: 6px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
}

.ce-popover--inline .ce-popover__items {
    overflow-y: hidden !important;
}

.ce-inline-tool-input {
    padding: 3px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #333 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

.ce-inline-tool-input::-webkit-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-inline-tool-input::-moz-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-inline-tool-input:-ms-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-inline-tool-input::-ms-input-placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-inline-tool-input::placeholder {
    color: #8b8b8b !important;
    opacity: 1 !important;
}

.ce-block a {
    cursor: pointer !important;
}

.ce-block a,
.ce-block a:hover {
    color: #377ce3 !important;
    text-decoration: underline !important;
}

.link-tool__input {
    padding: 19.5px !important;
    padding-left: 49.5px !important;
    border: 2px dashed rgba(0, 66, 105, 0.28) !important;
    border-radius: 4px !important;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8cGF0aCBzdHJva2U9IiMzMzMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJtNy43IDEyLjYtLjAyMS4wMmEyLjc5NSAyLjc5NSAwIDEgMCAzLjg5MiA0LjAxMWwxLjQ1NS0xLjQzOGEzIDMgMCAwIDAgLjM0LTMuODY2bC0uMTQ2LS4yMDciLz4KICA8cGF0aCBzdHJva2U9IiMzMzMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIiBkPSJtMTYuMjIgMTEuMTIuMTM2LS4xNGEyLjU5NyAyLjU5NyAwIDAgMC0zLjUyOS0zLjgwM2wtMS40MzcgMS4yMWEyLjk5OCAyLjk5OCAwIDAgMC0uMyA0LjNsLjAzLjAzMyIvPgo8L3N2Zz4K") !important;
    background-position: 19.5px !important;
    background-size: 24px 24px !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.link-tool__progress {
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
}

.link-tool__input-holder--error .link-tool__input {
    background-color: #fff3f6 !important;
    color: #a95a5a !important;
}

.link-tool__content--rendered {
    border: 1px solid rgba(0, 66, 105, 0.28) !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.link-tool__content,
.ce-block .link-tool__content {
    padding: 19.5px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: currentColor !important;
    text-decoration: none !important;
    transition: background 0.3s !important;
}

.link-tool__content:hover,
.ce-block .link-tool__content:hover {
    color: currentColor !important;
    text-decoration: none !important;
}

.link-tool__description {
    margin: 0 0 12px !important;
    font-size: 14px !important;
    line-height: inherit !important;
}

.link-tool__anchor,
.link-tool .link-tool__anchor {
    color: #377ce3 !important;
    font-size: 14px !important;
    line-height: inherit !important;
}

.link-tool__content:hover .link-tool__anchor,
.ce-block .link-tool__content:hover .link-tool__anchor {
    text-decoration: underline !important;
}

.cdx-notifies {
    z-index: 1000!important;
}

.image-tool--empty .image-tool__image, 
.image-tool--empty .image-tool__caption, 
.image-tool--loading .image-tool__caption {
    display: block!important;
}

.image-tool--empty .image-tool__image-preloader[style]::after {
    display: none!important;
}

.image-tool--empty .image-tool__image-preloader[style]::before {
    display: block!important;
}

.cdx-notify__cross::after, .cdx-notify__cross::before {
    left: 4px!important;
    top: 0!important;
}

@media (max-width: 1199px) {
    .image-gallery__items {
        grid-template-columns: 1fr 1fr;
        -ms-grid-columns: 1fr 1fr;
    }

    .cdx-idea__text {
        font-size: 28px !important;
    }
}

@media (max-width: 991px) {
    .editorjs {
        min-height: 79px !important;
        font-size: 16px !important;
    }

    .codex-editor__redactor {
        padding-top: 8px !important;
        padding-bottom: 44px !important;
    }

    .cdx-block,
    .ce-header {
        padding: 8px 0 !important;
    }

    h2.ce-header {
        font-size: 20px !important;
    }

    .image-gallery,
    .image-tool {
        padding: 16px 0 !important;
    }

    .image-gallery__items,
    .image-tool--withBackground .image-tool__image {
        padding: 15px !important;
    }

    .image-gallery__items {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px !important;
        -ms-grid-columns: 1fr 8px 1fr 8px 1fr;
    }

    .cdx-list__item {
        min-height: 29px !important;
        padding: 4px 4px 4px 24px !important;
    }

    .cdx-list--unordered .cdx-list__item::before {
        top: 10px !important;
    }

    .cdx-list--ordered .cdx-list__item::before {
        top: 4px !important;
        width: 24px !important;
    }

    .cdx-idea,
    .cdx-idea__text {
        padding: 16px 0 !important;
    }

    .cdx-idea::before {
        top: 16px;
    }

    .cdx-idea::after {
        bottom: 16px;
    }

    .cdx-idea__text {
        font-size: 24px !important;
    }

    .cdx-checklist__item-checkbox {
        top: 6px !important;
    }

    .cdx-checklist__item-checkbox,
    .cdx-checklist__item-checkbox svg,
    .cdx-checklist__item-checkbox-check {
        width: 18px !important;
        height: 18px !important;
    }

    .cdx-checklist__item-checkbox svg {
        max-height: 18px !important;
    }

    .c-post-detail__content li,
    .cdx-checklist__item-text {
        min-height: 29px !important;
        padding: 4px 4px 4px 24px !important;
    }

    .ce-delimiter:before {
        height: 10px !important;
        font-size: 20px !important;
    }

    .link-tool__input {
        padding: 15px !important;
        padding-left: 45px !important;
        background-position: 15px !important;
    }

    .link-tool__content,
    .ce-block .link-tool__content {
        padding: 15px !important;
    }
}

@media (max-width: 767px) {
    .image-gallery__items {
        grid-template-columns: 1fr 1fr;
        -ms-grid-columns: 1fr 1fr;
    }
}

@media (max-width: 599px) {
    .image-gallery__items {
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .ce-toolbar__actions .ce-settings .ce-popover__container, 
    .ce-toolbar__actions .ce-toolbox .ce-popover__container {
        bottom: 69px !important;
    }
}

@media (hover: hover) {

    .ce-toolbar__plus:hover,
    .ce-toolbar__settings-btn:hover {
        border-color: transparent !important;
        background-color: #377ce3 !important;
        color: #fff !important;
    }

    .ce-inline-tool--active:hover,
    .ce-inline-tool:hover {
        background: #377ce3 !important;
        color: #fff !important;
    }

    .ce-popover-item:hover:not(.ce-popover-item--no-hover) {
        background-color: #377ce3 !important;
        color: #fff !important;
    }

    .ce-popover-item--active:hover:not(.ce-popover-item--no-hover) {
        background: #377ce3 !important;
        color: #fff !important;
    }

    .ce-popover-item--confirmation:not(.ce-popover-item--no-hover):hover {
        background: #ce4343 !important;
        color: #fff !important;
    }

    .image-tool .cdx-button:hover {
        background-color: #fff !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }

    .image-gallery__image-trash:hover {
        background-color: #377ce3 !important;
        color: #fff !important;
    }
}