:root {
  --text-color: #000;
  --bg-color: #eee7e0;
  --adv-bg-color: #C6C6BD;
  --desktop-max-width: 608px;
}

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

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


/* NAVBAR */

nav {
  margin-top: 50px !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 50px !important;
  z-index: 99999 !important;
  /* background-color: transparent !important; */
}

#navbar {
  max-width: 690px;
  margin: auto;
  overflow-x: hidden;
}


.swiper_nav_cnt {
  width: 100%;
  height: 100%;
  height: 44px;
  background-color: transparent;
  display: flex;
  align-items: center;
}

.swiper_nav_wrp {
  display: flex;
}

.swiper_nav_slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 1px solid #505D5D;
  color: #505D5D;
  background-color: var(--bg-color);
  font-size: .7rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  padding: 5px 7px;
}

.swiper_nav_slide.active_slide {
  background-color: #0F0F0F !important;
  color: #fff !important;
  border-color: #0F0F0F !important;
}

.swiper_nav_slide:hover {
  background-color: #0F0F0F;
  color: #fff;
  border-color: #0F0F0F;
  cursor: pointer;
}

/* HEADER */

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


.header_cnt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1024px;
  background-color: transparent;
  padding: 32px 20px;
}


h1 {
  width: 100%;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  margin-block-start: 0.05em;
  margin-block-end: 0.1em;
  font-weight: 700;
  font-size: 72px;
  line-height: 98px;
  text-align: center;
}


.firma_data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
}

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

.data span {
  color: #BB6463;
  font-weight: 600;
}



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



#first_section {}


.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: 50px 0 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.section_title img {
  width: 100%;
  height: auto;
  max-width: 60px;
  margin-bottom: 15px;
}

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

.sottotitolo_prezzi_consumo {
  color: #0F0F0F;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-top: 20px;
}


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

.margin_bottom_0 {
  margin-bottom: 0;
}

.box_chart_margin_bottom_0 {
  margin-bottom: 0;
}

.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: 1244px;
}

.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: 20px;
}

.box_chart_item {
  width: 50%;
}


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

.box_chart_bg {
  border-radius: 30px;
  background: #DBD4CC;
  padding: 15px;
}

.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_title_icon {
  position: relative;
  padding-left: 70px;
}

.chart_title_icon::before {
  position: absolute;
  top: 12px;
  left: 0;
  width: 30px;
  height: 30px;
}

.chart_title_icon_quotazioni_brent_gas::before {
  content: url(../img/icons/quotazioni-brent-gas.svg);
}


.chart_title_icon_prezzo_elettricita_italia::before {
  content: url(../img/icons/prezzo-elettricita-italia.svg);
}

.chart_title_icon_prezzo_gas_italia::before {
  content: url(../img/icons/prezzo-gas-italia.svg);
}

.chart_title_icon_prezzo_giornaliero_carburanti::before {
  content: url(../img/icons/prezzo-giornaliero-carburanti.svg);
}

.chart_title_icon_potassio_azoto_fosforo::before {
  content: url(../img/icons/potassio-azoto-fosforo.svg);
}

.chart_title_icon_grano::before {
  content: url(../img/icons/grano.svg);
}

.chart_title_icon_urea::before {
  content: url(../img/icons/urea.svg);
}

.chart_title_icon_mappa_medioriente::before {
  content: url(../img/icons/medioriente.svg);
}

.chart_title_icon_hormuz_collo_bottiglia::before {
  content: url(../img/icons/hormuz-collo-bottiglia.svg);
}


.chart_title_icon_prezzi_al_consumo::before {
  content: url(../img/icons/prezzi-al-consumo.svg);
}

.chart_title_icon_notam_carburanti::before {
  content: url(../img/icons/notam-carburanti.svg);
}

.chart_title_icon_spglobal_carburanti::before {
  content: url(../img/icons/spglobal-carburanti.svg);
}

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


.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: .6rem;
  line-height: normal;
  color: var(--text-color);
  opacity: .5;
  text-align: left;
  margin: auto;
  padding: 10px 0;
}


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

/* NUMERONI */

.box_numeroni {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.box_num {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: #C54D44;
  flex: 1;
  /* Forza i box ad avere la stessa larghezza su desktop */
  border-radius: 30px;
  background: #C54D44;
  min-height: 160px;
}

.num_tit {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.num_num {
  color: #FFF;
  text-align: center;
  font-size: 54px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.num_num span {
  color: #FFF;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.num_data {
  color: #ffffff82;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;

}

.num_data span {
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
}

.num_sottotit {
  color: #FFF;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
}

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

aside {
  margin-top: 30px;
  width: 100%;
  background-color: #DBD4CC !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: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  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: var(--text-color);
  font-weight: 400;
  text-align: left;
  padding: 0;
  margin-block-start: 15px;
  margin-block-end: 0;
  width: 100%;
}

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

/* .backgroundAdv .header_cnt {
  top: 50%;
  bottom: auto;
} */

/* RESPONSIVE  */

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

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

@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 {
    margin: initial;
  }


  .box_text_cnt {
    margin-left: 50px;
  }


  .riferimenti_bibliografici {
    margin-left: 50px;
  }

  .box_credits {
    margin-left: 50px;
  }


  /*  h1 {
    font-size: 80px;
    line-height: 88px;
    max-width: 700px;
  } */
}

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

  #navbar {
    max-width: 100%;
  }

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

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

  .box_chart_inner {
    max-width: 100%;
  }

  .box_chart_bg {
    max-width: 80vw;
    margin: auto;
  }

  .box_chart_double {
    max-width: 80vw;
    margin: auto;
  }

  .box_numeroni {
    max-width: 80vw;
  }

}



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

  #navbar {
    max-width: 100%;
  }

  header {
    width: 100%;
  }

  .header_cnt {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  h1 {
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 2.6rem;
    line-height: normal;
    margin-bottom: 16px;
  }


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

  section#first_section {
    margin-top: 240px;
  }

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

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

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

  .box_numeroni {
    flex-direction: column;
  }

  .box_num {
    width: 100%;
  }


  .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: block;
  }

  .desktop {
    display: none;
  }
}