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

article {
  width: 100%;
  max-width: 660px;
}

/*---- NAV HEADER  ------*/
.navHeader-swiper-container {
  margin: auto;
  width: 100%;
  height: 50px;
  margin-top: 64px;
  border-bottom: 1px solid rgba(61, 61, 60, 0.5);
  background-color: white;
}



.navHeader-swiper-slide {
  width: auto;
  text-align: center;
  background: white;
  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;
  margin-right: 10px;
}


/* .swiper-slide:nth-child(2n) {
      width: 40%;
  } */


.navHeader-swiper-slide a {
  text-decoration: none;
  color: #0f0f0f;
}

.navHeader-swiper-slide a:hover,
.navHeader-swiper-slide a:active {
  text-decoration: underline;
  color: #0f0f0f;
}

.navHeader-swiper-slide a:visited {
  text-decoration: none;
  color: #0f0f0f;
}


#header_nav_first {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  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;
}

/*--------- HEADER --------------------*/

.title {
  text-align: center;
  margin: auto;
  margin-top: 40px;
}

h1 {
  display: inline;
  font-family: "benton-modern-display-conden", Arial, Helvetica, sans-serif;
  font-size: 64px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.0;
  letter-spacing: normal;
  color: #0f0f0f;
}

h3 {
  line-height: 1.2;
}

li {
  margin-bottom: 15px;
}


#firma {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  opacity: 0.5;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #0f0f0f;
  margin-top: 30px;
  margin-bottom: 5px;
}

#data {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 30px;
  color: #ef4e63;
  opacity: 1.0;
}

/*--- SECTIONS ---*/
.section {
  margin: 20px auto;
}

.divider {
  margin: 40px auto 0px auto;
  text-align: center;
}

/*---------- INTRO ---------*/

#intro {
  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;
  text-align: center;
}

#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 {
  width: 100%;
  margin: 50px auto 0 auto;
  text-align: center;
}

#menu_list {
  padding-inline-start: 0px;
}

#menu_title {
  display: inline;
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  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-block;
  list-style-type: none;
  padding-left: 5px;
  margin-right: 25px;
  letter-spacing: 1px;
  font-family: "benton-modern-display-conden", Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #0f0f0f;
}

#menu_list a:link {
  color: #0f0f0f;
  text-decoration: none;
}

#menu_list a:visited {
  color: #0f0f0f;
}

#menu_list a:hover {
  color: #ef4e63;
}

#menu_list a:active {
  color: #ef4e63;
}

.bull {
  color: #0f0f0f;
  opacity: 0.3;
  font-size: 22px;
}

/*--- ACCORDION ----*/

#accordion_container {
  max-width: 100%;
}

.accordion {
  background-color: #f7f6f2;
  color: #000000;
  cursor: pointer;
  padding: 18px;
  border: none;
  text-align: left;
  outline: none;
  transition: 0.4s;
  border: 1px solid #0f0f0f;
  font-family: "sole_headline", Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  display: flex;
  flex-direction: row;
}

.accordion:hover {
  text-decoration: underline;
}

.accordion_arrow,
.accordion_eye {
  width: 20px;
}

.accordion_eye {
  margin-left: auto;
}

.accordion-arrow_svg {
  opacity: 0.5;
}

.panel {
  padding: 0 18px;
  background-color: #ebeae6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  margin-bottom: 10px;
  border: 1px solid #000000;
  border-top: transparent;
  border-bottom: transparent;
}

.panel-active {
  border-bottom: 1px solid #000000;
  outline: 1px dotted #000000;
  outline-offset: -7px;
}

/*--- TEXT BLOCKS ---*/

.box_title,
.box_text {
  text-align: left;
}

.box_title {
  font-family: "benton-modern-display-conden", Arial, Helvetica, sans-serif;
  font-size: 44px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #0f0f0f;
  margin-bottom: 20px;
}

.box_text {
  font-family: "SoleSans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #000000;
}

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

.voci_social {
    font-size: 13px!important;
    width: 15px;
    text-align: center;
    /* line-height: 80px; */
    padding: 7.2px 6px;
    text-decoration: none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 16px;
    background-color: transparent;
    margin-left: 4px;
    color: #000000;
    cursor: pointer;
    border: 1.5px solid #000000;
}

.voci_social:hover {
  background-color: #000000;
  color: #EBEAE6;
  border: 1.5px solid #000000;
}


/*------ APPROFONDIMENTI -------*/

.endlinks-cont {
  margin-top: 50px auto;
  align-items: center;
  justify-content: left;
  width: 100%;
}

.endlinks-title {
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: normal;
  text-align: left;
  color: #1f2226;
  margin: 2vh auto;
  font-size: 20px;
  font-weight: 900;
  border-bottom: 3px solid #0f0f0f;
  margin-top: 70px;
}

.endlinks {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  padding: 0px;
  font-family: "sole_text", Georgia, Times, "Times New Roman", serif;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: normal;
  text-align: left;
  margin: 2vh auto;
  font-size: 18px;
}

.endlink-svg {
  width: 20px;
  align-self: flex-start;
  padding: 5px 5px 0px 0px;
}

.end-img-link-svg {
  width: 15px;
  opacity: 0.5;
}

.endlinks-a > a {
  color: #1f2226;
  text-decoration: none;
}

.endlinks-a > a:visited {
  color: #0f0f0f;
}

.endlinks-a > a:hover {
  color: #ef4e63;
}

.endlinks-a > a:active {
  color: #ef4e63;
}

/*--- FOOTER ----*/

#crediti_finali {
  width: 100%;
  max-width: 660px;
  margin-top: 60px;
  border-top: 1px solid #1f2226;
}

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: #1f2226;
  font-weight: 400;
  margin: 5vh auto;
}

.nascondi{
	display: none;
}

/*----- RESPONSIVE DESKTOP EXCEPTION--------*/
@media screen and (min-width: 481px) {
  .navHeader-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;
  }

  h1 {
    font-size: 42px;
    white-space: normal;
  }

  .title {
    padding: 20px 6px 20px 6px;
  }

  section {
    margin: 15px;
  }

  #intro,
  .box_text {
    font-size: 20px;
  }

  #firma {
    margin: 10px auto 5px auto;
  }

  #data {
    margin: 5px auto 10px auto;
  }

  #menu {
    margin-top: 0px;
  }

  #menu_anchor {
    bottom: 50px;
  }

  #menu_list {
    padding-inline-start: 0px;
    display: grid;
  }

  ul#menu_list li {
    font-size: 32px;
    margin-right: 0px;
    line-height: 1.2;
  }

  .box_title {
    font-size: 28px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .endlinks-cont {
    width: 95%;
  }

  .index_link {
    padding-top: 3px;
    padding-bottom: 6px;
  }

  #crediti_finali {
    margin-left: 15px;
    margin-right: 15px;
  }

  h5 {
    margin-left: 15px;
    margin-right: 15px;
  }

  p, li {
    line-height: 1.2;
    font-size: 18px;
  }

  h3 {
    font-size: 1.09em;
  }

}

/*----- RESPONSIVE TABLET --------*/

@media screen and (min-width: 481px) and (max-width: 800px) {
  .swiper-container {
    height: 50px;
  }

  .title_background {
    background-color: #f7f6f2;
    background-image: url(../img/cover_mobile.jpg);
  }

  h1 {
    font-size: 62px;
    white-space: normal;
  }

  .title {
    padding: 20px 6px 20px 6px;
  }

  section {
    margin: 15px;
  }


  .endlinks-cont {
    width: 95%;
  }


  h5 {
    margin-left: 15px;
    margin-right: 15px;
  }

  p, li {
    line-height: 1.2;
    font-size: 18px;
  }

  h3 {
    font-size: 1.09em;
  }
}
