html {
    font-size: 14px;
}

label {
    font-weight: bold;
    display: block;
    /*width: 150px;*/
    float: left;
}

.checkbox-container {
    display: flex;
    align-items: center;
}

    .checkbox-container input[type="checkbox"] {
        order: 1;
    }

    .checkbox-container label {
        order: 2;
        margin-left: 10px;
        margin-bottom: 0px;
    }

.radio-container {
    display: flex;
    align-items: center;
}

    .radio-container input[type="radio"] {
        order: 1;
    }

    .radio-container label {
        order: 2;
        margin-left: 10px;
        margin-bottom: 0px;
    }

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
#chart_wrap {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}

#chart_div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
html {
    position: relative;
    min-height: 100%;
}
.features {
    width: 100%;
    display: block;
    text-align: center;
}

    .features img {
        width: 220px;
        margin: 10px;
    }
body {
    margin-bottom: 60px;
}
.preference {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: .5rem;
}

textarea {
    font-size: .8rem;
    letter-spacing: 1px;
}

textarea {
    padding: 10px;
    max-width: 100%;
    line-height: 1.5;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 1px 1px 1px #999;
}

label {
    display: block;
    margin-bottom: 10px;
}
#galeria {
    display: flex;
}

    #galeria img {
        width: 130px;
        height: 130px;
        border-radius: 10px;
        box-shadow: 0 0 8px rgba(0,0,0,0.2);
        opacity: 100%;
    }
table {
    width: 100%;
}

th, td {
    border: 1px solid #c3c3c3;
    text-align: center;
}

thead {
    background-color: #f5f5f5;
}
.field-validation-error {
    color: red;
}

.validation-summary-errors ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-bottom: 1em;
}

.validation-summary-errors li {
    color: darkred;
    border-left: 3px solid;
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: rgb(255,0,0,0.05);
    margin-bottom: 2px;
}
/* Media Query per il No More Tables */

@media only screen and (max-width: 767px) {
    /* Forza la tabella a non comportarsi come una normale tabella */

    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

        /* Nasconde le intestazioni della tabella */

        #no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    #no-more-tables tr {
        border: 1px solid #ccc;
    }

    #no-more-tables td {
        /* Inserisce il comportamento come una riga */

        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

        #no-more-tables td:before {
            /* Inserisce il comportamento come un'intestazione di tabella */

            position: absolute;
            /* I valori top/left agiscono come padding */

            top: 0;
            left: 6px;
            width: 45%;
            padding-right: 10px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        /* Aggiunge l'etichetta ai dati della tabella */

        #no-more-tables td:before {
            content: attr(data-title);
        }

        .field-validation-error{
            color:red;
        }
}
#griglia > li {
    border: 2px solid #333333;
    display: inline-block;
    margin: 10px;
    background-color: #abe2ff;
}
#griglia {
    padding: 0;
    margin: 0;
}
