#topnav_actions {
    margin-top: -3px;
    margin-left: 15px;
    display: block;
    position: relative;
    float: right;
}

#fullpage {
    display: flex;
    width: 100%;
    margin-top: 67px;
}

#main {
    width: 100%;
    margin-left: 300px;
}

#main.active {
    width: 100%;
    margin-left: 70px;
}

#main_content {
    width: 100%;
    overflow: auto;
    max-height: calc(100vh - 106px);
    height: calc(100vh - 106px);
}

#main #main_content {
    max-width: calc(100vw - 310px);
}

#main.active #main_content {
    max-width: calc(100vw - 80px);
}

#sidebar {
    width: 300px;
    height: 100%;
    position: fixed;
}

#sidebar div.sidebarOpen div.idocs-scroll {
    max-height: calc(100vh - 215px);
}

#sidebar div.sidebarClosed div.idocs-scroll {
    max-height: calc(100vh - 242px);
}

#sidebar.active {
    min-width: 70px;
    max-width: 70px;
    text-align: center;
}

#sidebar div.sidebarToggle {
    position: absolute;
    bottom: 0;
    height: 120px;
}

#sidebar div.sidebarToggle ul.nav li a.sidebarClosed {
    display: none;
}

#sidebar.active div.sidebarToggle ul.nav li a.sidebarClosed {
    display: block;
}

#sidebar.active div.sidebarToggle ul.nav li a.sidebarOpen,
#sidebar.active div.sidebarToggle ul.nav li span.sidebarOpen {
    display: none;
}

    #sidebar div.sidebarToggle ul.nav li a.sidebarOpen,
    #sidebar div.sidebarToggle ul.nav li span.sidebarOpen {
        display: block;
    }

#sidebar.active div.sidebarMenu div.sidebarOpen {
    display: none;
}

#sidebar.active div.sidebarMenu div.sidebarClosed {
    display: block;
}

#sidebar div.sidebarMenu div.sidebarOpen {
    display: block;
}

#sidebar div.sidebarMenu div.sidebarClosed {
    display: none;
}

#pnlSystem {
    width: 650px;
}

#pnlSettings {
    width: 650px;
}

div.headerLinesMasterTabPageContent {
    height: calc(100vh - 290px) !important;
}

div.popover {
    z-index: 2000 !important;
}

div.drop-target {
    background-color: var(--bs-gray-200);
    border-style: dashed;
    border-color: #ccc;
    border-width: 2px 2px 2px 2px;
    cursor: copy;
    line-height: 3rem;
}

.w-33 {
    width: 33% !important;
}
.w-40 {
    width: 40% !important;
}
.w-66 {
    width: 66% !important;
}

.scroll-y {
    overflow-y: auto !important;
}