* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  background-color: #f7f6f2;
  overflow-x: hidden;
}

:-webkit-any(article, aside, nav, section) h1 {
  margin-block-start: 0px;
  margin-block-end: 10px;
}

article,
header,
aside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
  width: 100%;
  max-width: 100vw;
  margin: auto;
  overflow-x: hidden;
}

section {
  width: 100%;
  max-width: 100vw;
  padding: 20px auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.56;
  letter-spacing: normal;
  color: #000000;
  overflow-x: hidden;
}

h5 {
  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;
  font-weight: 400;
  margin: 5vh 10px;
}

p {
  margin: 20px auto;
}

ul {
  list-style-image: url("../img/bullet.svg");
  margin-left: 20px;
}

li {
  padding-bottom: 20px;
}

.top-bar {
  height: 55px !important;
}

/*---- NAV HEADER  ------*/

.topmenu-sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0px;
  width: 100%;
  z-index: 3;
  -webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  -moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.topmenu-swiper-container {
  margin: auto;
  width: 100%;
  height: 50px;
  background-color: #f7f6f2;
}

.topmenu-swiper-slide {
  width: auto;
  text-align: center;
  background: #f7f6f2;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -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;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #0f0f0f;
}

/* .topmenu-swiper-slide:nth-child(2n) {
      width: 40%;
  } */

.topmenu-swiper-slide a {
  text-decoration: none;
  color: #0f0f0f;
}

.topmenu-swiper-slide a:hover,
.topmenu-swiper-slide a:active {
  text-decoration: underline;
  color: #0f0f0f;
}

.topmenu-swiper-slide a:visited {
  text-decoration: none;
  color: #0f0f0f;
}

#header_nav_first {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #0f0f0f;
  padding-right: 20px;
  border-right: 1px solid #c1bec1;
  cursor: pointer;
  text-decoration: none;
}

#header_nav_first:hover {
  text-decoration: underline;
}

/*--------- HEADER --------------------*/

.title_background {
  width: 100%;
  max-width: 100vw;
  /* margin-top: 115px; */
  height: 100vh;
  background-color: #4f4f4f;
  color: #ffffff;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.6)
    ),
    url(../img/cover_desktop.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
}

h1 {
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-size: 90px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.92;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  text-align: center;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  padding-bottom: 45px 5px;
  margin-block-end: 0;
  margin-block-start: 0;
}

#sommario {
  padding: 45px 5px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 26px;
  font-weight: normal;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.scroll_div {
  position: absolute;
  bottom: 10px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  overflow: hidden;
  height: 40px;
  width: 40px;
  cursor: pointer;
}

#scroll_img {
  cursor: pointer;
}
@keyframes animate {
  0% {
    opacity: 0;
    transform: translate(-0, -20px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(0, 20px);
  }
}

.scroll_div:hover img {
  animation: animate 1.5s infinite;
}

#firma {
  padding-top: 30px;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: normal;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

/* SECTIONS DIV CONTAINER */

.sections_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
  width: 100%;
  max-width: 100vw;
  margin: auto;
  padding-bottom: 50px;
  background-color: #f7f6f2;
}

/*---- PROMO ------*/

#promo {
  width: 620px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 18px;
  font-weight: normal;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.56;
  letter-spacing: normal;
  margin: 40px 0px;
}

#promo_title {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
  font-size: 28px;
  font-weight: normal;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.29;
  letter-spacing: normal;
}

/*---------- INTRO ---------*/

#intro-text {
  padding: 50px 0 0;
}

/*--- TEXT BLOCKS ---*/

.box_container_img_top {
  width: 100%;
  max-width: 100vw;
  background-position: center center;
  position: relative;
  /* height: 100vh; */
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* background-size: contain; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: start;
  justify-content: start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  min-height: fit-content;
  height: -moz-fit-content;
}

.box_container_chapter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  -webkit-justify-content: start;
  justify-content: start;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  min-height: fit-content;
  height: -moz-fit-content;
}

.box_title {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.13;
  letter-spacing: normal;
  margin-top: 290px;
  /* margin-top: 380px; */
  padding: 0px 20px 0px 20px;
  width: 620px;
  background-color: #f7f6f2;
}

.box_title_no_img {
  margin-top: 40px;
  padding: 10px 0px 0px 0px;
  width: 100%;
  max-width: 620px;
}

h2 {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.13;
  letter-spacing: normal;
}

.box_title_italic {
  font-size: 28px;
  line-height: 1.29;
  font-style: italic;
}

.occhiello {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
}

.box_text {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.56;
  letter-spacing: normal;
  width: 620px;
  background-color: #f7f6f2;
  padding-top: 20px;
}

.box_text a {
  color: #0067ff;
  text-decoration: underline;
}

.box_text a :visited {
  color: #0067ff;
  text-decoration: underline;
}

.box_text a:hover {
  cursor: pointer;
  color: #3183ff;
  text-decoration: underline;
}

.box_text a:active {
  color: #3183ff;
  text-decoration: underline;
}

.short_list li {
  padding-bottom: 5px;
}

.fonte {
  font-style: italic;
  margin-top: 10px;
}

.quote {
  margin: 0px;
  padding: 0px;
  margin-left: 20px;
  border-left: 3px solid rgba(255, 255, 255, 0.4);
}

.quote_p {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  padding: 0px;
  padding-left: 15px;
  opacity: 0.6;
}

.img_square {
  position: relative;
  left: -80px;
  float: left;
  padding-top: 7px;
  width: 100%;
  max-width: 170px;
  height: auto;
  margin-right: -50px;
}

.p_titolo_grafico {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 800;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  margin-top: 0;
}

.sommario_grafico {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #808080;
}

.chart_full_width {
  width: 100%;
  max-width: 1200px;
}

/* BACK TO TOP BUTTON */

#backtotop {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 3;
  text-align: right;
}

#backtotop img {
  cursor: pointer;
  width: 30px;
  max-width: 30px;
  height: auto;
  margin-right: 10px;
  margin-bottom: 10px;
}

.link_note:link {
  color: #0067ff;
  opacity: 0.7;
  text-decoration: none;
}

.link_note:visited {
  color: #0067ff;
  opacity: 0.7;
  text-decoration: none;
}

.link_note:hover {
  color: #0067ff;
  opacity: 1;
  text-decoration: none;
}

.link_note:active {
  color: #0067ff;
  opacity: 1;
  text-decoration: none;
}

.notes {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: normal;
  margin-bottom: 10px;
}

#chart_credits {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 500;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: normal;
}

/* CHART CO2 SWIPER */
.chartCO2-swiper-container {
  width: 100%;
  height: 100%;
}

.chartCO2-swiper-wrapper {
  justify-content: flex-start;
}

.chartCO2-swiper-slide {
  text-align: center;
  background: transparent;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
}

.chartCO2-swiper-slide-p {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  font-weight: 600;
}

.chartCO2-swiper-button-prev {
  top: 35px;
  left: 400px;
  color: #000000 !important;
}

.chartCO2-swiper-button-next {
  top: 35px;
  right: 400px;
  color: #000000 !important;
}

.chartCO2-swiper-button-next:after,
.chartCO2-swiper-button-prev:after {
  font-size: 22px;
}

.img_molecola {
  width: 100%;
  max-width: 100vw;
  margin: 5px auto;
}

/* CHART EMISSIONI SWIPER */
.emissioni-swiper-container {
  width: 100%;
  height: 100%;
}

.emissioni-swiper-wrapper {
  justify-content: flex-start;
}

.emissioni-swiper-slide {
  text-align: center;
  background: transparent;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: column;
  -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;
}

.emissioni-swiper-slide-p {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  font-weight: 600;
}

.emissioni-swiper-button-prev {
  top: 35px;
  left: 400px;
  color: #000000 !important;
}

.emissioni-swiper-button-next {
  top: 35px;
  right: 400px;
  color: #000000 !important;
}

.emissioni-swiper-button-next:after,
.emissioni-swiper-button-prev:after {
  font-size: 22px;
}

/*--- FOOTER ----*/

#backtop {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50px;
  z-index: 3;
  text-align: right;
  display: block;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#backtop img {
  cursor: pointer;
  width: 30px;
  max-width: 30px;
  height: auto;
  margin-right: 10px;
  margin-bottom: 10px;
}

#chart_credits {
  padding-bottom: 50px;
}

.crediti_finali {
  padding-top: 0;
  border-top: 1px solid #1a1818;
}

h5 {
  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;
  margin: 5vh 10px;
}

h6 {
  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;
  margin: 5vh 10px;
}

footer {
  z-index: 4;
}

#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;
}

.faN {
  width: 30px !important;
  height: 30px !important;
}

/*----- RESPONSIVE DESKTOP EXCEPTION--------*/
@media screen and (min-width: 481px) {
  .topmenu-swiper-wrapper {
    justify-content: center;
  }
}

.faN {
  width: 30px !important;
}

/*----- MOBILE EXCEPTIONS --------*/

@media screen and (max-width: 320px) {
  .faN {
    padding: 6.4px 0px !important;
  }
}

/*----- RESPONSIVE MOBILE --------*/

@media screen and (max-width: 480px) {
  h1 {
    font-size: 46px;
    line-height: 1;
    white-space: normal;
    max-width: 100%;
    padding: 0 10px;
  }

  p {
    padding: 10px;
  }

  h2 {
    padding: 0 10px;
  }

  ul {
    width: 100%;
    max-width: 90vw;
    margin: 10px 30px;
  }

  li {
    padding-right: 20px;
  }

  .chart_full_width {
    width: 100vw;
    max-width: 100vw;
  }

  .grafico {
    width: 100%;
    max-width: 100vw;
    padding-left: 5px;
    padding-right: 5px;
  }

  .topmenu-sticky {
    max-width: 100vw;
  }

  .topmenu-swiper-container {
    height: 50px;
  }

  .topmenu-swiper-slide:nth-child(4n) {
    margin-right: 20px;
  }

  .title_background {
    width: 100%;
    max-width: 100vw;
    background-color: #f7f6f2;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.6)
      ),
      url(../img/cover_mobile.jpg);
  }

  #promo {
    width: 100%;
    max-width: 100vw;
    font-size: 18px;
    margin: 10px 0px;
  }

  #firma {
    font-size: 18px;
    padding-top: 10px;
  }

  #intro {
    font-size: 18px;
  }

  #co2_counter_num {
    font-size: 42px;
  }

  .chartCO2-swiper-button-prev {
    left: 50px;
  }

  .chartCO2-swiper-button-next {
    right: 50px;
  }

  .emissioni-swiper-button-prev {
    left: 50px;
  }

  .emissioni-swiper-button-next {
    right: 50px;
  }

  .box_container_img_top {
    background-size: contain;
    background-attachment: scroll;
  }

  .box_title {
    width: auto;
    font-size: 32px;
    line-height: 1.2;
    margin-right: 15px;
    padding: 0px 10px 0px 10px;
  }

  .box_title_no_img {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.2;
    padding: 10px 5px 0px 10px;
  }

  .box_text {
    width: 100%;
    max-width: 100vw;
    font-size: 20px;
  }

  .img_square {
    max-width: 140px;
    left: 0px;
    margin-right: 7px;
  }

  .back_to_top {
    padding-top: 3px;
    padding-bottom: 6px;
  }

  .notes {
    font-size: 15px;
    padding-left: 5px;
  }

  #chart_credits {
    width: 100%;
    text-align: left;
    padding-left: 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }
}

/*----- RESPONSIVE TABLET --------*/

@media screen and (min-width: 481px) and (max-width: 800px) {
  h1 {
    font-size: 60px;
    line-height: 1;
    white-space: normal;
    max-width: 100%;
  }

  #sommario {
    line-height: 1.2;
    font-size: 36px;
  }

  p {
    margin: 20px 10px;
  }

  h2 {
    padding: 0 10px;
  }

  .topmenu-swiper-container {
    height: 50px;
  }

  #header_nav_first {
    padding-left: 280px;
  }

  .title_background {
    width: 100%;
    max-width: 100vw;
    background-color: #f7f6f2;
    background-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.6)
      ),
      url(../img/cover_mobile.jpg);
  }

  #intro,
  .box_title,
  .box_title_no_img,
  .box_text,
  .crediti_finali {
    width: 100%;
    max-width: 100vw;
  }

  .chartCO2-swiper-button-prev {
    left: 200px;
  }

  .chartCO2-swiper-button-next {
    right: 200px;
  }

  .emissioni-swiper-button-prev {
    left: 200px;
  }

  .emissioni-swiper-button-next {
    right: 200px;
  }

  .quote_p {
    font-size: 18px;
  }

  .box_title_no_img {
    padding: 10px 5px 0px 20px;
  }

  .img_square {
    left: -10px;
    margin-right: 0px;
    max-width: 140px;
  }

  .notes {
    padding-left: 5px;
    padding-right: 5px;
  }

  #chart_credits {
    width: 100%;
    text-align: left;
    padding-left: 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }
}

/* ADV SKIN */
.backgroundAdv {
  background-color: #f7f6f2 !important;
}
.backgroundAdv .page-wrapper {
  background-color: #f7f6f2;
}

.shrinkable {
  background-color: #f7f6f2 !important;
}
