 

/* Slider Parallax */
.box-slider-parallax {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 3rem;
  padding:6rem 2rem;
  background: #111;
}

.box-slider-parallax__media {
  position: absolute;
  inset: -10% 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transform: translate3d(0, 0, 0) scale(1.08);
  transition: transform 120ms linear;
  will-change: transform;
}

.box-slider-parallax__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
 /* Il pattern (PNG) sopra, il gradiente sotto */
  background: 
    url('../images/dot.png') repeat, 
    linear-gradient(110deg, rgba(8, 12, 18, 0.12) 8%, rgba(8, 12, 18, 0.6) 38%, rgba(8, 12, 18, 0.15) 68%, rgba(8, 12, 18, 0.12) 100%);
    
  opacity: 1;
}

.box-slider-parallax__content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(2rem, 6vw, 5rem);
  padding-bottom: clamp(1rem, 3vw, 3rem);
}

.box-slider-parallax__inner {
  width: 100%;
  max-width: min(1100px, 90%);
  margin:auto;
}

.box-slider-parallax__title {
  margin: 0;
  font-family: var(--heading-text-font);
 
 
}

.box-slider-parallax  h1{  color: #fff;text-transform: uppercase;
  font-size: 3rem; font-weight:bolder;
}

.box-slider-parallax  h2{color: #fff; 
  font-size: 1.9rem; font-weight:lighter;
}



.box-slider-parallax__caption a{
font-size: 1.2rem; 
font-weight:bold;
 text-decoration: none;
  background:var( --default-company-color);
  color:#fff;
  padding:1rem 1rem;
  text-align: center;
  border-radius: 8px;  text-transform: uppercase;
}



.box-slider-parallax__caption > *:first-child {
  margin-top: 0;
}

.box-slider-parallax__caption > *:last-child {
  margin-bottom: 0;
}

 
.box-slider-parallax__caption p {
  margin-bottom: 0.65em;
}

 

.box-slider-parallax__actions {
  margin: 1rem 0 0;
}

.box-slider-parallax__cta {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 767px) {

.box-slider-parallax__inner {
  max-width: 80%;
}


.box-slider-parallax  h1{   
  font-size: 2rem; 
}
.box-slider-parallax  h2{ 
  font-size: 1.3rem; 
}

.box-slider-parallax__caption a{
font-size: 0.9rem; padding:0.5rem 1rem;
}




  .box-slider-parallax:not(.box-slider-parallax--custom-height) {
    border-radius: var(--border-radius);
    min-height: 340px;
  }

  .box-slider-parallax__media {
    inset:  0;
  }

  .box-slider-parallax__overlay {
    background: linear-gradient(180deg, rgba(8, 12, 18, 0.8) 0%, rgba(8, 12, 18, 0.42) 28%, rgba(8, 12, 18, 0.58) 100%);
  }

  .box-slider-parallax__inner {
    border-radius: 0.8rem;
  }
}


@media (prefers-reduced-motion: reduce) {
  .box-slider-parallax__media {
    transition: none;
  }
}



@media (max-width: 500px) {

#site-menu .quick-access {
    gap: 7px;
}


select.form-control {

    padding-inline-end: 2em !important;
     padding-inline-start: 0.5em !important;
}



.box-slider-parallax__inner {
  max-width: 85%;
}

.box-slider-parallax {
  
  margin-bottom: 2rem;
  padding:3rem 1em;
  background: #111;
}

 .box-slider-parallax__caption a{
font-size: 0.8rem; 
text-wrap: unset;
}

 
}
