:root {
  --text-color: #000;
  /* --bg-color: #F2F2F2; */
  --bg-color: #fff8ef;
  --adv-bg-color: #EBE6DF;
  --desktop-max-width: 600px;
}

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



/* HEADER */

header {
  width: 100%;
  height: 370px;
  background-color: #FFFFFF !important;
  background-image: url(../img/cover_desktop.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.article_header_cnt {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: transparent;
  z-index: 15;
}

.article_kicker {
  color: #FFF;
  text-align: center;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
  opacity: .6;
  z-index: 20;
}

h1 {
  width: 800px;
  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: 80px;
  line-height: normal;
  text-align: left;
  color: #F5F5F5;
  text-align: center;
}


.article_summary {
  width: 100%;
  max-width: 800px;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.2rem;
  line-height: normal;
  color: #F5F5F5;
  text-align: center;
  padding: 15px;
}



.article_author {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  color: #0F0F0F;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  padding-bottom: 15px;
  font-style: italic;
}

.article_date {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: normal;
  line-height: normal;
  text-align: left;
  margin-bottom: 15px;
}


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


.scroll_cnt {
  width: fit-content;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 25;
}

.scroll_icon {
  cursor: pointer;
}


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

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

article.article_no_mpu_top #column_right_mpu_top,
article.article_no_mpu_top #column_right_mpu_middle {
  /* se manca mpu_top, elimino anche l'eventuale middle */
  display: none;
}



/* SECTIONS */

#section_mpu_top,
#section_mpu_middle,
.section_text,
.section_chart {
  width: 100%;
  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;
}


#section_mpu_top {
  margin-top: 50px;
}

section#section_mpu_top .box_text_cnt,
section#section_mpu_middle .box_text_cnt {
  padding-right: 50px;
}

section#section_mpu_top p:first-of-type {
  margin-block-start: 0;
}


.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: #000000;
  font-weight: 600;
  text-decoration: underline;
}

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

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

p a:active {
  color: #494949;
  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_heading {
  width: 100%;
  padding: 20px 0 0;
}

.section_heading 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_chart_margins {
  width: 100%;
  margin: 20px auto;
}

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

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

.box_chart_inner_medium {
  max-width: 780px;
}

.box_chart_inner_medium_large {
  max-width: 1040px;
}

.box_chart_inner_large {
  max-width: 1244px;
}

.box_chart_inner_extra_large {
  max-width: 1920px;
}

.box_chart_inner_full_width {
  max-width: 100%;
}

.box_chart_inner img.chart_placeholder {
  width: 100%;
  height: 500px;
  background-color: lightgray;
}



.chart_heading {
  padding: 10px 0;
  margin: auto;
}

.chart_heading 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-block-start: 0;
  margin-block-end: 0;
}

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


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


.chart_note {
  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;
  padding: 10px 0 0;
}


.chart_source {
  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;
  padding: 10px 0 0;
}


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


.loader {
  width: 40px;
  height: 40px;
  border: 4px solid rgb(236, 233, 231);
  border-top-color: rgb(56, 167, 255);
  border-radius: 50%;
  animation: spin 1.5s linear infinite;
  margin: auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




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

aside {
  margin-top: 0;
  background-color: #EBE6DF !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_references {
  width: 100%;
  max-width: var(--desktop-max-width);
  margin: auto;
  border-top: 2px solid #0f0f0f;
  padding: 20px 0 30px;
}

.box_references a:link,
.box_references a:visited,
.box_references a:hover,
.box_references 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 .credits {
  display: flex;
  flex-direction: column;
}


.box_references h5,
.box_credits h5 {
  color: #000000;
  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%;
}

.box_references 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,
#ad-Mpu_Middle {
  display: flex;
  justify-content: center;
  width: 320px;
}

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

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

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

#ad-Mpu_Top iframe,
#ad-Mpu_Middle 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 (min-width: 821px) {

  #mpu_top_mobile,
  #mpu_middle_mobile {
    display: none;
  }
}


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

  .mpu_middle_mobile {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    background-color: var(--adv-bg-color) !important;
    background-color: transparent !important;
    overflow: hidden;
  }
}

@media only screen and (min-width: 1441px) and (max-width: 1540px) {
  body.backgroundAdv article:not(.article_no_mpu_top) {

    #section_mpu_top,
    #section_mpu_middle,
    .section_text {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: calc(100% - 970px);
    }

    .section_chart {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: 50px;
    }

    .box_text_cnt {
      margin: initial;
    }

    .box_chart_cnt {
      margin: initial;
      margin-left: calc(100% - 920px);
    }

    .box_chart_inner {
      margin: initial;
    }
  }
}

@media only screen and (min-width: 1151px) and (max-width: 1440px) {
  body:not(.backgroundAdv) article:not(.article_no_mpu_top) {

    #section_mpu_top,
    #section_mpu_middle,
    .section_text {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: calc(100% - 970px);
    }

    .section_chart {
      align-items: center;
      padding-right: 50px;
      padding-left: 50px;
    }

    .box_text_cnt {
      margin: initial;
    }

    .box_chart_cnt {
      margin: initial;
      margin-left: calc(100% - 920px);
    }

    .box_chart_inner {
      margin: auto;
    }

  }

  body.backgroundAdv article:not(.article_no_mpu_top) {

    #section_mpu_top,
    #section_mpu_middle,
    .section_text {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: calc(100% - 970px);
    }

    .section_chart {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: 50px;
    }

    .box_text_cnt {
      margin: initial;
    }

    .box_chart_cnt {
      margin: initial;
      margin-left: calc(100% - 920px);
    }

    .box_chart_inner {
      margin: initial;
    }
  }

}

@media only screen and (min-width: 1021px) and (max-width: 1150px) {
  article:not(.article_no_mpu_top) {

    #section_mpu_top,
    #section_mpu_middle,
    .section_text {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: 50px;
    }

    .section_chart {
      align-items: flex-start;
      padding-right: 50px;
      padding-left: 50px;
    }

    .box_text_cnt {
      margin: initial;
    }

    .box_chart_cnt {
      margin: initial;
    }

    .box_chart_inner {
      margin: initial;
    }
  }
}


@media only screen and (min-width: 821px) and (max-width: 1020px) {
  article:not(.article_no_mpu_top) {

    #section_mpu_top,
    #section_mpu_middle,
    .section_text,
    .section_chart {
      align-items: flex-start;
      padding-left: 50px;
      padding-right: 50px;
    }

    .box_text_cnt {
      margin: initial;
    }

    .box_chart_cnt {
      margin: initial;
    }
  }
}

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

  section#section_mpu_top .box_text_cnt,
  section#section_mpu_middle .box_text_cnt {
    padding-right: 0;
  }

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

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


  h1 {
    width: 100%;
    max-width: 600px;
    font-size: 70px;
    line-height: normal;
  }
}

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

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

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

  #bordo_adv {
    padding: 10px 0x;
  }

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

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

  header {
    background-image: url(../img/cover_mobile.png);
  }


  .article_header_cnt {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
    padding-bottom: 20px;
  }

  .article_kicker {
    font-size: 16px;
  }


  h1 {
    width: 100%;
    margin-block-start: 0;
    margin-block-end: 0;
    font-size: 70px;
    line-height: normal;
  }

  .article_summary {
    width: 100%;
    margin: auto;
    padding: 15px;
  }

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


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

  section#section_mpu_top .box_text_cnt,
  section#section_mpu_middle .box_text_cnt {
    padding-right: 0;
  }

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

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

  .box_text_cnt {
    max-width: 100%;
  }

  .box_chart_cnt {
    max-width: 100%;
  }

  .box_text {
    max-width: 100%;
  }

  .box_quote {
    max-width: 100%;
  }

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

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

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

  .chart_source {
    font-size: .6rem;
  }


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

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

  .box_references h5,
  .box_credits h5 {
    font-size: 1rem;
    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;
  }
}