
/* DEBUG */
.btransparent {
	border: solid 1px transparent;
}
.bgreen {
	border: solid 1px green;
}
.bred {
	border: solid 1px red;
}
.bblue {
	border: solid 1px blue;
}
.bblack {
	border: solid 1px black;
}
.byellow {
	border: solid 1px yellow;
}

.bg-soft {
  background: #596B88;
}


/* OVERLAY CUSTOM */
.overlay-b5 {
	background: rgba(0, 0, 0, 0.05);
}
.overlay-b10 {
	background: rgba(0, 0, 0, 0.1);
}
.overlay-b15 {
	background: rgba(0, 0, 0, 0.15);
}
.overlay-b20 {
	background: rgba(0, 0, 0, 0.2);
}
.overlay-b25 {
	background: rgba(0, 0, 0, 0.25);
}
.overlay-b30 {
	background: rgba(0, 0, 0, 0.3);
}
.overlay-b40 {
	background: rgba(0, 0, 0, 0.4);
}
.overlay-b50 {
	background: rgba(0, 0, 0, 0.5);
}

.overlay-b60 {
	background: rgba(0, 0, 0, 0.6);
}
.overlay-b70 {
	background: rgba(0, 0, 0, 0.7);
}

.overlay-w5 {
	background: rgba(255, 255, 255, 0.05);
}
.overlay-w10 {
	background: rgba(255, 255, 255, 0.1);
}
.overlay-w15 {
	background: rgba(255, 255, 255, 0.15);
}
.overlay-w20 {
	background: rgba(255, 255, 255, 0.2);
}
.overlay-w25 {
	background: rgba(255, 255, 255, 0.25);
}
.overlay-w30 {
	background: rgba(255, 255, 255, 0.3);
}
.overlay-w40 {
	background: rgba(255, 255, 255, 0.4);
}
.overlay-w50 {
	background: rgba(255, 255, 255, 0.5);
}

.overlay-w60 {
	background: rgba(255, 255, 255, 0.6);
}
.overlay-w70 {
	background: rgba(255, 255, 255, 0.7);
}

.overlay-w80 {
	background: rgba(255, 255, 255, 0.8);
}

.overlay-w90 {
	background: rgba(255, 255, 255, 0.9);
}

/* BORDER CUSTOM STYLE */
.border {
  border: solid 1px #91A5BE !important;
}

.background-softblue {
  background: #D5DBE2;
}
/* SLIDESHOW CUSTOM RULES */ 


#main {
  z-index: 1000;
}

/* FOOTER CUSTOM */
#footer-container {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}


/* NAVIGATION */
.nav-icon-box {
  width: 58px;
  height: 58px;
  position: relative;
  display: inline-block;
}

.nav-icon-box .uk-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Stato iniziale: altezza 0, pronto ad espandersi */
#mobile-menu .uk-modal-dialog {
  top: 6px;
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease-in-out;
}

/* Quando il modal è aperto, l'inner dialog si espande */
#mobile-menu.uk-open .uk-modal-dialog,
#mobile-menu.closing .uk-modal-dialog {
  transition: height 0.4s ease-in-out;
}

#mobile-menu.uk-open .uk-modal-dialog {
  height: 100%;
}

#mobile-menu.closing .uk-modal-dialog{
  height: 0 !important;
}

/* Toggle comune (stile fisico) */
#modal-toggle {
  position: relative;
  width: 58px;
  height: 58px;
}

#modal-toggle .uk-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease-in-out;
}




/* SEARCH MODAL */

#search-modal .uk-modal-dialog {
  top: 6px;
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease-in-out;
}

#search-modal.uk-open .uk-modal-dialog,
#search-modal.closing .uk-modal-dialog {
  transition: height 0.4s ease-in-out;
}

#search-modal.uk-open .uk-modal-dialog {
  height: 100%;
}

#search-modal.closing .uk-modal-dialog {
  height: 0 !important;
}




/* Stato iniziale: icona menu visibile, close nascosta */
.icon-menu,
.icon-close {
  opacity: 1;
}

.icon-close {
  opacity: 0;
}

/* Quando .open è attivo su #modal-toggle */
#modal-toggle.open .icon-menu {
  opacity: 0;
}

#modal-toggle.open .icon-close {
  opacity: 1;
  color: yellow;
}

.uk-subnav-pill > li > a{
    padding: 10px 20px !important;
    text-decoration: none !important;
}
.custom-switcher-item-center {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center; /* centro verticale */
text-align: center;
}

.custom-switcher-item {

  border: 2px solid transparent;
  background-color: #F7F5F1 !important;
  min-width: 60px;
  min-height: 40px;
  transition: all 0.2s ease;
  color: #0A182E;
  text-transform: none !important;
  box-shadow: 0 0 0 1px #91A5BE;


}

.custom-switcher-item .label {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  color: #223344;
}

.custom-switcher-item .sub-label {
  font-size: 12px;
  margin-top: 2px;
  color: #223344;
}

/* Se c'è solo la label o solo la sub-label, centra verticalmente */
.custom-switcher-item .label:only-child,
.custom-switcher-item .sub-label:only-child {
  margin-top: 0; /* rimuove spazio extra */
}


.uk-subnav > li.uk-active .custom-switcher-item, .extra-container.is-active {
  color: #0e1e2b !important;
  background-color: #DAE0E7 !important;
  box-shadow: 0 0 0 2px #3C4B63; /* bordo "attivo" simulato */

}

.extra-container > span {

  text-align: left !important;
}
#notification-wrapper {

  z-index: 1000; top:200px; right: -50px; height: 60px; width:120px
}

#notification-wrapper.hidden-on-load {
  opacity: 0;
  transform: translateX(200%);
  pointer-events: none;
}

#notifications-container {
  z-index: 9998; 
  top:200px;
}
/* NOTIFICATION */

@keyframes bounceInRight {
  0% {
    pointer-events: none;
    transform: translateX(200%);
    opacity: 0;
  }
  60% {
    transform: translateX(-10%);
    opacity: 1;
  }
  80% {
    transform: translateX(5%);
  }
  100% {
    transform: translateX(0);
  }
}

.bounce-in-right {
  animation: bounceInRight 0.8s ease-out;
}


#notifications-badge {
  position: absolute; top: 10px; right: 16px; width: 10px; height: 10px; background: #c00; border-radius: 50%; padding: 0; border:2px solid #ffe141;
}


/* SUBSCRIPTION REMINDER */
#subscription-reminder {
  position: fixed;
  top: 90px;
  z-index: 1000;
  text-align: center;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 200px;
}

#subscription-reminder.ready {
  visibility: visible;
  opacity: 1;
}

.subscription-reminder .arrow {
  width: 25px;
  height: 50px;
  background: url('/images/arrow-blue.svg') no-repeat center center;
  background-size: contain;
  margin: 0 auto;
 /* filter: invert(24%) sepia(16%) saturate(723%) hue-rotate(176deg) brightness(94%) contrast(91%); */
  /* → Simula il colore #3C4B63 */
}

/* Se è dentro .uk-light, mostra l’arrow bianca */
.subscription-reminder .arrow.uk-light {
  filter: invert(100%) brightness(200%);
}

.subscription-reminder .text {
  color: white;
  font-size: 15px;
}


.site-logo {
  max-width: 120px;
  max-height: 60px;
  height: auto;
  width: auto;
}



/* FOOTER */
#statement {
  margin-bottom: 20px;
}

a.policy {
  display: inline-block !important;
  font-weight: 600;
  margin-right:20px;
  margin-bottom:10px;
}

.uk-card-body > p > a {
  text-decoration: underline;
}
/* Default */
.topbar-link {
  color: #FFFEF5 !important;
  background-color: transparent !important;
  transition: color 0.2s ease;

}
/* Solo dal secondo in poi */
.uk-navbar-nav > li:nth-child(n+2) > .topbar-link {
  padding: 6px !important;
}

/* Hover */
.topbar-link:hover {
  color: #FFE100 !important;
  background-color: transparent !important;
}

/* Active (clic o classe attiva) */
.uk-active > .topbar-link,
.topbar-link:active {
  color: #FFE942 !important;
  background-color: transparent !important;
}

.margin-right-4 {
  margin-right: 4px !important;
}

.bg-opacity-90 {
  background-color: rgba(0, 0, 0, 0.9); /* colore nero di base, 90% opaco */
}


#live-search-results {
  height: calc(100vh - 280px) !important; /* o 100% se figlio di uk-height-viewport */
  overflow-y: auto;
}


.custom-fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* Assicurati che sia sopra l'elemento sticky (1020) e altri elementi */
  /* Aggiungi qui altri stili come padding, bordi, ecc. */
  height: 50px;
  margin-bottom: -50px !important;
}

#nav-section {
  margin-top: -50px !important;
}
/* accordion custom */
.this-accordion #extra-title {          /* #extra-title resta fuori, sempre visibile */
  margin-bottom: 0 !important;        /* niente margine ⇒ niente scatto */
}

.this-accordion .uk-accordion-content { /* ridiamo lo stesso spazio con padding,
                                         che NON collassa né altera l’animazione */
  padding-top: 20px;                  /* stesso valore che hai su .uk-margin */
}
 

.star-icon {

  top: 2px; right: -2px;
  color: #233148;
}

/* Stili di base per il mobile */
#CookiebotWidget {
  left: auto !important;
  right: 20px !important;
  bottom: 110px !important;
}

/* Media query per schermi desktop (da 768px in su) */
@media (min-width: 1200px) {
  #CookiebotWidget {
    bottom: 60px !important;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  z-index: 99999999999;

}


.skip-link:focus {
  top: 0;
}

