/*--------------------------------------------------------------------------*\
    thead
\*--------------------------------------------------------------------------*/

.thead-freeze {
    /*box*/
    position: -webkit-sticky;
    position: sticky;
    z-index: 1;
}

/*--------------------------------------------------------------------------*\
        If header only
\*--------------------------------------------------------------------------*/

.burger-input--menu-top-position-header~.sidebar-main-wrapper .thead-freeze {
    /*box*/
    top:calc(var(--header-height));
}

/*--------------------------------------------------------------------------*\
        If topbar only
\*--------------------------------------------------------------------------*/

.burger-input--menu-top-position-topbar~.sidebar-main-wrapper .thead-freeze {
    /*box*/
    top:calc(var(--header-topbar));
}

/*--------------------------------------------------------------------------*\
        If header + topbar
\*--------------------------------------------------------------------------*/

.burger-input--menu-top-position-header-topbar~.sidebar-main-wrapper .thead-freeze {
    /*box*/
    top:calc(var(--header-height) + var(--topbar-height));
}