/********** Template CSS **********/
:root {
  --primary: #5b8c51;
  --secondary: #eddd5e;
  --light: #f7f7f7;
  --dark: #404a3d;
  --marrone1: #c79c67;
  --marrone2: #c89d68;
}

body {
  font-family: "Barlow", sans-serif;
  font-size: 1.2rem;
  color: #5e5e5e;
  line-height: 1.6;
}

body,
.bg-tit {
  background-color: white;
}
.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-medium {
  font-weight: 600 !important;
}

.fw-semi-bold {
  font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
  color: var(--dark);
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
}

.navbar .navbar-nav .nav-link {
  margin-right2: 32px;
  margin-right: calc(1rem + 1.1vw);
  padding: 25px 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 500;
  outline: none;
  padding-bottom: 0;
  padding-top: 0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background: url(../img/banner.jpg) center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--light);
}

/*** Section Title ***/
.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  font-weight: 600;
}

.section-title::before {
  position: absolute;
  content: "";
  width: calc(100% + 80px);
  height: 2px;
  top: 5px;
  left: -40px;
  background: var(--primary);
  z-index: -1;
}

.section-title::after {
  position: absolute;
  content: "";
  width: calc(100% + 120px);
  height: 2px;
  bottom2: -6px;
  bottom: 4px;
  left: -60px;
  background: var(--primary);
  z-index: -1;
}

.section-title.text-start2::before {
  width: calc(100% + 40px);
  left: 0;
}

.section-title.text-start::before {
  width: 40px;
  left: calc(100% + 0px);
  top: 4px;
  height: 2px;
}
.section-title.text-start::after {
  width: 60px;
  left: calc(100% + 0px);
  top: 20px;
  height: 2px;
}
.section-title.text-start2::after {
  width: calc(100% + 60px);
  left: 0;
}

/*** About ***/
.about-experience {
  position: absolute;
  width: 100%;
  height: 100%;
  right: -45px;
  bottom: -45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("../img/home/6.jpg");
  background-size: cover;
}

/*** Service ***/
.service-item {
  position: relative;
  border-radius: 8px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.service-item .service-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 8px;
  overflow: hidden;
  z-index: -1;
}

.service-item .service-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  object-fit: cover;
  border-radius: 10px;
}

.service-item .service-img::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  z-index: 1;
}

.service-item .service-img::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #ffffff;
  transition: 0.5s ease-out;
  z-index: 2;
}

.service-item:hover .service-img::after {
  width: 0;
  left: auto;
  right: 0;
}

.service-item .service-text .service-icon {
  width: 140px;
  height: 140px;
  padding: 15px;
  margin-top: -70px;
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 140px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.1);
}

.service-item .service-text h5,
.service-item .service-text p {
  transition: 0.5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
  color: #ffffff;
}

.service-item .service-text .btn {
  color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.25);
}

.service-item .service-text .btn:hover {
  color: var(--dark);
  background: var(--secondary);
}

/*** Product ***/
.product-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.product-item .product-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  padding-top: 60px;
  transition: 0.5s;
}

.product-item:hover .product-overlay {
  opacity: 1;
  padding-top: 0;
}

/*** Team ***/
.team-item {
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.team-item .btn {
  border-color: transparent;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

/*** Testimonial ***/
.testimonial-img {
  position: relative;
  min-height: 400px;
}

.testimonial-img::after {
  position: absolute;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 200px;
  color: #eeeeee;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.testimonial-img img {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
  top: 0;
  left: 0;
}

.testimonial-img img:nth-child(2) {
  top: 60%;
  left: 20%;
}

.testimonial-img img:nth-child(3) {
  top: 20%;
  left: 60%;
}

.testimonial-img img:nth-child(4) {
  bottom: 0;
  right: 0;
}

.testimonial-img img .animated.pulse {
  animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
  width2: 100px;
  height2: 100px;
  border-radius: 100px;
  max-height: 350px;
  aspect-ratio: 16/10;
}

.testimonial-carousel .owl-nav {
  margin-top: 0px;
  display: flex;
  margin-top: 1rem !important;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border-radius: 45px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
  color: var(--dark);
}

/*** Footer ***/
.footer {
  color: #c89d68;
  background-color2: #222;
  background-color: #1c3317;
  border-top: 4px solid #c89d68;
  box-shadow: 0 -0.125rem 0.25rem rgba(0, 0, 0, 0.2) !important;
}
.footer .indiriz a {
  color: #c89d68;
  transition: 0.3s;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #b0b9ae;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
  font-size: 1.1rem;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover,
.footer .indiriz a:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  color2: #a57e62;
  color3: #cbaa5d;
  font-family2: "Forum", sans-serif;
  font-family2: "Gilda Display", sans-serif;
}
.btn-secondary {
  color: white;
  background-color2: #b07f4c;
  border-color2: #b07f4c;
  background-color: #cbaa5d;
  border-color: #cbaa5d;
}

.btn-secondary:hover {
  color: white;
  background-color: #5b8c51;
  border-color: #5b8c51;
}

/* ======= Buttons style ======= */
/* dark */
.butn-dark {
  position: relative;
  line-height: 1.2em;
}
.butn-dark a {
  font-weight: 400;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  background: #ab8a62;
  color: #fff;
  padding: 13px 22px;
  margin: 0;
  position: relative;
  font-size: 15px;
  letter-spacing: 3px;
}
.butn-dark a:after {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 100%;
  z-index: 1;
  background: #222;
  color: #fff;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.butn-dark a span {
  position: relative;
  z-index: 2;
}
.butn-dark a:hover:after {
  width: 100%;
  left: 0;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.butn-dark a:hover span {
  color: #fff;
}
/* light */
.butn-light {
  position: relative;
  line-height: 1.2em;
}
.butn-light a {
  font-weight: 400;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  background: transparent;
  color: #fff;
  padding: 12px 20px;
  margin: 0;
  position: relative;
  font-size: 15px;
  letter-spacing: 3px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.butn-light a:after {
  content: "";
  width: 0;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 100%;
  z-index: 1;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #fff;
}
.butn-light a span {
  position: relative;
  z-index: 2;
}
.butn-light a:hover:after {
  width: 100%;
  left: 0;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
.butn-light a:hover span {
  color: #222;
}

.bg-dark {
  background-color2: #c89d68 !important;
}
.top-bar {
  background-image: url(../img/logo/sfondo_top2.png);
  background-position-y: bottom;
  background-repeat: repeat-x;
  background-color: #c89d68 !important;
}
#mezzologo {
  max-height: 66px;
}
.mylogo {
  max-width: 245px;
  margin-left2: 18px;
}
.navbar.sticky-top {
  border-bottom: 4px solid #c89d68;
}
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.2) !important;
}
.carousel-item-img {
  aspect-ratio: 16/8;
}
.display-1 {
  font-size: calc(1.5rem + 3vw);
}
.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-size: 23px;
  font-weight: normal;
  font-family: "Barlow Condensed";
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: white;
  background-color: #c89d68;
}
/* .dropdown-item:hover,
.dropdown-item:focus {
  color: white;
  background-color: #c89d68;
}
.dropdown-item {
  border: 0;
  border-top: 1px solid darkgoldenrod;
  border-collapse: collapse;
}
.dropdown-item:last-child {
  border: 0;
  border-bottom: 1px solid darkgoldenrod;
  border-top: 1px solid darkgoldenrod;
  border-collapse: collapse;
} */
.curare_tit {
  font-style: italic;
  color: white;
  line-height: calc(1.2rem + 1.7vw);
  font-size: calc(0.8rem + 1.15vw);
}

.parallax-txt {
  background-color: #0b230682;
  padding: 10px;
  border-radius: 8px;
}
.parallax-bg {
  background-color: #0b230682;
}
.parallax-bgv2 {
  background-color: #0b230638;
}
.loghi-certificazioni {
  max-width: 250px;
  max-height2: 170px;
  margin: auto;
}
.titoli-cert {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 110%;
}
.zoom-img-container {
  overflow: hidden; /* Nasconde la parte dell'immagine che esce dal contenitore */
}

.zoom-img-container img {
  width2: 100%; /* L'immagine occupa il 100% del contenitore */
  transition: transform 0.5s ease; /* Transizione per l'effetto zoom */
  transform: scale(0.99); /* Zoom dell'immagine al passaggio del mouse */
}

.zoom-img-container img:hover {
  transform: scale(1.13); /* Zoom dell'immagine al passaggio del mouse */
  border-radius: 8px !important;
}
.bg-green {
  background-color: #5b8c51;
}
.bg-grod {
  background-color: #c89d68;
}
.copyright {
  background-color2: #404a3d;
  background-color3: #1a1a1a;
  background-color: #162d11;
  color: white;
  font-size: 90%;
}
.copyright a {
  color: #c89d68;
}
.copyright a:hover {
  color: white;
}

.iniz-item h5 {
  color: var(--marrone2);
  color2: #5b8c51;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
  border: 1px solid var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--marrone2);
  border-radius: 45px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  font-size: 22px;
  transition: 0.5s;
  border: 1px solid var(--marrone2);
}

.myparallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cs-item::after {
  content: "";
  width: 100%;
  height: 1px;
  /* to change the color of the bottom border, adjust the second color (at 50%). the first and third will blend the color to transparent */
  /* note you'll also have to change the color in the tablet media query when the lines go vertical */
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    #bababa 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0.6;
  position: absolute;
  bottom: 0;
  left: 0;
}

.cs-item:first-of-type {
  padding-top: 0;
}

.cs-item:last-of-type {
  padding-bottom: 0;
}

.cs-item:last-of-type::after {
  content: none;
}

.cs-number {
  /* 80px - 100px */
  font-size: clamp(5rem, 1vw, 6.25rem);
  font-weight: 900;
  line-height: 1.2em;
  color: var(--primary);
  opacity: 0.2;
  display: block;
}

.cs-h3 {
  /* 20px - 25px */
  font-size: clamp(1.25rem, 2vw, 1.5625rem);
  font-weight: 700;
  line-height: 1.2em;
  margin: -1.9375rem 0 1rem 0;
  color: darkgoldenrod;
}
.bg-verdino {
  background-color2: #50c53921;
  background-color: #e7f6e4;
}
.claim {
  font-style: italic;
  line-height: calc(1.5rem + 3vw);
  text-align: center;
  color: white;
  padding: 0.8rem;
  font-size: calc(1rem + 1.5vw);
}
.myquote2 {
  margin-top: -10px;
  font-weight: bold;
  font-size: 100px;
  color: white;
}

.cs-item-text {
  font-size2: 105%;
}
.darker-text {
  color: #4d4d4d;
}
.more-darker-text {
  color: #262626;
}
.separator5 {
  margin-top: 5rem !important;
  margin-bottom: 5rem !important;
  min-height: 10px;
}
.separator4 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
  min-height: 10px;
}
.separator3 {
  margin-top: 3rem !important;
  margin-bottom: 3rem !important;
  min-height: 10px;
}

.accordion-button {
  color: #5b8c51;
  outline: none;
  /* background-color: #e7f6e4; */
  background-color: #e7f6e4;
  background-color: white;
  /* box-shadow: none; */
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  font-size: 1.2rem;

  /* border: 1px solid palegoldenrod; */
  /* padding-left: 0px; */
}

.accordion-button:not(.collapsed) {
  outline: none;
  color: darkgoldenrod;
  background-color: #e7f6e4;
  background-color: white;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  font-size: 1.2rem;
  /* box-shadow: none; */
}
/* .accordion-item {
  margin-bottom: 10px;
} */
.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}
.bg-white-trasp {
  background-color2: #ffffffbd;
  background-color: #ffffffd6;
}

.bg-image-iniz {
  background-size: cover; /* Copre l'intera colonna mantenendo le proporzioni */
  background-position: center; /* Centra l'immagine nella colonna */
  background-repeat: no-repeat; /* Non ripete l'immagine */
  min-height: 250px;
  border2: 1px solid #5b8c51;
  box-shadow: 0 0rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.btn-check:focus + .btn-secondary,
.btn-secondary:focus {
  color: white;
  border-color: #cbaa5d;
  box-shadow: 0 0 0 0.25rem rgba(201, 188, 80, 0.5);
  background-color: #cbaa5d;
}
.btn-primary:hover {
  color: white;
  background-color: #cbaa5d;
  border-color: #cbaa5d;
}
.text-marrone {
  color: #c89d68 !important;
}
.contact_info i {
  font-size: 20px;
  color: #c89d68;
  float: left;
  width: 44px;
  height: 44px;

  /* background: #e0cda0; */
  background-color: #e7f6e4;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}
.contact_info i:hover {
  background: #e0cda0;
  color: white;
}
.contact_info h5,
.contact_info p {
  padding: 0 0 0 60px;
  margin-bottom: 3px;
  padding-top: 0.5rem;
}
.contact_info p {
  padding-top: 0;
  margin-top: 0;
}
.contact_info div {
  margin-bottom: 1rem;
}
.contact_info .last {
  margin-bottom: 0px;
}

.mymap {
  border: 1px solid #c89d68;
  box-shadow: 0 0.135rem 0.25rem rgba(0, 0, 0, 0.2);
}
.mylang-flag {
  width: 36px;
  display: inline-block;
  margin-left: 3px;
  margin-right: 3px;
}
.myswitch-lang {
  margin-right: 22px;
}

 .proverb-container {
           
            text-align: center;
            font-style: italic;
            color: #555;
        }
.proverb-container cite {
            display: block;
            margin-top: 5px;
            font-size: 0.9em;
            color: #777;
}