.page {
    position: relative;
    display: flex;
    flex-direction: column;
    /* background-color: rgb(233, 236, 239); */
    background-color: rgb(245, 245, 245);
}

.main {
    flex: 1;
    width: calc(100% - 240px);
}

.sidebar {
    /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
    background-color: #ffffff;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(63,63,63) !important;
    background-image: none !important;
    /* color: white; */
    /* text-align: center; */
    height: 34px;
    border-right-width: 0 !important;
    border-bottom-width: 0 !important;
    border-left-width: 0 !important;
}



.navbar-dark {
    background-color:#ce0000;
}

.top-row {
    /* background-color: #d62929; */
    background-color: rgb(206,0,0);
    /* border-bottom: 1px solid #d6d5d5; */
    justify-content: flex-end;
    height: 46px;
    display: flex;
    align-items: center;
}

    .top-row ::deep a, .top-row .btn-link {
        white-space: nowrap;
        /* margin-left: 1.5rem; */
        color:#f0f0f0;
        font-weight: normal;
        font-size: 20px;
    }

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



@media (max-width: 640.98px) {
    .top-row:not(.auth) {
        display: none;
    }

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

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


.e-toolbar {
    color: rgb(255, 255, 255);
    height: 34px;
    background-color: rgb(63, 63, 63) !important;
    background-image: none !important;
    left: 0px;
}


@media (min-width: 641px) {
    .page {
        flex-direction: row;
    }

    .sidebar {
        width: 240px;
        height: 96vh;
        /* min-height: calc(~"100vh - 30px"); */
        position: sticky;
        top: 0;
    }

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

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* .nav-link {
    padding: .5rem 0rem !important;
}
    */

