#panel:not(:has(.bx-panel-folded)) + .wrapper > .header {
    top: 147px;
}

#panel + .wrapper > .header {
    top: 39px;
}