:root{
    --primary-color:  #8C714C;
    --primary-variant-color: #FF6633;
    --primary-grey-color:#615b6a;
    --primary-variant-grey:#D3D5D8;
    --secondary-color:#03DAC6;
    --secondary-variant-color:#018786;
    --dark-color: #383F4D;
    --dark-color-20percent: #D3D5D8;
    --dark-color-10percent: #DADDE0;
    --dark-color-5percent: #EFF0F0;
    --light-color: #ffffff;
}
body{
    font-family: 'Poppins Extra Light';
    
}

p{
    line-height: 1.8;
}


strong {
    font-family: 'Poppins Light' !important;
}

.bold-b{
    font-family: 'Poppins Regular' !important;
    color: var(--primary-color);
}

.avenir{
    font-family: 'Avenir LT Std';
}
.avenir-light{
    font-weight: 300;
}
.avenir-medium{
    font-family: 'Avenir LT Std';
    font-weight: 500;
}
.avenir-bold, .avenir strong{
    font-family: 'Avenir LT Std';
    font-weight: 900;
}

.nav-link.active {
    color: white !important;
    font-family: 'Poppins Bold';
}


.not-home .nav-link.active {
    color: var(--primary-color) !important;
    font-family: 'Poppins Bold';
}

.blog-title, .blog-title a, a.blog-author, a.blog-comment, a.blog-link{
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb{
    margin-bottom: 0.3rem;
}
.breadcrumb-item a{
    color: #000;
    text-decoration: none;
}
.news-title, .news-title a, a.news-author, a.news-comment, a.news-link{
    color: var(--primary-color);
    text-decoration: none;
}
.grid .card {
    transition: all 0.3s;
}
.grid .card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
#foundModal.offcanvas-top.h-auto {
    bottom: initial;
}
a {
    color: currentColor !important;
    text-decoration: none;
}
a svg {
    fill: var(--primary-color);
}
.fill-dark-color{
    fill: var(--dark-color);
}
.stroke-dark-color{
    stroke: var(--dark-color);
}
.bg-primary{
    color: var(--light-color);
    background-color: var(--primary-color) !important;
}
.bg-primary-variant{
    color: var(--light-color);
    background-color: var(--primary-variant-color) !important;
}
.bg-secondary{
    color: var(--light-color);
    background-color: var(--secondary-color) !important;
}
.bg-secondary-variant{
    color: var(--light-color);
    background-color: var(--secondary-variant-color) !important;
}
.bg-primary-grey{
    color: var(--light-color);
    background-color: var(--primary-grey-color) !important;
}
.bg-primary-variant-grey{
    color: var(--light-color);
    background-color: var(--primary-variant-grey) !important;
}
.bg-dark{
    color: var(--light-color);
    background-color: var(--dark-color) !important;
}
.bg-dark-20{
    color: var(--light-color);
    background-color: var(--dark-color-20percent) !important;
}
.bg-dark-10{
    background-color: var(--dark-color-10percent) !important;
}
.bg-dark-5{
    background-color: var(--dark-color-5percent) !important;
}
.text-primary{
    color: var(--primary-color) !important;;
}
.text-primary-variant{
    color: var(--primary-variant-color) !important;;
}
.text-secondary{
    color: var(--secondary-color) !important;;
}
.text-secondary-variant{
    color: var(--secondary-variant-color) !important;;
}
.bg-primary a, .bg-primary-variant a, .bg-primary-variant a, .bg-primary-grey a, .bg-primary-variant-grey a, .bg-secondary-variant a{
    color: var(--light-color) !important;
}

.bg-primary .breadcrumb-item a, .bg-primary-variant .breadcrumb-item a, .bg-primary-variant .breadcrumb-item a, .bg-primary-grey .breadcrumb-item a, .bg-primary-variant-grey .breadcrumb-item a, .bg-secondary-variant .breadcrumb-item a{
    color: #000 !important;
}
@media (min-width: 768px){
.main{
    display: flex !important;
    flex-direction: column !important;
    min-height: 90vh;
}    
} 
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: var(--secondary-color);
}
.nav-pills .nav-link {
    color: var(--secondary-color);
}
.border-primary {
    border: 1px solid var(--primary-color) !important;
}
.border-secondary {
    border: 1px solid var(--secondary-color) !important;
}
.rounded-top-start{
    border-top-left-radius: 0.25rem !important;
}
.rounded-bottom-start{
    border-bottom-left-radius: 0.25rem !important;
}
.rounded-top-end{
    border-top-right-radius: 0.25rem !important;
}
.rounded-bottom-end{
    border-bottom-right-radius: 0.25rem !important;
}
.fs-1{font-size:calc(1.375rem + 1.5vw) !important}
.fs-2{font-size:calc(1.325rem + 0.9vw) !important}
.fs-3{font-size:calc(1.3rem + 0.6vw) !important}
.fs-4{font-size:calc(1.275rem + 0.3vw) !important}
.fs-5{font-size:1.25rem !important}
.fs-6{font-size:1rem !important}
.fs-xl{font-size:1.25rem !important}
.fs-lg{font-size:1.125rem !important}
.fs-base{font-size:1rem !important}
.fs-sm{font-size:0.875rem !important}
.fs-xs{font-size:0.75rem !important}
@media (min-width: 768px){
    .border-start-md {
        border-left: 1px solid #dee2e6!important;
    }
}
#sidebar-categories ul{
    width: 100%;
}
#sidebar-categories .nav-item i, #sidebar-categories .nav-item a{
    padding-top: .75rem;
    padding-bottom: .75rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
#sidebar-categories .d-flex a{
    padding-left: .75rem;
}
#sidebar-categories .nav-item:not(.lev1) a{
    color: var(--dark-color) !important;
}
#sidebar-categories .nav-item:not(.lev1) a:before{
    content: "__ ";
    position: relative;
    top: -0.4rem;
}
#sidebar-categories .nav-item:not(.lev1) a:hover{
    font-weight: 500;
}
#sidebar-categories .nav-item.lev2{
    background-color: #EFF0F0;
}
#sidebar-categories .nav-item.lev3,#sidebar-categories .nav-item.lev4{
    background-color: #DADDE0;
}
#sidebar-categories .nav-item i{
    padding-left: .75rem;
    padding-right: .75rem;
    cursor: pointer;
}
#sidebar-categories .nav-item a:hover{
    background-color: var(--primary-variant-grey);
}
#sidebar-categories ul li ul li i, #sidebar-categories ul li ul li a{
   padding-left: 1.25rem !important;
}
#sidebar-categories ul li ul li ul li i, #sidebar-categories ul li ul li ul li a{
    padding-left: 1.75rem !important;
}
#sidebar-categories .opensub{
    transition: all 0.3s;    
}
#sidebar-categories .opensub:not(.collapsed){
    transform: rotate(90deg);
    transform-origin: 40% 40%;    
}
/* .toggle-collapse{
    transition: all 0.3s;
}
.toggle-collapse:not(.collapsed){
    transform: rotate(90deg);
    transform-origin: 40% 40%;
} */
.toggle-collapse {
    cursor:pointer;
}
.toggle-collapse .arrow-collapse{
    transition: all 0.3s;
}
.toggle-collapse:not(.collapsed) .arrow-collapse{
    transform: rotate(90deg);
    transform-origin: 40% 40%;
}
.hover-shadow{
    transition: all .3s;
}
.hover-shadow:hover{
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
}
.compare-th{
    /* background-color: #e5e5e5; */
    border-bottom: 1px solid var(--dark-color);
}
.compare-td:not(:last-child){
    border-right: 1px solid var(--dark-color);
}
/* .btn-pill{
    border-radius: 1rem;
} */
.btn-primary {
    color: var(--light-color) !important;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary.disabled {
    color: var(--dark-color) !important;
    background-color: var(--primary-variant-grey);
    border-color: var(--primary-variant-grey);
}
.btn-primary.disabled svg {
    fill: var(--dark-color);
}
.btn-primary svg{
    fill: var(--light-color);
}
.btn-primary:hover, .btn-primary:focus {
    color: var(--light-color);
    background-color: var(--primary-variant-color);
    border-color: var(--primary-variant-color);
}
.btn-compare{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0rem;
    text-transform: uppercase;
    font-weight: 300;
    color: #666;
    font-size: 0.8rem;
}
.btn-compare svg{
    fill: #666;
    position: relative;
    top: -0.1rem;
}
.btn-compare.active{
    color: var(--primary-color);
}
.btn-compare.active svg{
    fill: var(--primary-color);
}
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.px-2-3 {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
}


.text-gray{
    color: #666 !important;
}

.cap{
    text-transform: uppercase !important;
}


.nav-link{
    font-size: 14px !important;
}

.btn-bg-white{
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.btn-bg-white:hover , .btn-brown:active{
    border: 1px solid var(--primary-color);
    color: white !important;
    background-color: var(--primary-color);
}

.btn-brown{
    border: 1px solid var(--primary-color);
    color: white !important;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-brown:hover , .btn-brown:active{
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
    background-color: transparent;
}

.btn-light{
    border: 1px solid white;
    color: white !important;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-light:hover , .btn-light:active{
    border: 1px solid var(--primary-color);
    color: white !important;
    background-color: var(--primary-color);
}

.video-wrapper {
    height: 100%;
    overflow: hidden;
}

  @media (max-width:900px) {
    .video-wrapper {
    overflow: hidden;
    }
}

.video-wrapper video {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.bg-light-brown{
    background-color: rgba(140, 113, 76, 0.15);
}

.underline {
    text-decoration: underline !important;
    text-underline-offset: 4px; 
    text-decoration-thickness: 0.5px !important;

}


.titolo{
    font-family: 'Cormorant Garamond Bold';
    
}

.titolo-light{
    font-family: 'Cormorant Garamond Light';
}

.text-brown{
    color: var(--primary-color) !important;
}

.fs-1{
    line-height: 3rem;
}

  .video-title {
    bottom: 45%;
    right: 37%;
    color: white;
    font-size: 24px;
    z-index: 2;
    position: absolute;
}

.text-big{
    font-size: calc(2.375rem + 2.5vw) !important;
    line-height: 90px;
}

@media (max-width: 768px) {
  .video-title {
    bottom: 40%;
    right: 50%;
    transform: translateX(50%);
    text-align: center;
  }

  .text-big{
    font-size: calc(1.375rem + 1.5vw) !important;
  }

  .fs-1{
        line-height: 2rem;
  }
}


.bg-black{
    background-color: #1D1D1D !important;
}

.p-footer{
    font-size: 13px;
}




.gallery-wrap {
  display: flex;
  flex-direction: row;
  width: 100%;
  height:45vh;
}

.item {
  flex: 1;
  height: 100%;
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex 0.8s ease;
}

.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); 
  opacity: 1; 
  z-index: 1;
  transition: opacity 0.3s ease;
}

.item:hover {
  flex: 7;
}

.item div {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center !important;
  font-family: 'Cormorant Garamond Bold';
  pointer-events: none;
}

.item:hover div {
  opacity: 1;
}


.gallery-wrap:not(:has(.item:hover)) .item-4 {
  flex: 7;
}

.gallery-wrap:not(:has(.item:hover)) .item-4::before {
  opacity: 1;
}

.gallery-wrap:not(:has(.item:hover)) .item-4 div {
  opacity: 1;
}

.card .card-btn {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s; 
}

.card:hover .card-btn {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s 0s; 
}

.fs-big {
    font-size: clamp(1rem, 4vw + 1rem, 5rem) !important;
    line-height: 1.2;
    overflow: hidden;
}
.card-img-overlay {
    overflow: hidden;
}

@media (max-width: 768px) {
    .fs-big {
        font-size: 2.5rem !important; /* Testo più piccolo su mobile */
    }
}

@media (min-width: 900px) {
    .border-right-resp{
    border-right: 1px solid white;
}

.border-right-brown-resp{
    border-right: 1px solid var(--primary-color);
}
}





.image-container {
	display: grid;
	place-items: center;
	height: auto;
}
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.fade-animation-block {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden; /* aggiunto */
	box-sizing: border-box;
}

.fade-animation-block ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.fade-animation-block > ul {
	display: grid;
	grid-template-columns: repeat(6, 1fr); /* più sicuro di percentuali */
	grid-template-rows: auto auto auto; /* corretto */
	column-gap: 14px;
	row-gap: 14px;
	padding-left: 0 !important;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	grid-template-areas:
		"large large . . . ."
		"large large . . large-last large-last"
		". . . . large-last large-last";
	box-sizing: border-box;
}

.fade-animation-block > ul > li:first-child {
	grid-area: large;
}

.fade-animation-block > ul > li:last-child {
	grid-area: large-last;
}

  @media (max-width: 768px) {
    .fade-animation-block > ul {
        display: grid;
        grid-template-columns: 1fr 1fr !important; /* Due colonne su mobile */
        grid-template-areas: none; /* Disattiva le aree custom */
        column-gap: 10px;
        row-gap: 10px;
    }

    .fade-animation-block > ul > li {
        grid-area: auto !important; /* Resetta tutte le aree */
    }

    .fade-animation-block > ul > li img {
        width: 100%;
        height: auto;
        display: block;
    }
}

.img-carosello {
	position: relative;
	padding-bottom: 88.81%;
	box-sizing: border-box;
}

.img-carosello img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.extra-bold{
    font-family: 'Poppins Extra Bold';
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: none;
    background-color: rgba(140, 113, 76, 0.15) !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(140, 113, 76, 0.15) !important;
}

.accordion-button {
    position: relative;
    padding-right: 40px;  
}

.accordion-button::after {
    content: "";
    position: absolute;
    right: 16px; 
    top: 50%;  
    transform: translateY(-50%); 
    width: 35px;
    height: 35px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s ease, background-image 0.3s ease;  
}



.blog-img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
}

.blog-card{
    border-radius: 1rem;
min-height: 600px;
}

.altezza-card .blog-card{
border-radius: 1rem;
min-height: 400px !important;
}

.bg-gradient-overlay {
background: rgba(0, 0, 0, 0.3); /* Velo uniforme */
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 1rem;
z-index: 2;
}

.altezza-card-last {
    min-height: 180px;
    border-radius: 3em;
}

@media (max-width: 900px) {
  .is-home .show {
    background-color: rgba(0, 0, 0, 0.72);
    padding: 1rem;
    color: white;
    border-radius: 0.5rem;
  }
}

.pt-navbar {
  margin-top: 110px !important; 
}


 .bg-white-smart{
    background-color: white;
   }

.lh-fix{
    line-height: 0;
}

@media (max-width: 900px){
  .position-c {
    position: absolute;
    margin-left: -11% !important;
    top: 45% !important;
  }

   .bg-white-smart{
    background-color: rgb(255 255 255 / 75%);
   }
   

  .position-c-rev {
    position: absolute;
    margin-left: -17% !important;
    top: -15% !important;
  }  

  .lh-fix{
    line-height: 1.3 !important;
}

}


.btn-w-hov {
    transition: all 0.3s ease;
}

.btn-w-hov:hover {
    color: white !important;
    background-color: var(--primary-color) !important;
    border: 1px solid white !important;
}

.btn-t-hov {
    transition: all 0.3s ease;
}

.btn-t-hov:hover {
    color: white !important;
    background-color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
}

.btn-b-hov {
    transition: all 0.3s ease; 
}

.btn-b-hov:hover {
    color: white !important;
    background-color: transparent !important;
    border: 1px solid white !important;
}

.btn-d-hov {
    transition: all 0.3s ease; 
}

.btn-d-hov:hover {
    color: var(--primary-color)!important;
    background-color: white !important;
    border: 1px solid var(--primary-color) !important;
}

    @media (min-width: 992px) {
  .rounded-lg-pill {
    border-radius: 50rem !important;
  }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white !important;
    padding: 6px 12px;
    border-radius: 20%;
    font-size: 18px;
    z-index: 9999;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.dropdown-item:hover, .dropdown-item:focus {
  color: black;
  background-color: transparent !important;
}