﻿
 



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

}

.my-bg{
    /* background-color: red; */
    height: 100vh; 
    top:0;
}
 

.top-row {
    /* background-color: red; */
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-start;
    padding: 0;
    margin: 0;
    height: 3.5rem !important;
    /*    height: 3.5rem;*/
    display: flex;
    align-items: center;
    position: sticky;
        top: 0;
        z-index: 999;
}

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

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

@media (max-width: 899.9px) {
    .top-row  {
        display: none;
        
    }
  
    .sidebar {
        display: none;
    }

    .top-row {
        position: sticky;
        top: 0;
    }

     
    .top-row.auth {
        justify-content: space-between;
        
        z-index: 999;

    }

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

@media (min-width: 900px) {
    .page {
        flex-direction: row;
    } 
    .searchBar {
        position: relative;
        top: 0;
        z-index: 1;
    }
    .top-row {
        position: sticky;
        z-index: 999;
    }

    .top-row {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .top-row, article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

