:root {
  --text-color: #0F0F0F;
  --bg-color: #FFFFFF;
  --adv-bg-color: #D7DEE5;
  --desktop-max-width: 608px;
  --scrolly-background: #2A2E47;
  --desktop-elem-width: 134px;
  --mobile-elem-width: 60px;
  --small-mobile-elem-width: 54px;
  --extra-small-mobile-elem-width: 48px;
  --desktop-legend-left-width: 200px;
  --mobile-legend-left-width: 26px;
  --desktop-legend-right-width: 200px;

}

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

*:focus {
  outline: none;
}

html,
body {
  scroll-behavior: smooth;
}

html {
  font-size: 20px;
}

/* 
  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: var(--bg-color);
  padding: 0;
  margin: 0;
  color: var(--text-color);
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  overflow-x: hidden;
  position: relative;
}

div {
  width: 100%;
}

.container_over_skin {
  width: 100%;
  z-index: 5;
  background-color: var(--bg-color);
  /* overflow-x: hidden; */
}

.container_over_skin>* {
  z-index: 5;
  background-color: var(--bg-color);
}

.shrinkable,
.backgroundAdv {
  background-color: var(--bg-color) !important;
  position: relative;
  z-index: 1;
}

/* TOP BAR */

#header-fisso {
  z-index: 99999 !important;
}

.backgroundAdv #header-fisso {
  margin-top: 150px !important;
}

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

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





.firma_data {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.firma {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  line-height: normal;
}

.data {
  color: rgba(0, 0, 0, 0.40);
  font-size: .8rem;
  padding-top: 5px;
}

.firma_data svg {
  margin-left: 3px;
  margin-right: 3px;
}

/* SCHERMATA DUE COLONNE CON MPU */
.column_right {
  width: 320px;
  background-color: var(--adv-bg-color);
  position: absolute;
  top: 0;
  right: -320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.box_adv_mpu_top {
  position: sticky;
  top: 50px;
  padding-top: 10px;
  padding-bottom: 10px;
}



/* SECTIONS */

section {
  width: 100%;
  display: flex;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}


.box_text_cnt {
  margin: auto;
  width: 100%;
  max-width: var(--desktop-max-width);
  padding: 0;
  position: relative;
}



#second_section {
  margin-top: 50px;
}


.box_text {
  width: 100%;
}


.box_text p {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4rem;
  text-align: left;
}

.box_text p.author {
  font-style: italic;
}


p a:link {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}

p a:visited {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}

p a:hover {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}

p a:active {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}



.box_text ul {
  padding-inline-start: 35px;
  list-style: none;
}

.box_text li {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4rem;
  text-align: left;
  padding-bottom: 15px;
  position: relative;
}

.box_text li::before {
  content: url('../img/list-icon.svg');
  position: absolute;
  top: 5px;
  left: -35px;
  width: 12px;
  height: 12px;
}

.section_title {
  width: 100%;
  padding: 0 0 10px;
}

.section_title h2 {
  color: var(--text-color);
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 1.9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 100%;
  text-align: left;
  margin: auto;
}


.box_quote {
  max-width: var(--desktop-max-width);
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quote_text {
  color: var(--text-color);
  font-family: "sole_text", Georgia, Times, "Times New Roman", Serif;
  text-align: center;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin: 10px auto;
}

.quote_author {
  color: var(--text-color);
  font-family: "sole_text", Georgia, Times, "Times New Roman", Serif;
  text-align: center;
  font-size: .8rem;
  font-style: italic;
  font-weight: 700;
  line-height: normal;
}

.quote_author span {
  color: #00000066;
}

.box_chart_margins {
  width: 100%;
  margin: 20px auto;
}

.box_chart_inner {
  width: 100%;
  max-width: var(--desktop-max-width);
  margin: auto;
  position: relative;
}

.box_chart_inner_medium {
  max-width: 924px;
}

.box_chart_inner_large {
  max-width: 1024px;
}

.box_chart_inner_extra_large {
  max-width: 1920px;
}

.box_chart_inner img {
  width: 100%;
  height: auto;
}

.box_chart_double {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

.box_chart_item {
  width: 50%;
}

.box_chart_triple {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
}


.chart_subtitle {
  max-width: var(--desktop-max-width);
  padding: 10px 0 0;
  margin: auto;
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: left;
}

.chart_title {
  max-width: var(--desktop-max-width);
  padding: 10px 0;
  margin: auto;
}

.chart_title h3 {
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 100%;
  text-align: left;
  margin: auto;
  margin-block-start: 0;
}

.chart_abstract {
  max-width: var(--desktop-max-width);
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  padding: 0 0 20px;
  margin: auto;
}

.table_subtitle {
  padding: 0 5px;
  color: #FFF;
  font-weight: 600;
}

.chart_region_name_italia {
  max-width: var(--desktop-max-width);
  color: var(--text-color);
  text-align: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding: 20px 0;
}


.box_chart {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
}


.chart_source {
  max-width: var(--desktop-max-width);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .8rem;
  line-height: normal;
  color: var(--text-color);
  opacity: .5;
  text-align: left;
  margin: auto;
  padding: 20px 0;
}


.delimiter {
  text-align: center;
  padding: 20px 0;
}

/* timeline */

.timeline_cnt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

.timeline_item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #DFDAD7;
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  padding: 20px;
}

.timeline_item p,
.timeline_item ol {
  margin-block-start: .5em;
  margin-block-end: .5em;
}

.timeline_year {
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: left;
}

.timeline_title {
  font-weight: 600;
  text-align: left;
}

.timeline_item a:link {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}

.timeline_item a:visited {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: underline;
}

.timeline_item a:hover {
  color: #E31C48;
  font-weight: 600;
  text-decoration: underline;
}

.timeline_item a:active {
  color: #E31C48;
  font-weight: 600;
  text-decoration: underline;
}

/* accordion */

.accordion {
  background-color: #2A2E47;
  padding-top: 50px;
  padding-bottom: 50px;

}

.accordion_cnt {
  margin: auto;
  width: 100%;
  max-width: var(--desktop-max-width);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.acc_tab {
  position: relative;
  border-bottom: 1px solid #FFFFFF;
}

.acc_tab__header {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  color: #FFF;
  background: var(--scrolly-background);
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
}

.acc_title_cnt {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}

.acc_elem_shape {
  width: 130px !important;
  height: 130px !important;
  flex-shrink: 0;
  /* Add this to force it to stay 130px */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFF;
  text-align: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 86px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.acc_sh_square_double {
  outline: 1px solid white;
  outline-offset: -12px;
}

.acc_title {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  color: #FFF;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.acc_subtitle {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.acc_tab__icon {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(180deg);
}

.acc_tab.is-open .acc_tab__icon {
  transform: rotate(0deg);
}

.acc_icon-hover-bg {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.acc_tab__header:hover .acc_icon-hover-bg {
  opacity: 1;
}

.acc_tab__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
  background: var(--scrolly-background);
}

.acc_tab.is-open .acc_tab__content {
  max-height: 1200px;
}


.acc_tab__content p {
  margin: 0;
  padding: 10px 0;
  color: #FFF;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
}

.acc_tab__content p strong {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
}

.acc_tab__content span.acc_num {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  padding: 0;
  display: block;
}

.acc_tab__content .acc_producers_list {
  padding-bottom: 50px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
}

.acc_producers_list {
  line-height: 2;
  /* Add space between lines so flags don't touch */
}

.acc_flag {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  /* Prevents country name from breaking internally */
  vertical-align: middle;
}

.acc_flag img {
  width: 20px;
  height: auto;
  margin-right: 4px;
  margin-left: 6px;
  /* Space between flag and text */
  flex-shrink: 0;
  /* Prevents flag from squeezing */
}


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

aside {
  padding-top: 30px;
  background-color: #1A1C2A !important;
}


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

.riferimenti_bibliografici {
  width: 100%;
  max-width: var(--desktop-max-width);
  margin: auto;
  /* border-top: 2px solid #0f0f0f; */
  padding: 20px 0 30px;
}

.riferimenti_bibliografici a:link,
.riferimenti_bibliografici a:visited,
.riferimenti_bibliografici a:hover,
.riferimenti_bibliografici a:active {
  color: var(--text-color);
}


.box_credits {
  width: 100%;
  max-width: var(--desktop-max-width);
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 10px 0 30px;
}


.box_credits .crediti {
  display: flex;
  flex-direction: column;
}


.riferimenti_bibliografici h5,
.box_credits h5 {
  color: #FFF;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  padding: 0;
  margin-block-start: 15px;
  margin-block-end: 0;
  width: 100%;
}

.riferimenti_bibliografici h6,
.box_credits h6 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  line-height: normal;
  color: #FFF;
  font-weight: 400;
  text-align: left;
  padding: 0;
  margin-block-start: 15px;
  margin-block-end: 0;
  width: 100%;
}


.logo_cnt {
  margin-top: 15px;
  text-align: left;
}

.logo_cnt img {
  width: 80px;
  height: auto;
}


footer {
  z-index: 20;
}

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

.mobile {
  display: none;
}


/* ADV */

#adv-MaxTicker {
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
  width: 100%;
  background-color: var(--adv-bg-color) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

#adv-MaxTicker div {
  width: inherit;
}

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

#div-gpt-ad-MaxTicker iframe {
  width: revert-layer !important;
  height: revert-layer !important;
}

#bordo_adv {
  padding: 10px;
}

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

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

/* #ad-Mpu_Top div {
  width: inherit !important;
} */

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

#ad-Mpu_Top iframe {
  width: revert-layer !important;
  height: revert-layer !important;
}

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

.backgroundAdv {
  background-attachment: fixed !important;
}

.backgroundAdv #div-gpt-ad-Top {
  margin-top: -150px;
}


/* RESPONSIVE  */

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

  /* h1 {
    font-size: 4.3rem;
    line-height: normal;
  } */

  .firma_data span {
    font-size: 1rem !important;
    line-height: normal !important;
  }
}

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


@media only screen and (max-width: 1020px) {
  .mpu_top_mobile {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    background-color: var(--adv-bg-color) !important;
  }
}



@media only screen and (min-width: 821px) and (max-width: 1540px) {

  .section_title h2 {
    font-size: 1.8rem;
  }

  .box_quote {
    margin: initial;
  }

  .quote_author,
  .quote_text {
    text-align: left;
  }

  .box_chart_inner {
    margin: initial;
    margin-left: 50px;
  }


  .box_chart_inner_large,
  .box_chart_inner_extra_large {
    max-width: calc(100% - 50px);
  }


  .chart_subtitle,
  .chart_title,
  .chart_abstract,
  .chart_source,
  .chart_region_name {
    margin: initial;
  }


  .box_text_cnt,
  .accordion_cnt {
    margin-left: 50px;
  }

  .riferimenti_bibliografici {
    margin-left: 50px;
  }

  .box_credits {
    margin-left: 50px;
  }



  h1 {
    font-size: 80px;
    line-height: 88px;
    ;
  }
}

@media only screen and (min-width: 481px) and (max-width: 820px) {

  .section_title h2 {
    font-size: 1.6rem;
  }

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

  .box_chart_inner {
    max-width: 100%;
  }

}



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

  #adv-MaxTicker {
    padding: 20px 0;
  }

  #bordo_adv {
    padding: 10px 0x;
  }

  #ad-Mpu_Top {
    margin-bottom: 10px;
  }

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

  .firma {
    font-size: 1rem;
    line-height: nromal;
  }


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


  .column_right {
    width: 0;
    height: 0;
  }

  .section_title h2 {
    font-size: 1.8rem;
  }

  .box_text_cnt,
  .accordion_cnt {
    max-width: 100%;
  }

  .box_text {
    max-width: 100%;
  }

  .box_quote {
    max-width: 100%;
  }

  .chart_subtitle,
  .chart_title,
  .chart_abstract,
  .chart_source {
    max-width: 100%;
  }

  .chart_title h3 {
    font-size: 1.3rem;
  }

  .box_chart_inner {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .box_chart_inner_medium,
  .box_chart_inner_large,
  .box_chart_inner_extra_large {
    max-width: 100%;
  }

  .box_chart_double {
    flex-direction: column;
    align-items: stretch;
  }

  .box_chart_item {
    width: 100%;
  }


  .box_chart_triple {
    flex-direction: column;
    align-items: stretch;
  }

  .timeline_year {
    font-size: 48px;
  }

  .acc_elem_shape {
    width: 100px !important;
    height: 100px !important;
    font-size: 54px;
  }

  .acc_title {
    font-size: 36px;
  }

  .riferimenti_bibliografici {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .box_credits {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .riferimenti_bibliografici h5,
  .box_credits h5 {
    font-size: 1rem;
    color: var(--text-color);
    text-transform: uppercase;
  }

  #footer_div {
    padding: 30px 10px;
  }

  #backtop {
    left: initial;
    right: 3px;
    bottom: 3px;
  }

  #backtop img {
    margin-right: 0;
    padding-bottom: 0;
  }

  .mobile {
    display: initial;
  }

  .desktop {
    display: none !important;
  }
}