@font-face {
  font-family: "DS-Digital";
  src: url("../fonts/DS-Digital-Bold.eot");
  src: url("../fonts/DS-Digital-Bold.eot?#iefix") format("embedded-opentype"),
    url("../fonts/DS-Digital-Bold.woff2") format("woff2"),
    url("../fonts/DS-Digital-Bold.woff") format("woff"),
    url("../fonts/DS-Digital-Bold.ttf") format("truetype"),
    url("../fonts/DS-Digital-Bold.svg#DS-Digital-Bold") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  transition: 0.3s all ease-out;
}

*:focus {
  outline: none;
}

html,
body {
  scroll-behavior: smooth;
}

/* 
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
*/

body {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  background-color: #fff8f0;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  color: #000;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  overflow-x: hidden;
}

body:not(.backgroundAdv) #adv-MaxTicker {
  margin-top: 50px;
}

div-gpt-ad-MaxTicker>div {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.backgroundAdv {
  background-attachment: fixed;
}

.box_crediti h5 {
  margin-block-start: 1.67em;
  margin-block-end: 1.67em;
}

div {
  width: 100%;
}

.p-dropdown-panel {
  width: initial;
}

p {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #0f0f0f;
  text-align: left;
  margin-block-start: 10px;
  margin-block-end: 10px;
}

.bg_color {
  background-color: #fff8f0;
}

.red .num {
  color: #c70039;
}

.green .num {
  color: #07a89e;
}

/* TOP BAR */

.top-bar {
  height: 50px !important;
}

.faN {
  width: 30px !important;
  height: 30px !important;
}

/* ADV */

#adv-MaxTicker {
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
  background-color: #f1e2cf;
}

#ad-Mpu_Top {
  display: flex;
  justify-content: center;
  width: 320px;
}

#div-gpt-ad-MPU_Top>div {
  display: flex !important;
  justify-content: center;
}

#bordo_adv {
  padding: 10px 0;
}

#Mpu_Top {
  text-align: center;
  width: fit-content;
}

#ad-Mpu_Top div,
#adv-MaxTicker div {
  width: inherit !important;
}

.container_over_skin {
  width: 100%;
  z-index: 5;
  background-color: #fff8f0;
  overflow-x: hidden;
}

.container_over_skin>* {
  z-index: 5;
  background-color: #fff8f0;
}

.shrinkable,
.backgroundAdv {
  background-color: #fff8f0 !important;
}

.pubblicita {
  display: flex;
  justify-content: center;
}

#div-gpt-ad-MaxTicker>div {
  display: flex !important;
  justify-content: center;
}

header {
  width: 100%;
  padding: 50px 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}

#header-sfondo {
  margin-top: 32px;
  margin-bottom: 24px;
  width: 80%;
}

.title {
  max-width: 800px;
  margin: auto;
}

h1 {
  display: inline !important;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif !important;
  font-style: normal !important;
  font-weight: 800 !important;
  font-size: 80px !important;
  line-height: 94px !important;
  text-align: center !important;
  margin: auto !important;
}

.data {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  max-width: 800px;
  padding: 10px 0;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  margin: auto;
  padding: 20px 0;
}

.data strong {
  text-transform: uppercase;
}

/* NUMERONI */

#two_columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: stretch;
  width: 100%;
  max-width: 800px;
  overflow-x: hidden;
  padding: 0;
  margin: auto;
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

#testoAutomatico {
  max-width: 800px;
  padding: 0;
  margin: auto;
  position: relative;
  margin-bottom: 30px;
}

#column_left {
  width: 100%;
  max-width: 800px;
  padding-left: 0;
  padding-right: 20px;
}

/* #column_right {
  padding-left: 30px;
  padding-right: 0;
  align-self: baseline;
  max-width: 340px;
} */

#column_right {
  padding-right: 0;
  max-width: 320px;
  background-color: #292929;
}

.numeroni_container {
  /* display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start; */
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px 32px;
  margin-bottom: 10px;
  margin-left: 2px;
}

.numerone-grid {
  display: flex;
  flex-direction: column;
  background: #fff8f0;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 3px;
  padding: 16px;
}

.numerone-titolo {
  height: 54px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.num_legend {
  height: 54px;
}

.numerone {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  padding: 30px 0;
}

.freccina-no,
.freccina-su,
.freccina-giu {
  width: 32px;
  height: 32px;
  background-size: cover;
  margin-left: 8px;
}

.green .freccina-su {
  background-image: url(../img/freccina-su-verde.svg);
}

.red .freccina-su {
  background-image: url(../img/freccina-su-rossa.svg);
}

.green .freccina-giu {
  background-image: url(../img/freccina-giu-verde.svg);
}

.red .freccina-giu {
  background-image: url(../img/freccina-giu-rossa.svg);
}

.num_title {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  width: calc(100% - 40px);
}

.num {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 50px;
  line-height: 90px;
}

.num_legend {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
}

/* MODAL */

.filetto {
  width: 100%;
  max-width: 800px;
  height: 0.5px;
  background-color: rgba(0, 0, 0, 0.5);
  margin: auto;
  margin-bottom: 50px;
}

.modal_btn_container {
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  margin: 0 auto 20px;
  background: #571845;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  cursor: pointer;
  padding: 5px 10px;
}

.modal_btn {
  width: 100%;
  outline: none;
  border: none;
  white-space: nowrap;
  padding-right: 10px;
  font-style: normal;
  font-weight: 600;
  font-size: 18px;
  line-height: 32px;
  color: #fff;
}

.modal_btn_container:hover {
  background: #5718459d;
  color: #000;
}

.small_modal_btn_container {
  height: 32px;
  position: fixed;
  left: calc(50vw + 450px);
  top: 90px;
  z-index: 10;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  margin: auto;
}

body:not(.backgroundAdv) .small_modal_btn_container {
  right: 10px;
}

/* .modal_btn_container:hover .modal_btn {
  color: #000;
} */

.modal_hamburger div {
  width: 16px;
  height: 2px;
  background-color: #fff;
  margin: 3px 0;
  border-radius: 3px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 30;
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 10px 30px 30px 30px;
  border: 1px solid #888;
  width: 550px;
  /* height: 510px; */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

.modal-content p {
  line-height: 26px;
}

.modal-content p+p {
  margin-top: 32px;
}

.modal-header {
  padding: 20px 16px 20px 0;
}

.modal_title {
  font-style: normal;
  font-weight: 800;
  font-size: 18px;
  line-height: 22px;
  color: #ae0a0d;
  text-transform: uppercase;
  text-align: left;
  position: relative;
}

.modal-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}

.modal_body_item {
  position: relative;
  border-radius: 3px;
}

.modal_body_item:hover {
  font-weight: 600;
  background-color: rgba(87, 24, 69, 0.2);
}

.modal_body_item p {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  text-align: left;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 18px;
  padding-block-start: 0;
  padding-block-end: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding: 6px 0 6px 30px;
  cursor: pointer;
}

.modal_body_item p::before {
  content: "";
  border-color: transparent #000;
  border-style: solid;
  border-width: 0.35em 0 0.35em 0.45em;
  display: block;
  height: 0;
  width: 0;
  left: 10px;
  top: 10px;
  position: absolute;
}

.modal-footer {
  padding: 2px 16px;
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

.close {
  font-size: 28px;
  font-weight: bold;
  color: #000;
  position: absolute;
  right: -15px;
  top: -5px;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* GRAFICI */

section {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
}

h2 {
  width: 100%;
  font-style: normal;
  font-weight: 400;
  font-size: 26px;
  line-height: 30px;
  text-align: center;
  margin-block-end: 0.5em !important;
  margin-block-start: 30px !important;
}

.box_paragraph {
  max-width: 800px;
  margin: auto;
  padding: 10px 0;
}

.box_paragraph:first-of-type {
  padding-top: 0px;
}

.box_paragraph:first-of-type p {
  margin-block-start: 0;
}

.box_chart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto;
}

.chart_regular {
  max-width: 800px;
  margin: auto;
}

.chart_large {
  max-width: 1200px;
  padding: 10px;
  margin: auto;
}

.chart_title {
  max-width: 800px;
  font-style: normal;
  font-weight: 800;
  font-size: 26px;
  line-height: 30px;
  text-align: center;
}

.chart_subtitle {
  max-width: 800px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #0f0f0f;
  padding: 0 0 20px;
}

.chart_source {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: rgba(15, 15, 15, 0.6);
  padding-top: 20px;
}

.box_chart_left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto;
}

.box_chart_right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  margin: auto;
}

.box_chart_left .chart_text {
  text-align: left;
  padding-left: 30px;
}

.box_chart_right .chart_text {
  text-align: left;
  padding-right: 30px;
}

.chart_alto {
  height: 800px;
}

.chart_molto_alto {
  height: 1200px;
}

.chart_medio {
  height: 600px;
}

/*--- FOOTER ----*/

#backtop {
  position: fixed;
  left: calc(50vw + 450px);
  bottom: 0;
  width: 50px;
  z-index: 10;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: transparent;
}

body:not(.backgroundAdv) #backtop {
  right: 10px;
}

#backtop img {
  cursor: pointer;
  width: 30px;
  max-width: 30px;
  height: auto;
  margin-right: 10px;
  padding-bottom: 10px;
}

.box_crediti {
  padding-top: 0;
  width: 680px;
  border-top: 1px solid #1a1818;
  margin: auto;
}

h5 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  color: #1a1818;
  font-weight: 400;
  padding: 5vh 10px;
}

footer {
  z-index: 20;
}

#footer_div {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  line-height: 1.3;
  background-color: #19171a;
  color: #a19e9e;
  font-size: 14px;
  text-transform: none;
  padding: 30px 100px;
  text-align: center;
}

.mobile {
  display: none;
}

#data-aggiornamento {
  color: white;
  font-weight: 600;
}

#ultimo-aggiornamento {
  color: white;
  font-weight: 600;
}

.numero-digitale {
  font-family: "DS-Digital";
  font-weight: bold;
  font-style: normal;
  font-size: 75px;
}

.numero-digitale div {
  height: 80px;
}

.numero-digitale-cnt {
  width: 59px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #292929;
}

.numero-digitale-cnt+.numero-digitale-cnt {
  margin-left: 4px;
}

.numero-digitale-virgola {
  width: 14px;
  margin: 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-bandiera {
  font-weight: 600;
  font-size: 20px;
  line-height: 22px;
  color: white;
}

.header-citta {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  color: white;
}

.header-regione {
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  text-transform: uppercase;
  color: white;
  margin-top: 8px;
}

.header-didascalia {
  position: absolute;
  top: -24px;
  font-size: 13px;
  text-transform: uppercase;
}

.header-andamento {
  position: absolute;
  top: -24px;
  font-size: 13px;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 50px;
}

.header-verde .header-didascalia,
.header-verde .header-andamento {
  color: #2dc653;
  transition: 0.3s all ease-in;
}

.header-arancio .header-didascalia,
.header-arancio .header-andamento {
  color: #ff8800;
  transition: 0.3s all ease-in;
}

.header-verde .header-sfondo {
  background-color: #2dc653;
  transition: 0.3s all ease-in;
}

.header-arancio .header-sfondo {
  background-color: #ff8800;
  transition: 0.3s all ease-in;
}

.header-freccia {
  height: 100%;
  margin-right: 12px;
}

.header-numerone {
  margin-top: 32px;
}

.header-numerone+.header-numerone {
  margin-top: 56px;
}

.header-spiega {
  font-size: 16px;
  line-height: 24px;
  color: white;
  margin-bottom: 32px;
}

.header-dividi {
  border-top: 1px solid #3c3c3c;
  margin: 32px 0 48px 0;
}

.width-reset {
  width: initial;
}

.switch-button {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  width: 240px;
  text-align: center;
  font-size: 18px;
  letter-spacing: 1px;
  color: #3c3c3c;
  position: relative;
  padding-right: 120px;
  position: relative;
  margin-bottom: 64px;
}

.switch-button-checkbox {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 2;
}

.switch-button-label {
  display: flex;
  justify-content: space-between;
  color: white;
  transition: all 150ms linear;
}

.switch-button-label::before {
  transition: all 300ms linear;
}

.switch-button-checkbox:checked+.switch-button-label:before {
  transform: translateX(120px);
  background: #ff8800;
}

.switch-button-checkbox:checked+.switch-button-label {
  color: #3c3c3c;
}

.switch-button-checkbox:checked+.switch-button-label+#switch-button-label-span-2 {
  color: white;
}

.switch-button-checkbox:checked+.switch-button-label:before {
  transform: translateX(120px);
  background: #ff8800;
}

#switch-button-label-span-2 {
  position: absolute;
  left: 61px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 150ms linear;
}

.switch-button-checkbox+.switch-button-label {
  position: relative;
  padding: 9px 0;
  display: block;
  user-select: none;
  pointer-events: none;
}

.switch-button-checkbox+.switch-button-label:before {
  content: "";
  background: #2dc653;
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 30px;
  transform: translateX(0);
  transition: transform 300ms;
}

.switch-button-checkbox+.switch-button-label .switch-button-label-span {
  position: relative;
}

#app {
  margin: 0 64px 44px 64px;
  background-color: white;
  padding: 32px 0 64px 0;
  transition: opacity 0.3s ease-in;
}

#app-ricerca {
  max-width: 800px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  margin-bottom: 32px;
  transition: opacity 0.3s ease-in;
}

.bt {
  transition: all 0.2s ease-in;
}

.bt-ordina .bt-cella-prezzo:hover {
  background-color: #eee;
  cursor: pointer;
  transition: all 0.2s ease-in;
}

.bt-ordina img {
  margin-right: 8px;
}

.bt-altri,
.risultati-rimanenti {
  display: flex;
  padding: 4px;
  margin: 8px;
  align-items: center;
}

.bt-altri:not(.bt-disabilitato) {
  transition: all 0.2s ease-in;
  cursor: pointer;
}

.bt-altri:not(.bt-disabilitato):hover {
  background-color: #eee;
}

.bt-altri.bt-disabilitato {
  opacity: 0.4;
}

.bt-altri img {
  margin-left: 3px;
}

.bt-pieno {
  border: 2px solid black;
  color: black;
  width: 145px;
  text-align: center;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  width: 185px;
  transition: all 0.2s ease-in;
}

.bt-pieno+.bt-pieno {
  margin-left: 16px;
}

.bt-cerca {
  background-image: url(../img/ico-lente.svg);
  background-repeat: no-repeat;
  background-position-x: 12px;
  background-position-y: center;
}

.bt-vicino {
  background-image: url(../img/ico-segnaposto.svg);
  background-repeat: no-repeat;
  background-position-x: 12px;
  background-position-y: center;
}

.bt-cerca:hover {
  background-color: #000;
  color: white;
  background-image: url(../img/ico-lente-bianca.svg);
}

.bt-vicino:hover {
  background-color: #000;
  color: white;
  background-image: url(../img/ico-segnaposto-bianca.svg);
}

.bt-ricerca {
  border: 2px solid #2dc653;
  color: #2dc653;
  width: 145px;
  text-align: center;
  padding: 11px 0;
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
}

.bt-ricerca-1 {
  border: 2px solid #2dc653;
  color: #2dc653;
}

.bt-ricerca-2 {
  border: 2px solid #ff8800;
  color: #ff8800;
}

.bt-ricerca-3 {
  border: 2px solid #158bff;
  color: #158bff;
}

.bt-ricerca-4 {
  border: 2px solid #00d1ff;
  color: #00d1ff;
}

.bt-ricerca-5 {
  border: 2px solid rgba(0, 0, 0, 0.3);
  color: rgba(0, 0, 0, 0.3);
}

.bt-deselezionato {
  border-color: rgba(0, 0, 0, 0.08);
  color: rgba(0, 0, 0, 0.08);
}

.bt:hover {
  font-weight: 800;
}

.p-dropdown-cnt+.p-dropdown-cnt {
  margin-left: 20px;
}

.ricerca-label {
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  font-size: 13px;
  line-height: 24px;
  padding-left: 8px;
  text-align: left;
}

#app-risultati {
  max-width: 945px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
}

.risultato {
  background: #ffffff;
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  padding: 16px;
}

.risultato-tabella {
  margin-left: 80px;
}

.risultato+.risultato {
  margin-top: 16px;
}

.risultato-bandiera {
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.risultato-bandiera img {
  width: 24px;
  height: 24px;
  margin-left: 8px;
}

.risultato-indirizzo {
  font-size: 13px;
  font-style: italic;
  font-weight: 400;
  line-height: 16px;
  margin-bottom: 8px;
}

.risultato-distanza {
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
  margin-bottom: 16px;
  position: relative;
  padding-left: 18px !important;
}

.risultato-distanza .ico-ordinamento {
  left: 0;
}

.risultato-aggiornamento {
  font-size: 10px;
  font-weight: 400;
  line-height: 22px;
  color: rgba(0, 0, 0, 0.4);
}

.risultato-cella-prezzo {
  width: 55px;
  position: relative;
  cursor: pointer;
}

.risultato-cella-prezzo:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.risultato-cella-tipo {
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  margin-bottom: 16px;
}

.risultato-cella-tipo-1 {
  color: #2dc653;
}

.risultato-cella-tipo-2 {
  color: #ff8800;
}

.risultato-cella-tipo-3 {
  color: #158bff;
}

.risultato-cella-tipo-4 {
  color: #f4494c;
}

.risultato-cella-tipo-5 {
  color: rgba(0, 0, 0, 0.3);
}

.risultato-cella-servito {
  margin-bottom: 8px;
}

.risultato-cella-servito,
.risultato-cella-self {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  position: relative;
  display: flex;
  justify-content: center;
}

.risultato-tabella {
  display: grid;
  grid-template-columns: repeat(5, 120px);
  row-gap: 20px;
}

/* MOBILE */

.risultato-tabella .risultato-cella:nth-child(1) .risultato-cella-servito:before,
.risultato-tabella .risultato-cella:nth-child(6) .risultato-cella-servito:before {
  content: "Servito";
  color: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  line-height: 22px;
  position: absolute;
  left: -50px;
}

.risultato-tabella .risultato-cella:nth-child(1) .risultato-cella-self:before,
.risultato-tabella .risultato-cella:nth-child(6) .risultato-cella-self:before {
  content: "Self";
  color: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  line-height: 22px;
  position: absolute;
  left: -50px;
}

.box_testo {
  max-width: 800px;
  margin: auto;
  margin-top: 32px;
  margin-bottom: 16px;
}

.mt-64 {
  margin-top: 64px !important;
}

.mt-32 {
  margin-top: 32px !important;
}

.mt-24 {
  margin-top: 24px !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

.mb-64 {
  margin-bottom: 64px !important;
}

.mb-32 {
  margin-bottom: 32px !important;
}

.mb-24 {
  margin-bottom: 24px !important;
}

.mb-16 {
  margin-bottom: 16px !important;
}

.mr-32 {
  margin-right: 32px !important;
}

.mr-16 {
  margin-right: 16px !important;
}

.ml-24 {
  margin-left: 24px !important;
}

.ml-16 {
  margin-left: 16px !important;
}

.ml-8 {
  margin-left: 8px !important;
}

.pb-32 {
  padding-bottom: 32px !important;
}

.pb-64 {
  padding-bottom: 64px !important;
}

.p-4px {
  padding: 4px;
}

.bt-mappa+.bt-mappa {
  margin-left: 16px;
}

#div-gpt-ad-MaxTicker div {
  display: flex !important;
  justify-content: center;
}

/* SPINNER */

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid rgb(221, 220, 220);
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: rgb(221, 220, 220) transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* SPINNER */

.evidenziaAnomalia {
  color: #f4494c;
}

.evidenziaAnomalia .risultato-cella-prezzo {
  background-color: #fde4e4;
  color: black;
}

/* TOOLTIP */

.pointer {
  color: #ef4e63;
  cursor: pointer;
}

.pointer:after {
  padding: 50px;
}

.tooltip-cnt {
  line-height: 1.1;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-align: left;
}

.tooltiptext {
  display: none;
  position: absolute;
  width: 180px;
  background-color: white;
  border: 1px solid black;
  text-align: center;
  box-shadow: 3px 3px 4px #888888;
  padding: 8px;
  line-height: 1.1;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 15px;
  text-align: left;
}

.img_tooltip {
  margin-left: 2px;
  width: 14px;
}

.mostra-tooltip {
  display: block;
}

.risultati-legenda {
  font-size: 12px;
}

/* TOOLTIP */

.andamento {
  margin-right: 16px;
}

.andamento-su,
.andamento-giu {
  background-image: url(../img/andamento-su-grigio.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 38px;
  height: 38px;
}

.andamento-giu {
  background-image: url(../img/andamento-giu-grigio.svg);
}

.header-verde .andamento-su.selezionato {
  background-image: url(../img/andamento-su-verde.svg);
}

.header-arancio .andamento-su.selezionato {
  background-image: url(../img/andamento-su-arancio.svg);
}

.header-verde .andamento-giu.selezionato {
  background-image: url(../img/andamento-giu-verde.svg);
}

.header-arancio .andamento-giu.selezionato {
  background-image: url(../img/andamento-giu-arancio.svg);
}

#testoAutomatico {
  color: white;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0em;
  text-align: left;
}

.testo_verde {
  color: #2dc653;
}

.testo_arancio {
  color: #ff8800;
}

.testo_digit {
  font-size: 36px;
  line-height: 36px;
  font-family: "DS-Digital";
  font-style: normal;
}

.freccia_in_calo,
.freccia_in_crescita {
  padding-right: 20px;
  margin-right: 6px;
  position: relative;
}

.testo_verde.freccia_in_calo:after {
  content: "";
  width: 28px;
  height: 16px;
  background-image: url(../img/andamento-giu-verde-testo.svg);
  background-size: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  right: -15px;
  bottom: 0;
}

.testo_verde.freccia_in_crescita:after {
  content: "";
  width: 28px;
  height: 16px;
  background-image: url(../img/andamento-su-verde-testo.svg);
  background-size: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  right: -15px;
  bottom: 0;
}

.testo_arancio.freccia_in_calo:after {
  content: "";
  width: 28px;
  height: 16px;
  background-image: url(../img/andamento-giu-arancio-testo.svg);
  background-size: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  right: -15px;
  bottom: 0;
}

.testo_arancio.freccia_in_crescita:after {
  content: "";
  width: 28px;
  height: 16px;
  background-image: url(../img/andamento-su-arancio-testo.svg);
  background-size: 16px;
  display: inline-block;
  background-repeat: no-repeat;
  position: absolute;
  right: -15px;
  bottom: 0;
}

@media only screen and (max-width: 820px) {
  #adv-MaxTicker {
    padding: 70px 0 20px;
  }

  #mpu_top_mobile {
    display: flex;
    justify-content: center;
  }

  #adv_middle {
    margin: 40px auto;
    text-align: center;
  }

  header {
    padding: 20px 15px 0;
  }

  section {
    padding-left: 15px;
    padding-right: 15px;
  }

  h1 {
    max-width: 100% !important;
    font-size: 46px !important;
    line-height: 56px !important;
    line-height: 1 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .title {
    max-width: 100%;
  }

  #two_columns {
    max-width: 100%;
    flex-direction: column;
    padding: 0 15px 0 15px;
  }

  #testoAutomatico {
    max-width: 100%;
    padding: 0 15px 0 15px;
  }

  #column_left {
    max-width: 100%;
    padding-left: 0px;
    padding-right: 0;
  }

  #column_right {
    max-width: 0;
    display: none;
  }

  .modal-content {
    width: 100%;
    height: 100%;
  }

  .modal_body_item p {
    font-size: 16px;
  }

  .num_title {
    text-align: center;
  }

  .num {
    text-align: center;
    font-size: 50px;
    line-height: 90px;
  }

  .num_legend {
    text-align: center;
  }

  .chart_title,
  .chart_subtitle,
  .box_paragraph,
  .chart_regular,
  .chart_large {
    max-width: 100%;
  }

  .chart_large {
    padding: 10px 0;
  }

  .box_chart_left,
  .box_chart_right {
    flex-direction: column;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .box_chart_left .chart_text {
    text-align: center;
    padding-left: 0;
  }

  .box_chart_right .chart_text {
    text-align: center;
    padding-right: 0;
  }

  .scroll_container {
    width: 100%;
    overflow-x: scroll;
    position: relative;
  }

  #div_iframe_macro {
    width: 1200px;
  }

  .box_crediti {
    width: 100%;
  }

  #footer_div {
    padding: 30px 10px;
  }
}

@media only screen and (min-width: 821px) {
  /* .adv_fixed {
    position: fixed;
    margin: 20px;
  } */

  .mpu_top_mobile {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .box_testo {
    padding: 0 10px;
    max-width: 100%;
    margin: auto;
  }

  .header-regione {
    font-size: 12px;
    margin-top: 4px;
  }

  .andamento {
    margin-right: 12px;
  }

  .section-100 {
    padding-left: 0;
    padding-right: 0;
  }

  #header-sfondo {
    width: 100%;
  }

  .switch-button {
    margin: auto;
    margin-bottom: 64px;
  }

  .numero-digitale-cnt {
    width: 46px;
  }

  .numero-digitale-cnt {
    width: 46px;
  }

  .header-bandiera {
    max-width: 100px;
    font-size: 18px;
  }

  #app {
    padding: 32px 10px 44px 10px;
  }

  .mobile-flex-col {
    flex-direction: column;
  }

  .mobile-justify-center {
    justify-content: center;
  }

  .mobile-items-center {
    align-items: center;
  }

  .p-dropdown-cnt {
    width: 70%;
  }

  .p-dropdown-cnt+.p-dropdown-cnt {
    margin-left: initial;
  }

  .ricerca-tipologia {
    display: flex;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .ricerca-tipologia::-webkit-scrollbar {
    display: none;
  }

  .ricerca-tipologia .bt-ricerca {
    flex: none;
    width: 100px;
  }

  .ricerca-tipologia .bt-ricerca+.bt-ricerca {
    margin-left: 8px;
  }

  .bt-pieno+.bt-pieno {
    margin-left: initial;
    margin-top: 8px;
  }

  .risultato-bandiera,
  .risultato-indirizzo {
    text-align: left;
  }

  .risultato-tipo {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 500;
    font-size: 13px;
    line-height: 22px;
  }

  #tabella-risultato-tabella td {
    padding: 2px 12px;
  }

  #tabella-risultato-tabella tr td:nth-child(1) {
    text-align: left;
    padding: 2px 12px 2px 0;
  }

  #tabella-risultato-tabella tr td:nth-child(2),
  #tabella-risultato-tabella tr td:nth-child(3) {
    width: 76px;
    text-align: right;
    padding-right: 16px;
  }

  .risultato-aggiornamento {
    margin-top: 16px;
    text-align: right;
  }

  .risultato-totale {
    font-size: 13px;
    line-height: 16px;
  }

  #backtop {
    left: initial;
    right: -8px !important;
  }

  .chart_alto {
    height: 500px;
  }

  .chart_medio {
    height: 400px;
  }

  .chart_regular .chart_medio {
    height: 600px;
  }

  /* ------------------------------- */

  .numeroni_container {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .numerone-titolo {
    height: auto;
  }

  .num_title,
  .num_legend {
    text-align: left;
    height: auto;
  }

  .num {
    font-size: 36px;
    line-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .num_legend,
  .num {
    margin-top: 8px;
  }

  .mobile {
    display: initial;
  }

  .desktop {
    display: none;
  }

  .risultato-cella-servito,
  .risultato-cella-self {
    display: table-cell;
  }

  .header-didascalia,
  .header-andamento {
    top: -20px;
    font-size: 11px;
  }
}

@media only screen and (max-width: 375px) {

  .andamento-su,
  .andamento-giu {
    width: 29px;
    height: 29px;
  }

  .numero-digitale div {
    height: 63px;
  }

  .header-didascalia,
  .header-andamento {
    top: -20px;
    font-size: 10px;
  }

  .header-regione {
    font-size: 10px;
    margin-top: 4px;
  }

  .andamento {
    margin-right: 8px;
  }
}