/**
* Mie aggiunte (per evitare problemi quando si aggiorna Bootstrap)
*/

/* Font */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 35px;
    line-height: 36px;
  }
}
#hero h2 {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  font-size: 24px;
}
@media (max-width: 768px) {
  #hero h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 20px;
  }
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Varela Round", sans-serif;
}
body {
  font-family: "Varela Round", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #444444;
}
.services .icon-box p {
  line-height: 26px;
  font-size: 17px;
  margin-bottom: 0;
}
.cta h3 {
  color: #fff;
  font-size: 26px;
  font-weight: 500;
}
#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Varela Round", sans-serif;
  color: #5e5e5e;
}
#footer .footer-top .footer-contact h3 {
  font-size: 28px;
  margin: 0 0 10px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  text-transform: none;
  font-weight: 400;
  letter-spacing: 2px;
  color: #37517e;
}
#hero .btn-get-started {
  font-family: "Varela Round", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 11px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 0 0 0;
  color: #fff;
  background: #47b2e4;
}
.contact .info p {
  padding: 0 0 10px 60px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #6182ba;
}
/* Fine Font */

/* Onda */
.shape {
  overflow:hidden;
  position:absolute;
  left:0;
  width:100%;
  line-height:0;
  direction:ltr
}
.shape-bottom {
  bottom:-1px;
}
.shape-top {
  top:-1px;
}
.shape .shape-fill {
  fill: var(--colore_di_fondo) !important;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.shape .shape-fill-grigio {
  fill: #f3f5fa !important;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.shape .shape-fill-grigio-scuro {
  fill: #47b2e4 !important;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.shape .shape-fill-relax {
  fill: #B0C9D9 !important;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.shape .shape-fill-bianco {
  fill: #FFFFFF !important;
  -webkit-transform-origin: center;
  -ms-transform-origin: center;
  transform-origin: center;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.section-senza-spazio {
  padding-top: 0px !important;
  padding-bottom: 60px !important;
  min-height: 0px !important;
  overflow: hidden;
}
.section-onde {
  position:relative;
  min-height: 631px;
  /* background-color: var(--colore_sfondo_header) !important; */
  background-image: linear-gradient(to bottom right, #37517e, #608DDA) !important;
}
.section-onde-grigio {
  position:relative;
  min-height: 631px;
  background-color: #f3f5fa;
}
.section-onde-grigio-scuro {
  position:relative;
  min-height: 631px;
  background-color: #47b2e4 !important;
}
.section-gradient {
  background-image: linear-gradient(to bottom right, #37517e, #608DDA) !important;
}
@media (min-width: 1025px) and (max-width: 99999px) {
  .hidden-desktop {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .hidden-tablet {
    display: none;
  }
}
@media (max-width: 767px) {
  .hidden-mobile, .hidden-phone {
    display: none;
  }
}
/* Fine Onda */

/* Uso i margini negativi per poter sovrapporre le immagini delle aree, nell'header dell'home page */
.ms-xl-n5 {
  margin-left: -4.5rem !important;
}
/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* Piccoli schermi (finestra stretta del browser, 456px and up) */
@media (min-width: 446px) { .ms-xl-n5 {
  margin-left: -6rem !important;
} }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { .ms-xl-n5 {
  margin-left: -4.5rem !important;
} }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { .ms-xl-n5 {
  margin-left: -6rem !important;
} }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { .ms-xl-n5 {
  margin-left: -6rem !important;
} }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { .ms-xl-n5 {
  margin-left: -6rem !important;
} }

.profondita-2 {
  z-index: 2;
}
.profondita-1 {
  z-index: 1;
}
.profondita-0 {
  z-index: 0;
}

.elenco-argomenti,
.elenco-argomenti:focus {
  padding: 8px 20px !important;
  border-radius: 50px;
  color: #fff;
  background: #47b2e4;
  font-size: 14px;
  font-weight: 600;
}

.distanziale-argomenti {
  padding-bottom: 20px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.elenco-argomenti:hover,
.elenco-argomenti:focus:hover {
  color: #fff;
  background: #31a9e1;
}

.getstarted-bottom,
.getstarted-bottom:focus {
  padding: 8px 20px !important;
  border-radius: 50px;
  color: #fff;
  background: #47b2e4;
  font-size: 15px;
  font-weight: 600;
}

.getstarted-bottom:hover,
.getstarted-bottom:focus:hover {
  color: #fff;
  background: #31a9e1;
}

.social-share {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 8px;
}
.social-share svg {
  pointer-events: none;
  height: 16px;
  fill: #FFFFFF;
}
.social-share a {
  padding-left: 10px;
}
.text-right {
  text-align: right !important;
}

#navbar-bottom {
    transition: bottom 0.3s; /* Aggiungiamo una transizione fluida all'apparire/scomparire del menu inferiore */
    height: 50px;
    font-size: 14px;
    color:#FFFFFF;
    background-color: #37517e;
}

.fascia-bottom.active {
  visibility: visible;
  opacity: 1;
}

.fascia-bottom {
  height: 50px;
  font-size: 15px;
  color:#FFFFFF;
  background-color: #37517e;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  width: 100% !important;
}

/* Fascia news */
.fascia-news {
  /* top: 74px; */
  top: 100px;
  height: 50px;
  font-size: 15px;
  color:#FFFFFF;
  background-color: #FFFF00;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s;
  width: 100% !important;
}

@media (max-width: 991px) {
  .fascia-news {
  top: 70px;
}
}

.fascia-news.active {
  visibility: visible;
  opacity: 1;
}
/* Fine Fascia news */

.unselectable {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.section-top {
  padding-top: 150px;
}

/* Uso il padding-bottom per avere spazio nei casi in cui ci siano le onde alla base della sezione */
.section-bottom {
  padding-bottom: 150px;
}
/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* Piccoli schermi (finestra stretta del browser, 456px and up) */
@media (min-width: 446px) { .section-bottom {
  padding-bottom: 150px;
} }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { .section-bottom {
  padding-bottom: 150px;
} }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { .section-bottom {
  padding-bottom: 150px;
} }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { .section-bottom {
  padding-bottom: 200px;
} }

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { .section-bottom {
  padding-bottom: 250px;
} }

.altri-contenuti-bg {
  background-color: #B0C9D9;
}

.bridge-bg {
  background-color: #37517e;
}

.section-title-bianco {
  text-align: center;
  padding-bottom: 30px;
}
.section-title-bianco h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #444444;
}
.section-title-bianco p {
  margin-bottom: 0;
}
.section-title-bianco h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}
.section-title-bianco h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #444444;
  bottom: 0;
  left: calc(50% - 20px);
}

.bridge-h1 {
  margin: 0 0 10px 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}
.bridge-h1-colorato {
  margin: 0 0 10px 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 56px;
  color: #37517e;
}

.bridge-h2 {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  font-size: 24px;
}
.bridge-h2-colorato {
  color: #37517e;
  margin-bottom: 30px;
  font-size: 24px;
}

.h2-scegli {
  font-size: 24px;
  color: #37517e;
  margin-top: 20px;
  margin-bottom: 20px;
}

.font-fissato {
  font-family: "Open Sans", sans-serif !important;
}

/*--------------------------------------------------------------
# Bottone
--------------------------------------------------------------*/
.bottone_vuoto {
  display: inline-block;
  padding: 6px 15px;
  margin-top: 7px;
  border-radius: 25px;
  color: #47b2e4;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Varela Round", sans-serif;
  transition: 0.3s;
  border: 1px solid #47b2e4;
}
.bottone_pieno {
  display: inline-block;
  padding: 6px 15px;
  margin-top: 7px;
  border-radius: 25px;
  background: #47b2e4;
  color: #fff;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Varela Round", sans-serif;
  transition: 0.3s;
  border: 1px solid #47b2e4;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  border-radius: 20px;
  padding: 0px 0px;
  width: 100%;
}

.icon-box-spazio {
  padding: 20px 20px !important;
}

.icon-box-spazio-sotto {
  padding-bottom: 20px !important;
}

.icon-box-spazio-sopra {
  padding-top: 10px !important;
}

.services .icon-box-spazio h4 {
  font-weight: 500;
  margin-bottom: 0px !important;
  font-size: 24px;
}

.services .icon-box .pic {
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.services .icon-box h4 {
  padding: 0px 20px;
}

.services .icon-box p {
  padding: 0px 20px;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .icon-box {
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  transition: all ease-in-out 0.4s;
  background: #fff;
}

.portfolio .icon-box .pic {
  overflow: hidden;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.portfolio .icon-box .icon {
  margin-bottom: 10px;
}

.portfolio .icon-box .icon i {
  color: #47b2e4;
  font-size: 36px;
  transition: 0.3s;
}

.portfolio .icon-box h4 {
  font-weight: 500;
  margin-bottom: 15px;
  font-size: 24px;
  padding: 0px 20px;
}

.portfolio .icon-box h4 a {
  color: #37517e;
  transition: ease-in-out 0.3s;
}

.portfolio .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  padding: 0px 20px;
}

.portfolio .icon-box:hover {
  transform: translateY(-10px);
}

.portfolio .icon-box:hover h4 a {
  color: #47b2e4;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq h3 {
  font-weight: 400;
  font-size: 34px;
  color: #37517e;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .php-email-form .checkbox {
  padding-bottom: 8px;
  display: inline !important;
}

.privacy-policy {
  height: 20px !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer .copyright {
  text-align: center;
}

/*--------------------------------------------------------------
# Quiz
--------------------------------------------------------------*/
.quiz .content h3 {
  font-weight: 700;
  font-size: 32px;
  color: #37517e;
  font-family: "Poppins", sans-serif;
}

.quiz .content ul {
  list-style: none;
  padding: 0;
}

.quiz .content ul li {
  padding-bottom: 10px;
}

.quiz .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #47b2e4;
}

.quiz .content p:last-child {
  margin-bottom: 0;
}

.quiz .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.quiz .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #37517e;
}

.quiz .progress .skill .val {
  float: right;
  font-style: normal;
}

.quiz .progress-bar-wrap {
  background: #e8edf5;
  height: 10px;
}

.quiz .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #4668a2;
}

#quiz .btn-get-started {
  font-family: "Varela Round", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px 11px 28px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 0 0 0;
  color: #fff;
  background: #47b2e4;
}

/*--------------------------------------------------------------
# Durante
--------------------------------------------------------------*/
.durante {
  background-color: #f3f5fa;
}

.durante .row {
  padding-top: 0px;
}

.durante .box {
  padding: 20px 20px;
  box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
  background: #fff;
  height: 100%;
  border-top: 4px solid #fff;
  border-radius: 5px;
}

.durante h3 {
  font-weight: 500;
  margin-bottom: 0px;
  font-size: 20px;
  color: #37517e;
}

.durante h4 {
  font-size: 48px;
  color: #37517e;
  font-weight: 400;
  font-family: "Varela Round", sans-serif;
  margin-bottom: 25px;
}

.durante h4 sup {
  font-size: 28px;
}

.durante h4 span {
  color: #47b2e4;
  font-size: 18px;
  display: block;
}

.durante ul {
  padding: 20px 0;
  list-style: none;
  color: #999;
  text-align: left;
  line-height: 20px;
}

.durante ul li {
  padding: 10px 0 10px 30px;
  position: relative;
}

.durante ul i {
  color: #28a745;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 6px;
}

.durante ul .na {
  color: #ccc;
}

.durante ul .na i {
  color: #ccc;
}

.durante ul .na span {
  text-decoration: line-through;
}

.durante .buy-btn {
  display: inline-block;
  padding: 12px 35px;
  border-radius: 50px;
  color: #47b2e4;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: "Varela Round", sans-serif;
  transition: 0.3s;
  border: 1px solid #47b2e4;
}

.durante .buy-btn:hover {
  background: #47b2e4;
  color: #fff;
}

.durante .featured {
  border-top-color: #47b2e4;
}

.durante .featured .buy-btn {
  background: #47b2e4;
  color: #fff;
}

.durante .featured .buy-btn:hover {
  background: #23a3df;
}

@media (max-width: 992px) {
  .durante .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .durante .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .durante .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}