.page {
    position: relative;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
}

.bg-black {
    background-color: #000000;
}

.top-panel {
    display: flex;
    flex-direction: row;
    background-color: #000000;
    color: #ffffff;
    height: 35px;
}

.navigation-panel {
    background-color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.top-row {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.top-row ::deep a, .top-row .btn-link {
    white-space: nowrap;
    margin-left: 1.5rem;
}

.top-row a:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-panel-container {
    width: 20%;
    min-width: 400px;
    white-space: nowrap;
}

.search-panel {
    font-size: 2rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #707070;
}

.search-panel-prompt {
    flex-grow: 1;
    padding-right: 12px;
}

.search-panel-prompt:hover {
    color: #707070;
}

.search-control {
    border: none;
    outline: none;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    line-height: 1.7;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.staging {
    position: fixed;
    left: 5px;
    bottom: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50px;
    background-color: #0000ff;
    color: #ffffff;
    font-size: 0.8rem;
    padding: 2px;
}

.overlay {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background-color: #000000;
    opacity: 0.5;
    transition: 0.3s;
}

@media (max-width: 767.98px) {

    .top-row:not(.auth) {
        display: none;
    }

    .top-row.auth {
        justify-content: space-between;
    }

    .top-row a, .top-row .btn-link {
        margin-left: 0;
    }

    .top-panel {
        display: none;
    }

    .navigation-panel {
        padding: 12px;
        height: 64px;
    }

    .navigation-panel-image {
        display: none !important;
    }

    .search-control::placeholder {
        font-size: 1rem;
    }

    .search-panel-container {
        display: none;
    }

    .search-bar-container {
        width: 100%;
    }

    .search-panel {
        font-size: 1.2rem;
    }

    .search-icon {
        display: none;
    }

    .footer {
        flex-direction: column;
        padding: 22px;
    }

    .footer-1 {
        width: 100%;
        margin-bottom: 22px;
    }

    .footer-2 {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 22px;
    }

    .footer-3 {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-bottom: 22px;
    }

    .footer-4 {
        width: 100%;
    }

}

@media (min-width: 768px) {

    .top-row {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .main > div {
        padding-left: 0 !important;
    }

    .navigation-panel {
        padding: 24px;
        height: 84px;
    }

    .sidemenu-button {
        display: none;
    }

    .search-control::placeholder {
        font-size: 2rem;
    }

    .search-icon-mobile {
        display: none;
    }

    .search-bar-container {
        width: 20%;
        min-width: 400px;
        white-space: nowrap;
    }

    .footer {
        flex-direction: row;
        padding: 42px 42px 42px 62px;
    }

    .footer-1 {
        width: 40%;
    }

    .footer-2 {
        display: flex;
        flex-direction: column;
        width: 20%;
    }

    .footer-3 {
        display: flex;
        flex-direction: column;
        width: 20%;
    }

    .footer-4 {
        width: 20%;
    }

}
