:root {
  --text-color: #000;
  --bg-color: #edede9;
  --adv-bg-color: #AEC3B0;
  --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;
}

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

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


/* ----------------------- SCROLLYTELLING ---------------------- */


.scrolly {
  position: relative;
}

.scrolly_cnt {
  position: sticky;
  top: 20px;
  width: 100%;
  height: 100vh;
  z-index: 0;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.steps {
  position: relative;
  z-index: 1;
  top: -100vh;
  pointer-events: none;
}

.step {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.step_content {
  background: white;
  padding: 24px;
  border-radius: 0;
  max-width: 672px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  text-align: center;
  font-family: "Sole24Sans Number";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.step.is_active .step_content {
  transform: scale(1.02);
}

/* Hide step content for the first step since header overlay handles it */
.step[data-slide="2"] .step_content {
  display: none;
}

.step_content_title {
  color: var(--text-color);
  text-align: center;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-size: 2.7rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.span-colorato {
  position: relative;
  padding-left: 4px;
  padding-right: 4px;
}

.span-colorato-verde {
  background: #4CE4A5;
  color: #000;
}

.span-colorato-blu {
  background: #5B8DAE;
  color: #fff;
}

.span-colorato-rosso {
  background: #F15B5B;
  color: #fff;
}

.span-colorato-verde-scuro {
  background: #008473;
  color: #fff;
}

/* HEADER */


.header_cnt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 924px;
  background-color: #ffffff;
  padding: 32px;
  width: fit-content;
}

.occhiello {
  color: #008473;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  padding: 8px 10px;
}

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: 100px;
  line-height: 98px;
  letter-spacing: 0%;
  text-align: center;

}

.sommario {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  color: var(--text-color);
  text-align: center;
}

.firma_data {
  margin-top: 32px;
  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: 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: 60px;
}

.box_chart_item {
  width: 50%;
}

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

.box_chart_reattori {
  padding-left: 20px;
  padding-right: 20px;
}

.box_chart_emissioni {
  padding-left: 20px;
  padding-right: 20px;
}

.box_num {
  background: #DFDFDA;
  padding: 30px;
  width: 33%;
}

.num_nation {
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}


.num {
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 2.3rem;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-align: center;
  padding: 20px 0;
}

.num_legend {
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: center;
}

.num_source {
  padding-top: 20px;
  color: var(--text-color);
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
}


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


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

#toggle-reattori-btn {
  margin-top: 20px;
  background-color: #000;
  padding: 10px 15px;
  width: fit-content;
  color: #fff;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .8rem;
  line-height: normal;
  border: none;
}


/* ----------------------- SCROLLYTELLING 2 ---------------------- */
#scrolly_2_section {
  position: relative;
  margin: 50px auto;
}

.flourish-embed-iframe {
  width: 100%;
  height: 100%;
}

/* STEPS */
.steps2 {
  position: relative;
  z-index: 2;
}

.step2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.step2_content {
  background: white;
  padding: 2rem;
  max-width: 400px;
}

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

aside {
  background-color: #57CC99 !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;
}

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


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

.box_credits h4 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.3rem;
  line-height: normal;
  text-align: left;
  color: var(--text-color);
  font-weight: 400;
  padding: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  width: 100%;
}


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

.logo_enel_cnt {
  position: relative;
}

.logo_enel_cnt img {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 234px;
  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 {
    margin: initial;
  }

  .box_chart_reattori {
    padding-left: 0;
    padding-right: 20px;
  }

  .box_chart_emissioni {
    padding-left: 0;
    padding-right: 20px;
  }

  .box_text_cnt {
    margin-left: 50px;
  }

  .box_credits {
    margin-left: 50px;
  }
}

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

  .step_content {
    max-width: calc(100% - 20px);
    padding: 1.2rem;
  }

  .step_content_title {
    font-size: 2.4rem;
  }

  .box_chart_reattori {
    padding-left: 0;
    padding-right: 0;
  }

  .box_chart_emissioni {
    padding-left: 0;
    padding-right: 0;
  }
}



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


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

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

  .sommario {
    font-size: 1.1rem;
    line-height: 1.3rem;
  }

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

  .step {
    height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
  }

  .step_content {
    max-width: calc(100% - 20px);
    padding: 1.2rem;
  }

  .step_content_title {
    font-size: 2rem;
  }

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

  section#first_section {
    padding-left: 0;
    padding-right: 0;
  }

  .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_chart_reattori {
    padding-left: 0;
    padding-right: 0;
  }

  .box_num {
    width: 100%;
    padding: 20px 30px;
  }

  .num {
    padding: 0;
  }

  .box_chart_emissioni {
    align-items: flex-start;
    overflow-x: scroll;
    padding-left: 0;
    padding-right: 0;
  }

  .box_chart_emissioni img {
    width: auto;
  }

  #iframe_25450090 {
    width: calc(100vw - 30px) !important;
    aspect-ratio: 3/4.5 !important;
  }

  #iframe_25450642 {
    height: 600px !important;
  }


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

  .logo_enel_cnt {
    margin-top: 10px;
    height: 80px;
  }


  .logo_enel_cnt img {
    width: 180px;
  }

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


@media (min-width: 821px) {

  #scrolly_2_section {
    position: relative;
    margin: 0 auto;
  }

  #scrolly_2_section .scrolly {
    display: flex;
  }

  #scrolly_2_section .scrolly_cnt {
    width: 70%;
    height: 100vh;
    left: 0;
    padding: 10vh 50px;
  }

  .steps2 {
    width: 30%;
    margin-left: 50px;
    justify-content: flex-start;
    pointer-events: none;
  }

  .step2:last-child {
    margin-bottom: 100vh;
  }
}

@media (max-width: 820px) {

  #scrolly_2_section {
    margin: 0;
  }


  #scrolly_2_section .scrolly_cnt {
    width: 100%;
    height: 90vh;
    top: 70px;
    left: 0;
    padding: 20px 0;
  }

  .steps2 {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    pointer-events: none;
  }

  .step2 {
    margin-top: 100vh;
    margin-bottom: 50vh;
  }

  .step2:first-child {
    margin-top: 30vh;
  }


  .step2:last-child {
    margin-bottom: 100vh;
  }

  .step2_content {
    padding: 20px 30px;
  }
}