.loading {
    position: relative;
    overflow: hidden;
}.loading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    background-image: url('/www_admin/assets/img/loading.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50px;
 }

.dropdown-user {
    margin-bottom: 0;
    padding-left: 2rem;
}.dropdown-user img {
     border-radius: 50%;
     height: 46px;
    width: 46px;
     position: absolute;
     right: calc(100% - 20px);
     top: -3px;
     box-shadow: 6px 6px 8px rgba(0, 0, 0, .2);
     object-fit: cover;
     object-position: center;
     display: block;
 }.dropdown-user i {
       border-radius: 50%;
       height: 46px;
       width: 46px;
       background-color: #ef4444;
       color: white;
       position: absolute;
       right: calc(100% - 20px);
       top: -3px;
       box-shadow: 6px 6px 8px rgba(0, 0, 0, .2);
       object-fit: cover;
       object-position: center;
       display: block;
       font-size: 22px;
       align-items: center;
       align-content: center;
  }

 .card-flex {
     display: flex!important;
     flex-wrap: wrap;
     flex-direction: row;
 }.card-flex .card-body {
    flex: none;
}
.ce-block__content,
.ce-toolbar__content,
.codex-editor {
    max-width: 100% !important;
    width: 100%;
}
.editorjs-wrap {
    display: inline-block;
    width: 100%;
    padding-left: 5rem;
    padding-right: 5rem;
    background-color: #f4f4f5;
    border-radius: var(--bs-card-inner-border-radius);
}


textarea.hidden {
    display: none;
}
.action-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}.action-btn i {
    font-size: .7rem!important;
}
.dashboard-short-list {}

.drag-handle,
.drag-indicator {
    cursor: move;
    cursor: -webkit-grab;
    cursor: grab;
}

.card-header+.list-group .list-group-item:first-child {
    border-top: 0;
}

.list-group-bordered .list-group-item {
    border-color: rgba(19, 29, 40, .125);
}

/*.list-group-item:first-child {
    border-width: 0 0 1px;
}*/

.drag-indicator {
    display: inline-block;
    margin: 0 .5em;
    height: 8px;
    width: 6px;
    background-image: url(/admin/assets/images/drag-indicator.png);
    -webkit-transform: translate3d(-.5em, 0, 0);
    transform: translate3d(-.5em, 0, 0);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.dashboard-short-list .list-group-item {
    display: flex;
}

.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}

.dd-handle {
    margin-bottom: -1px;
    padding: .75rem 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #fff;
    border-top: 1px solid rgba(19, 29, 40, .125);
    border-bottom: 1px solid rgba(19, 29, 40, .125);
}

.dd-handle:hover {
    color: #173a86;
    background: #fff;
}

.dd-item>button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 34px;
    height: 20px;
    margin: 16px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item>button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
    font-size: 14px;
}

.dd-item>button[data-action="collapse"]:before {
    content: '-';
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f5f5f5;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #f5f5f5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.dd-dragel>.dd-item .dd-handle {
    margin-top: 0;
}

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}


/**
* Nestable Extras
*/

.nestable-lists {
    display: block;
    clear: both;
    padding: 30px 0;
    width: 100%;
    border: 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

#nestable-menu {
    padding: 0;
    margin: 20px 0;
}

#nestable-output,
#nestable2-output {
    width: 100%;
    height: 7em;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: Consolas, monospace;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#nestable2 .dd-handle {}

#nestable2 .dd-handle:hover {}

#nestable2 .dd-item>button:before {}

.dd-hover>.dd-handle {
    background: #173a86 !important;
}


/**
* Nestable Draggable Handles
*/

.dd3-content {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px 5px 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: linear-gradient(to top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd3-content:hover {
    color: #2ea8e5;
    background: #fff;
}

.dd-dragel>.dd3-item>.dd3-content {
    margin: 0;
}

.dd3-item>button {
    margin-left: 30px;
}

.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 30px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #ddd 0%, #bbb 100%);
    background: -moz-linear-gradient(top, #ddd 0%, #bbb 100%);
    background: linear-gradient(to top, #ddd 0%, #bbb 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dd3-handle:before {
    content: '≡';
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 100%;
    text-align: center;
    text-indent: 0;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
}

.dd3-handle:hover {
    background: #ddd;
}
.JS-move-holder {
    cursor: move;
}
.ribbon-holder {
    position: relative;
}.ribbon-holder i {
    font-size: 1rem;
 }
.file-row-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
   }
.tc-wrap {
    height: auto!important;
}
.navbar-vertical.navbar-expand-xs .navbar-collapse {
    height: calc(100vh - 130px);
}
.JS-added-block {
    border: 1px solid #e6e6e6;
    padding: 2.5rem 1rem 1rem 1rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}
.added-block-move {
    margin-top: -1.5rem;
    margin-bottom: 1rem;
    cursor: move;
}
.sortable-chosen .codex-editor-overlay{
    display: none;
}
.sortable-chosen .editorjs-wrap {
    pointer-events: none;
}
.select2-container {
    width: 100% !important;
    display: block;
}
.codex-editor__redactor {
    padding-bottom: 2rem!important;
}

@media (max-width: 560px) {
    .navbar-main {
        margin: 20px 6px 6px 6px !important;
    }
    .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl, .container-xxl {
        padding: 20px 6px !important;
    }
    .mobile-hide {
        display: none!important;
    }

    tfoot tr {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        text-align: center;
    }
    tfoot tr td:nth-child(1) {
        width: 100%;
        order: 1;
    }
    tfoot tr td:nth-child(2) {
        width: 100%;
        order: 3;
    }
    tfoot tr td:nth-child(3) {
        width: 100%;
        order: 2;
    }

    tfoot tr td:nth-child(3) div {
        justify-content: center!important;
    }
}
.sticky-right {
    position: sticky;
    right: 0;
    background-color: white!important;

}

#JS-nested-list ul {
    list-style: none;
    padding: 0;
}

.header-select {
    border: none;
    font-size: 0.8rem;
    border-left: 1px solid;
    margin-left: 10px;
    padding-left: 8px;
    display: block;
}

.file-counter-line {
    position: relative;
}

.file-counter-line i {
    font-size: 1.1rem;
}

.file-counter-line .ribbon {
    position: absolute;
    background-color: #ef4444;
    font-size: 0.7rem;
    color: wheat;
    text-align: center;
    border-radius: 50%;
    display: flex;
    font-weight: bold;
    width: 16px;
    height: 16px;
    justify-content: center;
    align-items: center;
    top: -8px;
    right: -8px;
}

.float-left { float: left; }
.float-right { float: right; }
.float-none { float: none; }


.admin__image-upload-wrapper {
    background: white;
    padding: 1rem;
}

.admin__image-upload-wrapper:hover{
    cursor: pointer;
    background: #FBFCFE;
    -webkit-box-shadow: 0 1px 3px 0 rgba(18, 30, 57, .08);
    box-shadow: 0 1px 3px #121e3914;
}
.admin__image-tool {
    --bg-color: #cdd1e0;
    --front-color: #388ae5;
    --border-color: #e8e8eb;
}
.admin__image-tool__image {
    border-radius: 3px;
    overflow: hidden;
    padding-bottom: 0;
    position: relative;
}
.admin__image-tool__image-picture {
    max-width: 100%;
    vertical-align: bottom;
    position: relative;
    display: block;
}
.admin__image-tool__image::after {
    position: absolute;
    display: flex;
    opacity: 0;
    align-items: center;
    justify-content: center;
    align-content: center;
    content: "Kliknutím odstraníte / vyměníte fotku";
    width: 100%;
    height: 100%;
    z-index: 9;
    color: white;
    background-color: #f97316cf;
    left: 0;
    top: 0;
    text-align: center;
    font-weight: 600;
    font-size: 13px;
    padding: 0 16px;
    transition: .4s;
}
.admin__image-tool__image:hover::after {
    opacity: 1;
}
.admin__image-tool__image-preloader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    margin: auto;
    position: relative;
    background-color: var(--bg-color);
    background-position: center center;
}
.admin__image-tool__image-preloader:after {
    content: "";
    position: absolute;
    z-index: 3;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
    border-top-color: var(--front-color);
    left: 50%;
    top: 50%;
    margin-top: -30px;
    margin-left: -30px;
    animation: admin__image-preloader-spin 2s infinite linear;
    box-sizing: border-box;
}
.admin__image-tool__caption {
    visibility: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 10px;
}
.admin__image-tool__caption[contentEditable=true][data-placeholder]:before {
    position: absolute !important;
    content: attr(data-placeholder);
    color: #707684;
    font-weight: 400;
    display: none;
}
.admin__image-tool__caption[contentEditable=true][data-placeholder]:empty:before {
    display: block;
}
.admin__image-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before {
    display: none;
}
.admin__image-tool--empty .admin__image-tool__image,
.admin__image-tool--empty .admin__image-tool__image-preloader {
    display: none;
}
.admin__image-tool--empty .admin__image-tool__caption,
.admin__image-tool--uploading .admin__image-tool__caption {
    visibility: hidden !important;
}
.admin__image-tool .admin__cdx-button {
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin__image-tool .admin__cdx-button svg {
    height: auto;
    margin: 0 6px 0 0;
}
.admin__image-tool--filled .admin__cdx-button,
.admin__image-tool--filled .admin__image-tool__image-preloader {
    display: none;
}
.admin__image-tool--uploading .admin__image-tool__image {
    min-height: 200px;
    display: flex;
    border: 1px solid var(--border-color);
    background-color: #fff;
}
.admin__image-tool--uploading .admin__image-tool__image-picture,
.admin__image-tool--uploading .admin__cdx-button {
    display: none;
}
.admin__image-tool--withBorder .admin__image-tool__image {
    border: 1px solid var(--border-color);
}
.admin__image-tool--withBackground .admin__image-tool__image {
    padding: 15px;
    background: var(--bg-color);
}
.admin__image-tool--withBackground .admin__image-tool__image-picture {
    max-width: 60%;
    margin: 0 auto;
}
.admin__image-tool--stretched .admin__image-tool__image-picture {
    width: 100%;
}
.admin__image-tool--caption .admin__image-tool__caption {
    visibility: visible;
}
.admin__image-tool--caption {
    padding-bottom: 0px;
}
@keyframes admin__image-preloader-spin {
    0% {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
a.link {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
}
a.link:hover {
    color: #f97316;
}
.pop-up-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    min-width: 250px;
    max-width: 90vw;
    display: none;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.progress-bar-top {
    height: 4px;
    background-color: rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.progress-bar-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transform: translateX(-100%);
    animation: progressBarAnim 5s linear forwards;
}

@keyframes progressBarAnim {
    to {
        transform: translateX(0);
    }
}

.ribbon-headline {
    font-size: smaller;
    background-color: #ef4444;
    color: white;
    border-radius: 4px;
    padding: 4px 10px;
}
table td span {
    white-space: normal!important;
}

.nav-pills {
    max-width: 100%;
    overflow: auto;
    white-space: nowrap;
    display: flex
;
    flex-wrap: nowrap;
}