﻿html,
body,
.page {
  height: 100%;
  overflow: hidden;
}

body .page main {
    overflow: hidden; 
}

.content {
    padding-top: 1.1rem;
    display: flex;
    flex-direction: column;
}


/* MainLayout.razor main header bar */
main header div.top-header{
    height: 3.5rem;
    background-color: #fff;
    box-shadow: 0px 2px 5px rgba(111, 117, 127, 0.2);
    justify-content: space-between;
    display: flex;
    align-items: center;
}



aside header {
    height: 3.5rem;
}


/*************************************************** 
Scrollbar Coloring 
****************************************************/


/* Works on Firefox */
.nt-scrollbar {
    scrollbar-width: 12px;;
    scrollbar-color: var(--nt-scroolbar-primary-foreground)  var(--nt-scroolbar-primary-background);
  }
  
  /* Works on Chrome, Edge, and Safari */
  .nt-scrollbar::-webkit-scrollbar {
    width: 12px;
  }
  
  .nt-scrollbar::-webkit-scrollbar-track {
    background: var(--nt-scroolbar-primary-background);
  }
  
  .nt-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--nt-scroolbar-primary-foreground);
    border-radius: 20px;
    border: 3px solid var(--nt-scroolbar-primary-background);
  }

  .nt-scrollbar.scroll-expansible.scroll-expanded {
    cursor: ns-resize !important;
  }

  .nt-scrollbar.scroll-expansible.scroll-expanded::-webkit-scrollbar {
    width: 20px !important;
    cursor: ns-resize !important;
  }




@media (max-width: 991.98px) {
    /* Small Screens */

    /* main header div.top-header:not(.auth) {
        display: none;
    } */

    /* main header div.top-header.auth {
        justify-content: space-between;
    } */


    aside {
        background: var(--nt-gradient-primary-horizontal); 
        left: 0;
        position: sticky;
        right: 0;
        top: 0;
        z-index: 1000;
    }


    main header div.top-header {
      display: none;
    }
    /* main header div.top-header {
      position: absolute;
      z-index: 1200;
      width: 60vw;
      max-width: 350px;
      bottom: 0px;
      right: 0px;
      display: flex !important;
      flex-direction: column;
      justify-content: start;
      align-items: flex-start;;
      height:100px;
    } 
    */
    
    main header div.top-header a.nav-link.group-logout  {
      display:flex;
      justify-content: start;
      
    }

    main header div.top-header a.nav-link.group-logout {
      display:flex;
      justify-content: start;
      margin-top: 10px;
      margin-left: 5px;
      m-argin-right: 15px;
      width:100%;
      line-height: 20px;;
    }

    a.nav-link:hover {
      background-color: rgb(72, 0, 255, 0.5);
      color: white !important;
    }

    main header div.top-header a.nav-link.group-logout span {
      margin-left:10px;
    }

}

@media (min-width: 992px) {
/* Mid and Big Screens */

    main header div.top-header {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    main header div.top-header,
    main article {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }


 }