html {
    font-size: 14px;
}

@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;
}

label,
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;
}

/* 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);
        }
}

.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;
    }

.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;
    }

/*table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    table tr {
        background-color: #f8f8f8;
        border: 1px solid #ddd;
        padding: .35em;
    }

    table th,
    table td {
        padding: .625em;
        text-align: center;
    }

    table th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border-bottom: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: right;
        }

            table td::before {*/
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                /*content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}*/