:root {

  	--ck-editor-min-height: 200px;

    /* Overrides the border radius setting in the theme. */
    --ck-border-radius: 4px;

    /* Overrides the default font size in the theme. */
    --ck-font-size-base: 12px;

    /* Helper variables to avoid duplication in the colors. */
    --ck-custom-background: hsl(40deg 6% 10%);
    --ck-custom-foreground: hsl(40deg 7% 9%);
    --ck-custom-border: hsl(31deg 24% 42%);
    --ck-custom-white: hsl(0deg 0% 100%);

    /* -- Overrides generic colors. ------------------------------------------------------------- */

    --ck-color-base-foreground: var(--ck-custom-background);
    --ck-color-base-background: #bcab8d;
    --ck-color-base-border: #a09580;
    --ck-color-focus-border:  hsl(31deg 24% 42%);
    --ck-color-text: hsl(38deg 28% 56%);
    --ck-color-shadow-drop: hsla(0, 0%, 0%, 0.2);
    --ck-color-shadow-inner: hsla(0, 0%, 0%, 0.1);

    /* -- Overrides the default .ck-button class colors. ---------------------------------------- */

    --ck-color-button-default-background: hsl(40deg 6% 10%);
    --ck-color-button-default-hover-background: hsl(351deg 43% 41%);
    --ck-color-button-default-active-background: hsl(40deg 15% 54%);
    --ck-color-button-default-active-shadow: hsl(270, 2%, 23%);
    --ck-color-button-default-disabled-background: var(--ck-custom-background);
    --ck-color-button-on-color: #f2ebcf;

    --ck-color-button-on-background: hsl(351deg 43% 41%);
    --ck-color-button-on-hover-background: hsl(255, 4%, 16%);
    --ck-color-button-on-active-background:
    hsl(255, 4%, 14%);
    --ck-color-button-on-active-shadow:
    hsl(240, 3%, 19%);
    --ck-color-button-on-disabled-background:
    var(--ck-custom-foreground);

    --ck-color-button-action-background:
    hsl(168, 76%, 42%);
    --ck-color-button-action-hover-background:
    hsl(168, 76%, 38%);
    --ck-color-button-action-active-background:
    hsl(168, 76%, 36%);
    --ck-color-button-action-active-shadow:
    hsl(168, 75%, 34%);
    --ck-color-button-action-disabled-background:
    hsl(168, 76%, 42%);
    --ck-color-button-action-text:
    hsl(0deg 14% 93%);

    --ck-color-button-save:
    hsl(120, 100%, 46%);
    --ck-color-button-cancel:
    hsl(15, 100%, 56%);

    /* -- Overrides the default .ck-dropdown class colors. -------------------------------------- */

    --ck-color-dropdown-panel-background:
    var(--ck-custom-background);
    --ck-color-dropdown-panel-border:
    var(--ck-custom-foreground);

    /* -- Overrides the default .ck-splitbutton class colors. ----------------------------------- */

    --ck-color-split-button-hover-background:
    var(--ck-color-button-default-hover-background);
    --ck-color-split-button-hover-border:
    var(--ck-custom-foreground);

    /* -- Overrides the default .ck-input class colors. ----------------------------------------- */

    --ck-color-input-background:
    var(--ck-custom-background);
    --ck-color-input-border:
    hsl(257, 3%, 43%);
    --ck-color-input-text:
    hsl(0, 0%, 98%);
    --ck-color-input-disabled-background:
    hsl(255, 4%, 21%);
    --ck-color-input-disabled-border:
    hsl(250, 3%, 38%);
    --ck-color-input-disabled-text:
    hsl(0, 0%, 78%);

    /* -- Overrides the default .ck-labeled-field-view class colors. ---------------------------- */

    --ck-color-labeled-field-label-background:
    var(--ck-custom-background);

    /* -- Overrides the default .ck-list class colors. ------------------------------------------ */

    --ck-color-list-background:
    var(--ck-custom-background);
    --ck-color-list-button-hover-background:
    var(--ck-color-base-foreground);
    --ck-color-list-button-on-background:
    hsl(32deg 36% 61%);
    --ck-color-list-button-on-background-focus:
    hsl(31deg 30% 60%);
    --ck-color-list-button-on-text:
    var(--ck-color-base-background);

    /* -- Overrides the default .ck-balloon-panel class colors. --------------------------------- */

    --ck-color-panel-background:
    var(--ck-custom-background);
    --ck-color-panel-border:
    var(--ck-custom-border);

    /* -- Overrides the default .ck-toolbar class colors. --------------------------------------- */

    --ck-color-toolbar-background:
    var(--ck-custom-background);
    --ck-color-toolbar-border:
    var(--ck-custom-border);

    /* -- Overrides the default .ck-tooltip class colors. --------------------------------------- */

    --ck-color-tooltip-background:
    hsl(252, 7%, 14%);
    --ck-color-tooltip-text:
    hsl(0, 0%, 93%);

    /* -- Overrides the default colors used by the ckeditor5-image package. --------------------- */

    --ck-color-image-caption-background:
    hsl(0, 0%, 97%);
    --ck-color-image-caption-text:
    hsl(0, 0%, 20%);

    /* -- Overrides the default colors used by the ckeditor5-widget package. -------------------- */

    --ck-color-widget-blurred-border:
    hsl(0, 0%, 87%);
    --ck-color-widget-hover-border:
    hsl(43, 100%, 68%);
    --ck-color-widget-editable-focus-background:
    var(--ck-custom-white);

    /* -- Overrides the default colors used by the ckeditor5-link package. ---------------------- */

    --ck-color-link-default:
    hsl(190, 100%, 75%);
}

.ck.ck-content:not(.ck-comment__input *) {
    min-height: 200px;
    overflow-y: auto;
}
.ck-source-editing-area textarea {
  left: 0;
}

div.form_field .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    min-height: 270px;
    box-sizing: border-box;
    padding: 10px;
    background: #f3efe8;
    font-size:11px;
    box-shadow: inset 0 0 100px 0px #42341966, inset 0 0 200px 20px #efd0a978;
    color: #48392a;
}

div.scheda_modifica_bg .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners,
div.scheda_modifica_desc div.form_field .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    min-height: 470px;
    padding: 10px;
    box-sizing: border-box;
    background: black;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #948d86;
    max-width: 592px;
    box-shadow: none;
}

div.scheda_modifica_desc div.form_field_scheda_libera .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{
min-height: 470px;
padding:0px;
background: black;
box-shadow: none;
color: #48392a;
max-width: 592px;
}

div.scheda_modifica_desc .ck.ck-editor__editable_inline>:last-child {
    margin-bottom: 0px;
}
div.scheda_modifica_desc .ck.ck-editor__editable_inline>:first-child {
    margin-top: 0px;
}

div.scheda_modifica_desc .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners,
div.scheda_modifica_bg .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners,
 {
    max-width: 592px;
}

div.scheda_creazione div.form_field .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners {
    min-height: 270px;
    padding:10px;
    box-sizing: border-box;
    background: url(imgs/righette.jpg) top left repeat;
    box-shadow: inset 0 0 100px 0px #42341966, inset 0 0 200px 20px #efd0a978;
    font-family: 'Hind Siliguri', sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #48392a;
    max-width: 592px;
}

div.scheda_creazione .ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable, .ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{
min-height: 300px;
padding:0px;
background: #c4bcb1;
box-shadow: none;
color: #48392a;
max-width: 592px;
}

div.scheda_creazione .ck.ck-editor__editable_inline>:last-child {
    margin-bottom: 0px;
}
div.scheda_creazione .ck.ck-editor__editable_inline>:first-child {
    margin-top: 0px;
}

div.scheda_creazione .ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-toolbar, .ck.ck-editor__top .ck-sticky-panel .ck-toolbar.ck-rounded-corners
 {
    max-width: 592px;
}


.ck.ck-button, a.ck.ck-button {
    -webkit-appearance: none;
    cursor: default;
    font-size: inherit;
    line-height: 1;
    min-height: 18px;
    min-width: 22px;
    text-align: center;
    font-size: 10px;
    transition: box-shadow .2s ease-in-out,border .2s ease-in-out;
    vertical-align: middle;
    margin: 0;
    white-space: nowrap;
}

.ck-source-editing-area{
  font-size: 13px;
}
