* {
  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: #ffffff;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  color: #000;
  /* -webkit-transition: all 0.35s;
  transition: all 0.35s; */
  overflow-x: hidden;
}

div {
  width: 100%;
}

:-webkit-any(article, aside, nav, section) h1 {
  margin-block-start: 0px;
  margin-block-end: 10px;
}

article,
header,
aside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
  width: 100%;
  margin: auto;
  overflow-x: hidden;
}

div {
  width: 100%;
}

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

#logoQDV {
  background-image: url(../img/logoQDV.svg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  height: 100px;
  margin-top: 30px;
  width: 100%;
}

h2 {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

h3 {
  margin-block-start: 0px;
  margin-block-end: 0px;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

a:link {
  color: #1a1818;
  text-decoration: underline;
}

a:visited {
  color: #1a1818;
  text-decoration: underline;
}

a:hover {
  color: #005791;
  text-decoration: underline;
}

a:active {
  color: #005791;
  text-decoration: underline;
}

/* AVD */
#adv-MaxTicker {
  background-color: #f2f2f2;
}

#adv-Middle {
  margin-top: 50px;
  margin-bottom: 50px;
}

/*---- NAV HEADER  ------*/

#nav_header {
  position: -webkit-sticky;
  position: sticky;
  width: 100%;
  z-index: 5;
  top: 50px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

#navHeader-container {
  width: 100%;
  max-width: 100%;
  height: 60px;
  margin-top: 0px;
  background: white;
  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;
}

#navHeader-wrapper {
  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;
  display: none;
  opacity: 0;
  position: absolute;
}

.navHeader-slide {
  width: auto;
  text-align: center;
  background: white;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #1a1818;
  padding-right: 10px;
  white-space: nowrap;
}

.navHeader-slide a {
  text-decoration: none;
  color: #1a1818;
}

.navHeader-slide a:visited {
  text-decoration: none;
  color: #1a1818;
}

.navHeader-slide a:hover,
.navHeader-slide a:active {
  text-decoration: none;
  color: #1a181885;
}

.header_special_link {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 24px;
  letter-spacing: normal;
  text-align: center;
  border-radius: 4px;
}

#header_special_link_qdv {
  color: #fcaf17;
  padding-left: 20px;
  padding-right: 10px;
  display: flex;
  align-items: center;
  width: auto;
}

#header_special_link_qdv a:link {
  color: #fcaf17;
  text-decoration: none;
}

#header_special_link_qdv a:visited {
  color: #fcaf17;
  text-decoration: none;
}

#header_special_link_qdv a:hover {
  color: #fcaf17;
  text-decoration: none;
}

#header_special_link_qdv a:active {
  color: #fcaf17;
  text-decoration: none;
}

.sommario {
  padding: 10px 10px 30px;
  font-size: 20px;
  line-height: 28px;
  position: relative;
  float: left;
  width: 100%;
  text-align: center;
  font-family: "SoleSerif", Georgia, Times, "Times New Roman", serif;
  max-width: 800px;
}

/*--------- TITLE --------------------*/

#title {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  color: #1a1818;
  font-size: 62px;
  margin-top: 50px;
  margin-bottom: 15px;
  font-size: 90px;
  font-weight: bold;
  line-height: 1em;
}

.update,
.update_below {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  text-align: center;
  color: #707070;
  margin: 20px auto 30px auto;
}

.nascondi-desktop {
  display: none;
}

.nascondi-mobile {
  display: inline-block;
}

/*--- MENU ---*/

#menu_anchor {
  position: relative;
  bottom: 100px;
}

#menu {
  max-width: 1000px;
  text-align: center;
  margin-top: 50px;
}

#menu_list {
  padding-inline-start: 0px;
  margin-top: 30px;
  margin-bottom: 30px;
}

#menu_title {
  display: inline;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #f7f6f2;
  background-color: #0f0f0f;
  padding: 4px 10px;
  border-radius: 5px;
}

ul#menu_list li {
  position: relative;
  display: inline;
  list-style-type: none;
  padding-left: 5px;
  margin-right: 25px;
  letter-spacing: 1px;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #0f0f0f;
}

ul#menu_list li a {
  color: #0f0f0f;
  text-decoration: none;
}

ul#menu_list li a:before {
  content: url(../img/index-item.svg);
  opacity: 0.5;
  position: absolute;
  left: -10px;
}

ul#menu_list li a:hover {
  text-decoration: underline;
}

ul#menu_list li a:hover:before {
  content: url(../img/index-item-hover.svg);
  opacity: 1;
}

ul#menu_list li a:active {
  text-decoration: underline;
}

ul#menu_list li a:active:before {
  content: url(../img/index-item-hover.svg);
  opacity: 1;
}

ul#menu_list li a:visited {
  color: #0f0f0f;
  text-decoration: none;
}

ul#menu_list li a:visited:before {
  content: url(../img/index-item.svg);
  opacity: 0.5;
}

.anchor-div {
  position: relative;
}

.anchor-span {
  position: absolute;
  top: -50px;
}

/*--- SECTIONS ---*/
.section {
  width: 100%;
  margin: 20px auto;
}

.divider {
  margin: 20px auto 0px auto;
}

.lab24-fonte {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-weight: normal;
  font-size: 11px;
  font-style: normal;
  text-decoration: none;
  color: #888;
  margin-bottom: 15px;
}

/*--- TEXT BLOCKS ---*/
.black_row,
.section_title,
.box_title,
.box_sommario_grafici,
.box_text,
.box_chart,
.box_notes {
  width: 680px;
  max-width: 680px;
  text-align: left;
}

.black_row {
  margin-top: 50px;
}

.black_row div {
  width: 25px;
  height: 5px;
  background-color: black;
}

.section_title {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: 700;
  line-height: 1.1;
  letter-spacing: normal;
  color: #000000;
  margin-top: 10px;
}

.box_title {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.53;
  letter-spacing: normal;
  color: #000000;
  margin-top: 50px;
}

.box_sommario_grafici {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.53;
  letter-spacing: normal;
  color: #000000;
  padding-bottom: 15px;
}

.box_text {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  color: #1a1818;
  margin-top: 15px;
}

.box_text p {
  margin-bottom: 0;
  margin-block-end: 0;
}

.box_chart {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  color: #1a1818;
  margin: 10px auto 50px;
}

.box_notes {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  line-height: normal;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: normal;
  color: #1a1818;
  margin-top: 5px;
}

.chart_full_width {
  width: 100%;
  max-width: 970px;
  margin: 0 auto 50px;
}

#change_map {
  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;
  width: 100%;
  margin: 20px auto 40px auto;
}

.grafico_btn {
  width: 250px;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #e4e4e4;
  padding: 10px 0;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.05;
  letter-spacing: normal;
  text-align: center;
  color: #000000;
  outline: 0;
  cursor: pointer;
  text-transform: uppercase;
}

.grafico_btn:hover {
  background-color: #ffffff;
  font-weight: bold;
  outline: 0;
}

.grafico_btn_active {
  background-color: #ffffff;
  font-weight: bold;
  outline: 0;
}

/* TABELLONE DATAWRAPPER */

#big_table {
  max-width: 1024px;
  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;
}

.big_table_column {
  width: 33%;
  padding: 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
  border-right: 1px solid #000000;
}

.big_table_column:last-of-type {
  border-right: none;
}

.table_datawrapper {
  width: 100%;
}

.table_th {
  width: 100%;
  padding: 10px 5px;
}

.table_category {
  text-transform: uppercase;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: center;
}

.table_age {
  text-transform: uppercase;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.35;
  letter-spacing: normal;
  text-align: center;
}

.table_link {
  width: 230px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  padding: 7px 5px;
  border-radius: 25px;
  margin: auto;
  margin-top: 15px;
}

.table_link a:link {
  color: #ffffff;
  text-decoration: none;
}

.table_link a:visited {
  color: #ffffff;
  text-decoration: none;
}

.table_link a:hover {
  color: #ffffff;
  text-decoration: none;
}

.table_link a:active {
  color: #ffffff;
  text-decoration: none;
}

.table_link:hover {
  opacity: 0.7;
  cursor: pointer;
}

.colore_bambini {
  color: #f23dd1;
}

.colore_giovani {
  color: #ef2272;
}

.colore_anziani {
  color: #3a0ca3;
}

.bg_colore_bambini {
  background-color: #f23dd1;
}

.bg_colore_giovani {
  background-color: #ef2272;
}

.bg_colore_anziani {
  background-color: #3a0ca3;
}

#iframe_province {
  width: 100%;
  min-height: 200px;
  border: 0;
  max-width: 810px;
  margin: auto;
}

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

#backtop {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50px;
  z-index: 3;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

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

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

#fonti_finali {
  margin-top: 60px;
  width: 680px;
  border-top: 1px solid #1a1818;
}

#crediti_finali {
  margin-top: 050px;
  width: 680px;
  border-top: 1px solid #1a1818;
}

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;
  margin: 5vh 10px;
}

h6 {
  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;
  margin: 5vh 10px;
}

footer {
  z-index: 4;
}

#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;
}

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

/* ADV */

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

#ad-Mpu_Middle {
  width: 100%;
  margin: auto;
  margin-top: 50px;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  background-color: #fff8f0;
}

#Mpu_Middle {
  width: auto;
}

/*----- RESPONSIVE MOBILE --------*/

@media screen and (max-width: 480px) {
  article {
    padding-left: 15px;
    padding-right: 15px;
  }

  #nav_header {
    position: absolute;
    top: 0;
  }

  #navHeader-container {
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
    overflow-x: hidden;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 50px;
  }

  #navHeader-wrapper {
    display: none;
  }

  #header_special_link_qdv {
    padding-left: 10px;
    padding-right: 0;
    font-size: 14px;
  }

  #header_special_link_qdv_italia {
    padding-left: 0;
    padding-right: 10px;
    font-size: 14px;
  }

  .update,
  .update_below {
    width: 100vw;
    max-width: 100vw;
    padding-left: 15px;
    padding-right: 15px;
  }

  .update {
    margin: 20px 0 0 0;
  }

  .update_below {
    margin: 0;
  }

  .nascondi-desktop {
    display: block;
  }

  .nascondi-mobile {
    display: none;
  }

  #adv-MaxTicker {
    background-color: #f2f2f2;
  }

  #title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 2.5vh;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 40px;
    max-width: 345px;
  }

  section {
    width: 100%;
  }

  nav {
    margin-left: 0;
    margin-right: 0;
  }

  #menu,
  .divider,
  .black_row,
  .section_title,
  .box_title,
  .box_sommario_grafici,
  .box_text,
  .box_notes,
  #crediti_finali,
  #fonti_finali {
    max-width: 100%;
  }

  .box_chart {
    max-width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }

  #change_map {
    flex-direction: column;
  }

  #menu_anchor {
    bottom: 90px;
  }

  ul#menu_list li {
    font-size: 22px;
  }

  #menu {
    margin-left: 15px;
    margin-right: 15px;
  }

  .anchor-span {
    position: absolute;
    top: -80px;
  }

  .box_text {
    font-size: 18px;
  }

  .section_title {
    font-size: 30px;
    line-height: 1;
    margin-top: 20px;
  }

  .box_title {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 10px;
    margin-top: 50px;
  }

  .chart_full_width {
    max-width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0;
  }

  #big_table {
    flex-direction: column;
  }

  .big_table_column {
    width: 100%;
    margin-top: 30px;
    border-right: none;
  }

  .black_row {
    margin-top: 25px;
  }

  #iframe_province {
    min-height: 500px;
  }

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

/*----- RESPONSIVE TABLET ---*/

@media screen and (min-width: 481px) and (max-width: 821px) {
  article {
    padding-left: 15px;
    padding-right: 15px;
  }

  #nav_header {
    position: absolute;
    top: 0;
    left: -20px;
  }

  #navHeader-container {
    width: 100%;
    max-width: 100%;
    margin-top: 50px;
    overflow-x: auto;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
  }

  #navHeader-wrapper {
    display: none;
  }

  #header_nav_first {
    margin-left: 20px;
  }

  #adv-MaxTicker {
    background-color: #f2f2f2;
    margin-top: 140px;
  }

  #title {
    margin-top: 40px;
    padding: 0px 10px 6px 10px;
  }

  h1 {
    font-size: 62px;
    line-height: 1.4;
    white-space: normal;
  }

  section {
    margin: 15px;
  }

  nav {
    margin-left: 15px;
    margin-right: 15px;
  }

  #menu,
  .divider,
  .black_row,
  .section_title,
  .box_title,
  .box_sommario_grafici,
  .box_text,
  .box_chart,
  .box_notes,
  #crediti_finali,
  #fonti_finali {
    max-width: 660px;
  }

  .chart_full_width {
    max-width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0;
  }

  #big_table {
    flex-direction: column;
  }

  .big_table_column {
    width: 100%;
    margin-top: 30px;
    border-right: none;
    height: 500px;
  }

  #box_chart_trend_2023 {
    height: 600px;
  }

  #footer_div {
    padding: 30px 10px;
  }

  .no_mobile {
    display: none !important;
  }
}

/*----- RESPONSIVE DESKTOP EXCEPTION --------*/
@media screen and (min-width: 481px) {
  .no_desktop {
    display: none !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 1060px) {
  #title {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 0vh;
  }
}

@media screen and (min-width: 1200px) {
  #navHeader-wrapper {
    width: 0;
    opacity: 0;
    transition: all 1s ease-out;
  }

  #header_special_link {
    width: 100%;
    transition: all 1s ease-out;
  }
}

/* GESTIONE ADV */

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;
}

.backgroundAdv {
  background-color: #f7f6f2 !important;
}

.backgroundAdv .page-wrapper {
  background-color: #f7f6f2;
}

.shrinkable {
  background-color: #f7f6f2 !important;
}

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

#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;
}

@media only screen and (max-width: 820px) {
  body:not(.backgroundAdv) #adv-MaxTicker {
    margin-top: 100px;
  }
}

@media only screen and (min-width: 821px) {
  .mpu_top_mobile {
    display: none;
  }
}