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

*:focus {
  outline: none;
}

html,
body {
  scroll-behavior: smooth;
}

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

div {
  width: 100%;
}

p {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  color: #0f0f0f;
  text-align: left;
  margin-block-start: 10px;
  margin-block-end: 10px;
}

/* TOP BAR */

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

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

/* HEADER */

header {
  width: 100%;
  height: 100vh;
  padding: 50px 30px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-end;
  -ms-flex-pack: flex-end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  position: relative;
  background-color: #fff8f0;
  background-image: url("../img/cover_desktop.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.header_title {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
}

h1 {
  max-width: 1230px;
  margin: auto;
  color: #fff;
  text-align: center;
  font-size: 110px;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  font-weight: 800;
  line-height: 76px;
}

.subtitle {
  max-width: 1230px;
  margin: auto;
  color: #fff;
  text-align: center;
  font-size: 26px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding-top: 30px;
}

.data {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  max-width: 800px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}

/* SCHERMATA DUE COLONNE CON MPU */

.two_columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: stretch;
  padding: 0;
  margin: auto;
  position: relative;
  margin-top: 50px;
  margin-bottom: 30px;
  margin-left: 60px;
  overflow: hidden;
  background: transparent !important;
}

.column_left {
  max-width: 600px;
  padding-left: 0;
  padding-right: 20px;
}

.column_left p {
  margin-block-start: 0;
  margin-block-end: 15px;
}

.column_right {
  padding-right: 0;
  max-width: 320px;
  background-color: #f6e6d6;
}

/* TESTO E GRAFICI */

.box_paragraph {
  max-width: 800px;
  margin: auto;
  padding: 10px 0;
}

.box_chart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto;
}

p a:link {
  color: #000;
}

p a:visited {
  color: #000;
}

p a:hover {
  color: #023399;
}

p a:active {
  color: #023399;
}

.box_chart a:link {
  color: #000;
}

.box_chart a:visited {
  color: #000;
}

.box_chart a:hover {
  color: #023399;
}

.box_chart a:active {
  color: #023399;
}

li a:link {
  text-decoration: none;
  color: #023399;
}

li a:visited {
  text-decoration: none;
  color: #023399;
}

li a:hover {
  text-decoration: underline;
  color: #023399;
}

li a:active {
  text-decoration: underline;
  color: #023399;
}

.chart_regular {
  max-width: 800px;
  margin: auto;
}

.chart_large {
  max-width: 1200px;
  padding: 10px;
  margin: auto;
}

.chart_title {
  max-width: 550px;
  font-style: normal;
  font-weight: 800;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  margin-block-start: 1em;
  margin-block-end: 0.5em;
}

.chart_subtitle {
  max-width: 600px;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #0f0f0f;
  padding: 0 0 20px;
}

.chart_source {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  color: rgba(15, 15, 15, 0.6);
  padding-top: 10px;
}

.box_chart_left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  margin: auto;
}

.box_chart_right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  margin: auto;
}

.box_chart_left .chart_text {
  text-align: left;
  padding-left: 30px;
}

.box_chart_right .chart_text {
  text-align: left;
  padding-right: 30px;
}

/* BANNER */

.banner_wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-radius: 20px;
  background-color: #fff;
  margin: 30px auto;
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.16);
}

.banner_img {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  background-image: url(../img/banner-terre-rare.svg);
  height: 130px;
  width: 223px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.banner_content_btn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.banner_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 0 20px 0 30px;
}

.banner_lead {
  color: rgba(0, 0, 0, 0.4);
  font-size: 14px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
}

.banner_title {
  color: #0f0f0f;
  font-size: 32px;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 800;
  line-height: 32px;
}

.banner_btn {
  width: auto;
  display: flex;
  justify-content: center;
}

.banner_btn button {
  outline: none;
  border: none;
  border-radius: 20px;
  background: #000;
  padding: 10px 40px;
  position: relative;
  margin-right: 20px;
}

.banner_btn button:hover {
  background: #00c2ed;
  cursor: pointer;
}

.banner_btn button span {
  color: #fff;
  font-size: 16px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  text-wrap: nowrap;
}

.banner_btn button span::after {
  content: url("../img/iframe_freccina.svg");
  width: 8px;
  height: auto;
  position: absolute;
  top: 3px;
  right: 15px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 400;
}

/*--- 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_crediti {
  padding-top: 0;
  width: 800px;
  border-top: 1px solid #1a1818;
  margin: auto;
  margin-top: 50px;
}

.box_crediti h5 {
  margin-block-start: 1.67em;
  margin-block-end: 1.67em;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  color: #1a1818;
  font-weight: 400;
  padding: 5vh 0;
}

footer {
  z-index: 20;
}

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

/* RESPONSIVE TABLET */

@media only screen and (max-width: 820px) {
  #adv-MaxTicker {
    padding: 70px 0 20px;
  }

  #mpu_top_mobile {
    display: flex;
    justify-content: center;
  }

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

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

  .two_columns {
    max-width: 100%;
    flex-direction: column;
    padding: 0 15px;
    margin-left: 0;
  }

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

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

  .chart_title,
  .chart_subtitle,
  .box_paragraph,
  .chart_regular,
  .chart_large {
    max-width: 100%;
  }

  .chart_large {
    padding: 10px 0;
  }

  .box_chart_left,
  .box_chart_right {
    flex-direction: column;
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .box_chart_left .chart_text {
    text-align: center;
    padding-left: 0;
  }

  .box_chart_right .chart_text {
    text-align: center;
    padding-right: 0;
  }

  .box_crediti {
    width: 100%;
  }

  .box_crediti h5 {
    padding: 2vh 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }

  .no_mobile {
    display: none;
  }
}

/* RESPONSIVE MOBILE */

@media only screen and (max-width: 480px) {
  header {
    background-image: url("../img/cover_mobile.jpg");
  }

  .header_title {
    bottom: 7%;
  }

  h1 {
    max-width: 100%;
    font-size: 72px;
    line-height: 76px;
  }

  .subtitle {
    max-width: 100%;
    font-size: 20px;
    line-height: normal;
    padding: 20px 15px 0;
  }

  .two_columns {
    overflow: hidden;
  }

  .chart_title {
    font-size: 24px;
    line-height: 28px;
  }

  .banner_content_btn {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .banner_img {
    height: 160px;
  }

  .banner_title {
    font-size: 20px;
    line-height: 22px;
    padding-bottom: 10px;
  }

  .banner_btn button {
    margin: auto;
    padding: 5px 30px;
  }

  .banner_btn button span::after {
    top: 0;
  }

  #backtop {
    left: initial;
    right: 4px !important;
  }
}

/* RESPOSIVE DESKTOP */

@media only screen and (min-width: 821px) {
  .box_align_left {
    -webkit-box-align: flex-start;
    -ms-flex-align: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }

  .chart_title.align_left,
  .chart_subtitle.align_left,
  .chart_source.align_left {
    max-width: 100%;
    text-align: left;
  }

  aside {
    height: 230px;
  }

  .no_desktop {
    display: none;
  }
}

/* GESTIONE ADV */

body:not(.backgroundAdv) #adv-MaxTicker {
  margin-top: 50px;
}

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

.backgroundAdv {
  background-attachment: fixed;
}

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

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

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

#ad-Mpu_Middle {
  background-color: #f6e6d6;
  display: flex;
  justify-content: center;
  width: 320px;
  margin: 70px auto;
}

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

.bordo_adv {
  padding: 10px 0;
  background-color: #f6e6d6;
}

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

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

#ad-Mpu_Top div,
#ad-Mpu_Middle div,
#adv-MaxTicker div {
  width: inherit !important;
}

.container_over_skin {
  width: 100%;
  z-index: 5;
  background-color: #fff8f0;
}

.container_over_skin > * {
  z-index: 5;
  background-color: #fff8f0;
}

.shrinkable,
.backgroundAdv {
  background-color: #fff8f0 !important;
}

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

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

  #ad-Mpu_Middle {
    margin: 20px auto;
  }

  /*  .bordo_adv {
    margin-left: 25%;
  } */
}

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

@media only screen and (min-width: 1501px) {
  body:not(.backgroundAdv) .two_columns {
    margin-left: 160px;
  }

  body:not(.backgroundAdv) .column_left {
    width: 800px;
  }
}

@media only screen and (min-width: 821px) and (max-width: 1330px) {
  .backgroundAdv .two_columns {
    margin-left: 10px;
  }

  .backgroundAdv .column_left {
    max-width: 500px;
  }
}

@media only screen and (min-width: 1331px) and (max-width: 1600px) {
  .backgroundAdv .two_columns {
    margin-left: 40px;
  }

  .backgroundAdv .column_left {
    max-width: 580px;
  }
}
