﻿body {
}

.treeview ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treeview li {
    margin: 0;
    padding: 5px 0;
    line-height: 20px;
    position: relative;
}

    .treeview li span {
        cursor: pointer;
        font-weight: bold;
    }

        .treeview li span:hover {
            color: #000;
        }

/* Livello 1 */
.treeview > ul > li > span {
    color: #369;
}

.treeview > ul > li::before {
    border-color: #369;
}

/* Livello 2 */
.treeview > ul > li > ul > li > span {
    color: #d9534f;
}

.treeview > ul > li > ul > li::before {
    border-color: #d9534f;
}

/* Livello 3 */
.treeview > ul > li > ul > li > ul > li > span {
    color: #5bc0de;
}

.treeview > ul > li > ul > li > ul > li::before {
    border-color: #5bc0de;
}

/* Livelli ulteriori */
.treeview li ul {
    display: none;
    margin-left: 20px;
}

.treeview li.open > ul {
    display: block;
}

.treeview li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    position: absolute;
    left: -20px;
    top: 10px;
    transform: rotate(-45deg);
}

.highlighted-node {
    font-family: Liberation Mono, monospace;
    font-size: 15px;
    color: #0f53d2;
    font-weight: bold;
    background-color: #fdf6ed;
    white-space: break-spaces;
}

.highlighted-node-green {
    font-family: Liberation Mono, monospace;
    font-size: 15px;
    color: #1E4D1E;
    font-weight: bold;
    white-space: break-spaces;
}

.highlighted-node-coral {
    font-family: Courier, monospace;
    font-size: 15px;
    color: #d33636;
    font-weight: bold;
    white-space: break-spaces;
}

.highlighted-notify {
    font-family:inherit;
    font-size: 12px;
    text-decoration:underline;
    color:#4b77be !important;
}

.highlighted-notify :hover {
    color:#aa5d00 !important;
}


/* Reset stili predefiniti del browser */
button::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.last-row-alt td {
    background-color: #CDDDF9 !important; /* Adatta questo colore */
    color: black !important;
}


.last-row td {
    background-color: #92b4f2 !important; /* Adatta questo colore */
    color: black !important;
}

.box {
    width: 300px;
    background-color: #4caf50; /* Colore di sfondo del box */
    color: white;
    display: block flex;
    align-items: center;
    border-radius: 15px; /* Arrotonda gli angoli */
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 6px 20px rgba(0, 0, 0, 0.3); /* Effetto ombra per il 3D */
}

button,
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
}

.education-list {
    margin: 0px auto;
    padding: 2vh 1vw;
    border-radius: 0.5vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .education-list h1 {
        font-size: 24px;
        color: #FFFFFF;
        background: linear-gradient(90deg, #314170, #127475);
        margin: 2vh 0.1vw;
        padding: 1vh 0.2vw;
        border-bottom: 2px solid #feb47b;
        transition: transform 0.3s, color 0.3s;
    }

.education-adulti-list {
    margin: 0 auto;
    padding: 1.5vh 0.8vw;
    border-radius: 0.5vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

    .education-adulti-list h1 {
        font-size: 24px;
        color: #FFFFFF;
        background: linear-gradient(90deg, #4C70B8, #FAFAFA);
        margin: 2vh 0.1vw;
        padding: 1vh 0.2vw;
        border-bottom: 2px solid #F7C08D;
        transition: transform 0.3s, color 0.3s;
    }
