:root {
    --pw-sandbox-banner-height: 40px;
}

body {
    padding-top: var(--pw-sandbox-banner-height) !important;
}

.pilotwire-sandbox-banner {
    align-items: center;
    background: #c62828;
    box-sizing: border-box;
    color: #fff;
    display: flex;
    font: 700 15px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    height: var(--pw-sandbox-banner-height);
    justify-content: center;
    left: 0;
    padding: 0 16px;
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    z-index: 1100;
}

.navbar-custom,
.leftside-menu,
.leftside-menu .logo,
.public-header {
    top: var(--pw-sandbox-banner-height) !important;
}

.content-page,
.pilotwire-auth-shell {
    min-height: calc(100vh - var(--pw-sandbox-banner-height));
    min-height: calc(100svh - var(--pw-sandbox-banner-height));
}

@media (max-width: 900px) {
    .public-navigation {
        max-height: calc(100vh - 81px - var(--pw-sandbox-banner-height));
        position: absolute;
    }
}

@media (max-width: 800px) {
    .pilotwire-auth-panel {
        min-height: calc(100vh - var(--pw-sandbox-banner-height));
        min-height: calc(100svh - var(--pw-sandbox-banner-height));
    }
}

@media (max-width: 640px) {
    .public-navigation {
        max-height: calc(100vh - 73px - var(--pw-sandbox-banner-height));
    }
}
