﻿
.dash-columns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 100%;
}

    .dash-columns > * {
        flex-grow: 1;
        height: 100%;
        min-height: 700px;
    }

    .dash-columns.left-less > *:first-child {
        max-width: 30%;
        margin-right: 0.75rem;
    }

    .dash-columns.equal > * {
        max-width: 50%;
    }

        .dash-columns.equal > *:first-child {
            margin-right: 0.75rem;
        }

    .dash-columns.three > * {
        max-width: 33%;
        margin-right: 0.75rem;
    }

        .dash-columns.three > *:last-child {
            margin-right: 0;
        }

.dash-panel {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    border: 1px solid #e3ecf3;
    height: 100%;
    background: white;
}

    .dash-panel.drag-mode {
        border: 1px dashed #ff6a00;
    }

.dash-module-name {
    color: #6d8797;
    font-size: 11px;
    margin-left: 8px;
    margin-top: 8px;
}

.dash-panel .panel-content {
    position: relative;
    height: 100%;
    overflow: auto;
}

.dash-panel .title-bar {
    position: relative;
    background: #f3f6fa;
    padding-left: 2px;
    padding-top: 5px;
    z-index: 9999;
    padding-bottom: 5px;
}

    .dash-panel .title-bar .icon-cog {
        position: absolute;
        right: 30px;
        top: 5px;
        display: block;
        width: 20px;
        height: 20px;
        background: url('/css/images/icon-cog.svg') no-repeat;
        background-size: 20px;
        cursor: pointer;
        opacity: 0.55;
    }

        .dash-panel .title-bar .icon-cog:hover {
            opacity: 1;
        }

    .dash-panel .title-bar .icon-trash {
        position: absolute;
        right: 15px;
        top: 5px;
        display: block;
        width: 20px;
        height: 20px;
        background: url('/css/images/icon-trash.svg') no-repeat;
        background-size: 20px;
        cursor: pointer;
        opacity: 0.55;
    }

        .dash-panel .title-bar .icon-trash:hover {
            opacity: 1;
        }

    .dash-panel .title-bar .title-edit {
        background: none;
        font-size: 14px;
        font-family: 'Outfit Medium';
        color: #747474;
        display: inline-block;
        outline: 0;
        padding-left: 8px;
        border: 1px solid rgba(0,0,0,0);
        border-radius: 15px;
        padding-right: 20px;
    }

        .dash-panel .title-bar .title-edit:hover, .dash-panel .title-bar .title-edit.editing {
            border: 1px solid #E3ECF3;
            background-color: white;
        }

            .dash-panel .title-bar .title-edit.editing {
                padding-right: 8px;
            }

            .dash-height-wrap.dash-edit-mode .dash-panel .title-bar .title-edit {
                border-radius: 10px;
                border: 1px solid #e3ecf3;
                background: white;
                font-family: 'Outfit';
                font-size: 12px;
                color: #747474;
                display: inline-block;
                min-width: 150px;
                outline: 0;
                padding-left: 8px;
            }

    .dash-columns .col-placeholder {
        position: absolute;
        width: 100%;
        height: 100%;
        border: 1px dashed #e3ecf3;
    }

.dash-columns .press-to-start {
    position: absolute;
    top: 50%;
    left: calc(50% - 165px);
    width: 330px;
    text-align: center;
    opacity: 0.44;
    color: #747474;
    cursor: pointer;
}

    .dash-columns .press-to-start:hover {
        opacity: 0.75;
    }

    .icon-puzzle {
        display: inline-block;
        width: 20px;
        height: 20px;
        background: url('/css/images/puzzle-piece.svg') no-repeat;
        background-size: 20px;
    }

    .icon-puzzle.active {
        background-image: url('/css/images/puzzle-piece-orange.svg');
    }

.col-placeholder .press-to-start .icon-puzzle {
    position: relative;
    right: unset;
}

.icon-plus-dash {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/css/images/icon-plus-new.svg') no-repeat;
    background-size: 20px;
}

.dashboard-screen .press-to-start .icon-plus-dash {
    position: relative;
    right: unset;
}

.icon-trash-dash {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('/css/images/minus-square.svg') no-repeat;
    background-size: 20px;
}


.dashboard-screen {
    position: relative;
    padding-top: 5px;
    display: flex;
    background: #fcfcfc;
    height: 100%;
}

.dash-height-wrap {
    height: calc(100% - 20px);
    overflow: auto;
    margin-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
}
    .dashboard-screen > * {
        flex-grow: 1;
    }

    .dashboard-screen .icon-puzzle {
        position: absolute;
        right: 1rem;
        top: 0px;
        cursor: pointer;
        opacity: 0.55;
    }

    .dashboard-screen .icon-puzzle:hover {
        opacity: 1;
    }

    .dashboard-screen .icon-plus-dash {
        position: absolute;
        right: 2.7rem;
        top: 0px;
        cursor: pointer;
        opacity: 0.55;
    }

        .dashboard-screen .icon-plus-dash:hover {
            opacity: 1;
        }

        .dashboard-screen .icon-trash-dash {
            position: absolute;
            right: 4.4rem;
            top: 0px;
            cursor: pointer;
            opacity: 0.55;
        }

            .dashboard-screen .icon-trash-dash:hover {
                opacity: 1;
            }

            .content .body.on-dash {
                height: 100%;
            }

.dash-settings {
    min-width: 141px;
    max-width: 141px;
    border-radius: 3px;
    border: 1px solid #e3ecf3;
    padding-top: 5px;
    margin-top: 18px;
    margin-left: 10px;
    height: calc(100% - 25px);
    position: relative;
}

    .dash-settings input {
        padding-left: 8px;
        border-radius: 10px;
        font-size: 12px;
        color: #88a8bd;
        border: 1px solid #e3ecf3;
        margin-left: 3px;
        width: calc(100% - 6px);
        outline: 0;
    }

.layout-select {
    font-size: 11px;
    color: #6d8797;
    text-align: right;
    padding-right: 30px;
    margin-bottom: 10px;
    background: url(/css/images/icon-arrow-down.svg) no-repeat;
    background-position: calc(100% - 4px) center;
    background-size: 17px;
    margin-top: 6px;
    cursor: pointer;
}

    .layout-select:hover {
        background-color: #EDF8FF;
    }

.layout-dummy {
    width: 40px;
    height: 20px;
    display: inline-flex;
    margin-left: 10px;
}

.layout-select > * {
    vertical-align: middle;
}

.layout-dummy > * {
    flex-grow: 1;
}

.layout-dummy.lesser-left .p1, .layout-dummy.lesser-left .p2 {
    display: block;
}

.layout-dummy.lesser-left .p1 {
    min-width: 30%;
    max-width: 30%;
    margin-right: 3px;
    background: #83a3ba;
}

.layout-dummy.lesser-left .p2 {
    min-width: calc(70% - 3px);
    max-width: calc(70% - 3px);
    background: #83a3ba;
}

.layout-dummy.lesser-left .p3 {
    display: none;
}

.layout-dummy.one .p1 {
    display: block;
}

.layout-dummy.one .p1 {
    min-width: 100%;
    max-width: 100%;
    margin-right: 0px;
    background: #83a3ba;
}

.layout-dummy.one .p2, .layout-dummy.one .p3 {
    display: none;
}

.layout-dummy.equal-side .p1, .layout-dummy.equal-side .p2 {
    display: block;
}

.layout-dummy.equal-side .p1, .layout-dummy.equal-side .p2 {
    min-width: calc(50% - 2px);
    max-width: calc(50% - 2px);
    margin-right: 3px;
    background: #83a3ba;
}

.layout-dummy.equal-side .p2 {
    margin-right: 0;
    min-width: calc(50% - 1px);
    max-width: calc(50% - 1px);
}

.layout-dummy.three-side .p3 {
    display: none;
}

.layout-dummy.three-side .p1, .layout-dummy.three-side .p2, .layout-dummy.three-side .p3 {
    display: block;
}

.layout-dummy.three-side .p1, .layout-dummy.three-side .p2, .layout-dummy.three-side .p3 {
    min-width: calc(33% - 2px);
    max-width: calc(33% - 2px);
    margin-right: 3px;
    background: #83a3ba;
}

.layout-dummy.three-side .p3 {
    margin-right: 0;
}

.layout-menu {
    position: absolute;
    width: 100%;
    min-height: 50px;
    background: white;
    border: 1px solid #e3ecf3;
    text-align: center;
    padding-bottom: 5px;
    padding-top: 5px;
}

    .layout-menu .layout-dummy {
        margin: 0 auto;
        margin-top: 5px;
        margin-bottom: 5px;
        display: flex;
        cursor: pointer;
    }

    .layout-menu .l-item:hover {
        cursor: pointer;
        background-color: #EDF8FF;
    }

.widget-menu {
    margin-top: 10px;
}

    .widget-menu .w-group {
        margin-bottom: 8px;
    }

        .widget-menu .w-group .w-title {
            color: #6d8797;
            font-size: 12px;
            padding-left: 16px;
            font-family: "Outfit Medium";
        }

        .widget-menu .w-group .w-items {
        }

            .widget-menu .w-group .w-items .w-item {
                color: #6d8797;
                font-size: 12px;
                cursor: pointer;
                padding-left: 20px;
            }

    .widget-menu .w-item .w-item-content {
        padding-left: 8px;
        border-left: 1px solid #e3ecf3;
    }

    .widget-menu .w-group .w-items .w-item:hover {
        background-color: #EDF8FF;
    }

.content .dash-panel .action-menu {
    min-width: 100%;
    max-width: 100%;
    margin-top: 0;
}

.dialog.nav-menu-select {
    width: 1200px;
    left: calc(50% - 600px);
    top: 100px;
}

.nav-menu-select .header-toggle {
    padding-left: 50px !important;
}

    .nav-menu-select .header-toggle:hover {
        background: white !important;
        cursor: default !important;
    }
    .nav-menu-select .header-toggle .icon-collapse {
        display: none !important;
    }

.nav-menu-select .dialog-body > div, .nav-menu-select.inline-nested > div {
    display: flex;
    max-height: 400px;
    overflow: auto;
    margin-top: 20px;
}

    .nav-menu-select .dialog-body .expandable.first, .nav-menu-select.inline-nested .expandable.first {
        margin-top: 0;
    }

    .nav-menu-select .dialog-body .fixed-menus, .nav-menu-select.inline-nested .fixed-menus {
        border-top: 1px solid #e3ecf3;
    }

        .nav-menu-select .dialog-body .fixed-menus > *:first-child, .nav-menu-select.inline-nested .fixed-menus > *:first-child {
            margin-top: 3px;
        }

.nav-menu-select .dialog-body > div > *, .nav-menu-select.inline-nested > div > * {
    flex-grow: 1;
}

    .nav-menu-select .navigation .module-menu .item .group-header, .nav-menu-select .item .group-header,
    .nav-menu-select .navigation .module-menu .item.group .subitems, .nav-menu-select .item.group .subitems,
    .nav-menu-select .expandable .header-toggle.with-icon {
        padding-left: 0;
        margin-left: 0;
        border-left: 0;
    }

.nav-menu-select.inline-nested .available-badge {
    display: none;
}

.panel-content .drag-overlay, .dash-column .drag-overlay {
    position: absolute;
    z-index: 999;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    opacity: 1;
    border: 1px dashed #ff6a00;
    background-color: rgba(255,255,255,0.7);
}

    .panel-content .drag-overlay.no-border, .dash-column .drag-overlay.no-border {
        border: 0;
    }

    .dash-placeholder-cell.drag-hover {
        background-color: #e3ecf380;
    }

    .content .body.editing.on-dash .body-content .items-list, .content .body.single-entity.on-dash .body-content .items-list {
        display: block;
    }

.dash-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow: hidden;
    position: relative;
}

    .dash-column .split-handle {
        position: absolute;
        right: -1.5px;
        width: 3px;
        height: 100%;
        border-radius: 3px;
        top: 0px;
        cursor: default;
        user-select: none;
        z-index: 9999;
        padding: 2px 0px;
        padding-top: 6px;
        text-align: center;
    }

.dash-height-wrap.dash-edit-mode .dash-column .split-handle {
    cursor: ew-resize;
}

    .dash-column .split-handle.left-side {
        right: unset;
        left: -1.5px;
    }

        .dash-column .split-handle .inner {
            display: none;
        }

        .dash-column .split-handle:hover {
            background: #93C4E9;
            transition: background-color 1200ms linear;
        }

            .dash-column .split-handle:hover .inner {
                border-left: 1px solid white;
                border-right: 1px solid white;
            }

    .dash-column .dash-cell {
        flex-grow: 1;
    }

.dash-panel .task-wrapper {
    overflow-y: hidden !important;
}

.dash-panel .paging {
    position: absolute;
    bottom: 10px;
    width: 100%;
    left: 0;
    padding-left: 20px;
    height: 30px;
}

.dash-panel .paging .next-btn {
    right: 20px;
    top: 0;
}

.paging-placeholder {
    display: block;
    width: 100%;
    height: 30px;
}


.dash-placeholder-cell {
    height: 300px;
    border: 1px dashed #ff6a00;
    z-index: 99999;
}

.nested-nav .items-list .task-wrapper {
    min-width: unset;
}

.dash-panel .title-bar .icon-edit {
    display: inline-block;
    width: 11px;
    height: 11px;
    background: url(/css/images/icon-edit-name.svg) no-repeat;
    background-size: 11px;
    cursor: pointer;
    position: relative;
    top: 0px;
    margin-left: -15px;
    opacity: 0.55;
    margin-top: 4px;
}

.dash-panel .icon-confirm-edit {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/css/images/check_green.svg) no-repeat;
    background-size: 24px;
    background-position: center;
    cursor: pointer;
    position: relative;
    margin-left: 0.5rem;
    border-radius: 8px;
    vertical-align: middle;
}

.dash-panel .icon-cancel-edit {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(/css/images/close_red.svg) no-repeat;
    background-position: center;
    background-size: 16px;
    cursor: pointer;
    position: relative;
    margin-left: 0.1rem;
    vertical-align: middle;
    border-radius: 8px;
}

.dash-panel .icon-options {
    background-image: url('/css/images/three_dots.svg');
    position: absolute;
    right: 12px;
    top: 8px;
    cursor: pointer;
    width: 9px;
    height: 15px;
    background-size: 100%;
    background-repeat: no-repeat;
    margin-right: 2px;
}

.dash-panel .icon-options {
    opacity: 0.55;
}

    .dash-panel .icon-options:hover {
        opacity: 1;
    }

.dash-panel .task-menu {
    font-family: "Outfit";
    position: absolute;
    cursor: default;
    right: 0px;
    top: 25px;
    display: none;
    width: 150px;
    border-radius: 3px;
    border-style: solid;
    background-color: rgb(255, 255, 255);
    border-width: 0px;
    border-color: rgb(228, 228, 228);
    overflow: visible;
    z-index: 50;
    box-shadow: rgb(203 203 203) 1px 2px 4px;
    padding: 5px 0px 5px 11px;
}

.nested-nav.inline-nested {
    position: fixed;
    z-index: 9999999;
    min-width: 1000px;
    background: white;
    margin-top: 0px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e3ecf3;
    border-radius: 13px;
}

.nested-nav.inline-nested.right-sided {
    right: 60px;
}

.nested-nav.inline-nested .fixed-menus .item {
    padding-left: 10px;
}

.nested-nav.inline-nested > div {
    text-align: left !important;
}

    .nested-nav:not(.dash-component) .item.group .subitems {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

.nested-nav:not(.dash-component) .item .group-header {
    padding-left: 0 !important;
}


.dash-cell.full-height {
    height: 100%;
}

.nested-nav .item.group .subitems  {
    border-left: 0 !important;
}

.nav-menu-select .expandable .header-toggle {
    padding-left: 0 !important;
}

.nested-nav .item.group.has-active-subitem .subitem {
    padding-left: 0px !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.no-select-style .subitem.active, .no-select-style .item.active {
    background: none !important;
    border-color: transparent !important;
}

.no-select-style .group-header.active {
    background: none !important;
    border-color: transparent !important;
}

.checkbox-line > * {
    vertical-align: middle;
    margin-bottom: 0px;
}

.checkbox-line {
    margin-bottom: 10px;
}

.checkbox-line label {
    margin-left: 10px;
}