main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}





/* Scrollable Materials dropdown */
.materials-scroll {
    max-height: 280px !important;   /* control the height */
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Visible, modern scrollbar for Chrome, Edge, Safari */
.materials-scroll::-webkit-scrollbar {
    width: 8px;
}

.materials-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 20px;
}

.materials-scroll::-webkit-scrollbar-thumb {
    background: #bcbcbc;
    border-radius: 20px;
}

.materials-scroll::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Firefox scrollbar */
.materials-scroll {
    scrollbar-width: thin;
    scrollbar-color: #bcbcbc #f1f1f1;
}


/* Scrollable dropdown specifically for Materials menu */
.navbar-nav .dropdown-menu {
    max-height: 300px;   /* choose suitable height */
    overflow-y: auto;    /* vertical scroll */
}


/* Make hamburger menu smaller */
.custom-toggler {
    padding: 4px 6px !important;   /* reduce button size */
    font-size: 1rem !important;  /* shrink icon */
    border-radius: 4px !important;
}

/* Shrink the inner bars */
.custom-toggler .navbar-toggler-icon {
    width: 20px !important;
    height: 20px !important;
    background-size: 20px !important; 
}




/* Make all navbar menu items same color */
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
    color: #000 !important;        /* Set all to black */
    font-weight: 400 !important;   /* Same thickness */
}
/* Remove caret/arrow from user dropdown */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}
/* Remove bold/black effect from active link (Home) */
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link.active {
    color: #000 !important
}


.user-avatar-container {
    width: 32px;
    height: 32px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-avatar-icon {
    font-size: 16px;
    color: #555;
}
