
html {
	scrollbar-width:auto;
}
*, *:before, *::after {
	box-sizing: inherit;
    user-select:auto; 
}

@media screen and (min-width:650px) {
    section:not(.split):not(.fw) .content{
        padding:15px;
        border-radius: 10px;
        box-shadow: 0 0 2px 3px rgba(0, 0, 0, .03);
        border:1px solid #ccc;
        max-height:80%;
        width:80%;
        max-width:1100px;
        margin:25px auto;
    }
}
@media screen and (max-width: 649px) {
    section.m-t-50px{margin-top:0;}
     section:not(.split):not(.fw) .content{
        width:100%;
        margin:0 auto;
    }
}

article{min-height:100dvh}

section .content{max-height:none}
.col-square-con{
	padding:5px;
    border-radius: 5px;
    background:#e1e1e1;
    margin-bottom:5px;
}
.menu-item {
    margin: 5px;
}
.field{
    align-items:center;
}
@media screen and (min-width: 650px) {
    .menu-item .field {
        margin: 5px 15px 5px 0;
    }
}
@media screen and (max-width: 649px) {
    .menu-item.flex-r {
        flex-direction: column;
    }
    .menu-item .field {
        margin-bottom: 5px;
    }
}
.summary-el {
    padding: 2px 5px;
    font-size:1.1rem;
}
.summary-el i {
    width: 1.1em;
    height: 1.1em;
}
.summary-el:hover {
    background: #ddd;
}
.div-con-checkbox {
    border-radius: 4px;
}

.bor,
.rich-edit a {
    border: 1px solid #aaa;
}
.rich-edit a {
    text-align: center;
    justify-content: center;
    padding: 3px;
    font-size: 1rem;
    border-radius: 4px;
}
.rich-edit a:not(.bg-err):not(.bg-blu) {
    background: #fff;
    color: #000;
}
.rich-edit a:not(.bg-err):hover{
    background: #eee;
}
.rich-edit a.select:not(.bg-err) {
	background:var(--color-grey);
}
.rich-edit a.c-bla.select:not(.bg-err),.rich-edit a.select:not(.bg-err) *.c-bla{
	color:white;
}
.rich-edit a.select:not(.bg-err) i.i-bla .svg-i {
	fill:white;
}
.chart{
	height:500px;
}
#flowWrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    white-space: nowrap;
}

#flowChart {
    width:150vw; 
    height:500px;
}
.col-square div,
.col-square a,
.rich-edit a {
    margin: 2px;
    width: 50px;
    height: 35px;
    overflow: hidden;
    border-radius: 3px;
}
.col-square div,
.col-square a{
    width: 25px;
    padding: 10px;
    height: 25px;
    border: 1px solid #aaa;
    margin: 5px 15px 5px 5px;
}
.set-col.col-square a{
	margin-right:3px;
} 
.color-colors:hover,.color-colors.select{
	outline:3px solid black;	
}
.set-col a:hover,.color-colors:hover{
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .1);
}  
.col-square a.col-bor{border:2px solid var(--color-blu);} 
.no-publish{  
	position:fixed;
    padding:0px 5px;
    transform-origin: top left;
    transform: translate(12px, 0) rotate(-270deg);
    z-index:10000;
}   
.hnpt{
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}
.dropzone {
    width: 400px; height: 200px; border: 2px dashed #ccc;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; cursor: pointer;
  }
.summary-el {
    cursor: grab;
}

.summary-el.dragging {
    cursor: grabbing;
    user-select: none;
    transform: scale(1.03);
    opacity: 0.92;
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}

.no-select {
    user-select: none;
}

.drag-ph {
    border: 1px dashed #ccc;
    margin: 6px 0;
    height: 22px;
    border-radius: 6px;
    background: rgba(0, 150, 255, 0.12);
}


.dropzone.hover { border-color: #333; }
.file-list { margin-top: 10px; }
.filter-content,.date-filter {
    max-height: 0; 
    opacity: 0; 
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.filter-content.expanded,.date-filter.expanded {
    max-height: 1000px;
    opacity: 1;
}

.metrics-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .3s ease;
}

.metrics-content.expanded {
    max-height: 1000px;
    opacity: 1;
}

.metric-btn.active-metric {
    background: var(--color-lbla);
}

.switch-trigger:checked + .switch-box {
    background: var(--color-blu);
}
.dataset {
    transition: opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.dataset.active-dataset {
    border-color: var(--color-blu);
    background-color: #eef4ff;
    opacity: 1;
}

.dataset.dimmed {
    opacity: 0.2;
}

.dataset-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.tooltip {
    color:white;
}

.p-v-2px{padding-top:2px;padding-bottom:2px}
.m-v-2px{margin-top:2px;margin-bottom:2px}
::-webkit-scrollbar {
	width: 15px;
	height: 15px;
}
div::-webkit-scrollbar {
	width: 15px;
	height: 15px;
}
::-webkit-scrollbar-thumb {
	background:var(--color-blu);
}
::-webkit-scrollbar-thumb:hover {
	background-color: #1c79d4;
}