
html, body {
  scroll-behavior: smooth;
}

body {
    background-color: #f7f6f2;
}


:-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%;
  margin: auto;
}




/*---- NAV HEADER  ------*/
.swiper-container {
  margin: auto;
  width: 100%;
  height: 50px;
  margin-top: 64px;
}



.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;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #0f0f0f;
}

/* .swiper-slide:nth-child(2n) {
      width: 40%;
  } */


.swiper-slide a {
  text-decoration: none;
  color: #0f0f0f;
}

.swiper-slide a:hover,
.swiper-slide a:active {
  text-decoration: underline;
  color: #0f0f0f;
}

.swiper-slide a:visited {
  text-decoration: none;
  color: #0f0f0f;
}

#header_nav_first {
  font-family: "SoleSans", Arial;
  font-size: 22px;
  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;
}


#live {
  border-radius: 3px;
  background-color: #ef4e63;
  padding: 2px 4px;
  font-family: "SoleSans", Arial;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.08;
  letter-spacing: normal;
  color: #ffffff;
}

/*--------- HEADER --------------------*/

.title_background {
  width: 100%;
  margin-top: 2px;
  height: calc( 100vh - 114px);
  background-color: #4F4F4F;
  background-image: 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 {
  display: inline;
  font-family: "benton-modern-display";
  font-size: 5vw;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: center;
  padding: 0px 20px;
  white-space: nowrap;
}

.title,
.title_coral {
  color: #f7f6f2;
  background-color: #0f0f0f;
  padding: 0px 12px 6px 12px;

}


.title_coral {
  color: #EF4E63;
}


#scroll_img {
  position: absolute;
  bottom: 20px;
  cursor: pointer;
}

#header_social {
    text-align: center;
    margin: 30px auto;
}

.header_social_icon {
    padding: 7.2px 6px;
    text-decoration: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 16px;
    background-color: #000000;
    margin-left: 4px;
    color: #f7f6f2;
    cursor: pointer;
    border: 1.5px solid #f7f6f2!important;
  }

  .header_social_icon:hover {
      background-color: #EF4E63;
      color: #f7f6f2;
    }


#firma {
  font-family: "SoleSans", Arial;
  opacity: 0.5;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #0f0f0f;
  margin-bottom: 30px;

}


/*--- SECTIONS ---*/
.section {
  width: 100%;
  margin:20px auto;
}

.divider {
  margin: 40px auto 0px auto;
}


/*---------- INTRO ---------*/


#intro {
  max-width: 660px;
  font-family: "sole_text",Georgia,Times,"Times New Roman",serif;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: italic;
  line-height: 1.8;
  letter-spacing: normal;
  color: #0f0f0f;
}

#intro::first-letter {
  font-family: "benton-modern-display";
  font-weight: 900;
  font-size: 140px;
  font-style: normal;
  float: left;
  line-height: 130px;
  border: 6px solid #0f0f0f;
  border-style: double;
  margin: 0 20px 0 -5px;
  padding: 0 15px 0 15px;
}

#intro a {
  color: #EF4E63;
  text-decoration: underline;
  }

#intro a:hover {
  cursor: pointer;
  color: rgba(239, 78, 99, 0.7);
  text-decoration: underline;

  }

#intro a:active {
  color: #EF4E63;
  text-decoration: underline;
}

#intro a :visited {
  color: #EF4E63;
  text-decoration: underline;
}



/*--- MENU ---*/

#menu_anchor {
  position: relative;
  bottom: 100px;
}

#menu {
  max-width: 1000px;
  text-align: center;
  margin-top: 50px;
}

#menu_list {
  padding-inline-start: 0px;
}

#menu_title {
  display: inline;
  font-family: "SoleSans", Arial;
  font-size: 15px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  color: #f7f6f2;
  background-color: #0f0f0f;
  padding: 4px 10px;
  border-radius: 5px;
}

ul#menu_list li {
  position: relative;
  display: inline;
  list-style-type: none;
  padding-left: 5px;
  margin-right: 25px;
  letter-spacing: 1px;
  font-family: "benton-modern-display";
  font-size: 24px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.3;
  letter-spacing: normal;
  color: #0f0f0f;
}

ul#menu_list li a {
  color: #0f0f0f;
  text-decoration: none;
}

ul#menu_list li a:before {
  content: url(../img/index-item.svg);
  opacity: 0.5;
  position: absolute;
  left: -10px;
}

ul#menu_list li a:hover {
  text-decoration: underline;
}

ul#menu_list li a:hover:before {
  content: url(../img/index-item-hover.svg);
  opacity: 1.0;
}


ul#menu_list li a:active {
  text-decoration: underline;
}

ul#menu_list li a:active:before {
  content: url(../img/index-item-hover.svg);
  opacity: 1.0;
}


ul#menu_list li a:visited {
  color: #0f0f0f;
  text-decoration: none;
}

ul#menu_list li a:visited:before {
  content: url(../img/index-item.svg);
  opacity: 0.5;
}




/*--- TEXT BLOCKS ---*/

.box_title,
.box_text {
  max-width: 660px;
  text-align: left;
}


.box_title {
  font-family: "benton-modern-display";
  font-size: 36px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.17;
  letter-spacing: normal;
  color: #0f0f0f;
}

.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.8;
  letter-spacing: normal;
  color: #0f0f0f;
	}

.box_text a {
  color: #EF4E63;
  text-decoration: underline;
  }

.box_text a:hover {
  cursor: pointer;
  color: rgba(239, 78, 99, 0.7);
  text-decoration: underline;

  }

.box_text a:active {
  color: #EF4E63;
  text-decoration: underline;
}

.box_text a :visited {
  color: #EF4E63;
  text-decoration: underline;
}


.final_link,
.index_link {
  margin: 20px auto;
}

.final_link {
  line-height: 1.2;
}


.final_link a {
  font-weight: bold;
  text-decoration: none;
}


.index_link {
  display: inline;
  border: 1px solid #0f0f0f;
  padding-top: 1px;
  padding-bottom: 5px;
  font-family: "SoleSans", Arial;
}

.index_link_arrow img {
  position: relative;
  top: 8px;
  left: 3px;
  padding-right: 1px;
}

.index_link_border_inside {
  font-size: 15px;
  border-left: 1px solid #0f0f0f;
  margin-left: 0px;
  padding-top: 6px;
  padding-bottom: 8px;
  padding-left: 6px;
  padding-right: 6px;
}

.index_link a,
.index_link a:hover,
.index_link a:active,
.index_link a:visited {
  color: #0f0f0f;
  text-decoration: none;
  cursor: pointer;
}



#grafico_picco_img {
  max-width: 100%;
}


/*--- FOOTER ----*/

#crediti_finali {
  margin-top: 60px;
  width: 660px;
  border-top: 1px solid #1f2226;
}

h5 {
  font-family: 'SoleSans';
  font-size: 15px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: normal;
  text-align: left;
  color: #1f2226;
  font-weight: 400;
  margin: 5vh 10px;
}


/*----- RESPONSIVE DESKTOP EXCEPTION--------*/
@media screen and (min-width: 481px) {
  .swiper-wrapper {
    justify-content: center;
  }
}


/*----- RESPONSIVE MOBILE EXCEPTION--------*/
@media screen and (max-width: 320px) {
.header_social_icon {
    padding: 7.2px 9px;
  }
}


/*----- RESPONSIVE MOBILE --------*/

@media screen and (max-width: 480px) {

  .swiper-container {
    height: 50px;
  }

  .swiper-slide:nth-child(4n) {
      margin-right: 20px;
  }


  .title_background {
    width: 100%;
    background-color: #f7f6f2;
    background-image: url(../img/cover_mobile.jpg);
  }

  h1 {
    font-size: 42px;
    line-height: 1.4;
    white-space: normal;
  }

  .title {
    padding: 0px 6px 6px 6px;
  }

  section  {
    margin: 15px;
  }

  nav  {
    margin-left: 15px;
    margin-right: 15px;
  }

  #intro,
  #menu,
  .divider,
  .box_title,
  .box_text,
  #crediti_finali {
    max-width: 100%;
  }

  #firma,
  #intro,
  .box_text {
    font-size: 18px;
  }

  #menu_anchor {
    bottom: 50px;
  }


  ul#menu_list li {
    font-size: 22px;
  }


  .box_title {
    font-size: 28px;
    line-height: 1.0;
    margin-bottom: 10px;
  }

  .index_link {
    padding-top: 3px;
    padding-bottom: 6px;
  }

}


/*----- RESPONSIVE TABLET --------*/

@media screen and (min-width: 481px) and (max-width: 800px) {

  .swiper-container {
    height: 50px;
}


.title_background {
  width: 100%;
  background-color: #f7f6f2;
  background-image: url(../img/cover_mobile.jpg);
}

  h1 {
    font-size: 62px;
    line-height: 1.4;
    white-space: normal;
  }

  .title {
    padding: 0px 6px 6px 6px;
  }

  section  {
    margin: 15px;
  }

  nav  {
    margin-left: 15px;
    margin-right: 15px;
  }


  #intro,
  #menu,
  .divider,
  .box_title,
  .box_text,
  #crediti_finali {
    max-width: 660px;
  }
}
