
html.scroll-off,
body.scroll-off {
    overflow-y:hidden;
}

body.editor-mode,
header.editor-mode {
    background:#eee;
}





/* --   STYLE PLUGINU DROPZONE   -- */

#dropzone-upload-background .dz-default,
#dropzone-upload-background .dz-default.show,
#dropzone-upload-background .dz-preview .dz-image,
#dropzone-upload-background .dz-preview:hover .dz-image,
#dropzone-upload-background .dz-preview.hover .dz-image,
#dropzone-upload-background .dz-preview .dz-image img,
#dropzone-upload-background .dz-preview .dz-details,
#dropzone-upload-background .dz-preview .dz-error-message,
#dropzone-upload-background .dz-preview .dz-details .dz-filename,
#dropzone-upload-background .dz-preview:hover .dz-details .dz-filename,
#dropzone-upload-background .dz-preview.hover .dz-details .dz-filename,
#dropzone-upload-background .dz-preview .dz-details .dz-size,
#dropzone-upload-background .dz-preview:hover .dz-details .dz-size,
#dropzone-upload-background .dz-preview.hover .dz-details .dz-size,
#dropzone-upload-background .dz-preview .dz-details .dz-size span strong,
#dropzone-upload-background .dz-preview .dz-success-mark,
#dropzone-upload-background .dz-preview.dz-success .dz-success-mark,
#dropzone-upload-background .dz-preview .dz-error-mark,
#dropzone-upload-background .dz-preview.dz-error .dz-error-mark,
#dropzone-upload-background .dz-preview .dz-progress,
#dropzone-upload-background .dz-preview.dz-processing .dz-progress,
#dropzone-upload-background .dz-preview.dz-complete .dz-progress,
#dropzone-upload-background .dz-preview:not(.dz-processing) .dz-progress,
#dropzone-upload-background .dz-preview .dz-progress .dz-upload,
#dropzone-upload-background .dz-preview .dz-success-mark svg,
#dropzone-upload-background .dz-preview .dz-error-mark svg,
#dropzone-upload-background .dz-preview { display:none; }
#dropzone-upload-background .dz-drag-hover { background-color:rgba(27, 122, 227, .2); }










/* --   POZIOMA STRZAŁKA   -- */

.arrow-horizontal {
    width:168px;
    height:32px;
    bottom:3px;
    left:50%;
    transform:translate(-50%,0);
    position:absolute;
    z-index:1005;
    transition:all 0.15s ease-out;
}

.arrow-horizontal span {
    float:left;
    width:56px;
    height:32px;
    line-height:32px;
    text-align:center;
    background-color:#fff;
    color:#444;
    font-family:Arial;
    cursor:pointer;
}

.arrow-horizontal span:hover {
    background-color:#f1f1f1;
}

.arrow-horizontal span.active {
    background-color:#0066ff;
    color:#fff;
}

.arrow-horizontal span:first-child { border-radius:5px 0 0 0; }
.arrow-horizontal span:last-child { border-radius:0 5px 0 0; }





/* --   PIONOWA STRZAŁKA   -- */

.arrow-vertical {
    height:160px;
    width:64px;
    right:3px;
    top:50%;
    transform:translate(0,-50%);
    position:absolute;
    z-index:1005;
    transition:all 0.15s ease-out;
}

.arrow-vertical span {
    float:left;
    width:64px;
    height:32px;
    line-height:32px;
    text-align:center;
    background-color:#fff;
    color:#444;
    font-family:AriaL;
    cursor:pointer;
}

.arrow-vertical span:hover {
    background-color:#f1f1f1;
}

.arrow-vertical span.active {
    background-color:#0066ff;
    color:#fff;
}

.arrow-vertical span:first-child {
    border-radius:5px 0 0 0;
}

.arrow-vertical span:last-child {
    border-radius:0 0 0 5px;
}










/* --   MARKERY POZYCJI POLA TEKSTOWEGO NA BANERACH   -- */

.banner .text_field_position_markers {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    box-sizing:border-box;
    padding:64px;
    z-index:1000;
    transition:all 0.1s ease-out;
}

.banner .text_field_position_markers.hidden {
    opacity:0;
    transform:scale(0.5);
    pointer-events:none;
}

.banner .text_field_position_markers ul {
    width:100%;
    height:100%;
    float:left;
    list-style:none;
    border-left:1px solid rgba(255,255,255,0.5);
    border-top:1px solid rgba(255,255,255,0.5);
}

.banner .text_field_position_markers ul .marker {
    cursor:pointer;
    box-sizing:border-box;
    border-bottom:1px solid rgba(255,255,255,0.5);
    border-right:1px solid rgba(255,255,255,0.5);
}

.banner .text_field_position_markers ul .marker:hover {
    background-color:rgba(0,0,0,0.25);
}

.banner .text_field_position_markers ul .marker.selected {
    background-color:rgba(0, 102, 255, 0.25);
}











/* --   KONTROLKI ROZMIESZCZENIA PÓL TEKSTOWYCH NA SIATCE   -- */

/*
.banner .text_field .text_field_sizes {
    position:absolute;
    right:calc(100% + 32px);
    top:16px;
    width:auto;
    height:48px;
    text-align:right;
    text-transform:uppercase;
    line-height:48px;
    z-index:2;
    opacity:0;
    background-color:rgba(0,0,0,0.5);
    color:#fff;
    cursor:pointer;
    white-space:nowrap;
    padding:0;
    transition:all 0.25s cubic-bezier(0,.5,.4,1);
    transform:translate(20%,0);
}

.banner .text_field .text_field_sizes:hover {
    background-color:rgba(0,0,0,0.75);
}

.banner .text_field.hover .text_field_sizes {
    opacity:1;
    transform:translateX(0);
}

.banner .text_field .text_field_sizes .action {
    float:left;
    line-height:48px;
    padding:0 16px;
}
*/










/* --   KOLORY TEKSTU NA BANERACH   -- */

/*
    .banner .text_field .text_colors {
        position:absolute;
        left:-32px;
        top:0;
        width:auto;
        height:40px;
        z-index:2;
        opacity:0;
        transform:translate(0,-56px);
        transition:all 0.25s cubic-bezier(0,.5,.4,1);
    }

    .banner .text_field.hover .text_colors {
        transform:translate(0,-72px);
        transition:all 0.5s cubic-bezier(0,.5,.4,1);
        opacity:1;
    }

    .banner .text_field .text_colors .text_color {
        width:24px;
        height:24px;
        float:left;
        cursor:pointer;
        z-index:2;
        padding:8px;
        box-sizing:content-box;
        background-color:rgba(0,0,0,0.5);
    }

    .banner .text_field .text_colors .text_color:hover {
        background-color:rgba(0,0,0,0.35);
    }

    .banner .text_field .text_colors .text_color.active {
        background-color:rgba(0,0,0,0.25);
    }

    .banner .text_field .text_colors .text_color p {
        width:24px;
        height:24px;
        border-radius:100%;
    }

    .banner .text_field .text_colors .text_color.white p { background-color:#fff; }
    .banner .text_field .text_colors .text_color.black p { background-color:#000; }
    .banner .text_field .text_colors .text_color.gray p { background-color:#666; }
*/









/* --   WYRÓNANIE TEKSTU NA BANERACH   -- */

/*
    .banner .text_field .text_aligns {
        position:absolute;
        left:128px;
        top:0;
        width:auto;
        height:40px;
        z-index:2;
        opacity:0;
        transform:translate(0,-56px);
        transition:all 0.25s cubic-bezier(0,.5,.4,1);
    }

    .banner .text_field.hover .text_aligns {
        transform:translate(0,-72px);
        transition:all 0.5s cubic-bezier(0,.5,.4,1);
        opacity:1;
    }

    .banner .text_field .text_aligns .text_align {
        width:24px;
        height:24px;
        float:left;
        cursor:pointer;
        z-index:2;
        padding:8px;
        box-sizing:content-box;
        background-color:rgba(0,0,0,0.5);
    }

    .banner .text_field .text_aligns .text_align.active {
        background-color:rgba(0,0,0,0.25);
    }

    .banner .text_field .text_colors .text_color p {
        width:24px;
        height:24px;
        border-radius:100%;
    }
*/

/* --   IKONKI WYRÓWNANIA TEKSTU   -- */

/*
    .banner .text_field .text_aligns .text_align p span {
        position:absolute;
        left:0;
        height:3px;
        background-color:#fff;
        z-index:2;
    }
*/

/* --   DO LEWEJ   -- */

/*
    .banner .text_field .text_aligns .text_align.to_left p span:nth-child(1) {
        width:24px;
        top:3px;
    }

    .banner .text_field .text_aligns .text_align.to_left p span:nth-child(2) {
        width:18px;
        top:11px;
    }

    .banner .text_field .text_aligns .text_align.to_left p span:nth-child(3) {
        width:12px;
        top:19px;
    }
*/

/* --   WYŚRODKOWANY   -- */

/*
    .banner .text_field .text_aligns .text_align.center_align p span:nth-child(1) {
        width:12px;
        top:3px;
        left:6px;
    }

    .banner .text_field .text_aligns .text_align.center_align p span:nth-child(2) {
        width:24px;
        top:11px;
    }

    .banner .text_field .text_aligns .text_align.center_align p span:nth-child(3) {
        width:12px;
        top:19px;
        left:6px;
    }
*/

/* --   DO PRAWEJ   -- */

/*
    .banner .text_field .text_aligns .text_align.to_right p span:nth-child(1) {
        width:24px;
        top:3px;
    }

    .banner .text_field .text_aligns .text_align.to_right p span:nth-child(2) {
        width:18px;
        top:11px;
        left:6px;
    }

    .banner .text_field .text_aligns .text_align.to_right p span:nth-child(3) {
        width:12px;
        top:19px;
        left:12px;
    }
*/










/* --   EDYCJA BUTTONÓW   -- */

/*
    .edit_bt {
        position:absolute;
        width:32px;
        height:32px;
        left:50%;
        bottom:-40px;
        background-color:rgba(255,255,255,0.5);
        background-repeat:no-repeat;
        background-size:18px 18px;
        background-position:50% 50%;
        background-image:url(../.images/icon_edit.svg);
        transform:translate(-50%,0);
        z-index:1000;
        border-radius:5px;
        display:none;
    }
*/




















/* --   CONTENT EDITOR TOOLBAR   -- */

#editor-toolbar-mask {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 3000;
    pointer-events: none;
    overflow: hidden;
    /* background: #fff; */
}

/* #editor-toolbar-mask.locked {
    pointer-events:none;
    overflow:hidden;
} */

#editor-toolbar {
    position: absolute;
    z-index: 3000;
    padding: 8px 32px 8px 0;
    height: 72px;
    /* transform: translate(0, 16px); */
    transition: all .3s cubic-bezier(.785, .135, .15, .86);
    opacity: 0;
    top: 0;
    right: 0;
    background: #fff;
    width: 100%;
}

#editor-toolbar.go-up {
    transform: translate(0, 0);
    transition: all .2s ease-out .1s;
    opacity: 1;
}

#editor-toolbar .separator {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, .1);
    margin: 0 16px;
}

#editor-toolbar .separator::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    top: 0;
    left: 1px;
    background: rgba(255, 255, 255, 1);
}

/* --   OBRAZEK DO ŁADOWANIA PLIKÓW   -- */

#image-preloader {
    position:absolute;
    right:0;
    bottom:0;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

/* --   WYŁĄCZNIK TRYBU EDYCJI   -- */

#editor-mode-off:hover svg { transform: scale(1.2); }
#editor-mode-off {
    width: 56px;
    height: 56px;
    z-index: 3;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 32px 0 0;
}

#editor-mode-off span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 100%;
    background: #e30000;
}

#editor-mode-off svg {
    width: 16px;
    height: 16px;
    stroke-width: 3px;
    pointer-events: none;
    color: #fff;
 /* color: #f00; */
}

/* #editor-mode-off {
    width: 56px;
    height: 56px;
    z-index: 3;
    cursor: pointer;
    display:flex;
    align-items:center;
    justify-content: center;
}

#editor-mode-off p {
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 100%;
    transform: scale(.9);
    transition: all .15s cubic-bezier(.785, .135, .15, .86);
    overflow: hidden;
}

#editor-mode-off p span {
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    color: #f00;
    display:flex;
    align-items:center;
    justify-content: center;
    transition: all .15s cubic-bezier(.785, .135, .15, .86);
}

#editor-mode-off p span.chevron {
    color: #fff;
    transform: translate(0, -100%);
}

#editor-mode-off svg {
    width: 18px;
    height: 18px;
    stroke-width: 2px;
}

#editor-mode-off:hover p {
    background: #fe4d62;
    transform: scale(1);
}

#editor-mode-off:hover p span.x { transform: translate(0, 100%); }
#editor-mode-off:hover p span.chevron { transform: translate(0, 0); } */



/* --   IMPORTOWANIE LISTY KOLORÓW Z PLIKU COLORS.TXT   -- */

.bg.web { background-color:#000001;!important; }
.bg.amber { background-color:#ffc107!important; }
.bg.aqua { background-color:#00ffff!important; }
.bg.blue { background-color:#2196F3!important; }
.bg.light-blue { background-color:#87CEEB!important; }
.bg.brown { background-color:#795548!important; }
.bg.cyan { background-color:#00bcd4!important; }
.bg.blue-grey { background-color:#607d8b!important; }
.bg.green { background-color:#4CAF50!important; }
.bg.light-green { background-color:#8bc34a!important; }
.bg.indigo { background-color:#3f51b5!important; }
.bg.khaki { background-color:#f0e68c!important; }
.bg.lime { background-color:#cddc39!important; }
.bg.orange { background-color:#ff9800!important; }
.bg.deep-orange { background-color:#ff5722!important; }
.bg.pink { background-color:#e91e63!important; }
.bg.purple { background-color:#9c27b0!important; }
.bg.deep-purple { background-color:#673ab7!important; }
.bg.red { background-color:#f44336!important; }
.bg.sand { background-color:#fdf5e6!important; }
.bg.teal { background-color:#009688!important; }
.bg.yellow { background-color:#ffeb3b!important; }
.bg.white { background-color:#fff!important; }
.bg.black { background-color:#000!important; }
.bg.grey { background-color:#9e9e9e!important; }
.bg.light-grey { background-color:#f1f1f1!important; }
.bg.dark-grey { background-color:#616161!important; }
.bg.pale-red { background-color:#ffdddd!important; }
.bg.pale-green { background-color:#ddffdd!important; }
.bg.pale-yellow { background-color:#ffffcc!important; }
.bg.pale-blue { background-color:#ddffff!important; }
.bg.web-digital { background-color:#e85222!important; }
.bg.web-jiggy { background-color:#53868b!important; }
.bg.web-extrema { background-color:#8b8b00!important; }
.bg.web-digital24 { background-color:#228b22!important; }
.bg.web-studioewa { background-color:#8b0000!important; }











/* --   KLASY EDYCJI   -- */

.banner.editable {
    cursor:pointer;
    transition:width 0.15s ease-out 0s, height 0.15s ease-out;
    /* transition:none; */
}

.banner.editable.blanked .background {
    opacity:0.5;
    filter:grayscale(100%);
}

.banner > .hover-marker {
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    z-index:107;
    pointer-events:none;
}

.banner.editable > .hover-marker {
    pointer-events:all;
}

.banner.editable > .hover-marker:hover {
    background-color:rgba(0,0,0,0.05);
}

.banner.editable.active > .hover-marker {
    background-color:rgba(0,0,0,0.05);
}

.banner.editable.active > .hover-marker::after,
.banner.editable.active > .hover-marker:hover::after {
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    pointer-events:none;
    border:3px solid #fff;
    box-sizing:border-box;
}





.banner .percentage_loader {
    position:absolute;
    left:50%;
    top:50%;
    width:32px;
    height:32px;
    line-height:32px;
    text-align:center;
    color:rgba(0,0,0,0.5);
    font-size:11pt;
    margin:-16px 0 0 -16px;
}





.banner.V2 .text_field.editable { cursor: text; }
.banner .text_field.editable { cursor:pointer; }

.text_field .text_field_content > .hover-marker {
    position:absolute;
    left:-48px;
    top:-48px;
    width:calc(100% + 96px);
    height:calc(100% + 96px);
    z-index:108;
    pointer-events:none;
}

.text_field.editable .text_field_content > .hover-marker {
    pointer-events:all;
}

.text_field.editable .text_field_content > .hover-marker:hover {
    /* background-color:rgba(255,255,255,0.1); */
    background-color:rgba(0,0,0,0.05);
}

.text_field.editable.active .text_field_content > .hover-marker::after,
.text_field.editable.active .text_field_content > .hover-marker:hover::after {
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:100%;
    pointer-events:none;
    /* background-color:rgba(255,255,255,0.3); */
    background-color:rgba(0,0,0,0.1);
    /* border:1px dashed rgba(0,0,0,0.25); */
    border:1px dashed #fff;
    box-sizing:border-box;
}





.title.editable {
    cursor:text;
    user-select:none;
}

.title.editable::after {
    content:'';
    position:absolute;
    left:-16px;
    top:-16px;
    width:calc(100% + 32px);
    height:calc(100% + 32px);
    pointer-events:none;
    /* background-color:rgba(255,255,255,0.1); */
    background-color:rgba(0,0,0,0.05);
    opacity:0;
    z-index:-1;
    box-sizing:border-box;
}

.title.editable:hover::after {
    opacity:1;
}

.title.editable.active::after,
.title.editable.active:hover::after {
    /* background-color:rgba(255,255,255,0.3); */
    background-color:rgba(0,0,0,0.1);
    /* border:1px dashed rgba(0,0,0,0.25); */
    border:1px dashed #fff;
    opacity:1;
}





.description.editable {
    cursor:text;
    user-select:none;
}

.description.editable::after {
    content:'';
    position:absolute;
    left:-19px;
    top:-16px;
    width:calc(100% + 32px);
    height:calc(100% + 32px);
    pointer-events:none;
    background-color:rgba(0,0,0,0.05);
    opacity:0;
    z-index:-1;
    box-sizing:border-box;
}

.description.editable:hover::after {
    opacity:1;
}

.description.editable.active::after,
.description.editable.active:hover::after {
    /* background-color:rgba(255,255,255,0.3); */
    background-color:rgba(0,0,0,0.1);
    /* border:1px dashed rgba(0,0,0,0.25); */
    border:1px dashed #fff;
    opacity:1;
}




















/* --   BANNERS GALLERY   -- */

#files-gallery-container {
    position: fixed;
    left: 0;
    top: 56px;
    width: 100%;
    height: calc(100% - 56px);
    z-index: 30000;
    transition: all 0.2s ease-in-out;
    background: #eee;
    overflow-y: auto;
}

#files-gallery-container.hide {
    /* transform: scale(0.975); */
}

#files-gallery-container.zoom-in {
    transform: scale(3);
}

#files-gallery-container .header {
    position: fixed;
    left: 0;
    top: 56px;
    width: 100%;
    height: 128px;
    line-height: 16px;
    z-index: 30006;
    background-color: #d9d9d9;
    padding: 0 32px;
}

#files-gallery-container .header::after {
    content:'';
    position:absolute;
    left:0;
    top:100%;
    width:100%;
    height:56px;
    background:-moz-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(226,226,226,0) 100%);
    background:-webkit-linear-gradient(top, rgba(226,226,226,1) 0%, rgba(226,226,226,0) 100%);
    background:linear-gradient(to bottom, rgba(226,226,226,1) 0%, rgba(226,226,226,0) 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e2e2e2', endColorstr='#00e2e2e2', GradientType=0);
    z-index:9;
    pointer-events:none;
}

#files-gallery-container .header .bottom-line {
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:1px;
    background-color:rgba(0,0,0,0.2);
    box-sizing:border-box;
    z-index:10;
}

#files-gallery-container .path {
    font-size:24pt;
    font-family:titillium_weblight;
    color:#666;
    height:128px;
    line-height:128px;
    float:left;
    z-index:30007;
}

#founded-files-counter,
#all-files-counter {
    font-family:titillium_webregular;
    font-size:10pt;
    position:absolute;
    left:34px;
    top:96px;
    line-height:16px;
    color:#888;
}

#founded-files-counter b,
#all-files-counter b {
    font-family:titillium_websemibold;
    float:none;
    display:inline;
}





/* --   ZAMKNIĘCIE GALERII   -- */

#close-files-gallery {
    position:absolute;
    right:32px;
    top:24px;
    width:80px;
    height:80px;
    cursor:pointer;
    z-index:30007;
    transition:all 0.1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#close-files-gallery:hover {
    transform:scale(1.1);
}

#close-files-gallery::after {
    content:'';
    position:absolute;
    width:40px;
    height:40px;
    background-color:#de0000;
    border-radius:100%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:2;
}

#close-files-gallery svg {
    width:24px;
    height:24px;
    stroke-width:1px !important;
    color:#fff;
    z-index:3;
}

#close-files-gallery:hover svg {
    stroke-width:2px !important;
}





/* --   WYSZUKIWARKA PLIKÓW   -- */

#search-files-gallery {
    position:absolute;
    right:112px;
    top:24px;
    width:80px;
    height:80px;
    cursor:pointer;
    z-index:30007;
    transition:all 0.1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#search-files-gallery div {
    position:absolute;
    width:40px;
    height:40px;
    background-color:rgba(255,255,255,0);
    border-radius:20px;
    right:20px;
    top:20px;
    transition: all 0.25s cubic-bezier(.785, .135, .15, .86);
    z-index:2;
}

#search-files-gallery:hover div {
    background-color:rgba(255,255,255,0.5);
}

#search-files-gallery.expand div {
    background-color:rgba(255,255,255,1);
    width:300px;
    padding:0 24px;
    box-shadow:0 4px 8px rgba(0,0,0,0.05);
}

#search-files-gallery div input {
    line-height:32px;
    height:32px;
    width:100%;
    border:0;
    background:none;
    /* background-color:rgba(0,0,0,0.2); */
    font-size:12pt;
    font-family:titillium_websemibold;
    color:#888;
    margin:4px 0 0 0;
    outline: none;
}

#search-files-gallery svg {
    width:24px;
    height:24px;
    stroke-width:1px !important;
    color:#666;
    z-index:3;
    transition:all 0.1s ease-in-out;
}

#search-files-gallery:hover svg {
    stroke-width:2px !important;
    transform:scale(1.1);
}










/* --   SORTOWANIE PLIKÓW   -- */

#sort-files {
    position:absolute;
    right:212px;
    top:48px;
    width:auto;
    line-height:32px;
    height:32px;
    cursor:pointer;
    z-index:30008;
    transition: all 0.25s cubic-bezier(.785, .135, .15, .86);
}

#sort-files.move-by-search {
    transform: translate(-240px, 0);
}

#sort-files span {
    text-transform: uppercase;
    color: #666;
}










/* --   INFORMACJA O BRAKU PLIKÓW W GALERII   -- */

#no-files-found-info {
    position:fixed;
    left:0;
    top:50%;
    width:100%;
    height:32px;
    line-height:32px;
    text-align:center;
    color:#444;
    font-size:16pt;
    font-family:titillium_webthin;
    white-space:nowrap;
    z-index:30010;
    font-weight:100;
    margin:-16px 0 0 0;
}










/* --   LISTA PLIKÓW   -- */

#files-gallery-loader {
    z-index:30010;
    position:fixed;
}





#files-gallery {
    float:left;
    width:100%;
    height:auto;
    z-index:30005;
    padding:176px 16px 16px 16px;
    min-height:calc(100% + 64px);
    transition: all .5s ease-out;
}

#files-gallery.blanked {
    opacity: 0.15;
}





#files-gallery .thumb {
    width:20%;
    height:296px;
    float:left;
    margin:0;
    padding:16px;
    z-index:30004;
    border-radius:5px;
    user-select:none;
}

#files-gallery .thumb:hover {
    background-color:rgba(255,255,255,0.5);
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    z-index:30010;
}

#files-gallery .thumb.zoom-out {
    transform:scale(0);
    opacity:0;
    transition:all 0.15s
}

#files-gallery .thumb .bg-clip {
    width:100%;
    height:128px;
    float:left;
    overflow:hidden;
    background-color:#ddd;
    cursor:pointer;
}

#files-gallery .thumb .bg {
    width:100%;
    height:100%;
    float:left;
    background-repeat:no-repeat;
    background-size:cover;
    background-position:50% 50%;
    transition:opacity 0.15s ease-out;
    z-index:30004;
    opacity:1;
    /* opacity:0.95; */
}

#files-gallery .thumb:hover .bg {
    transform:scale(1.02);
    filter:brightness(1.2);
    /* opacity:1; */
}

#files-gallery .thumb .image-preloader {
    width:1px;
    height:1px;
    pointer-events:none;
    position:absolute;
    left:0;
    top:0;
    opacity:0;
}

#files-gallery .thumb .filename {
    width:100%;
    line-height:16px;
    text-align:left;
    color:#444;
    font-size:12pt;
    z-index:30005;
    font-family:titillium_websemibold;
    float:left;
    margin:16px 0 8px 0;
    padding:0 4px;
}

#files-gallery .thumb .filename * { float:left; }
#files-gallery .thumb .filename .dot { margin:0 2px 0 1px; }
#files-gallery .thumb .filename .name { cursor:pointer; transition:color 0.15s ease-in-out; }
#files-gallery .thumb .filename .name:hover { color:#777; }

#files-gallery .thumb .filename .name.editable {
    color:#0066ff;
    font-size:13pt;
    /* background:rgba(255,255,255,0.5);
    box-shadow:0 0 1px rgba(0,0,0,0.1);
    border-radius:3px;
    padding:0 8px;
    line-height:24px; */
}

#files-gallery .thumb .filesize,
#files-gallery .thumb .dimensions,
#files-gallery .thumb .send_date {
    width:100%;
    line-height:16px;
    text-align:left;
    color:#888;
    font-size:10pt;
    z-index:30005;
    font-family:titillium_webregular;
    float:left;
    margin:4px 0 0 0;
    padding:0 4px;
}

#files-gallery .thumb .filesize b,
#files-gallery .thumb .dimensions b,
#files-gallery .thumb .send_date b {
    float: none;
}

#files-gallery .thumb .merge-duplicates {
    position:absolute;
    z-index:50000;
    /* left:50%;
    top:50%;
    transform:translate(-50%, -50%); */
}










/* --   IKONKI AKCJI NA PLIKACH   -- */

#files-gallery .thumb-buttons {
    position:absolute;
    right:8px;
    bottom:8px;
    width:160px;
    height:40px;
    z-index:100001;
    display:none;
}

#files-gallery .thumb:hover .thumb-buttons {
    display:block;
}

#files-gallery .thumb-buttons .icon {
    float:right;
    width:40px;
    height:40px;
    padding:8px;
    cursor:pointer;
    color:#aaa;
    z-index:30010;
    transition:all 0.1s ease-out;
    margin:0 0 0 8px;
}

#files-gallery .thumb-buttons .icon.hide {
    transform:scale(0.25);
    transition:all 0.2s ease-out;
}

#files-gallery .thumb-buttons .icon:hover {
    color:#666;
}










/* --   POTWIERDZENIE USUNIĘCIA PLIKU   -- */

#files-gallery .thumb .delete-confirm {
    position:absolute;
    left:8px;
    top:8px;
    width:calc(100% - 16px);
    height:calc(100% - 16px);
    z-index:100001;
    background-color:#333;
    padding:32px;
    border-radius:3px;
    transition:all 0.15s ease-in-out;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-direction:column;
}

#files-gallery .thumb .delete-confirm.hide {
    transform:scale(0.975);
}

#files-gallery .thumb .delete-confirm p {
    float:left;
    width:100%;
    text-align:center;
    font-size:10pt;
    color:#eee;
    line-height:150%;
    margin:16px 0;
    font-family:titillium_webregular;
}

#files-gallery .thumb .delete-confirm p span {
    float:none;
    display:inline-block;
}










/* --   ALERTY AKCJI W GALERII   -- */

/*
#files-gallery-notice {
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:128px;
    z-index:60000;
}

#files-gallery-notice .notice {
    position:absolute;
    font-size:12pt;
    color:#e2e2e2;
    white-space:nowrap;
    padding:0 8px;
    height:40px;
    line-height:40px;
    border-radius:3px;
    background-color:#444;
    text-transform:uppercase;
    font-family:titillium_webbold;
}
*/










/* --   ZNACZEK O UŻYCIU PLIKU W BAZIE   -- */

.used {
    position:absolute !important;
    right:16px;
    top:156px;
    width:24px;
    height:24px;
    line-height:24px;
    border-radius:3px;
    background-color:#bbb;
    z-index:100;
    color:#fff;
    text-align:center;
    font-size:10pt;
    font-family:titillium_websemibold;
    opacity:0;
}

#files-gallery .thumb:hover .used{
    opacity:1;
}










/* --   CONTENT EDITOR TOOLBAR - V2   -- */

#content-editor-toolbar-v2 {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 2101;
    transition: all .15s cubic-bezier(.785, .135, .15, .86) !important;
    opacity: 0;
    pointer-events: none;
    transform: translate(0, -8px);
}

#content-editor-toolbar-v2 .object-options {
    width: 100%;
    height: 56px;
    background: #f5f5f5;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .075);
    z-index: 3000;
    user-select: none;
}

#content-editor-toolbar-v2 .object-options div {
    height: 56px;
    line-height: 56px;
    color: #888;
}

#content-editor-toolbar-v2 .object-options .object-type {
    font-family: titillium_webbold;
    font-size: 12pt;
    color: #666;
    text-transform: uppercase;
    margin: 0 0 0 32px;
}

#content-editor-toolbar-v2 .object-options .content-editor-title {
    margin: 0 0 0 32px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

#content-editor-toolbar-v2 .object-options .content-editor-title span:hover { filter: brightness(1.05); }
#content-editor-toolbar-v2 .object-options .content-editor-title span {
    font-family: titillium_websemibold;
    font-size: 10pt;
    text-transform: uppercase;
    color: #fff;
    background: #;
    line-height: 24px;
    padding: 0 8px;
    border-radius: 3px;
    margin: 0;
    box-shadow: -1px 4px 8px -4px rgba(85, 85, 85, .75);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, .1);
    cursor: pointer;
}

#content-editor-toolbar-v2 .object-options .content-editor-title svg {
    width: 20px;
    height: 20px;
    margin: 18px 12px 0 0;
    display: none;
}

#content-editor-toolbar-v2 .object-options .chevron {
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0;
}

#content-editor-toolbar-v2 .object-options .chevron svg {
    width: 16px;
    height: 16px;
    color: #666;
}

#content-editor-toolbar-v2 .object-options .ul-select {
    /* transform: translate(0, 2px); */
    margin: 14px 0 0 0;
    transition: none;
}

#content-editor-toolbar-v2 .object-options .icon:hover { background: #e5e5e5; }
#content-editor-toolbar-v2 .object-options .icon {
    width: 28px;
    height: 28px;
    margin: 14px 0 0 4px;
    background: #eee;
    cursor: pointer;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

#content-editor-toolbar-v2 .object-options .icon svg {
    width: 16px;
    height: 16px;
    color: #666;
    pointer-events: none;
}

#content-editor-toolbar-v2 .object-options .bt {
    margin: 12px 0 0 0;
}

#content-editor-toolbar-v2 .separator {
    width: 2px;
    height: 16px;
    background: #aaa;
    margin: 20px 0 0 0;
}





#dropzone-upload-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 28px !important;
    height: 28px !important;
    z-index: 10000;
}

/* #upload-background {
    transition: all .15s ease-out;
}

#upload-background.uploading {
    width: 228px !important;
} */

#upload-background svg {
    transition: all .15s ease-out;
}

#upload-background.uploading svg {
    opacity: 0;
}

#upload-background .loader {
    left: 4px;
    opacity: 0;
    transition: all .15s ease-out !important;
    transform: translate(0, -50%);
}

#upload-background.uploading .loader {
    opacity: 1;
}

#upload-background-progress {
    position: absolute;
    left: 50%;
    top: 50px;
    width: 200px;
    height: 48px !important;
    opacity: 0;
    transform: translate(-50%, 0);
    transition: all .15s ease-out;
    background: #eee;
    border-radius: 3px;
    padding: 0 8px;
    box-shadow: -1px 4px 8px -4px rgba(85, 85, 85, .75);
    pointer-events: none;
}

#upload-background.uploading #upload-background-progress {
    opacity: 1;
}

#upload-background-progress .progress b {
    background: #;
    height: 8px;
}

#upload-background-progress .progress {
    margin: 2px 0 0 0;
    width: 100%;
    height: 8px;
    background: #ccc;
}

#upload-background-progress .percent {
    line-height: 24px;
    font-size: 9pt;
    width: 100%;
    text-align: center;
    margin: 4px 0 0 0;
    text-transform: uppercase;
    font-family: titillium_websemibold;
}





/* --   KOLOR TŁA   -- */

#color-field-close-fullscreen {
    position: fixed;
    z-index: 999998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

#color-field-container {
    width: 28px;
    height: 28px !important;
    margin: 14px 0 0 0;
}

#color-field-preview {
    position: absolute;
    left: 4px;
    top: 4px;
    width: 20px;
    height: 20px !important;
    /* border-radius: 100%; */
    z-index: 2;
    pointer-events: none;
    border: 1px solid #ddd;
}

#color-field:hover { border: 4px solid #e5e5e5; /* box-shadow: 0 2px 11px -3px rgba(85, 85, 85, .75); */ }
#color-field {
    width: 28px;
    height: 28px;
    border: 4px solid #eee;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
    border-radius: 3px;
    /* box-shadow: 0 2px 9px -4px rgba(85, 85, 85, .75); */
    background-image: repeating-linear-gradient(45deg, #ddd 25%, transparent 25%, transparent 75%, #ddd 75%, #ddd), repeating-linear-gradient(45deg, #ddd 25%, #fff 25%, #fff 75%, #ddd 75%, #ddd);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    z-index: 1;
}










#mobile-visibility .n-checkbox {
    margin: 18px 8px 0 0;
}











/* #color-field-container {
    width: 24px;
    height: 24px !important;
    margin: 16px 4px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#color-field-preview {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 20px;
    height: 20px !important;
    border-radius: 100%;
    z-index: 2;
    pointer-events: none;
}

#color-field:hover { box-shadow: 0 2px 11px -3px rgba(85, 85, 85, .75); }
#color-field {
    width: 24px;
    height: 24px;
    border-radius: 100%;
    border: 2px solid #fff;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
    box-shadow: 0 2px 9px -4px rgba(85, 85, 85, .75);
    background-image: repeating-linear-gradient(45deg, #ddd 25%, transparent 25%, transparent 75%, #ddd 75%, #ddd), repeating-linear-gradient(45deg, #ddd 25%, #fff 25%, #fff 75%, #ddd 75%, #ddd);
    background-position: 0 0, 4px 4px;
    background-size: 8px 8px;
    z-index: 1;
} */










/* #background-solid-color span > .bg {
    width: 20px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, .2);
}

#background-solid-color span > .bg.empty {
    border: 1px solid rgba(0, 0, 0, .2);
    background-image: linear-gradient(45deg, #a6ccf788 25%, transparent 25%),
                      linear-gradient(-45deg, #a6ccf788 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, #a6ccf788 75%),
                      linear-gradient(-45deg, transparent 75%, #a6ccf788 75%);
    background-size: 12px 12px;
    background-position: 0 0, 0 6px, 6px -6px, -6px 0px;
}

#text-color-preview {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(0, 0, 0, .25);
}

.icon-expand-highlight {
    position: absolute;
    left: -8px;
    top: -8px;
    width: 48px;
    height: 48px;
    z-index: -1;
    background: #fff;
    border-radius: 5px 5px 0 0;
    transition: all .15s ease-out;
}

#colors-list,
#background-colors-list {
    position: absolute;
    left: 50%;
    top: 40px;
    width: 232px;
    height: auto !important;
    background: #fff;
    border-radius: 0 0 4px 4px;
    margin: 0 0 0 -116px;
    box-shadow: 0 8px 4px rgba(0, 0, 0, .1);
    padding: 4px;
}

#colors-list .bg,
#background-colors-list .bg {
    width: 32px;
    height: 32px;
    margin: 0;
    float: left;
    z-index: 10;
}

#colors-list .bg:hover,
#background-colors-list .bg:hover {
    filter: brightness(1.1);
    z-index: 11;
}

#colors-list .bg:hover::after,
#background-colors-list .bg:hover::after {
    content: '';
    position: absolute;
    left: -1px;
    top: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border: 2px solid rgba(255, 255, 255, .75);
    box-sizing: border-box;
} */










/* --   TOOLBAR TINYMCE   -- */

#tinymce_content_toolbar {
    position: fixed;
    left: 0;
    top: 56px;
    width: 100%;
    z-index: 2099;
    transition: all .15s cubic-bezier(.785, .135, .15, .86) !important;
    pointer-events: none;
}

#tinymce_content_toolbar.standby .tox-tinymce-inline:first-child {
    display: flex !important;
    opacity: .5;
    pointer-events: none;
}

#tinymce_content_toolbar .tox-tinymce {
    width: calc(100% + 32px) !important;
    margin: 0 0 0 -16px;
}

#tinymce_content_toolbar .tox-tinymce-aux {
    pointer-events: all;
}

#tinymce_content_toolbar .tox .tox-toolbar,
#tinymce_content_toolbar .tox .tox-toolbar__overflow,
#tinymce_content_toolbar .tox .tox-toolbar__primary {
    border-radius: 4px;
}

#tinymce_content_toolbar .tox-tinymce .tox-editor-header {
    background: none;
    transition: all .25s cubic-bezier(.785, .135, .15, .86) !important;
    overflow: visible;
}

#tinymce_content_toolbar .tox .tox-editor-container {
    flex-direction: row;
    justify-content: center;
    pointer-events: none;
}

#tinymce_content_toolbar .tox.tox-tinymce-inline .tox-editor-header {
    border-radius: 0;
    border: 0;
    margin: 8px 0 0 0;
    box-shadow: none;
    pointer-events: all;
}

#tinymce_content_toolbar .tox .tox-pop__dialog {
    width: 352px;
}

#tinymce_content_toolbar .tox .tox-toolbar, .tox .tox-toolbar__overflow, .tox .tox-toolbar__primary {
    background: #fff;
    border-radius: 4px;
    box-shadow: -1px 4px 8px -4px rgba(85, 85, 85, .25);
    padding: 0;
}
