#navbar {
    position: fixed;
    top: 0px;
    height: 60px;
    width: 100%;
    z-index: 10;
}

#TitleBar {
    color: white;
    margin-right: 0.2rem;
}

#SubTitle {
    color: darkgray;
}

.LanguagePanel{
    display: flex;
    align-items: center;
    padding: 0px 20px;
    border-left: 2px solid rgba(80,80,80,1);
    padding: 0px 10px;
    margin: 7px 0px;
    height: 40px;
}
.LanguagePanel label{
    margin: 0px 10px 0px 0px;
    cursor: pointer;
    position: relative;
}

#langselector{
/*    top: 59px; */
    border: none; 
    left: 2px; 
    border-radius: 0px 0px 10px 10px; 
    box-shadow: rgba(0, 0, 0, 0.5) 5px 5px 20px;    
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    width: 100% !important;
}

.UserPanel{
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    border-left: 2px solid rgba(80,80,80,1);
    padding: 0px 10px;
    margin: 10px 0px;
    height: 40px;
}

.UserPanel label{
    margin: 0px 10px 0px 0px;
    cursor: pointer;
}

.LanguagePanel option{
    margin: 0px 10px 0px 10px;
}

/*  ------------------------------------------------
    MENU' LATERALE    
    ------------------------------------------------ */

#BurgerButton{
    background-color: darkred;
    color: white;;
}

#BurgerButton:hover {
    background-color: red;
}

#offcanvasMenu {
    margin-top: 60px;
    background-color: darkred;
    background: linear-gradient(to top, rgba(40,40,40,1) 0%, rgba(150,0,0,1) 100%);
    border: none;
    max-width: 250px;
    z-index: 9999;
}

.offcanvas-start {
    position: fixed; /* Imposta a assoluto per evitare sovrapposizione */
    transition: transform 0.3s ease; /* Animazione per il menu offcanvas */
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3); /* Ombra a destra */
    top: 60px; /* Margine superiore per la navbar */
    height: calc(100vh - 60px); /* Altezza dinamica */
    width: 200px;
}

.offcanvas-header {
    background-color: darkred;
    border-bottom: 2px solid black;
}

.list-group-item, .list-group-item a {
    text-decoration: none;
    background-color: transparent;
    border: none;
    font-weight: bold;
    color: lightgrey;
}

.list-group-item a:hover {
    font-weight: bolder;
    color: white;
}

.listgroup {
    color: yellow;
}

ol, ul {
    padding-left: 0.25rem;
}

