* {
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

:root {
  --larghezza: 700px;
}

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: #fff;  /*#fff8f0*/
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  color: #0f0f0f;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  overflow-x: hidden;
}

/* TOP BAR */

.top-bar {
  height: 50px !important;
}

.faN {
  width: 30px !important;
  height: 30px !important;
}

p {
	display: block;
    margin-block-start: 0px;
    margin-block-end: 0px;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

/* TEST */

#header.blocco-scrollytelling{ 
	background-image: url("../img/immagine1.jpg");
	background-size: cover;
	background-attachment: fixed;
}

#blocco-interno.blocco-scrollytelling{ 
	background-image: url("../img/immagine1.jpg");
	background-size: cover;
	background-attachment: fixed;
}

a, a:active, a:visited, a:hover{
	color: #0f0f0f;
}

/* SWIPER GRAFICI */

.swiper-button-next-stadi::after,
.swiper-button-prev-stadi::after,
.swiper-button-next-cards::after,
.swiper-button-prev-cards::after {
  content: "";
}

.swiper-button-prev-stadi,
.swiper-button-prev-cards {
  background-image: url("../img/swiper-freccia-prev.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.swiper-button-next-stadi,
.swiper-button-next-cards {
  background-image: url("../img/swiper-freccia-next.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -20px;
}

.swiper-pagination-bullet {
  background: #06745b;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #f1f8ec;
}

/* BOX APPROFONDIMENTI */

.approfondimenti_container {
  max-width: 1140px;
  background-color: #f6e6d6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 10px 10px;
  margin: 30px auto;
}

.approfondimenti_inner {
  max-width: 900px;
  background-color: transparent;
  position: relative;
  margin: auto;
}

.titolo_approfondimenti {
  position: absolute;
  top: 0;
  left: 10px;
  font-style: normal;
  font-weight: 800;
  font-size: 28px;
  line-height: 32px;
  color: #ffffff;
  text-align: left;
}

.linea_hr_approfondimenti {
  position: absolute;
  top: 50px;
  left: 0;
  background-color: #00000021;
  height: 2px;
}

.swiper-approfondimenti {
  width: 100%;
  height: 100%;
}

.swiper-approfondimenti .swiper-slide {
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 50px 0 30px 10px;
  height: auto;
}

.swiper-approfondimenti .swiper-slide .appr-slide-inner {
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-right: 2px solid #00000021;
  padding-right: 20px;
  margin-top: 50px;
  height: 350px;
}

.swiper-approfondimenti .swiper-button-next-appr,
.swiper-approfondimenti .swiper-button-prev-appr {
  position: absolute;
  top: 10px;
}

.swiper-approfondimenti [class^="swiper-button-"]::after {
  content: "";
}
.swiper-approfondimenti [class^="swiper-button-"] {
  width: 55px;
  height: 55px;
}

.swiper-approfondimenti .swiper-button-next-appr {
  right: -5px;
}
.swiper-approfondimenti .swiper-button-prev-appr {
  left: auto;
  right: 40px;
}

.appr_img img {
  width: 100%;
  height: auto;
}

.appr_testo {
  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: flex-start;
  -ms-flex-align: flex-start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
}

.appr_occhiello {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
  padding-top: 10px;
}

.appr_titolo {
  font-family: "sole_headline", Georgia, Times, "Times New Roman", Serif;
  font-style: normal;
  font-weight: 500;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  padding-top: 10px;
  padding-bottom: 20px;
}

.appr_firma {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #ffffff;
}

.appr_testo a:link {
  color: #fff;
  text-decoration: none;
}

.appr_testo a:visited {
  color: #fff;
  text-decoration: none;
}

.appr_testo a:hover {
  color: #ffffffca;
  text-decoration: none;
}

.appr_testo a:active {
  color: #ffffffca;
  text-decoration: none;
}

/*--- 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_ctn {
  margin: 50px auto 0;
  width: 100%;
  background-color: #f6e6d6;
  padding: 0;
  border-bottom: 2px solid #f1f8ec;
}
.box_crediti {
	position: relative;
	display: flex;
	justify-content: center;
	margin-top: 124px;
}

.box_crediti h5 {
  width: 800px;
  margin: auto;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  position: relative;
}

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;
}

footer {
	margin-top: 128px;
}


/* RESPONSIVE TABLET */

#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;
}


@media only screen and (max-width: 820px) {
  #adv-MaxTicker {
    padding: 70px 0 20px;
  }

  #mpu_top_mobile {
    display: flex;
    justify-content: center;
    width: calc(100% + 20px);
    margin-left: -10px;
  }

  #ad-Mpu_Top {
    width: 100% !important;
    padding: 0 !important;
  }

  #div-gpt-ad-MPU_Top > div {
    max-width: auto;
  }

  #adv_middle {
    margin: 40px auto;
    text-align: center;
  }

  .header_title {
    bottom: 40%;
  }

  h1 {
    font-size: 60px;
    line-height: 64px;
  }

  .approfondimenti_container {
    max-width: 100%;
  }

  .approfondimenti_inner {
    max-width: 100%;
  }

  .box_crediti {
    width: 100%;
  }

  .box_crediti h5 {
    width: 100%;
  }

  #footer_div {
    padding: 30px 10px;
  }

  .no_mobile {
    display: none;
  }
	
  #backtop {
    left: initial;
    right: -8px !important;
  }
}

/* RESPONSIVE MOBILE */

@media only screen and (max-width: 480px) {
  p {
    font-size: 18px;
    line-height: 32px;
  }

  .box_crediti h5 {
    width: 100%;
  }

  #backtop {
    left: initial;
    right: 4px !important;
  }
}


@media only screen and (min-width: 821px) {
  .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;
  text-align: center;
  width: 100%;
}

#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: #fff;  /*#fff8f0*/
  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: #fff;  /*#fff8f0*/
}

#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: #fff;  /*#fff8f0*/
}

.container_over_skin > * {
  z-index: 5;
  background-color: #fff;  /*#fff8f0*/
}

.shrinkable,
.backgroundAdv {
  background-color: #fff !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;
  }
}
