.carousel-caption {
  background: rgba(0, 0, 0, 0);
}
.carousel-caption h5 {
  margin: 0;
  font-size: 30px;
}
.carousel-caption a {
  color: #fff;
  border: 1px solid #fff;
  font-weight: bold;
  margin-top: 20px;
  border-radius: 20px;
}
.carousel-caption a:hover {
  border: 1px solid #fff;
  background: none;
}
#box-logo {
  padding: 40px 0;
}
#box-logo .orario-apertura {
  font-size: 12px;
  color: #0b9443;
}
#box-logo .orario-apertura i {
  display: inline-block;
  font-size: 60px;
  margin-right: 10px;
  float: left;
}
#box-logo .orario-contatti {
  font-size: 14px;
  color: #0b9443;
}
#box-logo .orario-contatti ul {
  margin: 0;
}
#box-top-button .box-evento {
  margin-top: 30px;
  border: 1px solid #cccccc;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  background: #fff;
}
#box-top-button .box-evento .pubblicata {
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0;
  background: #0B9443;
  color: #fff;
}
#box-top-button .box-evento .data {
  padding: 5px;
  background: #0B9443;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#box-top-button .box-evento .data p {
  margin: 0;
  color: #fff;
}
#box-top-button .box-evento h3 {
  color: #fff;
  font-size: 20px;
  padding: 5px;
  margin: 0;
}
#box-top-button .box-evento p {
  margin-top: 15px;
  padding: 0 10px;
  color: #808080;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#box-top-button .box-evento a {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#box-top-button .box-evento a:hover {
  opacity: 0.5;
  text-decoration: none;
}
#box-top-button .box-evento a:hover .data {
  background: #0B9443;
}
#box-top-button .box-evento a:hover p {
  opacity: 0.5;
}
#menu-box {
  background: #0B9443;
}
#menu-box .navbar {
  padding: 0;
}
#menu-box .navbar li a {
  padding: 18px;
  color: #fff;
  display: block;
  font-weight: bold;
}
#menu-box .navbar li a:hover {
  background: #043518;
  color: #fff;
}
#menu-box .navbar form input {
  border-radius: 0;
  margin-right: 0 !important;
  border: 0;
}
#menu-box .navbar form button {
  border-radius: 0;
  border: 0;
  background: #043518;
  color: #fff;
}
#menu-box .navbar form button:hover {
  background: #000000;
  color: #fff;
}
#box-home-page {
  margin-top: 30px;
  margin-bottom: 30px;
}
#box-home-page img {
  margin-bottom: 20px;
}
#box-home-page button {
  border: 1px solid #0B9443;
  color: #808080;
  border-radius: 0;
  margin-top: 20px;
  width: 100%;
  border-right: 0;
}
#box-home-page button.active {
  color: #fff;
  background: #0B9443;
}
#box-home-page .tab-content {
  margin-top: 20px;
  border: 1px solid #0B9443;
  width: 100%;
  padding: 20px;
}
#box-home-page a {
  color: #043518 !important;
  font-weight: bold;
}
#box-home-page .btn {
  color: #fff !important;
  background: #0B9443;
  border-radius: 0;
  border: 0;
  font-weight: normal !important;
}
#box-home-page .btn:hover {
  color: #fff;
  background: #043518;
}
#mission {
  border-bottom: 4px solid #0B9443;
  border-top: 1px solid #0B9443;
}
#mission .mission-image {
  background-image: url("../img/slide-due.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 50vh;
}
#mission .mission-image img {
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -100px;
  margin-top: -120px;
}
#mission .testo-mission {
  padding: 60px;
}
#mission .testo-mission h2 {
  font-size: 40px;
  color: #0B9443;
  margin-bottom: 20px;
}
#mission .testo-mission p {
  font-size: 14px;
}
#mission .testo-mission a {
  margin-bottom: 40px;
  width: 300px;
}
.parallax {
  background-image: url("../img/slide-uno.jpeg");
  min-height: 300px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
#eventi {
  padding: 80px 0;
  background: #f2f2f2;
}
#eventi h2 {
  font-size: 40px;
  color: #0B9443;
  margin-bottom: 20px;
}
#eventi .linea {
  background: #0B9443;
}
#eventi .box-evento {
  border: 1px solid #cccccc;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  background: #fff;
}
#eventi .box-evento .pubblicata {
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0;
  background: #0B9443;
  color: #fff;
}
#eventi .box-evento .data {
  padding: 5px;
  background: #0B9443;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#eventi .box-evento .data p {
  margin: 0;
  color: #fff;
}
#eventi .box-evento h3 {
  color: #fff;
  font-size: 20px;
  padding: 5px;
  margin: 0;
}
#eventi .box-evento p {
  margin-top: 15px;
  padding: 0 10px;
  color: #808080;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#eventi .box-evento a {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
#eventi .box-evento a:hover {
  opacity: 0.5;
  text-decoration: none;
}
#eventi .box-evento a:hover .data {
  background: #0B9443;
}
#eventi .box-evento a:hover p {
  opacity: 0.5;
}
#tour {
  border-bottom: 1px solid #0B9443;
  border-top: 1px solid #0B9443;
}
#tour .mission-image {
  background-image: url("../img/slide-quattro.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 50vh;
}
#tour .mission-image img {
  width: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -100px;
  margin-top: -120px;
}
#tour .testo-mission {
  padding: 60px;
}
#tour .testo-mission h2 {
  font-size: 40px;
  color: #0B9443;
  margin-bottom: 20px;
}
#tour .testo-mission p {
  font-size: 14px;
  font-size: 28px;
  color: #043518;
}
#tour .testo-mission a {
  margin-bottom: 40px;
  width: 300px;
}
#quotes {
  border-top: 2px solid #043518;
  border-bottom: 2px solid #043518;
  padding-top: 30px;
}
#quotes .frase {
  height: 40vh;
}
#quotes h3 {
  color: #043518;
  font-size: 40px;
  font-weight: normal !important;
}
#quotes h3 span {
  font-size: 18px;
}
footer {
  background: #474747;
  padding-top: 40px;
  padding-bottom: 10px;
  color: #fff;
  margin-top: -6px;
  border-top: 4px solid #333333;
}
footer strong {
  display: block;
  margin-bottom: 15px;
}
footer h3 {
  margin-bottom: 25px;
}
footer p {
  font-size: 14px;
}
footer .list-footer a {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
}
footer .footer-text p {
  margin: 0;
  font-size: 10px;
}
footer .footer-text a {
  color: #fff;
}
.sfondo-background {
  background: #e6e6e6;
}
.sfondo-background .pagina-interna {
  margin-top: 50px;
  margin-bottom: 50px;
  background: #fff;
  padding: 30px;
  -webkit-box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 0px 30px 5px rgba(0, 0, 0, 0.2);
}
.sfondo-background .pagina-interna .pagine-interne-titolo {
  color: #043518;
  margin-bottom: 20px;
}
.sfondo-background .pagina-interna strong {
  color: #043518;
}
.sfondo-background .box-evento {
  border: 1px solid #cccccc;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
  background: #fff;
}
.sfondo-background .box-evento .pubblicata {
  font-size: 14px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 0;
  background: #0B9443;
  color: #fff;
}
.sfondo-background .box-evento .data {
  padding: 5px;
  background: #0B9443;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sfondo-background .box-evento .data p {
  margin: 0;
  color: #fff;
}
.sfondo-background .box-evento h3 {
  color: #fff;
  font-size: 20px;
  padding: 5px;
  margin: 0;
}
.sfondo-background .box-evento p {
  margin-top: 15px;
  padding: 0 10px;
  color: #808080;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sfondo-background .box-evento a {
  text-decoration: none;
  opacity: 1;
  -webkit-transition: all linear 0.2s;
  -moz-transition: all linear 0.2s;
  -ms-transition: all linear 0.2s;
  -o-transition: all linear 0.2s;
  transition: all linear 0.2s;
}
.sfondo-background .box-evento a:hover {
  opacity: 0.5;
  text-decoration: none;
}
.sfondo-background .box-evento a:hover .data {
  background: #0B9443;
}
.sfondo-background .box-evento a:hover p {
  opacity: 0.5;
}
#modalPop iframe {
  max-width: 100% !important;
}
.btn {
  border-radius: 0;
  border: 0;
}
.btn-success {
  background: #0B9443;
}
.no-padding {
  padding: 0;
}
@media screen and (max-width: 959px) {
  #box-logo img {
    display: block;
    margin: 0 auto;
  }
  #box-logo .orario-apertura {
    font-size: 10px;
    margin-top: 20px;
  }
  #box-logo .orario-apertura i {
    font-size: 40px;
  }
  #box-logo .orario-contatti {
    text-align: center;
  }
  #box-logo .orario-contatti li {
    margin-top: 10px;
  }
  .mission-image {
    min-height: 20vh !important;
  }
  .btn-success {
    margin-bottom: 20px;
  }
  #menu-box .navbar-brand {
    color: #fff;
  }
  #menu-box .navbar {
    padding: 10px;
  }
  .navbar-toggler {
    border: 1px solid #fff;
  }
  #box-home-page .d-flex {
    display: block !important;
  }
  #mission .testo-mission,
  #tour .testo-mission {
    padding: 14px;
  }
  #quotes {
    padding-top: 106px;
  }
  #quotes .frase {
    height: 20vh;
  }
  #quotes h3 {
    font-size: 30px;
  }
  #box-home-page button {
    border-right: 1px solid #0B9443;
  }
  .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
  }
}
.pagina-interna p a {
  color: #043518 !important;
}
.tabella-servizi {
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
  background: #fff;
}
.tabella-servizi .btn {
  font-size: 12px;
}
.social-icon li {
  margin-left: 10px;
}
.social-icon a {
  color: #0B9443;
  font-size: 26px;
}
/*# sourceMappingURL=general.css.map */


header .nav-pills .nav-link.active {
    background-color: #198754; /* Bootstrap verde success */
    color: #fff;
}

.nav-pills .nav-link {
    color: #198754;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
    border-left: 4px solid #198754;
    background-color: rgba(25, 135, 84, 0.1);
}

.tab-content .content-box {
    border: 2px solid #198754;
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: #f9fdf9;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.1);
    margin-bottom: 2rem;
}

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

hr {
    border-top: 2px solid #198754;
    width: 50px;
}

.carousel-caption {
    background: rgba(25, 135, 84, 0.75); /* Verde con trasparenza */
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
}

.carousel-caption h5 {
    color: #fff;
    font-weight: 600;
}

.carousel .btn-outline-success {
    border: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.carousel .btn-outline-success:hover {
    background-color: #fff;
    color: #198754;
    border-color: #fff;
}

.box-evento {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.box-evento:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(25, 135, 84, 0.35);
}

.box-evento img {
    border-radius: 1rem 1rem 0 0;
}

.box-evento .data {
    background-color: #198754;
    color: #fff;
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    text-align: center;
}

.box-evento .data h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

#mainNavbar {
    a {
        &:hover {
            background: #009c1c;
            color: white !important;
        }
    }
}


#mission .mission-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

#mission .mission-image {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

/* Overlay leggero sull'immagine */
#mission .mission-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

/* Effetto hover: schiarisce leggermente l'overlay */
#mission .mission-image:hover::before {
    background: rgba(0, 0, 0, 0.15);
}

/* Testo Mission */
#mission .mission-text {
    padding: 3rem 2rem;
}

#mission .mission-text h2 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #198754; /* verde success */
}

#mission .mission-text p {
    color: #495057;
    line-height: 1.6;
    margin-bottom: 2rem;
}

#mission .mission-text .btn-mission {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

/* Parallax */
.parallax {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 450px;
    filter: brightness(0.7);
}

/* Sovrapposizione di gradiente sul parallax */
.parallax::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.5)
    );
}

/* Contenitore interno per eventuale testo sovrapposto */
.parallax .overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 1;
}

/* Titolo sezione e linea decorativa */
#eventi h2 {
    font-weight: 700;
    color: #198754; /* verde success */
    margin-bottom: 0.5rem;
}

#eventi .linea {
    display: block;
    width: 80px;
    height: 4px;
    background-color: #198754;
    margin: 0.5rem auto 2rem;
    border-radius: 2px;
}

/* Card Evento (Material style) */
.box-evento {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    margin-bottom: 2rem;
}

.box-evento:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.box-evento img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.box-evento .data {
    background-color: #198754;
    color: #fff;
    padding: 0.75rem 1rem;
}

.box-evento .data h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.box-evento p {
    padding: 0.75rem 1rem;
    color: #495057;
    line-height: 1.5;
    margin-bottom: 0;
    min-height: 0px;
}

.box-evento .pubblicata {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #6c757d;
}

/* Pulsante “Vai alla sezione” */
#eventi .btn-vai {
    border-radius: 50px;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
}

.typography-body1 a, .content-box a {
    color: #14A44D;
}

.content-box .btn {
    color:white;
}

.whatsapp-button-template {
  position: fixed;
  left: 20px;
  bottom: 20px;
  background: green;
  border: 1px solid green;
  font-size: 36px;
  color: #fff;
  width: 60px;
  height: 60px;
  text-align: center;
  border-radius: 100%;
  z-index: 100000000;
  &:hover {
    color: #fff !important;
  }
}

.page-item.active .page-link {
  background-color: #14A44D;
  border-color: #14A44D;
}

.paginazione nav {
  display: flex;
  justify-content: center;
}

.paginazione .pagination {
  margin: 0 auto;
}
