/*
Theme Name: Kimera Theme
Author: Gianpaolo Buono Web
Version: 1.0
*/

input.fit-the-fullspace {
    display: none;
}

:focus {
  outline: 1px solid orange;
}
html {
    margin-top: 0 !important;
}

body {
  overflow: auto;
  scrollbar-width: 0;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge legacy */
  font-size: 21px;
}

body::-webkit-scrollbar {
  display: none;    
   width: 0;
  height: 0;                /* Chrome, Safari */
}

body {
  width: 100%;
  height: 100%;
  background: white;
  font-family: "Quicksand", sans-serif;
  color: black;
}
h1,h2,h3,h4,h5, p, quote, blockquote{
  font-family:'Saira',sans-serif;
  color: #000;
}
p, quote {
  font-family:'Quicksand',sans-serif;
  color: #000;
}
a{
  text-decoration:none;
}

a:hover{
  opacity:.8;
}

.logo{
  font-family:'Saira',sans-serif;
  letter-spacing:6px;
  margin-bottom: 0;
  padding-bottom: 0;
}
.pointer-none {
  pointer-events: none;
}
.main-menu{
  text-align:center;
  /* background-color: #d53353; */
  background-color: #ac0b2a;
  padding-top: 7px;
  padding-bottom: 7px;
}
.navbar-nav.menu {
  list-style: none;
  flex-direction: row;
  justify-content: center;
  margin-top: 0;
}

.navbar-nav.menu .nav-item {
  margin: 0 15px;
}

.menu .nav-link {
  font-family: 'Anta', sans-serif;
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 600;
}

/* FONT MENU */
.menu .nav-link,
.dropdown-item {
  font-family: 'Anta', sans-serif;
}

/* LINK MENU */
.menu .nav-link {
  color: #ffffff !important;
  text-transform: uppercase;
  font-weight: 600;
  /* font-size: 14px; */
  font-size: 16px;
  padding: 10px 18px;
  transition: color 0.3s ease;
}

/* HOVER */
.menu .nav-link:hover,
.menu .nav-link:focus {
  color: #4da3ff !important;
}

@media (min-width: 1199.98px) {
  .navbar-nav.menu {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  
  .submenu {
    display: none;
  }

  .submenu-toggle {
    display: none;
  }

  .navbar-nav.menu .nav-item {
    margin: 0 15px;
  }
}

@media (max-width: 1199.98px) {
 .navbar-nav.menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .logo img {
    width: 77px;
  }
  .nav-item {
    width: 100%;
  }

  /* contenitore voce principale */
  .menu-item {
    display: flex;
    align-items: center;
    width: 100%;
  }

  /* LINK */
  .menu .nav-link {
    flex: 1;
    text-align: left;
    padding: 12px 16px;
    font-family: 'Anita', sans-serif;
    text-transform: uppercase;
    color: #fff !important;
  }

  /* FRECCETTA */
  .submenu-toggle {
    width: 36px;
    height: 36px;
    margin-right: 10px;
    border: 1px solid #fff;
    background: transparent;
    position: relative;
    cursor: pointer;
  }

  .submenu-toggle::after {
    content: "▾";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  /* SUBMENU */
  .submenu {
    display: none;
    padding-left: 20px;
  }

  .submenu li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    text-transform: uppercase;
    color: #ccc;
  }

  /* APERTO */
  .nav-item.open > .submenu {
    display: block;
  }

  .nav-item.open .submenu-toggle::after {
    transform: translate(-50%, -50%) rotate(180deg);
  }
}
.main-menu a:hover
 {
    border-color: #8d1229;
    border-bottom-color: transparent;
}
.main-menu a {
  margin:0 4px;
  font-size: 18px;
  font-family:'Anta',sans-serif;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.nav-link:focus-visible {
    box-shadow: 0;
}
.hamburger{
  background:none;
  border:none;
  color:#000;
  font-size:32px;
}

@media(max-width:1199.98px){
  .main-menu{display:none}
  .main-menu.active{display:block}
}

.icon-text{
  display:flex;
  align-items:center;
  gap:8px;
}

.form-control {
  height: 48px;
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0.535);
}
.form-check {
  color: #000;
}
.form-check-input {
  border-color: rgba(0, 0, 0, 0.535);
  width: 16px;
  height: 16px;
}
.formContatti .btn {
  padding: 10px 30px;
  border-radius: 0;
  border-color: rgba(0, 0, 0, 0.535);
  color: #000;
  font-weight: 700;
  transition: all .6s ease;
}
.formContatti .btn:hover {
  border-color: #ac0b2a;
  background: #ac0b2a;
  color: white;
}

.swiper-pagination-bullet-active {
  background-color: white;
}

.swiper-slide{
  background-size:cover;
  background-position:center;
}

.swiper-slide h2 {
  background: rgba(255, 255, 255, 0.426);
  padding-top: 5px;
  padding-bottom: 13px;
  padding-left: 35px;
  padding-right: 15px;
  font-weight: 600;
}

.swiper {
  width: 100%;
  overflow: hidden;
  height: 100%;
}

.swiper-wrapper {
  display: flex;              /* 🔴 ESSENZIALE */
}

.swiper-slide{
  position: relative;   /* ✅ FONDAMENTALE */
  width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.btn{
  background:#fff;
  color:#000;
  display:inline-flex;
  align-items:center;
  /* justify-content:center; */
  gap:10px;
  height: 50px;
  transition:
    background .3s ease,
    color .3s ease;
    border-radius: 0;
}

/* freccia */
.btn-arrow{
  display:inline-block;
  transition:
    transform .25s ease,
    filter .25s ease;
}

/* HOVER */
.btn:hover{
  background:#ac0b2a;      /* nero */
  color:#fff;
}

.btn:hover .btn-arrow{
  transform: translateX(3px);   /* spostamento 3px */
  filter: blur(1px);            /* blur finale */
}


.caption{
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 520px;

  /* background: rgba(0, 0, 0, 0.35); */
  backdrop-filter: blur(10px);     /* 🔥 BLUR */
  -webkit-backdrop-filter: blur(10px);

  /* padding: 24px; */
  z-index: 2;
  border-radius: 4px;
}

.swiper-slide::before{
  content:'';
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.25);
  z-index:1;
}

.cta{
  background:#fff;
  color:#000;
  padding:10px 24px;
  display:inline-block;
  margin-top:10px;
  font-weight:600;
}

.page-hero {
  height: 250px;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
}

.overlay{
  background:rgba(0,0,0,.7);
  height:100%;
  display:flex;
  align-items:center;
}

ul {
  font-size: 1rem;
  margin-top: 1rem;
}
.breadcrumb-custom li {
  list-style-type: none;
  font-size: 14px;
  opacity: .8;
  background: #ac0b2a;
  padding: 5px;
  color: white;
  width: 100%;
  display: inline;
}

.breadcrumb-custom ul {
    padding-left: 0;
}

.object-fit-cover {
  object-fit: cover;
}
.step{
  border:1px solid #000;
  padding:20px;
  margin-bottom:15px;
  color: black;
}

p {
  color: black;
  font-size: 21px
}
/* --- Swiper FIX --- */
.home-slider,
.home-slider .swiper,
.home-slider .swiper-wrapper,
.home-slider .swiper-slide{
  height:490px;
}

.swiper-slide{
  display:flex;
  align-items:flex-end;
}


/* /* =========================
   MOBILE OFF-CANVAS MENU
========================= */
.mobile-menu-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  opacity:0;
  pointer-events:none;
  transition:opacity .3s;
  z-index:998;
}

.mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  width:80%;
  max-width:320px;
  height:100vh;
  background:#000;
  padding:40px 24px;
  transition:right .3s ease;
  /* z-index:999; */
  display:flex;
  flex-direction:column;
  justify-content:space-between;

    width: 100%;
    height: 100dvh;       /* viewport reale su mobile */
    z-index: 1000;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu.active{
  right:0;
}

.mobile-menu-overlay.active{
  opacity:1;
  pointer-events:auto;
}

.close-menu{
  background:none;
  border:none;
  color:#fff;
  font-size:22px;
  align-self:flex-end;
}

.mobile-nav a{
  display:block;
  font-family:'Saira', sans-serif;
  font-size:20px;
  color:#fff;
  margin:16px 0;
}

.mobile-contacts{
  border-top:1px solid rgba(255,255,255,.2);
  padding-top:20px;
}

.mobile-contacts .icon-text{
  font-size:14px;
  opacity:.85;
}

@media(min-width:1200px){
  .mobile-menu,
  .mobile-menu-overlay{
    display:none;
  }
} */

.contact-us a {
  color: black;
}
/* =========================
   MOBILE MENU ENHANCEMENTS
========================= */

/* Glass blur effect */
.mobile-menu{
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Stagger animation */
.mobile-nav a{
  opacity:0;
  transform:translateX(20px);
  transition:opacity .3s ease, transform .3s ease;
}

.mobile-menu.active .mobile-nav a{
  opacity:1;
  transform:translateX(0);
}

.mobile-menu.active .mobile-nav a:nth-child(1){transition-delay:.1s}
.mobile-menu.active .mobile-nav a:nth-child(2){transition-delay:.2s}
.mobile-menu.active .mobile-nav a:nth-child(3){transition-delay:.3s}
.mobile-menu.active .mobile-nav a:nth-child(4){transition-delay:.4s}

.page-hero h2 {
  background: rgba(255, 255, 255, 0.426);
  padding-top: 5px;
  padding-bottom: 13px;
  padding-left: 5px;
  padding-right: 5px;
  display: inline-flex;
  margin-top: 20px;
}

.page-hero .subtitle {
  background: rgba(255, 255, 255, 0.426);
  padding-top: 5px;
  padding-bottom: 13px;
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 20px;
  display: inline-flex;
  font-weight: 800;
}

/* .page-hero .breadcrumb-custom {
  background: rgba(255, 255, 255, 0.426);
  padding-top: 5px;
  padding-bottom: 13px;
  padding-left: 5px;
  padding-right: 5px;
} */


footer {
  /* background: #346575; */
  background: #121212;
  padding: 60px;
}
.footer-copyright {
  padding: 15px;
  border-top: 1px solid #2b2a2a;
}
footer .h4, footer a, footer p {
  color: #fff;
}

footer .h4 {
    margin-bottom: 30px;
    padding-bottom: 30px;
    /* border-bottom: 1px solid #2b2a2a; */
    /* width: 60%; */
}

.footer-menu ul{
  list-style:none;
  padding:0;
  margin:12px 0 0;
}

.footer-menu li{
  margin-bottom:10px;
}

.footer-menu a{
  font-size:16px;
  color:#fff;
  opacity:.85;
  transition:opacity .2s ease;
}

.footer-menu a:hover{
  opacity:1;
}


/* =========================
   MOBILE OFF-CANVAS MENU
   <= 1199.98px
========================= */
@media (max-width: 1199.98px) {

  /* Overlay */
  .mobile-menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    opacity:0;
    pointer-events:none;
    transition:opacity .3s ease;
    z-index:9;
  }

  .mobile-menu-overlay.active{
    opacity:1;
    pointer-events:auto;
  }

  /* Off-canvas menu */
  .mobile-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:80%;
    max-width:430px;
    height:100vh;
    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    padding:40px 24px;
    transition:right .3s ease;
    z-index:10;

    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .mobile-menu.active{
    right:0;
    padding-top: 95px;
  }

  /* Close button */
  .close-menu{
    background:none;
    border:none;
    color:#fff;
    font-size:22px;
    align-self:flex-end;
    padding: 22px 0 40px 8px;
    border-bottom: 1px solid white;
    width: 100%;
    text-align: left;
  }

  /* Menu list */
  .navbar-nav.menu{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    list-style:none;
    padding:0;
    margin:0;
  }

  .navbar-nav.menu .nav-item{
    width:100%;
    margin-left: 0;
  }
  .navbar-nav.menu .nav-item:nth-child(5) {
    border-bottom: 0;
  }
  /* Riga principale */
  .menu-item{
    display:flex;
    align-items:center;
    width:100%;
  }

  .menu .nav-link{
    flex:1;
    padding:12px 16px;
    text-align:left;
    font-family:'Anita', sans-serif;
    text-transform:uppercase;
    color:#fff !important;
    font-size:16px;
  }

  /* Toggle sottomenu */
  .submenu-toggle{
    width:30px;
    height:28px;
    border:1px solid #0a58ca;
    background:transparent;
    cursor:pointer;
    position:relative;
    flex-shrink:0;
  }

 

  /* Submenu */
  .submenu{
    display:none;
    width:100%;
    padding-left:20px;
  }

  .submenu a{
    display:block;
    padding:10px 16px;
    font-size:13px;
    text-transform:uppercase;
    color:#ccc;
  }

  /* Aperto */
  .nav-item.open > .submenu{
    display:block;
  }

  .nav-item.open .submenu-toggle::after{
    transform:translate(-50%, -50%) rotate(180deg);
  }
  .nav-item.open .submenu-toggle::after{
    transform:translate(-50%, -50%) rotate(180deg);
  }

  /* Contacts */
  .mobile-contacts{
    border-top:1px solid rgba(255,255,255,.2);
    padding-top:20px;
  }

  .mobile-contacts .icon-text{
    font-size:14px;
    opacity:.85;
    color:#fff;
  }
}

/* MOBILE MENU SOLO ≤ 1199.98px */
@media (min-width:1200px){
  .mobile-menu,
  .mobile-menu-overlay{
    display:none !important;
  }
}

/* =========================
   MOBILE MENU – FIX LISTE + SUBMENU ANIMATION
========================= */

/* reset liste (principale + annidate) */
.mobile-nav ul,
.mobile-nav li{
  list-style:none;
  margin:0;
  padding:0;
}

/* voci una sotto l’altra */
.mobile-nav .nav-item{
  width:100%;
}

/* riga principale */
.mobile-nav .menu-item{
  display:flex;
  align-items:center;
  width:100%;
}

/* link principale */
.mobile-nav .nav-link{
  flex:1;
  display:block;
  padding:12px 16px;
  text-align:left;
}

/* ---------- SUBMENU ---------- */
.mobile-nav .submenu{
  overflow:hidden;
  max-height:0;
  opacity:0;
  padding-left:16px;

  transition:
    max-height .35s ease,
    opacity .25s ease;
}

/* voci sottomenu */
.mobile-nav .submenu a{
  display:block;
  padding:10px 16px;
  font-size:13px;
  text-transform:uppercase;
  color:#ccc;
}

/* stato aperto */
.mobile-nav .nav-item.open > .submenu{
  max-height:500px; /* valore alto per consentire apertura */
  opacity:1;
}

/* ---------- FRECCETTA ---------- */
.submenu-toggle::after{
  transition:transform .3s ease;
}


/* =========================
   MOBILE MENU – SPACING & GERARCHIA
========================= */

/* reset liste */
.mobile-nav ul,
.mobile-nav li{
  list-style:none;
  margin:0;
  padding:0;
}

/* spazio tra le voci principali */
.mobile-nav .nav-item{
  width:100%;
  border-bottom:1px solid rgba(255,255,255,.12);
}

/* contenitore voce principale */
.mobile-nav .menu-item{
  display:flex;
  align-items:center;
  min-height:52px;              /* altezza coerente */
}

/* link principale */
.mobile-nav .nav-link{
  flex:1;
  display:flex;
  align-items:center;
  padding:14px 16px;            /* 🔥 DISTANZA VERTICALE */
  font-size:16px;
  line-height:1.2;
}

/* freccetta */


/* ---------- SUBMENU ---------- */
.mobile-nav .submenu{
  overflow:hidden;
  max-height:0;
  opacity:0;
  padding-left:20px;
  background:rgba(255,255,255,.03);

  transition:
    max-height .4s ease,
    opacity .25s ease;
}

/* voce sottomenu */
.mobile-nav .submenu li a{
  display:block;
  padding:12px 16px;
  font-size:13px;
  letter-spacing:.5px;
  color:#ccc;
}

/* stato aperto */
.mobile-nav .nav-item.open > .submenu{
  max-height:600px;
  opacity:1;
}

/* rotazione freccia */
 .submenu-toggle::after{
    content:"";
    /* background: url('../img/chevron-blue.png') no-repeat center center; */
    /* background: url('../img/chevron-blue-bg-white.png') no-repeat center center; */
    background: url('https://kimerabio.com/wp-content/themes/kimera-theme/img/chevron.png') no-repeat center center; 
    transform:translate(-50%, -50%); 
    top: 0;
   
    /* background: url('../img/chevron-transparent.png') no-repeat center center;
    transform:translate(0);
    top: 7px; */

    background-size: cover;
    color:#fff;
    font-size:14px;
    position:absolute;
    transition:transform .3s ease;
    bottom: 0;
    left: 0;
    right: 0;
  }
.nav-item.open .submenu-toggle::after{
  transform:translate(-50%, -50%) rotate(180deg);
}

/* .nav-item.open .submenu-toggle::after{
  transform:translate(0) rotate(180deg);
} */

.mobile-menu.active .mobile-nav a:hover {
    background: rgba(0, 0, 0, 0.259);
}


/* =========================
   THUMBNAIL – STILE CAPTION
========================= */

.thumb-card {
  position: relative;
  overflow: hidden;
  height: 250px;
}

/* LINK BLOCCO */
.thumb-card a {
  position: relative;
  display: block;
  height: 100%;
}

/* IMMAGINE */
.thumb-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition:
    transform 1s ease,
    filter 0.6s ease;
}

/* OVERLAY NERO */
.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* nero opaco */

  display: flex;
  align-items: center;
  /* justify-content: center; */

  z-index: 2;
}
.card-overlay:hover {
  background: rgba(0, 0, 0, 0.749); /* nero opaco */
}

/* CONTENUTO */
.card-overlay .box {
  position: relative;
  bottom: 49px;
  left: 15px;
  z-index: 3;
  padding: 1rem 0 1rem 1rem;
  max-width: 80%;
}

/* TESTO SEMPRE NITIDO */
.card-title,
.card-overlay span {
  color: #fff;
}

/* HOVER EFFECT */
.thumb-card:hover img {
  transform: scale(1.5); /* equivalente di background-size:150% */
  filter: blur(10px);
}

/* Titolo sempre visibile */
.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
  z-index: 3;
  transition: all .45s ease;
}

/* Bottone nascosto inizialmente */
.card-overlay .btn {
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  background-color: #fff;
  color: #000;
  border: none;
    display: flex;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Bottone visibile SOLO su hover card */
.thumb-card:hover .btn {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background-color: #ac0b2a;
  color: white;
}

.fixed-height-01 {
  display: block;
  width: 100%;
  max-height: 100px;
  overflow: hidden;
}

.fixed-height-01 img {
  width: 100%;
  height: 100px;        /* altezza fissa */
  object-fit: cover;   /* equivalente di background-size: cover */
  display: block;
}

@media (max-width: 1199.98px) {
  .fixed-height-01 {
    max-height: 250px;
  }
  .fixed-height-01 img {
    height: 250px;
  }        /* altezza fissa */
}

.thumb-card .card-title {
  position: relative;
  padding-bottom: 10px;
}
.btn-red {
  background-color: #ac0b2a;
  color: white;
}
.big-number {
  color: #ac0b2a;
  font-size: 44px;
}
/* LINEA */
.thumb-card .card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 40px;              /* linea corta iniziale */
  height: 2px;
  background-color: #fff;   /* cambia colore se serve */
  transition: width 0.35s ease;
}

/* HOVER SULLA CARD */
.thumb-card:hover .card-title::after {
  width: 100%;
}


/* HEADER STICKY */
/* header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}
   */

body.scrolling header * {
  pointer-events: none;
}

@media (min-width: 1200px) {
  body {
    padding-top: 174px; 
  } 
  header {
    height: 130px;          /* FISSA */
  }
  .pad-scrolled {
    transform: translateY(23px);
  }
}
@media (max-width: 1199.98px) {
  body {
    padding-top: 79px;
  } 
}

header {
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 11;
  width: 100%;
  transition: box-shadow 0.3s ease, background 0.3s ease;
  background: rgba(255, 255, 255, 0.725);
}
/* LOGO BASE */
.logo-img {
  width: 206px;
  transition: all 0.3s ease;
}
.main-menu {
  padding-top: 0;
  padding-bottom: 0;
  height: 4px;
  /* transform: translateY(29px); */
  transform: translateY(24px);
}
/* STATO SCROLL */
header.scrolled {
  box-shadow: 0 4px 0px 1px rgba(0, 0, 0, 0.08);
  /* height: 143px; */
  height: 150px;
}

.pad-scrolled {
  transform: translate(-21px, 11px);
}
/* LOGO RIMPICCIOLITO */
header.scrolled .logo-img {
   transform: scale(0.6);
}
@media (min-width: 1200px) {
  header.scrolled .logo-img {
    height: 105px;
  }
}
header.scrolled .pad-scrolled {
  transform: translate(-36px, 2px);
}
header.scrolled .main-menu
 {
   transform: translateY(0);
   height: 100%;
}
.btn {
  font-weight: 900;
}

@media (max-width: 1199.98px) {
  header.scrolled {
    height: 60px;
  }
  header.scrolled .logo-img {
     transform: scale(0.6);
  }
  header .pad-menu-scrolled {
    transform: translate(24px, 10px);
  }
  header.scrolled .pad-menu-scrolled {
    transform: translate(24px, 3px);
  }
}


.hamburger{
  width:40px;
  height:30px;
  position:relative;
  cursor:pointer;
  border:none;
  background:none;
  padding:0;
}

.hamburger span{
  position:absolute;
  width:100%;
  height:3px;
  background:#000;
  left:0;
  border-radius:2px;
  transition: transform .45s cubic-bezier(.68,-0.55,.27,1.55), opacity .25s;
}

.hamburger span:nth-child(1){
  top:0;
}

.hamburger span:nth-child(2){
  top:13px;
}

.hamburger span:nth-child(3){
  bottom:0;
}

/* stato open */

.hamburger.open span:nth-child(1){
  transform:translateY(13px) rotate(45deg);
}

.hamburger.open span:nth-child(2){
  opacity:0;
}

.hamburger.open span:nth-child(3){
  transform:translateY(-13px) rotate(-45deg);
}


.hamburger-asym{
  width: 30px;
  height: 25px;
  position:relative;
  border:none;
  background:none;
  cursor:pointer;
  padding:0;
}

.hamburger-asym span{
  position:absolute;
  height: 3px;
  background:#654455;
  transition:all .4s ease;
}

/* line lengths */

.hamburger-asym span:nth-child(1){
  width: 100%;
  top: 0;
  left: 0;
}

.hamburger-asym span:nth-child(2){
  width: 65%;
  top: 12px;
  right: 0;
}

.hamburger-asym span:nth-child(3){
  width: 75%;
  bottom: 0;
  right: 0;
}

/* OPEN STATE */

.hamburger-asym.open span:nth-child(1){
  transform:rotate(45deg);
  top:12px;
  width:100%;
}

.hamburger-asym.open span:nth-child(2){
  opacity:0;
}

.hamburger-asym.open span:nth-child(3){
  transform:rotate(-45deg);
  bottom:12px;
  width:100%;
}


.text-red {
  color: #860f27;
}
.text-cyan {
  color: #498da2;
}
.text-small {
  font-size: 16px;
}
.h-80 {
  height: 80px;
}
footer p, .footer p {
  font-size: 16px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: relative;
  
  min-width: 320px;
  display: none;
  box-sizing: border-box;
  margin: auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  padding: 20px 24px;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* VISIBILE */
.cookie-banner.show {
   display: block;
  opacity: 1;
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: calc(100% -20px);
}

/* TESTO */
.cookie-content p {
  font-size: 14px;
  color: #333;
  margin-bottom: 16px;
}

.cookie-content a {
  text-decoration: underline;
  color: #0d6efd;
}

/* AZIONI */
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

/* MOBILE */
@media (max-width: 576px) {
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  footer {
    padding: 60px 15px;
  }
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
div > .news-meta {
  position: relative;
  padding-bottom: 0.5rem;
}

h2::after, h3::after, h4::after, h5::after, h6::after,
.h2::after, .h3::after, .h4::after, .h5::after, .h6::after,
.news-meta::after
{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: #ac0b2a;
}
h3.h3AfterInverted::after  {
   color: #ac0b2a;
   background: #000;
}
.about-us--members h4::after {
  height: 0;
}
.text-bold {
  font-weight: 600;
}
.single-news h2::after, 
.single-news h3::after, 
.single-news h4::after, 
.single-news h5::after, 
.single-news h6::after,
.single-news .h2::after, 
.single-news .h3::after, 
.single-news .h4::after, 
.single-news .h5::after, 
.single-news .h6::after {
  height: 0;
}

blockquote {
  padding: 10px 25px;
  border-left: 2px solid #ac0b2a;
}
.bg-light {
  background: #eee;
}
.about-us h3.text-end::after {
    right: 0;
}
.about-us h3.text-center::after {
  margin: auto;
}
.about-us h3::after {
    width: 100%;
}

.title {
  position: relative;
  display: inline-block;
}

.about-us h3::after {
  animation: growLine 1.6s ease forwards;
}

@keyframes growLine {
  from {
    width: 100px;
  }
  to {
    width: 100%;
  }
}
.submenu {
  display: none;
}

.nav-item.has-submenu.open > .submenu {
  display: block;
}

.mobile-contacts a {
  color: white;
}

.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
}

.navbar-nav .dropdown-menu {
  position: absolute;
}

/* CF7 CUSTOM STYLES */
.wpcf7-form label,
.sib_signup_form label
{
    font-size: 15px;
    width: 100%;
}
input.wpcf7-form-control {
    width: 100%;
    height: 42px;
}
textarea.wpcf7-form-control {
    width: 100%;
    height: 242px;
    padding: 10px;
}
input.wpcf7-form-control.wpcf7-submit {
  width: 140px;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 600;
  color: white;
  background: #ac0b2a;
  height: 50px;
  transition: background .3s ease, color .3s ease;
  border-radius: 0;
  border: 0;
}

input.wpcf7-form-control.wpcf7-submit:hover {
  color: white;
  background: #dc3545;
}

span.wpcf7-list-item {
  margin: 16px 0;
  font-size: 14px;
  display: block;
}
.wpcf7-list-item input[type="checkbox"] {
    margin-right: 5px;
    height: 18px;
    width: 18px;
}
span.wpcf7-form-control.wpcf7-acceptance {
  display: inline-block;
}
.wpcf7-list-item label {
  font-size: 17px;
  width: 100%;
  display: flex;
  align-items: center;
}


.mobile-reverse {
  display: flex;
  flex-direction: row;
}

@media (max-width: 768px) {
  .mobile-reverse {
    flex-direction: column-reverse;
  }
}

.iubendaDiv {
  text-align: center;
  font-size: 15px;
  padding: 15px;
}
.iubendaDiv a{
  color: black
}