* {
    box-sizing: border-box;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    background-color: transparent;
    color:  #0f0f0f;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    font-family: 'SoleSans', Arial, Helvetica, sans-serif;
}


/*--- TABLE -----*/

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    font-family: 'SoleSans', Arial, Helvetica, sans-serif;
    line-height: normal;
    font-style: normal;
    border-bottom: 1px solid #0f0f0f4d;
    padding-top: 5px;
    padding-bottom: 5px;
}

td {
    font-weight: 400;
    font-size: 14px;
}

th {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
}



/* TABLE */

#table_container {
    width: 100%;
    max-width: 680px;
}



#th-regione,
.regione {
    text-align: start;
    width: 130px;
}


#th-dosi-consegnate,
.dosi-consegnate {
    text-align: end;
    width: 100px;
}


#th-dosi-somministrate,
.dosi-somministrate {
    text-align: end;
    width: 120px;
    padding-right: 20px;
}

.dosi-somministrate {
    color: #005791;
}



#th-percentuale-dosi-somministrate,
.percentuale-dosi-somministrate {
    width: 80px;
    text-align: end;
}


.percentuale-dosi-somministrate {
    color: #005791;
}


#th-persone-vaccinate,
.persone-vaccinate {
    width: 90px;
    text-align: end;
    padding-right: 5px;
}


.persone-vaccinate {
    font-weight: 600;
}



#th-persone-vaccinate-grafico
.persone-vaccinate-grafico {
    position: relative;
}



#th-dosi-abitanti,
.dosi-abitanti {
    text-align: end;
    width: 80px;
}


.italia {
    background-color: #ebe9e3;
}

.italia td {
    font-weight: 600;
}

.not_visible {
    display: none;
}

.no-border-bottom {
    border-bottom: 0px;
}

.sort_arrow {
    cursor: pointer;
}

.sort_arrow:hover {
    color: #005791;
}

.blue {
    color: #005791;
}

.black {
    color: #0f0f0f;
}

#notes {
    width: 100%;
    font-family: 'SoleSans', Arial, Helvetica, sans-serif;
    line-height: normal;
    font-style: normal;
    font-size: 12px;
    margin-top: 10px;
}


#source {
    width: 100%;
    font-family: 'SoleSans', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 11px;
    font-style: normal;
    text-decoration: none;
    color: #888;
    margin-top: 10px;
}


/*--- MINI CHARTS -----*/


.bar-vaccini {
    background-color: #4bc6b8;
    height: 20px;
}

.bar-value {
    position: absolute;
    padding-right: 10px;
}


.italia .bar-vaccini {
    background-color: #4bc6b8;
}




/* MEDIA QUERIES */

@media only screen and (max-width: 600px) {
    body {
        font-size: 20px;
        max-width: 100vw;
    }

    #table_container {
        position: relative;
        width: 100%;
        z-index: 1;
        margin: auto;
        overflow: auto;
    }

    table {
       width: 680px;
       border-collapse: separate;
       border-spacing: 0;
    }

    th,
    td {
        padding-top: 5px;
        padding-bottom: 5px;
    }


    #th-regione,
    .regione {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
    }

    #th-regione,
    .regione {
        background-color: #F7F6F2;
        }

    #row_italia .regione {
    background-color: #ebe9e3;
    }
  }
