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

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

.backgroundAdv {
  background-attachment: fixed;
}

div {
  width: 100%;
}

/* TOP BAR */

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

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

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



/* HEADER */


.header_cnt {
  width: 100%;
  height: 100vh;
  background-color: #A8CEF3;
  background-image: url(../img/cover_desktop.svg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: auto;
  position: relative;
}

body.backgroundAdv .header_cnt {
  /* background-image: url(../img/cover_desktop_small.jpg); */
  height: 100vh;
}

.header_logo_enel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  width: 100%;
  text-align: right;
  padding: 20px;
}

.header_logo_enel img {
  width: 100px;
  height: auto;
}

/* .header_gradient {
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 7;
  background: linear-gradient(0deg, #001F4F 11%, rgba(255, 255, 255, 0.00) 100%);
} */

.header_text_cnt {
  width: 100%;
  max-width: 1020px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
  z-index: 10;
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.subtitle {
  width: 100%;
  margin: auto;
  color: #0f0f0f;
  text-align: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1em;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  padding-top: 0;
}


h1 {
  width: 100%;
  color: #0f0f0f;
  text-align: center;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 800;
  margin-block-start: .5rem;
  margin-block-end: 1rem;
  line-height: 1em;
}


.abstract {
  width: 100%;
  max-width: 990px;
  color: #0f0f0f;
  text-align: center;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  padding: 0 20px;
}


.date {
  width: 100%;
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  padding-bottom: 10px;
}

/* .column_right {
  width: 320px;
  background-color: #EBE6DF;
  position: absolute;
  top: 0;
  right: -350px;
  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;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}


.box_text_cnt {
  margin: auto;
  width: 100%;
  max-width: 520px;
  padding: 0;
  position: relative;
}

#first_box_text {
  margin-top: 50px;
}

#first_box_text .box_text p:first-of-type {
  margin-block-start: 0;
}

#first_box_text .box_text p:last-of-type {
  padding-bottom: 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: #000;
  font-weight: 600;
  text-decoration: underline;
}

p a:visited {
  color: #000;
  font-weight: 600;
  text-decoration: underline;
}

p a:hover {
  color: #1D5EA1;
  font-weight: 600;
  text-decoration: underline;
}

p a:active {
  color: #1D5EA1;
  font-weight: 600;
  text-decoration: underline;
}

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

.section_title h2 {
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 100%;
  text-align: left;
  margin: auto;
}


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

.box_chart_inner {
  width: 100%;
  max-width: 520px;
  margin: auto;
  position: relative;
}

.box_chart_inner_large {
  max-width: 1024px;
}

.chart_title {
  width: 100%;
  max-width: 520px;
  padding: 10px 0;
  margin: auto;
}

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

.chart_abstract {
  width: 100%;
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  max-width: 520px;
  padding: 10px 0 20px;
  margin: auto;
}


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


.chart_source {
  width: 100%;
  max-width: 520px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: .8rem;
  line-height: normal;
  color: #0f0f0f;
  opacity: 50%;
  text-align: left;
  margin: auto;
  padding: 20px 0;
}

body:not(.backgroundAdv) .box_text_cnt,
body:not(.backgroundAdv) .box_chart_inner,
body:not(.backgroundAdv) .chart_title,
body:not(.backgroundAdv) .chart_abstract,
body:not(.backgroundAdv) .chart_source,
body:not(.backgroundAdv) .box_credits {
  max-width: 600px;
}

body:not(.backgroundAdv) .box_chart_inner_large {
  max-width: 1024px;
}

/* BOX PIANO TRASIZIONE */

.box_piano_transizione {
  background-color: #B0D7FF;
  padding: 20px;
  border: none;
  border-radius: 8px;
}

.piano_transizione_titolo {
  color: #000;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  width: 100%;
  text-align: center;
  padding: 10px 0 10px;
}

.piano_transizione_linea {
  width: 190px;
  height: 1px;
  background-color: #000;
  margin: auto;
}

.box_piano_transizione p {
  color: #4F4F4F;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .9rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 100%;
  text-align: left;
  padding: 10px 0 10px;
}

.box_piano_transizione p:nth-of-type(2) {
  padding: 0;
  margin-block-end: 0;
}


.piano_transizione_contenuto_nascosto {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-out;
}

.piano_transizione_contenuto_nascosto p.piano_p {
  position: relative;
  padding-left: 50px;
}

.piano_transizione_contenuto_nascosto p.piano_cubo::before {
  content: url(../img/piano_cubo.svg);
  position: absolute;
  top: 7px;
  left: 0;
  width: 40px;
  height: auto;
}

.piano_transizione_contenuto_nascosto p.piano_foglia::before {
  content: url(../img/piano_foglia.svg);
  position: absolute;
  top: 15px;
  left: 0;
  width: 40px;
  height: auto;
}

.piano_transizione_contenuto_nascosto p.piano_grafico::before {
  content: url(../img/piano_grafico.svg);
  position: absolute;
  top: 15px;
  left: 0;
  width: 40px;
  height: auto;
}

.piano_transizione_contenuto_nascosto p:last-of-type {
  padding-bottom: 0;
  margin-block-end: 0;
}

.leggi_piu_btn_cnt {
  width: 100%;
  display: flex;
  justify-content: end;
}

.leggi_meno_btn_cnt {
  width: 100%;
  display: flex;
  justify-content: end;
}

.leggi_btn {
  width: fit-content;
  background-color: transparent;
  border: none;
  color: #0f0f0f;
  padding: 15px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: .7rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  cursor: pointer;
  position: relative;
}

.leggi_piu_btn::after {
  content: url(../img/leggi_piu_freccia.svg);
  position: absolute;
  top: 15px;
  right: 0;
}

.leggi_meno_btn::after {
  content: url(../img/leggi_piu_freccia.svg);
  position: absolute;
  top: 15px;
  right: 0;
  transform: rotate(180deg);
}


/*--- 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_credits {
  width: 100%;
  /* max-width: 560px; */
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin: auto;
  padding: 32px 20px;
}

.box_credits .delimiter {
  width: 100%;
  margin: 32px auto;
  border-top: 1px solid #000;
  padding: 0;
}

.box_credits h4 {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: normal;
  text-align: left;
  color: #000;
  font-weight: 600;
  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: #000;
  font-weight: 400;
  padding: 0;
  margin-block-start: 15px;
  margin-block-end: 0;
  width: 100%;
}


.box_credits a:link {
  color: #000;
  text-decoration: underline;
}

.box_credits a:visited {
  color: #000;
  text-decoration: underline;
}

.box_credits a:hover {
  color: #ec008c;
  text-decoration: underline;
}

.box_credits a:active {
  color: #ec008c;
  text-decoration: underline;
}


.box_credits .flourish-icon {
  width: 16px;
  height: 16px;
}

.box_credits_flex {
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.box_credits_flex img {
  height: 40px;
}

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



/* RESPONSIVE  */

@media only screen and (min-width: 481px) and (max-width: 820px) {
  .header_cnt {
    /* background-image: url(../img/cover_desktop_small.jpg); */
    height: 600px;
  }

  .header_logo_enel {
    padding: 5px;
  }

  .header_logo_enel img {
    width: 70px;
    height: auto;
  }

  h1 {
    font-size: 3rem;
    padding-left: 10px;
    padding-right: 10px;
  }


  .abstract {
    max-width: 90%;
    font-size: 1.1rem;
  }

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

  #first_box_text .box_text p:last-of-type {
    padding-bottom: 0;
  }

  .box_chart_inner {
    max-width: 100%;
  }

}

@media only screen and (max-width: 480px) {
  .header_cnt {
    background-image: url(../img/cover_mobile.svg);
    /* height: calc(100vh - 150px); */
    background-position: bottom center;
    height: 920px;
    margin-top: 50px;
  }

  .header_logo_enel {
    padding-right: 5px;
  }

  .header_logo_enel img {
    width: 66px;
    height: auto;
  }

  .header_text_cnt {
    bottom: auto;
    top: 40px;
  }

  h1 {
    font-size: 38px;
    padding-left: 0;
    padding-right: 0;
  }

  .subtitle {
    font-size: .8rem;
  }

  .abstract {
    max-width: 100%;
    font-size: 1.1rem;
  }

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


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

  .box_text_cnt {
    max-width: 100%;
  }

  .box_text {
    max-width: 100%;
  }

  #first_box_text .box_text p:last-of-type {
    padding-bottom: 0;
  }

  .chart_title {
    max-width: 100%;
  }

  .chart_abstract {
    max-width: 100%;
  }

  .chart_source {
    max-width: 100%;
  }

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

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

  .box_credits_flex {
    flex-direction: column;
  }

  #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 only screen and (min-width: 821px) and (max-width: 1600px) {
  body:not(.backgroundAdv) .header_cnt {
    background-image: url(../img/cover_desktop_small.jpg);
    height: 100vh;
  }

  /*   section {
    align-items: flex-start;
  } */

  /* .box_text_cnt,
  .box_chart_inner {
    margin: initial;
    margin-left: 20px; 
  }

  .chart_title,
  .chart_abstract,
  .chart_source {
    margin: initial;
  }*/


  /*   .box_credits {
    margin-left: 0;
  } */

  .box_credits h4,
  .box_credits h5 {
    text-align: left;
  }
}

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


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

/* ADV */



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

body.backgroundAdv #adv-MaxTicker {
  padding-top: 20px;
}

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


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

#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;
  position: relative;
  z-index: 1;
}

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



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

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

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


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