@charset "UTF-8";
@import 'ckeditor5.css';
@import 'ckeditor5-premium-features.css';

:root {
    /* Overrides the border radius setting in the theme. */
    --ck-border-radius: 0;
    /* Helper variables to avoid duplication in the colors. */
    --ck-custom-border: var(--ck-color-base-border);
    /* -- Overrides generic colors. ------------------------------------------------------------- */
    --ck-color-focus-border: var(--ck-custom-border);
    /* -- Overrides the default .ck-dialog class colors. ----------------------------------- */
    --ck-color-dialog-form-header-border: var(--ck-custom-border);
    /* -- Overrides the default .ck-balloon-panel class colors. --------------------------------- */
    --ck-color-panel-border: var(--ck-custom-border);
    /* increase z-index of editor */
    --ck-z-default: 50;
    /* disable inner box-shadow of editing area when focused, also applies to td and other elements */
    --ck-inner-shadow: none;
}

/* Pre-v49 UI density: sizing part of the CKEditor legacy theme preset (colors stay on the v49 theme). */
:root {
    --ck-font-size-base: 13px;
    --ck-line-height-base: 1.84615;
    --ck-font-size-xs: 0.7em;
    --ck-font-size-sm: 0.75em;
    --ck-font-size-md: 0.85em;
    --ck-font-size-lg: 1.15em;
    --ck-font-size-xl: 1.4em;
    --ck-font-size-2xl: 1.8em;
    --ck-font-size-normal: var(--ck-font-size-base);
    --ck-font-size-control: inherit;

    --ck-spacing-unit: 0.6em;
    --ck-spacing-xl: calc(var(--ck-spacing-unit) * 2);
    --ck-spacing-lg: calc(var(--ck-spacing-unit) * 1.5);
    --ck-spacing-base: calc(var(--ck-spacing-unit) * 0.8);
    --ck-spacing-md: calc(var(--ck-spacing-unit) * 0.667);
    --ck-spacing-ms: var(--ck-spacing-md);
    --ck-spacing-sm: calc(var(--ck-spacing-unit) * 0.5);
    --ck-spacing-xs: calc(var(--ck-spacing-unit) * 0.3);
    --ck-spacing-2xs: calc(var(--ck-spacing-unit) * 0.16);
    --ck-spacing-standard: var(--ck-spacing-unit);

    --ck-spacing-control-padding-block: var(--ck-spacing-tiny, var(--ck-spacing-xs));
    --ck-spacing-control-padding-inline: var(--ck-spacing-standard, var(--ck-spacing-base));
    --ck-spacing-control-padding-inline-compact: var(--ck-spacing-small, var(--ck-spacing-sm));
    --ck-spacing-control-padding-inline-start-compact: var(--ck-spacing-tiny, var(--ck-spacing-xs));
    --ck-spacing-control-padding-block-compact: var(--ck-spacing-extra-tiny, var(--ck-spacing-2xs));
    --ck-spacing-control-icon-gap: var(--ck-spacing-medium, var(--ck-spacing-md));
    --ck-spacing-padding-compact: var(--ck-spacing-small, var(--ck-spacing-sm));
    --ck-spacing-padding-snug: var(--ck-spacing-medium-small, var(--ck-spacing-ms));
    --ck-spacing-padding: var(--ck-spacing-medium, var(--ck-spacing-md));
    --ck-spacing-padding-comfortable: var(--ck-spacing-large, var(--ck-spacing-lg));
    --ck-spacing-padding-spacious: var(--ck-spacing-xl);
    --ck-spacing-gap-compact: var(--ck-spacing-small, var(--ck-spacing-sm));
    --ck-spacing-gap-snug: var(--ck-spacing-medium-small, var(--ck-spacing-ms));
    --ck-spacing-gap: var(--ck-spacing-medium, var(--ck-spacing-md));
    --ck-spacing-gap-comfortable: var(--ck-spacing-large, var(--ck-spacing-lg));
    --ck-spacing-gap-spacious: var(--ck-spacing-xl);

    --ck-size-min-height: 2.3em;
    --ck-size-control-min-height: var(--ck-ui-component-min-height, var(--ck-size-min-height));
    --ck-icon-size: calc(var(--ck-line-height-base) * 1em);
    --ck-icon-font-size: .8333350694em;

    --ck-button-padding: var(--ck-spacing-control-padding-block);
    --ck-button-with-text-padding: var(--ck-spacing-tiny, var(--ck-spacing-xs)) var(--ck-spacing-standard, var(--ck-spacing-base));
    --ck-button-standard-min-width: var(--ck-size-control-min-height);
    --ck-button-font-size: inherit;
    --ck-button-icon-gap: var(--ck-spacing-control-icon-gap);

    --ck-input-padding: var(--ck-spacing-control-padding-block-compact) var(--ck-spacing-medium, var(--ck-spacing-base));
    --ck-input-font-size: var(--ck-font-size-control);

    --ck-toolbar-text-font-size: var(--ck-font-size-base);
    --ck-menubar-text-font-size: var(--ck-font-size-base);
    --ck-toolbar-item-gap-inline: var(--ck-spacing-gap-compact);
    --ck-toolbar-padding: 0 var(--ck-spacing-padding-compact);
    --ck-toolbar-dropdown-vertical-padding: 0;

    --ck-list-padding: var(--ck-spacing-padding-compact) 0;
    --ck-list-item-button-padding: var(--ck-spacing-control-padding-block) calc(2 * var(--ck-spacing-control-padding-inline));

    --ck-form-header-height: 3.384em;
    --ck-form-header-label-font-size: var(--ck-font-size-lg);
    --ck-labeled-field-label-font-size: var(--ck-font-size-base);
}

.ck.ck-toolbar .ck-button__label {
    line-height: calc(var(--ck-line-height-base) * var(--ck-font-size-base));
}

/* emoji and special character glyphs (v49 reduced them to 1.25em) */
.ck.ck-character-grid .ck-character-grid__tile {
    font-size: 1.5em;
}

/* the emoji panel sits in the toolbar, whose label rule would otherwise pin the glyph to --ck-toolbar-text-font-size */
.ck.ck-character-grid .ck-character-grid__tile .ck-button__label {
    font-size: inherit;
}

.ck.ck-form__header > .ck.ck-button {
    --ck-size-control-min-height: var(--ck-ui-component-min-height, var(--ck-size-min-height));
}

.ck.ck-labeled-field-view > .ck.ck-labeled-field-view__input-wrapper > .ck-dropdown > .ck.ck-button {
    padding: var(--ck-button-with-text-padding);
}

.ck-rounded-corners .ck.ck-dropdown > .ck-dropdown__panel > .ck-list, .ck.ck-dropdown > .ck-dropdown__panel > .ck-list.ck-rounded-corners {
    max-height: 350px;
    overflow-x: hidden;
    overflow-y: auto;
}

.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content:has(> .ck-toolbar > .ck-toolbar__items:empty) {
    border: 0;
}

.ck-content {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    word-break: inherit;
}

.ck-content .table {
    margin: 0;
}

.ck-content p {
    margin: 0;
}

/* In case the first or last element are figures we want to leave the maring (for example to leave space for buttons around the table) */
.ck.ck-editor__editable_inline > :first-child:not(figure), .ck.ck-editor__editable_inline > :last-child:not(figure) {
    margin: 0;
}

/*Targets only ckeditor text fields that have the editor right above them*/
.ck-content-sizing-wrapper > .ck-editor__main > .ck.ck-editor__editable_inline {
    padding-left: 1em;
    padding-top: 1em;
}

/* hide empty balloon panels (e.g. when inline editor toolbar was moved to different element) */
.ck.ck-balloon-panel.ck-balloon-panel_visible:empty {
    display: none;
}

/* Styles for sizing plugin */
.ck.ck-sizing-wrapper {
    width: 100%;
    height: fit-content;
}

.ck.ck-content-sizing-wrapper {
    border: var(--ck-focus-ring);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.ck.ck-content-sizing-wrapper.ck-content-sizing-wrapper__resizable {
    resize: vertical;
    overflow: hidden;
    height: 150px;
    min-height: 100px;
    max-height: 100vh;
}

.ck.ck-content-sizing-wrapper.ck-content-sizing-wrapper__resizable.ck-sizing-safari {
    padding-right: 8px;
}

.ck.ck-sizing-wrapper .ck.ck-editor {
    height: 100%;
    border: 0;
}

.ck.ck-sizing-wrapper .ck.ck-editor__main {
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
    border: 0;
}

.ck-source-editing-area {
    text-align: left;
}

.ck.ck-sizing-wrapper .ck.ck-content, .ck.ck-sizing-wrapper .ck-source-editing-area {
    height: 100%;
    box-sizing: border-box;
    border: 0;
}

.ck.ck-sizing-wrapper .ck.ck-content, .ck.ck-sizing-wrapper .ck-source-editing-area textarea {
    overflow: auto;
    white-space: normal;
}

/* max-length indicator */
.ck.ck-editor + span.length-indicator, .ck.ck-sizing-wrapper + span.length-indicator {
    color: #FFF;
    background: rgba(51, 51, 51, 0.75);
    padding: 5px;
    display: none;
    opacity: 0;
    transition: opacity ease .5s;
}

.ck-ems-toolbar .ck-sticky-panel__placeholder {
    display: none !important;
}

.ck-ems-toolbar .ck.ck-sticky-panel__content {
    position: static !important;
    bottom: unset !important;
    top: 0 !important;
    width: 100% !important;
    border-bottom-width: 1px !important;
}

.ck-ems-toolbar .ck.ck-sticky-panel__content.ck-sticky-panel__content_sticky {
    box-shadow: none;
}

/* styling for image hspace/vspace plugin */
.ck.ck-button.spacing + .ck-dropdown__panel {
    padding-bottom: var(--ck-spacing-base);
}

/* Avoid that text-align: left is overriding template styles */
.ck.ck-editor__editable_inline[dir="ltr"] {
    text-align: unset;
}

/* Avoid setting th background in ckeditor. It is not going to be used in the campaign */
.ck-content .table table th {
    background: unset;
}

.ck-dialog.placeholder-chooser-dialog #hidden-focus-element {
    width: 0;
    height: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0;
    line-height: 0;
    background: transparent;
    opacity: 0;
}


.ck .ck-ai-form-content .ck-textarea,
.ck .ck-ai-form-content .ck-ai-form__content-area {
    font-family: 'Inter', Verdana, Arial, Helvetica, Sans-Serif;
}

.ck-ai-assistant-ui_theme {
    --ck-button-default-hover-background-color: hsl(0, 0%, 94.1%);
    --ck-button-default-active-background-color: hsl(0, 0%, 94.1%);
    --ck-button-on-background-color: hsl(212, 100%, 97.1%);
    --ck-button-on-hover-background-color: hsl(211.7, 100%, 92.9%);
    --ck-button-on-active-background-color: hsl(211.7, 100%, 92.9%);
    --ck-button-on-disabled-background-color: hsl(0, 0%, 94.1%);
    --ck-button-on-text-color: hsl(0, 0, 20%);
    --ck-button-action-background-color: hsl(0, 0%, 94.1%);
    --ck-button-action-hover-background-color: hsl(0, 0%, 94.1%);
    --ck-button-action-active-background-color: hsl(211.7, 100%, 92.9%);
    --ck-button-action-disabled-background-color: hsl(0, 0%, 94.1%);
    --ck-list-button-hover-background-color: hsl(0, 0%, 92%);
}

.ck .ck-ai-form-content .ck-toolbar .ck-button,
.ck .ck-source-editing-enhanced-dialog .ck-button{
    border: 1px solid #5a5f6e;
    color: #5a5f6e;
    background: transparent;
    border-radius: 15px;
    cursor: pointer;
}

    .ck .ck-ai-form-content .ck-toolbar .ck-button span {
        padding: 0 5px;
    }

.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit {
    border: 1px solid #5a5f6e;
    color: #5a5f6e;
    background: transparent;
    cursor: pointer
}

.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit:hover {
    background: #5a5f6e;
    color: #fff;
}

.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled {
    cursor: default;
    border-color: #EFEEEA;
}

.ck .ck-ai-form .ck-ai-form-content .ck-autocomplete>.ck.ck-ai-form__submit.ck-disabled:hover {
    background-color: transparent;
    color: #5a5f6e;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button.ck-disabled.ck-button-action {
    cursor: default;
    border: 1px solid #EFEEEA;
    color: #5a5f6e;
    background: unset;
    box-shadow: unset;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button.ck-disabled.ck-button-action:hover {
    background-color: transparent;
    color: #5a5f6e;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button.ck-disabled {
    cursor: default;
    border-color: #EFEEEA;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button:hover,
.ck .ck-source-editing-enhanced-dialog .ck-button:hover  {
    background: #5a5f6e;
    color: #fff;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button.ck-disabled:hover {
    background-color: transparent;
    color: #5a5f6e;
}

.ck .ck-ai-form-content .ck-toolbar .ck-button-action,
.ck .ck-source-editing-enhanced-dialog .ck-button-action {
    border: unset;
    background: linear-gradient(90deg, #D1132A 0%, #202750 100%);
    border-radius: 15px;
    color: #ffffff;
    cursor: pointer;
}

    .ck .ck-ai-form-content .ck-toolbar .ck-button-action span {
        padding: 0 5px;
    }

.ck .ck-ai-form-content .ck-toolbar .ck-button-action:hover,
.ck .ck-source-editing-enhanced-dialog .ck-button-action:hover {
    background: linear-gradient(90deg, #D1132A 0%, #202750 100%);
    box-shadow: 0 10px 15px -8px rgba(10, 60, 125, 0.4);
    background-color: transparent;
}

.ck .ck-tooltip__text {
    display: inline-block;
    max-width: 500px;
    word-wrap: break-word;
    white-space: normal;
}

.ck.ck-dropdown .ck-dropdown__arrow {
    z-index: auto;
}

.ck.ck-dropdown .ck.ck-button.limited-width-dropdown {
    width: 8em;
}

    .ck.ck-dropdown .ck.ck-button.limited-width-dropdown svg {
        flex-grow: 0;
        flex-shrink: 0;
    }

/* With the block-alignment options removed only three buttons remain and, at flex:1,
   they stretch the toolbar across the whole row. The toolbar is a flex item, so `width`
   is ignored - constrain it via flex-basis instead. The buttons keep their default flex:1
   and fill the narrower (compact) segmented control. Adjust the basis to taste. */
.ck.ck-table-properties-form .ck-form__row.ck-table-properties-form__alignment-row .ck.ck-toolbar {
    flex: 0 0 calc(58% - 1px);
}