.quarto-livello-mobile {
    display: none;
}

.menu-quarto-livello {
    display: flex;
    padding: 0px 6px 0px 6px;
    justify-content: start;
    width: 100%;
}

    .menu-quarto-livello a {
        display: flex;
        margin: 10px 0 0 0;
        color: white;
        font-weight: 700;
        width: 190px;
        text-align: center;
        align-content: center;
        flex-wrap: wrap;
        justify-content: center;
        min-height: 50px;
        font-size: 15px;
        padding: 0px 10px 0px 10px;
    }

        .menu-quarto-livello a:hover:not(.menu-quarto-livello-selected) {
            background-color: #94CB6D;
        }

.menu-quarto-livello-primo-elemento {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    margin-right: -5px !important;
}

.menu-quarto-livello-centrale-elemento {
    clip-path: polygon(0 0, 90% 0, 100% 100%, 10% 100%);
    margin-right: -5px !important;
    margin-left: -5px !important;
}

.menu-quarto-livello-ultimo-elemento {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
    margin-left: -5px !important;
}

.menu-quarto-livello-selected {
    background-color: #00783D;
}

.menu-quarto-livello-not-selected {
    background-color: #757575;
    cursor: pointer;
}

@media(max-width: 768px) {
    .menu-quarto-livello {
        display: none;
    }

    .quarto-livello-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5em;
        padding-top: 15px;
    }

        .quarto-livello-mobile select {
            font-weight: 600;
            padding: 5px 5px 5px 5px;
            background-color: #00783D;
            color: white;
            min-height: 50px;
            outline: #00783D;
        }

            .quarto-livello-mobile select option {
                font-weight: 300;
                padding: 5px 5px 5px 5px;
                background-color: white;
                color: #030504;
            }
}

.errorLabel {
    color: red;
}

.submitSection {
    display: flex;
    flex-direction: column;
}

.loader {
    border: 10px solid #f3f3f3;
    border-radius: 50%;
    border-top: 10px solid #3498db;
    width: 25px;
    height: 25px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
    margin: 0 auto;
    margin-bottom: 10px;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}