/* =========================================
   FISIOTEAM SARZANA - HEADER SHOP ISLE
   VERSIONE UNIFICATA DESKTOP E MOBILE
   ========================================= */

/* HEADER DESKTOP E MOBILE */
nav.navbar.navbar-custom,
body.home .navbar-transparent {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 12px rgba(24,63,67,0.08) !important;
}

/* LOGO */
.navbar-custom .navbar-brand {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 12px !important;
    color: #183f43 !important;
}

.navbar-custom .navbar-brand img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-height: 65px !important;
    max-width: 260px !important;
    object-fit: contain !important;
}

/* MENU DESKTOP */
.navbar-custom .nav li > a {
    color: #183f43 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    background: transparent !important;
    transition: color .2s ease;
}

.navbar-custom .nav li > a:hover,
.navbar-custom .nav li.active > a {
    color: #47776b !important;
    background: transparent !important;
}

/* MENU A TENDINA */
.navbar-custom .sub-menu a {
    background: #ffffff !important;
    color: #183f43 !important;
    letter-spacing: normal !important;
}

.navbar-custom .sub-menu a:hover {
    background: #edf3ef !important;
    color: #47776b !important;
}

/* PULSANTE CONTATTI */
.navbar-custom .nav li > a[href*="contatti"] {
    background: #183f43 !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    padding: 12px 20px !important;
}

.navbar-custom .nav li > a[href*="contatti"]:hover {
    background: #47776b !important;
    color: #ffffff !important;
}

/* ICONA MENU MOBILE */
.navbar-custom .navbar-toggle {
    border: 1px solid #183f43 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
}

.navbar-custom .navbar-toggle .icon-bar {
    background: #183f43 !important;
}

/* MENU MOBILE */
@media screen and (max-width: 767px) {

    .navbar-custom .navbar-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 90px !important;
        height: auto !important;
        overflow: visible !important;
    }

    .navbar-custom .navbar-brand {
        display: flex !important;
        align-items: center !important;
        float: none !important;
        height: auto !important;
        max-width: calc(100% - 75px) !important;
        padding: 8px 10px !important;
        margin: 0 !important;
    }

    .navbar-custom .navbar-brand img {
        max-width: 100% !important;
        max-height: 76px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .navbar-custom .navbar-toggle {
        float: none !important;
        flex: 0 0 44px !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 12px !important;
        padding: 9px !important;
    }

    .navbar-custom .navbar-collapse {
        background: #ffffff !important;
        border-top: 1px solid #edf3ef !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
        position: relative !important;
        z-index: 9999 !important;
    }

    .navbar-custom .navbar-nav {
        margin: 5px 0 12px !important;
    }

    .navbar-custom .navbar-nav > li > a {
        display: block !important;
        color: #183f43 !important;
        background: #ffffff !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        letter-spacing: normal !important;
        text-transform: none !important;
        line-height: 1.5 !important;
        padding: 15px 20px !important;
        border-bottom: 1px solid #edf3ef !important;
    }

    .navbar-custom .navbar-nav > li > a:hover {
        color: #47776b !important;
        background: #edf3ef !important;
    }

    .navbar-custom .navbar-nav > li > a[href*="contatti"] {
        display: block !important;
        margin: 12px 15px !important;
        padding: 13px 20px !important;
        text-align: center !important;
        border-radius: 7px !important;
        background: #183f43 !important;
        color: #ffffff !important;
    }

    .navbar-custom .navbar-nav > li > a[href*="contatti"]:hover {
        background: #47776b !important;
        color: #ffffff !important;
    }
}

/* FISIOTEAM - MENU MOBILE DEFINITIVO */
@media screen and (max-width: 767px) {

  /* Menu sotto la barra del logo */
  .navbar-custom .navbar-collapse,
  .navbar-custom .navbar-collapse.in {
    display: block;
    position: relative !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: 0 8px 18px rgba(24,63,67,.08) !important;
    padding: 0 15px 15px !important;
    overflow: visible !important;
  }

  /* Contenitore delle voci */
  .navbar-custom .navbar-nav {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  .navbar-custom .navbar-nav > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    background: #ffffff !important;
    margin: 0 !important;
  }

  /* Testo delle voci */
  .navbar-custom .navbar-nav > li > a {
    display: block !important;
    width: 100% !important;
    padding: 15px 18px !important;
    color: #183f43 !important;
    background: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    line-height: 1.4 !important;
    border-bottom: 1px solid #edf3ef !important;
    border-radius: 0 !important;
  }

  .navbar-custom .navbar-nav > li > a:hover {
    color: #47776b !important;
    background: #edf3ef !important;
  }

  /* Pulsante Contatti */
  .navbar-custom .navbar-nav > li > a[href*="contatti"] {
    display: block !important;
    margin: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    background: #183f43 !important;
    border-radius: 8px !important;
  }

  /* Sottomenu */
  .navbar-custom .sub-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    background: #f7f6f1 !important;
    box-shadow: none !important;
  }

  .navbar-custom .sub-menu a {
    color: #183f43 !important;
    background: #f7f6f1 !important;
    padding: 12px 28px !important;
  }
}

/* FISIOTEAM - MENU MOBILE A TUTTA LARGHEZZA */
@media screen and (max-width: 767px) {

  nav.navbar.navbar-custom {
    position: relative !important;
    overflow: visible !important;
  }

  nav.navbar.navbar-custom .navbar-collapse,
  nav.navbar.navbar-custom .navbar-collapse.in {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 10px 18px 20px !important;
    background: #ffffff !important;
    border: 0 !important;
    box-shadow: 0 8px 18px rgba(24,63,67,.12) !important;
    z-index: 99999 !important;
    float: none !important;
  }

  nav.navbar.navbar-custom .navbar-collapse .navbar-nav {
    display: block !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
  }

  nav.navbar.navbar-custom .navbar-collapse .navbar-nav > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
  }

  nav.navbar.navbar-custom .navbar-collapse .navbar-nav > li > a {
    display: block !important;
    width: 100% !important;
    padding: 15px 12px !important;
    color: #183f43 !important;
    background: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: normal !important;
    text-align: left !important;
    border-bottom: 1px solid #edf3ef !important;
  }

  nav.navbar.navbar-custom .navbar-collapse .navbar-nav > li > a[href*="contatti"] {
    margin: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
    color: #ffffff !important;
    background: #183f43 !important;
    border-radius: 8px !important;
  }
}

/* FISIOTEAM - RIPRISTINO APERTURA E CHIUSURA MENU */
@media screen and (max-width: 767px) {

  /* Menu chiuso */
  .navbar-custom .navbar-collapse.collapse:not(.in) {
    display: none !important;
  }

  /* Menu aperto */
  .navbar-custom .navbar-collapse.collapse.in {
    display: block !important;
  }

  /* Durante l'apertura e la chiusura */
  .navbar-custom .navbar-collapse.collapsing {
    display: block !important;
    overflow: hidden !important;
  }
}

/* TESTO MENU A TENDINA - SOLO DESKTOP */
@media screen and (min-width: 992px) {

  .navbar-nav ul.dropdown-menu li a,
  .navbar-nav ul.sub-menu li a,
  .main-navigation ul ul li a {
    color: #ffffff !important;
  }

  .navbar-nav ul.dropdown-menu li a:hover,
  .navbar-nav ul.sub-menu li a:hover,
  .main-navigation ul ul li a:hover {
    color: #ffffff !important;
  }

}


/* =========================================
   FISIOTEAM - NUOVO FOOTER
   Shop Isle - stile coordinato
   ========================================= */

/* Sfondo generale */
#colophon,
.site-footer,
.footer,
.footer-widgets {
  background: #183f43 !important;
  color: #edf3ef !important;
}

/* Spaziatura delle colonne */
#colophon .container,
.site-footer .container,
.footer-widgets .container {
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 35px !important;
  padding-right: 35px !important;
}

#colophon .widget,
.site-footer .widget,
.footer-widgets .widget {
  margin-bottom: 28px !important;
}

/* Titoli delle quattro colonne */
#colophon .widget-title,
.site-footer .widget-title,
.footer-widgets .widget-title {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  letter-spacing: .5px;
  text-transform: none !important;
  margin-bottom: 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(237,243,239,.22);
}

/* Testi */
#colophon,
#colophon p,
#colophon li,
.site-footer,
.site-footer p,
.site-footer li,
.footer-widgets,
.footer-widgets p,
.footer-widgets li {
  color: #dce8e2 !important;
  font-size: 14px !important;
  line-height: 1.9 !important;
}

/* Collegamenti */
#colophon a,
.site-footer a,
.footer-widgets a {
  color: #edf3ef !important;
  text-decoration: none !important;
  transition: color .2s ease, padding-left .2s ease;
}

#colophon a:hover,
.site-footer a:hover,
.footer-widgets a:hover {
  color: #a9cbb9 !important;
  text-decoration: none !important;
}

/* Elenchi più ordinati */
#colophon ul,
.site-footer ul,
.footer-widgets ul {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

#colophon li,
.site-footer li,
.footer-widgets li {
  margin-bottom: 7px !important;
}

/* Icone social */
#colophon .social-icons a,
.site-footer .social-icons a,
.footer-widgets .social-icons a,
#colophon .social-links a,
.site-footer .social-links a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 4px 7px 4px 0 !important;
  transition: opacity .2s ease, transform .2s ease;
}

#colophon .social-icons a:hover,
.site-footer .social-icons a:hover,
.footer-widgets .social-icons a:hover,
#colophon .social-links a:hover,
.site-footer .social-links a:hover {
  opacity: .75;
  transform: translateY(-2px);
}

/* Area inferiore e copyright */
#colophon .site-info,
.site-footer .site-info,
.footer-bottom {
  background: #123538 !important;
  color: #dce8e2 !important;
  border-top: 1px solid rgba(237,243,239,.15);
  text-align: center;
  padding: 18px 15px !important;
  font-size: 13px !important;
}

/* Rimuove sfondi bianchi interni ai widget */
#colophon .widget,
.site-footer .widget,
.footer-widgets .widget {
  background: transparent !important;
}

/* Smartphone: colonne ordinate e leggibili */
@media (max-width: 767px) {
  #colophon .container,
  .site-footer .container,
  .footer-widgets .container {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  #colophon .widget-title,
  .site-footer .widget-title,
  .footer-widgets .widget-title {
    font-size: 18px !important;
  }

  #colophon .widget,
  .site-footer .widget,
  .footer-widgets .widget {
    margin-bottom: 25px !important;
  }
}
/* FOOTER FISIOTEAM – VERDE PETROLIO */
#colophon,
footer#colophon,
.site-footer,
#colophon .footer-widgets,
#colophon .footer-widget-area,
#colophon .footer-sidebar,
#colophon .widget-area {
    background-color: #183f43 !important;
}

/* Testi */
#colophon,
#colophon p,
#colophon li,
#colophon address {
    color: #edf3ef !important;
}

/* Titoli delle colonne */
#colophon .widget-title,
#colophon h2,
#colophon h3,
#colophon h4 {
    color: #ffffff !important;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Link */
#colophon a {
    color: #d2e2da !important;
    transition: color .2s ease;
}

#colophon a:hover {
    color: #ffffff !important;
}

/* Spaziatura */
#colophon .widget {
    margin-bottom: 30px;
}

#colophon .widget ul {
    line-height: 1.8;
}

/* Icone social */
#colophon .social-icons a,
#colophon .social-links a {
    color: #d2e2da !important;
}

@media (max-width: 767px) {
    #colophon .widget {
        margin-bottom: 25px;
    }
}
/* FISIOTEAM - FOOTER SHOP ISLE */

/* Sfondo delle quattro colonne */
.bottom-page-wrap .module-small.shop_isle_footer_sidebar,
.bottom-page-wrap .module-small.bg-dark.shop_isle_footer_sidebar {
    background-color: #183f43 !important;
    background: #183f43 !important;
}

/* Testi */
.bottom-page-wrap .shop_isle_footer_sidebar,
.bottom-page-wrap .shop_isle_footer_sidebar p,
.bottom-page-wrap .shop_isle_footer_sidebar li {
    color: #edf3ef !important;
}

/* Titoli */
.bottom-page-wrap .shop_isle_footer_sidebar h2,
.bottom-page-wrap .shop_isle_footer_sidebar h3,
.bottom-page-wrap .shop_isle_footer_sidebar h4,
.bottom-page-wrap .shop_isle_footer_sidebar .widget-title {
    color: #ffffff !important;
}

/* Collegamenti */
.bottom-page-wrap .shop_isle_footer_sidebar a {
    color: #d2e2da !important;
}

.bottom-page-wrap .shop_isle_footer_sidebar a:hover {
    color: #ffffff !important;
}

/* Fascia inferiore */
.bottom-page-wrap > footer.footer,
.bottom-page-wrap footer.footer.bg-dark {
    background: #123538 !important;
    background-color: #123538 !important;
    color: #edf3ef !important;
}

.bottom-page-wrap > footer.footer a {
    color: #d2e2da !important;
}
/* FISIOTEAM - RIQUADRO FACEBOOK NEL FOOTER */

/* Angoli arrotondati e ombra delicata */
.bottom-page-wrap .shop_isle_footer_sidebar .fb-page,
.bottom-page-wrap .shop_isle_footer_sidebar .fb-page iframe,
.bottom-page-wrap .shop_isle_footer_sidebar iframe {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Spazio e ordine del riquadro */
.bottom-page-wrap .shop_isle_footer_sidebar .fb-page {
    max-width: 100% !important;
    margin-top: 8px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 5px 18px rgba(0,0,0,.18) !important;
}

/* Titolo Facebook */
.bottom-page-wrap .shop_isle_footer_sidebar .widget-title {
    letter-spacing: 1.2px !important;
}

/* Icone social più distanziate */
.bottom-page-wrap .shop_isle_footer_sidebar .social-icons a,
.bottom-page-wrap .shop_isle_footer_sidebar .social-links a {
    margin-right: 9px !important;
}

/* FISIOTEAM - RIPRISTINO ICONE SOCIAL JETPACK */

.bottom-page-wrap .widget_jetpack_social_icons,
.bottom-page-wrap .jetpack_widget_social_icons {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bottom-page-wrap .widget_jetpack_social_icons ul,
.bottom-page-wrap .jetpack_widget_social_icons ul,
.bottom-page-wrap ul.jetpack-social-widget-list {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 12px 0 !important;
    list-style: none !important;
}

.bottom-page-wrap .widget_jetpack_social_icons li,
.bottom-page-wrap .jetpack_widget_social_icons li,
.bottom-page-wrap .jetpack-social-widget-item {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
}

.bottom-page-wrap .widget_jetpack_social_icons a,
.bottom-page-wrap .jetpack_widget_social_icons a,
.bottom-page-wrap .jetpack-social-widget-item a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #edf3ef !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bottom-page-wrap .jetpack-social-widget-item svg {
    display: block !important;
    width: 27px !important;
    height: 27px !important;
    fill: currentColor !important;
}