#form div[col] > select[id$="_select"]:not(.select2-hidden-accessible) {
    visibility: hidden;
}

#form div[col] > select:has(option[data-select2-id]):not(.select2-hidden-accessible) {
    visibility: hidden;
}

#form div[col]:has(> select[id$="_select"]),
html.tmx-enhance-controls #form div[col] {
    min-height: 33px;
    vertical-align: middle;
}

html.tmx-template-loading .content {
    opacity: 0;
    visibility: hidden;
    transition: none !important;
    transform: none !important;
}

html.tmx-template-loading .sidebar,
html.tmx-template-loading .sidebar-toggle {
    transition: none !important;
}

html.tmx-page-leaving {
    scroll-behavior: auto !important;
}

html.tmx-page-leaving body,
html.tmx-page-leaving main,
html.tmx-page-leaving .content,
html.tmx-page-leaving .sidebar,
html.tmx-page-leaving .sidebar-toggle {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    overflow-anchor: none;
}

html.tmx-page-leaving .content,
html.tmx-page-leaving .sidebar,
html.tmx-page-leaving .sidebar-toggle,
html.tmx-page-leaving .joe_action {
    opacity: 0 !important;
    visibility: hidden !important;
}

html.tmx-template-loading #menuBarContainer::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 248, 0.98));
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 10px 0 30px rgba(15, 23, 42, 0.05);
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    html.tmx-template-loading #menuBarContainer::before {
        width: 286px;
        max-width: calc(100vw - 72px);
        transform: translateX(calc(-100% - 18px));
    }
}
