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

html,
body {
  scroll-behavior: smooth;
}

body {
  background-color: #f7f6f2;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  color: #000;
}

/* 
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;
*/

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;
  margin: auto;
  overflow: hidden;
}

header,
article,
section,
aside {
  width: 100%;
  margin: auto;
}

header {
  position: relative;
}

#aruba {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 3;
  letter-spacing: normal;
  text-align: right;
  color: #fff;
}
#aruba img {
  float: right;
  margin-left: 5px;
}

h1 {
  display: inline;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 50px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: normal;
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin-block-start: 0;
  margin-block-end: 0;
}

li {
  padding-bottom: 15px;
}

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

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

.shrinkable {
  background-color: #f7f6f2 !important;
}

.backgroundAdv {
  background-color: #f7f6f2 !important;
}

/* TOP BAR */

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

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

/* ADV */

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

#ad-Mpu_Middle {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  background-color: #eaeae6;
}

#ad-Mpu_Top {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  background-color: #eaeae6;
}

/* NAVBAR */

#navbar_container {
  width: 100%;
  margin: auto;
  overflow-y: hidden;
  overflow-x: auto;
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 50px;
  z-index: 998;
  height: 50px;
  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;
  background-color: #fff;
  -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);
}

#navbar {
  width: 1020px;
  height: 50px;
  background-color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -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;
  white-space: nowrap;
  padding-left: 20px;
}

#navbar_title {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000;
}

#bar {
  height: 30px;
  width: 1px;
  opacity: 0.3;
  background-color: #000;
  margin: 0 20px;
}

#navbar_menu {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: 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;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-align: left;
  color: #000;
}

.navbar_dot {
  color: #f86313;
  padding-right: 5px;
}

#navbar_menu div {
  padding-left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: 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;
  cursor: pointer;
}

#navbar a:link {
  color: #000;
  text-decoration: none;
}

#navbar a:visited {
  color: #000;
  text-decoration: none;
}

#navbar a:hover {
  color: #000;
  text-decoration: underline;
}

#navbar a:active {
  color: #000;
  text-decoration: underline;
}

/* HEADER */

.title_background {
  width: 100%;
  max-width: 100vw;
  margin-top: 0;
  height: calc(100vh - 100px);
  background-color: #f7f6f2;
  color: #ffffff;
  background-image: url(../img/cover_desktop.jpg);
  /*   background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.8)
    ),
    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 {
  width: 100%;
  max-width: 800px;
  padding: 30px 20px;
  font-family: "sole_display", Georgia, Times, "Times New Roman", serif;
  font-size: 100px;
  font-weight: 900;
  font-stretch: normal;
  font-style: normal;
  line-height: 0.75;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.sommario {
  width: 100%;
  max-width: 800px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 50px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
}

.firma {
  width: 100%;
  max-width: 800px;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 30px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 400;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-align: center;
  color: #fff;
}

.firma span {
  color: #000;
  opacity: 0.4;
}

.scroll_div {
  bottom: 10px;
  border: 1px solid #ffffff;
  overflow: hidden;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  cursor: pointer;
  margin-top: 40px;
}

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

/* TESTO */

.separatore {
  width: 100%;
  text-align: center;
  padding-top: 50px;
}

.separatore img {
  width: 100%;
  max-width: 50px;
  height: auto;
}

.box_testo {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.box_testo h2 {
  width: 100%;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.13;
  letter-spacing: normal;
  text-align: left;
  padding-top: 50px;
}

.box_testo p {
  width: 100%;
  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.6;
  letter-spacing: normal;
  text-align: left;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

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

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

.box_testo a:hover {
  color: rgb(109, 109, 109);
}

.box_testo a:active {
  color: rgb(109, 109, 109);
}

/* GRAFICI */

.box_grafico_titolazione {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.grafico_titolo {
  width: 100%;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: normal;
  text-align: left;
}

.grafico_sommario {
  width: 100%;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  text-align: left;
  padding-top: 10px;
}

.box_grafico {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

.box_grafico_largo {
  width: 100%;
  max-width: 1020px;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* AUDIO */

.box_audio {
  width: 100%;
  max-width: 620px;
  margin: auto;
  padding-top: 0;
  overflow: hidden;
  position: relative;
}
.box_audio iframe {
  border: 0;
  width: 100%;
}

/* CREDITI FINALI & BACKTOP */

#backtop {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 50px;
  z-index: 510;
  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;
}

#box_crediti {
  width: 100%;
  max-width: 620px;
  padding: 50px 0;
  margin-top: 30px;
  border-top: 2px solid #0f0f0f;
}

#box_crediti h5 {
  width: 100%;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: left;
  color: #0f0f0f;
}

/* FOOTER */

footer {
  z-index: 800;
}

#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 MOBILE --------*/

@media screen and (max-width: 480px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  #navbar_container {
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-justify-content: start;
    justify-content: start;
  }

  #navbar {
    padding-left: 10px;
  }

  #ad-Mpu_Middle {
    max-width: 100%;
    overflow: hidden;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .title_background {
    width: 100%;
    max-width: 100vw;
    /* height: calc(100vh - 200px); */
    background-image: url(../img/cover_mobile.jpg);
    /*     -webkit-box-pack: flex-start;
    -ms-flex-pack: flex-start;
    -webkit-justify-content: flex-start;
    justify-content: flex-start; */
  }

  h1 {
    max-width: 100%;
    font-size: 45px;
    line-height: 1.67;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sommario {
    max-width: 100%;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 0;
  }

  .firma {
    max-width: 100%;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.44;
    padding-left: 10px;
    padding-right: 10px;
  }

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

  .box_testo,
  .box_grafico_titolazione,
  .box_grafico,
  .box_grafico_largo,
  .box_audio,
  #box_crediti {
    max-width: 100%;
  }

  #box_crediti h5 {
    padding-left: 10px;
    padding-right: 10px;
  }

  #footer_div {
    padding: 30px 10px;
  }
}

/*----- RESPONSIVE DESKTOP --------*/

@media screen and (min-width: 481px) {
  .desktop {
    display: block;
  }

  .mobile {
    display: none;
  }

  /* Works on Firefox */
  #navbar_container {
    scrollbar-width: thin;
    scrollbar-color: #0f0f0f #eaeae6;
  }

  /* Works on Chrome, Edge, and Safari */
  #navbar_container::-webkit-scrollbar {
    width: 2px;
  }

  #navbar_container::-webkit-scrollbar-track {
    background: #eaeae6;
  }

  #navbar_container::-webkit-scrollbar-thumb {
    background-color: rgb(155, 155, 155);
    border-radius: 10px;
    border: 0;
  }
}
