
/*css docente*/
.custom-sidebar-doc {
    background-color: var(--sidebar-background-color);
    color: var(--colore-principale);
    z-index: 100;
    width: 20rem;
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    box-shadow: 10px 0 5px -5px #cecece !important;
}

.doc-navbar {
    padding-left: 20rem;
    border-bottom: 4px solid orangered;
}

.doc-navbar.minimized {
    padding-left: 6rem;
}

.link-menu-doc.active {
    color: #fff !important;
    background-color: #03577a !important;
    font-weight: bold;
}

.link-menu-doc {
    border-radius: 4px;
    border: none;
    display: inline-block;
    padding: 8px 16px !important;
    overflow: hidden;
    text-decoration: none;
    color: #212529;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.link-menu-doc:hover {
    color: #000 !important;
    background-color: #ccc !important;
    font-weight: bold;
    border-radius: 4px;
}

.custom-sidebar-doc.minimized {
    width: 6rem;
}

.custom-content-doc {
    margin-inline-start: 20rem;
    border: none;
    margin-top: 5.5rem;

    padding: var(--font-size-lg);
    background-color: var(--background-body);
}

.custom-content-doc.minimized {
    margin-inline-start: 6rem;
}

.sidebar-text-doc {
    padding-left: 5px;
    font-weight: 500;
    font-size: var(--font-size-card-title);
}

.doc-text-portale_sm {
    display: none;
}

.portal_sm {
    display: none;
}

/* #logoSm {
    display: none;
} */

.custom-sidebar-doc.reduced .icon-container-doc{
    padding-right: 0rem !important;
}

.btn-polito{
    color: #fff !important;
    background-color: #03577a !important;
}
.btn-polito:hover{
    color: #000 !important;
   background-color: #ccc !important;
}

@media (max-width: 1460px) {
    .custom-sidebar-doc {
        width: 15rem;
    }

    .doc-navbar {
        padding-left: 15rem;
    }

    .doc-navbar.minimized {
        padding-left: 6rem;
    }

    .custom-content-doc {
        margin-inline-start: 15rem;
    }
}

@media (max-width: 1200px) {
    .search_sm_doc {
        display: flex !important;
        flex-basis: auto;
        flex-direction: column-reverse;
        flex-wrap: wrap;
        align-content: flex-end;
        align-items: flex-end;
    }

    .custom-content-doc{
        margin-top: 8.5rem;
    }

    .search_sm_doc > form {
        max-width: 100% !important;
        margin-bottom: 10px;
    }

    .doc-text-portale_sm {
        display: block;
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--colore-principale);
        margin-bottom: 10px;
    }

    .info_nascoste_sm {
        display: none;
    }

    .portal_sm {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .custom-sidebar-doc {
        width: 6rem;
    }

    .doc-navbar {
        padding-left: 6rem;
    }

    .sidebar-text-doc {
        display: none;
    }

    .menu_modal .sidebar-text-doc {
        display: block !important;
    }

    .custom-content-doc {
        margin-inline-start: 6rem;
    }

    .link-menu-doc {
        justify-content: center !important;
        text-align: center !important;
    }

    .menu_modal .link-menu-doc {
        justify-content: flex-start !important;
        text-align: left !important;
    }

    #logoLg{
        display: none !important;
    }
    #logoSm{
        display: block !important;
    }
}

@media (max-width: 991px) {
    .custom-sidebar-doc.reduced {
        width: 6rem;
    }

    .doc-navbar {
        padding-left: 6rem;
    }

    .sidebar-text-doc {
        display: none;
    }

    .custom-content-doc {
        margin-inline-start: 6rem;
    }

    .link-menu-doc {
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (max-width: 767px) {
    .custom-sidebar-doc {
        width: 100%;
        position: fixed;
        z-index: 1000;
        height: auto;
        top: 0;
        left: 0;
    }

    .doc-navbar.minimized {
        padding-left: 0rem;
    }
    .sidebar-text-doc {
        display: none;
    }

    .doc-navbar {
        padding-left: 0;
    }
    .custom-content-doc {
        margin-inline-start: 0 !important;
    }
}

@media (max-width: 576px) {
    .doc-text-portale_sm{
        display: none;
    }

    .doc-navbar.minimized {
        padding-left: 0rem;
    }
}