[x-cloak] {
    display: none !important;
}
html{
    overflow: auto;
}
main{
    overflow-y: clip;
}
/* Stili per il tasto "Torna Su" */
.torna-su {
position: fixed;
bottom: 20px;
right: 20px;
display: block;
}

.torna-su a {
text-decoration: block;
padding: 10px 15px;
background-color: #007BFF;
color: #fff;
border-radius: 50px;
}
/* CONTAINER */
.container1 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem
        /* 16px */
    ;
    padding-left: 1rem
        /* 16px */
    ;
}

@media (min-width: 640px) {
    .container1 {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .container1 {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .container1 {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .container1 {
        max-width: 1172px;
    }
}

@media (min-width: 1366px) {
    .container1 {
        max-width: 1172px;
    }
}

/* FONT */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter.ttf');
}
.font_exo{
    font-family: 'Exo', sans-serif;
}
body{
    font-family: 'Inter', sans-serif;
    font-feature-settings: 'clig' off, 'liga' off;
}
.labels {
    font-size: 12px;
    font-style: normal;
    line-height: 16px;
}
.labelm{
    font-size: 14px;
    font-style: normal;
    line-height: 20px;
}
.labell{
    font-size: 16px;
    font-style: normal;
    line-height: 24px;
}
.labelxl{
    font-size: 18px;
    font-style: normal;
    line-height: 26px;
}
.headings{
    font-size: 20px;
    font-style: normal;
    line-height: 28px; /* 140% */
    letter-spacing: -0.5px;
}
@media (min-width: 1024px) {
    .headingm{
        font-size: 24px;
        font-style: normal;
        font-weight: 600;
        line-height: 32px; /* 133.333% */
        letter-spacing: -0.5px;
    }
}
@media (max-width: 1023px) {
    .headingm{
        font-size: 20px;
        font-style: normal;
        font-weight: 600;
        line-height: 28px; /* 133.333% */
        letter-spacing: -0.5px;
    }
}

/* CHECKBOX ACCOUNT */
label > input[type="checkbox"] {
    opacity: 0;
    display:block ;
    position: absolute;
    left: 0;
}
label > input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 6px;
    border-style: solid;
    border-width: 1px;
    border-color: #BCC2BD;
    flex-shrink: 0;
    margin-right: 12px;
    padding-top: 1px;
}

label > input[type="checkbox"]:checked + *::before {
    content: url(../images/check.svg);
    color: white;
    text-align: center;
    background: transparent;
    border-color: #00A538;
}
/* SHADOW */
.custom-shadowL3{
    box-shadow: 0px 10px 16px 0px rgba(0, 0, 0, 0.10), 0px 0px 6px 0px rgba(0, 0, 0, 0.08);
}

/* COUNTER */
.custom-counter::-webkit-outer-spin-button,
.custom-counter::-webkit-inner-spin-button {
  opacity: 0;
  margin: 0;
  z-index: 10;
}

.custom-counter{
    background-image: url(../images/up-down.svg);
    background-repeat: no-repeat;
    background-position: bottom 12px right 16px;
}
.custom-counter {
  -moz-appearance: textfield;
  z-index: 10;
}
.text-truncate-custom{
    display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
}

.custom-select:invalid{
    color: #7A867C;
}
.custom-select{
    -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
}

/* CHECKBOX LOGIN */
form input[type="checkbox"] {
    opacity: 0;
    display:block ;
    position: absolute;
    left: 10px;
    top: 2px

}
form input[type="checkbox"] + *::before {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 6px;
    border-style: solid;
    border-width: 1px;
    border-color: #BCC2BD;
    flex-shrink: 0;
    margin-right: 12px;
    padding-top: 1px;
}

form input[type="checkbox"]:checked + *::before {
    content: url(../images/check.svg);
    color: white;
    text-align: center;
    background: transparent;
    border-color: #00A538;
}

/* HAMBURGER */
.hamburger-open span:nth-child(1){
    --tw-rotate: 47deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    --tw-translate-y: 0.44rem/* 6.56px */;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}  
.hamburger-open span:nth-child(2){
     opacity: 0;
}  
.hamburger-open span:nth-child(3){
    --tw-rotate: -47deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    --tw-translate-y: -0.30rem/* -4px */;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
input[type="search"] {
    -webkit-appearance: none;
    background-color: white;
    border-radius: 8px 0 0 8px;
}

.legenda {
    padding: 0.125rem 0.625rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
}

.semaforo {
    padding: 0.125rem 0.625rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
}
.semaforo.red, .legenda.red, .points.red {
    background-color: #FFEBEE;
    color: #F44336;
}
.arrow.red {
    color: #F44336;
}
.semaforo.red svg, .legenda.red svg, .arrow.red svg {
    fill: #F44336;
}
.semaforo.green, .legenda.green, .points.green {
    background-color: #DEF6E6;
    color: #006322;
}
.arrow.green {
    color: #006322;
}
.semaforo.green svg, .legenda.green svg, .arrow.green svg {
    fill: #006322;
}
.semaforo.orange, .legenda.orange, .points.orange {
    background-color: #FFF8E1;
    color: #FDB022;
}
.arrow.orange {
    color: #FDB022;
}
.semaforo.orange svg, .legenda.orange svg, .arrow.orange svg {
    fill: #FDB022;
}

.legenda.brown, .points.brown {
    background-color: #EFEBE9;
    color: #795548;
}
.legenda.brown svg{
    fill: #795548;
}
.legenda.blue, .points.blue {
    background-color: #E3F2FD;
    color: #2196F3;
}
.legenda.blue svg{
    fill: #2196F3;
}
.legenda.purple, .points.purple {
    background-color: #EDE7F6;
    color: #9C27B0;
}
.arrow.purple {
    color: #9C27B0;
}
.legenda.purple svg, .arrow.purple svg {
    fill: #9C27B0;
}
.legenda.gray, .points.gray {
    background-color: #F5F5F5;
    color: #9E9E9E;
}
.legenda.gray svg{
    fill: #9E9E9E;
}