:root{
    --sideNavwidth: 52px;
}
#sidenav {
    width: var(--sideNavwidth);
}
.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    /*padding: 48px 0 0;*/
    padding: 0px;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    transition: width 1s;
}

.sidebar .nav-item span{
    display: none;
}
.sidebar .nav-item .feather{
    line-height:35px;
    height:35px;
    margin-right:14px;
    padding-bottom: 4px;
    stroke-linecap: round;
    stroke-linejoin:round;
}
.sidebar .nav-item .arrow {
    position: absolute;
    right: 0;
    margin-top: 8px;
    margin-right: 12px;
    transform: rotate(90deg);
    transition: all 1s;
}
.sidebar .nav-item .collapsed .arrow{
    transform: rotate(0deg);
}
.sidebar .nav-item{
    padding: 5px .5rem;
}
.sidebar .nav-item>a {
    font-size: 15px;
    font-weight: 500;
}
.sidebar.active .nav-item span{
    display: unset;
}
.sidebar.active .nav-item .collapse.show{
    background-color: white;
}
.sidebar-sticky {
    position: relative;
    top: 0;
    /*height: calc(100vh - 48px);*/
    height: 100vh;
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}
main {
    margin-left: var(--sideNavwidth);
    width: 100%;
    transition: margin 1s;
}
.ui-draggable .card-header {
    padding: .5rem 0.25rem;
}
.ui-draggable .handle{
    opacity: 0;
    fill: #aaa;
}
.ui-draggable .card-header .window-controls bi{
    fill: #aaa;
}
.ui-draggable .handle{
    opacity: 0;
}
.ui-draggable:hover .handle {
    opacity: 1;
}
#legendHolder .row label, #sidenav .row label{
    padding-left: 0;
    padding-right: 0;
}
.no-padding {
    padding: 0!important;
}
.card .row,.card-body.row {
    margin-left: 0;
    margin-right: 0;
    padding: 10px;
}
.card-body .row {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
.bi-window .slash{
    display: none;
}
.bi-window.disable .slash{
    display: block;
}

.card.windown {
    height: fit-content;
}

.cover{
    position: fixed; /* Sit on top of the page content */
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}
