

@media only screen and (min-width: 1367px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 1366px; /* attenzione per vw >=1367 */
    top: 85px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    /*visibility: hidden;*/
    flex-direction: column;
    width: 75%;
    margin: 0 auto;
    background-color: darkkhaki;
    border-radius: 20px;
    z-index: 10;
    /*opacity: 0;*/
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 2%;
    top: 16px;
    right: 16px;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 80%;
    margin: 0 auto;
    margin-top: 12px;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: space-between;
    padding: 12px 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 41px; /* il doppio di border-radius a scelta*/
    width: 89px;
    border: 2.7px solid blue;
    border-radius: 20.5px;  /* la metà di height a scelta */
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 24px; /* uguale a width */
    width: 24px; /* uguale a height */
    border-radius: 12px; /* la metà di height e width */
    margin-left: calc(20.5px - 12px - 2.7px); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #pri_coo a {
    padding: 4px;
    margin: 4px 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 150px;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 205px; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 26px auto;
    color: red;
  }
  #error_b {
    display: block;
    width: 546px;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 26px;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 19px;
  }
  #sel {
    padding: 9px;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 26px;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 105px;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px; /* problema */
    left: calc(((100vw - 1366px) / 2) + 10px);
    bottom: 10px; /*problema*/
    z-index: 10;
  }
  #star {
    width: 48px;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 26px;
    border: 2px solid orange;
    border-radius: 13px;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 68px;
  }
  #imp_cookie #ics {
    display: flex;
    width: 34px;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 26px;
    border: 1.3px solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 1.3px;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 4px;
  }
  #tecnici p, #analitici p {
    margin-left: 13px;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 13px;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 11px;
    background-color: rgb(247, 194, 97);
    border-radius: 16px;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 1366px) and (min-width: 1025px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100%; /* attenzione per vw >=1367 */
    top: 85px;
    z-index: 100;
    border: 3px solid black;
  }
  #banner_pri {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 2%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 80%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: space-between;
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 3vw; /* il doppio di border-radius a scelta*/
    width: 6.5vw;
    border: 0.2vw solid blue;
    border-radius: 1.5vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 1.8vw; /* uguale a width */
    width: 1.8vw; /* uguale a height */
    border-radius: 0.9vw; /* la metà di height e width */
    margin-left: calc(1.5vw - 0.9vw - 0.2vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac { /*999*/
    position: absolute;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 8vw; /* da adattare */
  }
  #error_p { /*999*/
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 7.7vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 3.5vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 2.5vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 2vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    /*font-size: 1.8vw;*/
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 769px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100%; /* attenzione per vw >=1367 */
    top: 85px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 75%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 3%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 80%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: space-between;
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 3vw; /* il doppio di border-radius a scelta*/
    width: 6.5vw;
    border: 0.2vw solid blue;
    border-radius: 1.5vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 1.8vw; /* uguale a width */
    width: 1.8vw; /* uguale a height */
    border-radius: 0.9vw; /* la metà di height e width */
    margin-left: calc(1.5vw - 0.9vw - 0.2vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15vw; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 7.7vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 3.5vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 2.5vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 2vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 768px) and (min-width: 521px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100%; /* attenzione per vw >=1367 */
    top: 65px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    /*opacity: 0;*/
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 4%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 90%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: space-between;
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 4vw; /* il doppio di border-radius a scelta*/
    width: 8vw;
    border: 0.4vw solid blue;
    border-radius: 2vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 2.2vw; /* uguale a width */
    width: 2.2vw; /* uguale a height */
    border-radius: 1.1vw; /* la metà di height e width */
    margin-left: calc(2vw - 1.1vw - 0.2vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: flex;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15vw; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 3.2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 6vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 5.2vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 2.5vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 3.9vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    /*font-size: 1.8vw;*/
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 520px) and (min-width: 381px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100%; /* attenzione per vw >=1367 */
    top: 75px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    /*visibility: hidden;*/
    flex-direction: column;
    width: 97%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    /*margin-left: 12.5%;*/
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    /*opacity: 0;*/
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 4%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 98%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: space-between;
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 5vw; /* il doppio di border-radius a scelta*/
    width: 9vw;
    border: 0.6vw solid blue;
    border-radius: 2.5vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 3vw; /* uguale a width */
    width: 3vw; /* uguale a height */
    border-radius: 1.5vw; /* la metà di height e width */
    margin-left: calc(2.5vw - 1.5vw - 0.6vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: flex;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    /*opacity: 1;*/
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15vw; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidde;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 3.2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 6vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 6vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 4.4vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 4.4vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    /*font-size: 1.8vw;*/
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 380px) and (min-width: 311px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100%; /* attenzione per vw >=1367 */
    top: 55px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    /*visibility: hidden;*/
    flex-direction: column;
    width: 97%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    /*margin-left: 12.5%;*/
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    /*opacity: 0;*/
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 4%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 98%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: row;
    width: 95%;
    justify-content: space-between;
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 5vw; /* il doppio di border-radius a scelta*/
    width: 9vw;
    border: 0.6vw solid blue;
    border-radius: 2.5vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 3vw; /* uguale a width */
    width: 3vw; /* uguale a height */
    border-radius: 1.5vw; /* la metà di height e width */
    margin-left: calc(2.5vw - 1.5vw - 0.6vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: flex;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15vw; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 3.2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 6vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 5.4vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 6vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 5.4vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}

@media only screen and (max-width: 310px) and (min-width: 240px) {
  #info_pri {
    position: fixed;
    display: none;
    opacity: 0;
    flex-direction: column;
    width: 100vw; /* attenzione per vw >=1367 */
    top: 77px;
    z-index: 100;
  }
  #banner_pri {
    position: relative;
    display: flex;
    /*visibility: hidden;*/
    flex-direction: column;
    width: 97%;
    margin: 0 auto;
    overflow-y: auto;
    max-height: 80vh;
    background-color: darkkhaki;
    border-radius: 1.5vw;
    z-index: 10;
    /*opacity: 0;*/
    border: 3px solid fuchsia;
  }
  #r_tut {
    position: absolute;
    width: 4%;
    top: 1.2vw;
    right: 1.2vw;
  }
  #r_tut img:hover {
    background-color: grey;
  }
  #r_tut img {
    width: 100%;
    height: auto;
  }
  #banner_tit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
  }
  #banner_tit p {
    font-weight: 600;
    margin-top: 0vw;
  }
  #var_pri, #var_coo {
    display: none;
  }
  #banner_txt {
    width: 98%;
    margin: 0 auto;
    margin-top: 0.9vw;
  }
  #banner_txt p {
    display: block;
    text-align: justify;
    line-height: 1.2;
  }
  #banner_coo_doc {
    display: flex;
    flex-direction: column;
    width: 95%;
    /*justify-content: space-between;*/
    padding: 0.9vw 0;
    margin: 0 auto;
  }
  .des_cava {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  #cava_tec, #cava_ana {
    display:flex;
    height: 5vw; /* il doppio di border-radius a scelta*/
    width: 9vw;
    border: 0.6vw solid blue;
    border-radius: 2.5vw;  /* la metà di height a scelta*/
    align-items: center;
  }
  #cursore_tec, #cursore_ana {
    height: 3vw; /* uguale a width */
    width: 3vw; /* uguale a height */
    border-radius: 1.5vw; /* la metà di height e width */
    margin-left: calc(2.5vw - 1.5vw - 0.6vw); /* raggio della cava, metà altezza cursore, spessore bordo cava */
    cursor: pointer;
  }
  #pri_coo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #pri_coo a {
    padding: 0.3vw;
    margin: 0.3vw 0;
  }
  #pri_coo a:hover {
    color: blue;
  }
  #rotellaa, #rotellab, #rotellac {
    position: absolute;
    display: flex;
    display: none;
    width: 50px;
    height: 50px;
    left: 50%;
    transform: translateX(-50%);
    top: 11vw;
    opacity: 0;
    z-index: 100;
  }
  #rotellaa img, #rotellab img, #rotellac img {
    width: 100%;
    height: auto;
  }
  #error {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15vw; /* da adattare */
  }
  #error_p {
    display: flex;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    margin: 0 auto 2vw auto;
    color: red;
  }
  #error_b { /*999 da aggiungere*/
    display: block;
    width: 40%;
    visibility: hidden;
    margin: 0 auto;
    opacity: 0;
    padding: 2vw;
  }
  #error_b:hover {
    background-color: rgb(180, 178, 178);
  }
  #box_input{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.4vw;
  }
  #sel {
    padding: 0.7vw;
    background-color: orangered;
    margin: 0 auto;
  }
  #avviso {
    position: absolute;
    display: none;
    font-size: 3.2vw;
    color: white;
    background-color: gray;
    border: 1px solid black;
    padding: 3px;
    left: 6vw;
  }
  #star, #settaggi {
    display: none;
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 10;
  }
  #star {
    width: 5.4vw;
    opacity: 1;
    background-color: red;
  }
  #star img {
    width: 100%;
    height: auto;
  }
  #star:hover {
    cursor: pointer;
  }
  #settaggi {
    flex-direction: column;
    opacity: 0;
    padding: 2vw;
    border: 2px solid orange;
    border-radius: 1vw;
    background-color: rgb(255, 240, 200);
    z-index: 100;
  }
  #settaggi:hover {
    cursor: default;
  }
  #imp_cookie {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid black;
  }
  #imp_cookie p {
    text-align: center;
    margin-right: 5vw;
  }
  #imp_cookie #ics {
    display: flex;
    width: 6vw;
  }
  #imp_cookie #ics:hover {
    cursor: pointer;
  }
  #imp_cookie img {
    width: 100%;
    height: auto;
  }
  #tecnici, #analitici {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  #tecnici #box_te, #analitici #box_an {
    display: flex;
    align-items: center;
    width: 5.4vw;
    border: 0.1vw solid black;
  }
  #tecnici #te_si, #analitici #an_si {
    width: 100%;
    height: auto;
    padding: 0.1vw;
  }
  #analitici #an_no {
    width: 100%;
    height: auto;
    padding: 0.3vw;
  }
  #tecnici p, #analitici p {
    margin-left: 1vw;
  }
  #consenso {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1vw;
  }
  #modifica_consenso {
    display: flex;
  }
  #modifica_consenso p {
    margin: 0 auto;
    padding: 0.8vw;
    background-color: rgb(247, 194, 97);
    border-radius: 1.2vw;
  }
  #modifica_consenso p:hover {
    background-color: rgb(252, 187, 66);
    cursor: pointer;
  }
  #consenso #data_c1 {
    text-align: center;
  }
}













