/* ----- BTN BACK --------------------------------------------------------------------------------- */
.btn-back {
    position: absolute;
    right: 15px;
    top: 130px;
}

.btn-back button {
    outline: none;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--blu-scuro);
    border: solid 1px var(--grigio-scuro);
    border-radius: 5px;
}

.btn-back button:hover {
    color: white;
    background-color: var(--arancio);
    border-color: var(--arancio);
}

@media screen and (max-width: 500px) {
    .btn-back {
        top: 70px;
        right: 0px;
    }
}

/* ----- DEFAULT ---------------------------------------------------------------------------------- */
/* Title */
.default-title {
    margin-top: 120px;
    margin-bottom: 0px;
    padding: 15px;
    text-align: center;
    color: var(--blu-scuro);
    background-color: var(--grigio-chiaro);
}

@media screen and (max-width: 500px){
    .default-title {
        margin-top: 60px;
        padding: 25px 0px 10px 10px;
        text-align: left;
        font-size: 25px;
    }
}

/* Button */
.default-button {
    outline: none;
    background-color: white;
    color: var(--blu-scuro);
    border: solid 1px var(--grigio-scuro);
    border-radius: 5px;
}

.default-button:hover {
    color: white;
    background-color: var(--arancio);
    border-color: var(--arancio);
}

/* ----- DEFAULT LEGEND --------------------------------------------------------------------------- */
.default-div-legend {
    max-width: 350px;
    height: 50px;
    margin: 10px;
    padding: 10px;
    padding-top: unset;
    background-color: white;
    border: solid 1px var(--blu-scuro);
    border-radius: 5px;
    overflow-y: hidden;
    transition: height 0.5s;
}

.default-legend {
    margin: 0px;
    color: var(--blu-scuro);  
}

.default-legend thead {
    position: sticky;
    top: 0px;
    z-index: 2;
    background-color: white;
}

.default-legend tr:nth-child(even) td {
    background-color: var(--grigio-chiaro);
}

.default-legend th {
    border: none !important;
    padding: 5px;
    height: 45px;
}

.default-legend .th-code {
    width: 60px;
}

.default-legend .th-icon {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.default-legend td {
    padding: 3px;
    font-size: 14px;
}

.default-legend .icon-show-hide-legend {
    margin: 5px;
}

.default-legend .icon-show-hide-legend:hover {
    cursor: pointer;
    color: var(--arancio);
}

/* Scrollbar */
.default-div-legend::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.default-div-legend::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px var(--grigio-chiaro); 
    border-radius: 5px;
}

.default-div-legend::-webkit-scrollbar-thumb {
    background: var(--grigio-scuro); 
    border-radius: 5px;
}