/* custom.css */
body {
    font-family: 'Helvetica Neue', sans-serif;
}

header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

header nav a:hover {
    text-decoration: underline;
}

footer {
    font-size: 0.9rem;
}

.display-2,.display-5,.titolo-blog,.item-title,.item-subtitle
{
color: #115E7A !important;
}
#content1-c h3,#content1-z h3,#content1-16 h3 {
color:white !important;}
#footer6-v
{
background-color: #115E7A;
}


/* INIZIO CAROUSEL */
.custom-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.custom-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.custom-carousel-item {
    flex: 0 0 calc(100% / 3 - 16px);
    scroll-snap-align: start;
    box-sizing: border-box;
}

.custom-carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* Bottoni */
.custom-carousel-prev,
.custom-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
}

.custom-carousel-prev { left: 10px; }
.custom-carousel-next { right: 10px; }

/* Responsive */
@media (max-width: 991.98px) {
    .custom-carousel-item {
        flex: 0 0 calc(100% / 2 - 16px);
    }
}

@media (max-width: 575.98px) {
    .custom-carousel-item {
        flex: 0 0 100%;
    }
}
/* FINE CAROUSEL*/

#cookie-banner {position: fixed; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; z-index: 99999;}
#cookie-banner[hidden]{display:none;}
.cookie-box {max-width: 720px; width: 92%; background: #fff; color: #222; border-radius: 14px; padding: 20px 22px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial;}
.cookie-row {display: flex; gap: 10px; align-items: center; margin: 10px 0;}
.cookie-actions {display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap;}
.cookie-actions button {padding: 10px 14px; border-radius: 8px; border: 1px solid #ddd; cursor: pointer; background: #f8f8f8;}
#btn-accept {background: #0b6; color: #fff; border-color: #0b6;}
#btn-decline {background: #eee;}
#btn-customize {background: #fff;}
.sr-only {position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,1px,1px); white-space:nowrap; border:0;}


.titolo_servizio{
font-weight:bold;
}
.icona_servizi{
color:#115E7A !important;
}

.object-fit-cover {
    object-fit: cover;
}

.testcustomcss {
font-size:25px;
}

.link-footer{
color:white;
font-weight:bold;
}

.cont-footer p{
font-size:15px;
}

.titolo-blog{
font-family: "Jost", sans-serif;
font-weight: bold;
}

.sottotitolo-blog{
font-family: "Jost", sans-serif;

}

.button-blu{
background-color:#115e7a !important;
color:white !important;
border-color: #115e7a !important;
text-transform:uppercase;
}

.button-white{
background-color:white !important;
color:#115e7a !important;
border-color: #115e7a !important;
text-transform:uppercase;
}

.dropdown-item:hover{
background:#115e7a !important;
color:white !important;
}

.bg-grigio{
background-color:#fafafa !important;
}

.text-white:hover {
text-decoration: none !important;
}
.article-content p{
line-height:1.3em !important;
}

.cid-uSl8EW6LL0 .navbar.navbar-short .navbar-logo img {
    height: 4.5rem !important;
}

/* Rimuove ombre e bordi dal dropdown menu */
.dropdown-menu {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Rimuove bordi bottom tra le voci */
.dropdown-menu .dropdown-item {
  border-bottom: none !important;
}

/* Facoltativo: rimuove padding e margini extra */
.dropdown-menu {
  padding: 0 !important;
  margin: 0 !important;
}

#terapie-avanzate {
  width: 100%;
}

@media (min-width: 768px) {
  #terapie-avanzate {
    width: 60%;
  }
}

#header5-k video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover;
  max-width: 100%;
  overflow-x: hidden;
}

.user_image{display:none;}

:root {
  --bs-blue: #115e7a !important;     /* nuovo blu */
  --bs-primary: #115e7a !important;  /* stesso valore se vuoi mantenere coerenza */
}

.btn-primary:hover{
color: #115e7a !important;
    background-color: #fff !important;
    border-color: #2150a5 !important;
}

#menu3-m > nav > div > div.navbar-brand > span > a > img {
height: 6rem !important;
padding-top:10px;
padding-bottom:10px;
  }

@media (max-width: 991px) {
  #menu3-m > nav > div > div.navbar-brand > span > a > img {
    height: 5rem !important;
padding-top:10px;
padding-bottom:10px;
  }
}

.text-primary{
color: #115e7a  !important;
}

.mbr-iconfont{
color: #115e7a  !important;
}

.cont-footer .mbr-iconfont{
color: white  !important;
}

.link-footer:hover{
color: #115e7a  !important;
}

.submit-button:hover{
background: #115e7a  !important;
}