/* Sfondo sidebar blu notte uniforme */
.wy-nav-side {
    background: #1a2a5e !important;
}

.wy-side-nav-search {
    background: #1a2a5e !important;
}

/* Tutte le scritte bianche */
.wy-nav-side .wy-menu-vertical a,
.wy-nav-side .wy-menu-vertical li.toctree-l1 > a,
.wy-nav-side .wy-menu-vertical p.caption > span,
.wy-side-nav-search a,
.wy-side-nav-search a:hover {
    color: #ffffff !important;
}

/* Hover */
.wy-nav-side .wy-menu-vertical a:hover {
    color: #ccd6ff !important;
    background: #0d1a3e !important;
}

/* Voce attiva */
.wy-menu-vertical li.current > a,
.wy-menu-vertical li.current li.toctree-l2 > a {
    background: #2a3f8f !important;
    color: #ffffff !important;
}

/* Sottovoci aperte */
.wy-menu-vertical li.toctree-l2 > a {
    background: #162070 !important;
    color: #ccd6ff !important;
}

/* Nascondi icona casetta */
.wy-side-nav-search a.icon-home::before {
    display: none !important;
}

/* Sostituisci con icona laser SVG */
.wy-side-nav-search a.icon-home {
    background-image: url('_resources/laser.png') !important;
    background-repeat: no-repeat !important;
    background-size: 25px 25px !important;
    background-position: left center !important;
    padding-left: 30px !important;
}

/* Titoli stesso colore del fondo sidebar */
.rst-content h1,
.rst-content h2,
.rst-content h3,
.rst-content h4 {
    color: #1a2a5e !important;
}


