
:root {
  --caption-dec: 0.058812;
  --sbalz: 0px;
}

/* Sidebar / box scrollabili */
html {
  scrollbar-color: #57a480 transparent;
}



/* Chrome / Edge / Safari */
/* Chrome / Edge soltanto */
@supports selector(::-webkit-scrollbar) {
  :root {
    --sbalz: 4px;
  }

  @media (-webkit-min-device-pixel-ratio: 1.25) and (-webkit-max-device-pixel-ratio: 1.49) {
    :root {
      --sbalz: 5px;
    }
  }

  @media (-webkit-min-device-pixel-ratio: 1.5) and (-webkit-max-device-pixel-ratio: 1.99) {
    :root {
      --sbalz: 6px;
    }
  }

  @media (-webkit-min-device-pixel-ratio: 2) and (-webkit-max-device-pixel-ratio: 2.49) {
    :root {
      --sbalz: 8px;
    }
  }
}
.djslider .dj-image {
  width: 100%;
  height: auto;
  aspect-ratio: 20 / 9 !important;
}



.diff-icon {
  width: 16px;
  height: auto;
}



body{background-color:#F3FCFA;}

.container-fluid{background-color:#F3FCFA;}

a {
	color:#077548;

}

.descmain a {
	font-weight: bold;
}

.descmain {
	background-color:#FAFEFD;
	border-radius: 0.375rem;
	border: 1px solid #DFF5DF;
	padding: 10px;
	
}

.slideshow {
	margin-top: 66px;
	align-items: stretch !important;
}

/* il wrapper gestisce il rapporto + spazio caption */
.slideshow-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* calcolo totale proporzionale alla larghezza */
  padding-top: calc((100% * (1440 / 3200)) / (1 - var(--caption-dec)));
}

/* il blocco DJ-ImageSlider viene posizionato assolutamente dentro */
#slidediv {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.breadcrumbs {
	margin-top: 1em;
}


.titleh1 {
	text-align: center;
	background-color: #DFF5DF;
    border: 1px solid #57a480;
    border-radius: 0.375rem;
	margin-bottom: 0.5rem;
}

.titleh1 > h1 {
	margin-top: 0.25rem;
	margin-bottom: 0.25rem !important;
	 text-wrap: balance;
}

.mfp-arrow, .mfp-title, .mfp-counter {
	display: none !important;
}

.mfp-img {
	pointer-events: none;
}

.mfp-figure {
		cursor: default !important;
}

/*navigazione*/
.navbar .container-fluid{background-color:transparent;}

.navbar-custom, .dropdown-custom {
            background-color: #418D6A;
			border-bottom: 1px solid;
			border-color: #A1CC9D !important;
}
        /* Modify brand and text color */
         
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
            color: white;
}

.navbar-nav .nav-link.active {
	color: #ffffff;
	border-radius: 0.375rem;
}

.navbar-brand {
	padding-top: 4px;
	padding-bottom: 4px;	
}

.firstlevel {
	width: 100%;
	padding-top: 0px;
	padding-bottom: 0px;
	max-height: 100vh !important;
}

.firstlevel > li:nth-child(even) {   
	background-color: #418D6A;
}

.firstlevel > li:nth-child(odd) {
    background-color: #3A7C57;
}

.navbar-nav {
	width: 100%
}

.navbar-nav-scroll::-webkit-scrollbar {
	display: none;
}

.navbar-nav-scroll {
	-ms-overflow-style: none;  /* IE and Edge */
  	scrollbar-width: none;  /* Firefox */	
}

.navbar-nav a {
	color: #ffffff;
}

.navbar-nav > li > a.nav-link {
  white-space: nowrap;
  background-color:#077548;
  padding-top: 2px;
  padding-bottom: 2px;
}




.rightslider {
 display: flex;
  flex-direction: column;
  height: 100%;
}

.leftslider {
	 display: flex;
  flex-direction: column;
}
	

.search {
	height: 58px;
	background-color: #eef6ee;
    border: 1px solid #3c7259;
    border-radius: 0.375rem;
    width: 100%;
	margin-bottom: 0.5rem;
	 
	padding: 8px;
	
}

.search .input-group {
	width: 100%; 
  max-width: 100%;
  margin: 0;
}

.search input.form-control {
  height: 40px;
  border-radius: 5px 0 0 5px;
}

.search button.btn {
  height: 40px;
  border-radius: 0 5px 5px 0;
  padding: 0 16px;
  background-color: #418D6A;
  border-color: #DEE2E6
}

/* Effetto focus unificato su input + bottone */
.search .input-group:focus-within {
  box-shadow: 0 0 0 0.25rem rgba(7, 117, 72, 0.20); /* colore coerente con #077548 */
  border-radius: 3px; /* stesso radius complessivo */
}

/* Rimuove il bordo interno singolo dei campi */
.search input.form-control:focus,
.search button.btn:focus {
  outline: none !important;
  box-shadow: none !important;
}

.banner1 {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	padding: 8px;
}

.banner2 {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	padding: 8px;
}

.banner3 {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	padding: 8px;
}

.banner4 {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	padding: 8px;
}

.banner5 {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	padding: 8px;
	min-height: 90px;
}




.latadsense {
	
}

.banner1in {
	position: relative;
	z-index: 1;
}

.banner1in, .banner2in, .banner3in, .banner4in, .banner5in {
	background-color: #57a480;
	width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.banner1in ins, .banner2in ins, .banner3in ins, .banner4in ins,
.banner1in iframe, .banner2in ins, .banner3in ins, .banner4in ins {
  position: relative;
  z-index: 5;
}


.banner1in::before,
.banner2in::before,
.banner3in::before,
.banner4in::before,
.banner5in::before {
	content: "";
	position: absolute;
	inset: 0;

	background-image: url("/templates/pesarotrekking4/images/LogoPesaroTrekking50pixel.png");
	background-repeat: no-repeat;
	background-position: center;

	/* RESPONSIVE VERO */
	background-size: min(220px, 80%);

	opacity: 0.4;
	pointer-events: none;
	z-index: 1;
}

.banner1in::after,
.banner2in::after,
.banner3in::after,
.banner4in::after,
.banner5in::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255,255,255,0.75);
	pointer-events: none;
	z-index: 1;
}

.banner1in ins.adsbygoogle, .banner2in ins.adsbygoogle {
  display:block !important;
  height:100% !important;
  width:100% !important;
}

.nowrap {
  white-space: nowrap;
}

.box1, .box2, .box3, .box4 {
	border: 1px solid #57a480;
	border-radius: 0.375rem;
	height: 170px;
}

.box1 {
    display: grid;
   
    grid-template-rows: 25% repeat(auto-fit, minmax(0, 1fr));
}

.box2 {
	display: grid;
   
    grid-auto-rows: 1fr;
}

/* Stesse larghezze delle tue row */
.box1 .row {
    width: 100%;
}

.box2 .row {
	
}

.box3 .row {
	height: 20%;	
}

.box1 .row:first-child {
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.box1 .row:nth-child(even) {
   background-color: #D4E9D4;
}

.box1 .row:nth-child(odd) {
    background-color: #DFF5DF;
}

.box1 .row:last-child {
   border-bottom-left-radius: 0.375rem;
   border-bottom-right-radius: 0.375rem;
}

.box2 .row:first-child {
   border-top-left-radius: 0.375rem;
   border-top-right-radius: 0.375rem;
}

.box2 .row:nth-child(even) {
   background-color: #DFF5DF;
}

.box2 .row:nth-child(odd) {
   background-color: #D4E9D4;
}

.box2 .row:last-child {
   border-bottom-left-radius: 0.375rem;
   border-bottom-right-radius: 0.375rem;
}

.box3 .row:first-child {
   border-top-left-radius: 0.375rem;
   border-top-right-radius: 0.375rem;
}

.box3 .row:nth-child(even) {
   background-color: #D4E9D4;
}

.box3 .row:nth-child(odd) {
    background-color: #DFF5DF;
}

.box3 .row:last-child {
   border-bottom-left-radius: 0.375rem;
   border-bottom-right-radius: 0.375rem;
}

.box4 {
	background-color: #DFF5DF;
}



.box4 .pt-1 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
}


.box4 .pt-1 .d-block {
    display: inline !important;
}

.box1 .row, .box2 .row, .box3 .row {
	margin-left: 0;
    margin-right: 0;
	align-items: center;
}

.box1 .col, .box2 .col, .box3 .col-8, .box3 .col-4 {
	padding: 0;
}
.box4 .row {
	height: 100%;
	width: 100%;
	margin-left: 0;
    margin-right: 0;
}

.gpxcol {
	border-left: 1px solid #57a480;
	background-color: #D4E9D4 !important;
	border-top-right-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}


.boxlat {
	background-color: #DFF5DF;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
}

/* menu laterale */

#navbar333 {
	width: 100%	
}

.latmenu {
	width: 100%;	
}

.latmenu li {
	background-color: #eef6ee;
	border: 1px solid #3c7259;
	border-radius: 0.375rem;
	margin-bottom: 5px;
	width: 100%;
}

.latmenu .item-462 {
	 background-image: url("/images/mapmenulatbg.png");
	 background-size: cover;
	 height: 50px;
	 position: relative;
}

.latmenu .item-462 > a {
	 position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.latmenu .item-414 {
	 background-image: url("/images/forum50op.png");
	 background-size: cover;
	 height: 50px;
	 position: relative;
}

.latmenu .item-414 > a {
	 position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.latmenu .item-524 {
	 background-image: url("/images/cucco-menulat-bg.png");
	 background-size: cover;
	 height: 50px;
	 position: relative;
}

.latmenu .item-524 > a {
	 position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
	margin-left: 5px;
	
}

.latmenu .item-194 {
	 background-image: url("/images/indimenticabili-bg.png");
	 background-size: cover;
	 height: 50px;
	 position: relative;
}

.latmenu .item-194 > a {
	 position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
	margin-left: 5px;
	
}

.latmenu .item-109 > a, .latmenu .item-111 > a {
	
	margin-left: 5px;
	
}
.latmenu a {
		text-decoration: none;
		font-weight: 600;
	    color: #3c7259;
		
}

.latmenu a:hover {
		color: #57a480;
}

.latmenu .image-title {
	margin-left: 5px;
	padding: 3px;
	/*background: rgba(255,255,255,0.5);
	border-radius: 0.375rem;*/
	text-shadow: 3px 3px #FFFFFF;
}

.rightslider nav {
	padding: 0px;
}

/* slideshow */

.slide-desc-text {
	margin: auto 0;
}


.slide-desc-in {
	 height: 100%;
	display: flex;
}

.slide-desc-bg-default {
	background: RGBA(65,141,106,1);
}

.slide-desc-text-default {
	padding: 0px 15px;
	line-height: 1;
}

/* breadcrumbs */

.breadcustom {
  font: 0.75em sans-serif;
  list-style: none;
}

.bc2x {
  font-size: 1em;	
}

.bc3x {
  font-size: 1.5em;	
}


.breadcustom li {
  display: inline-block;
  margin-bottom: .2em;
  border-right: 0.25em solid #fff;
}

.breadcustom li a {
  background-color: #418D6A;
  box-sizing: border-box;
  color: #fff;
  display: block;
  max-height: 2em;
  padding: .5em 0.5em .5em 1.5em;
  position: relative;
  text-decoration: none;
  transition: .25s;
}

.breadcustom li a:before {
  border-top: 1em solid transparent;
  border-bottom: 1em solid transparent;
  border-left: 1em solid #F3FCFA;
  content: "";
  position: absolute;
  top: 0;
  right: -1.25em;
  z-index: 1;
}

.breadcustom li a:after {
  border-top: 1em solid transparent;
  border-bottom: 1em solid transparent;
  border-left: 1em solid #418D6A;
  content: "";
  position: absolute;
  top: 0;
  right: -1em;
  transition: .25s;
  z-index: 1;
}

.breadcustom li a:hover {
  background-color: #57a480;
}

.breadcustom li a:hover:after {
  border-left-color: #57a480;
}

.breadcustom li.active a {
  background-color: #57a480;
  pointer-events: none;
}

.breadcustom li.active a:after {
  border-left-color: #57a480;
}

.breadcustom li:first-child a.pathway {
    padding-left: 0.5em; /* riduci questo valore finché non va più a capo */
  }

.pathway:after, .pathway:before {
 	box-sizing: content-box;
}

/* Numeri sentieri */

.cai {
    background-color: #FFFFFF;
    display: inline-block;        /* fondamentale per far funzionare min-width */
    min-width: 54px;              /* valore consigliato per una bandierina equilibrata */
    text-align: center;           /* centra il numero */
    font-weight: 600;
    padding: 0px 3px;
    border-left: 12px solid #E90000;
    border-right: 12px solid #E90000;
    margin-right: 8px;
    border-radius: 0.0625em;
    outline: 1.2px solid #000;    /* bordo nero sottile */
    outline-offset: 0;
 box-sizing: border-box;
}

.cai.cai-valleavellana {
    background: linear-gradient(
        225deg,
        #ffffff 0%,
        #ffffff 50%,
        #E8E800 50%,
        #E8E800 100%
    );
    min-width: 30px;
    border-left: none;
    border-right: none;

    outline: rgb(89, 18, 14) solid 1.5px;
    border-radius: 0.0625em;
}


.cai:after, .cai:before {
		
}

.elevationbox {
	height: 230px;	
}



/* sistemazione grafico bootstrap */

.height-focus.line, .height-focus-label {
	display:none;	
}

.leaflet-interactive {
	box-sizing: content-box;
	outline-style: none;
}

.classicmap img {
		width: 80px;
}

.slide-text a {
	color: #FFFFFF;
	text-decoration: none;	
}

.navbar-brand {
		margin-right: 8px;
	}
	
/* sentieri correlati */
	
.md-recent {
	background-color: #DFF5DF;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
}

.md-recent h2 {
		text-align: center;
}

#lowrowcheck .col-xl-5 h2 {
	margin-bottom: 1rem;
}

.card-bg {
		background-color: #FAFEFD;
		border-color: #95D0B5 !important;
		border-radius: 0.375rem;
}

.card-title {
		font-size: 1.25rem;
}

.card-img-top {
		border-top-left-radius: 0.375rem;
		border-top-right-radius: 0.375rem;
}

/* social */

.social {
	background-color: #eef6ee;
	border: 1px solid #57a480;
	border-radius: 0.375rem;
}

.social1, .social2, .social3, .social4 {
	background-color:#FAFEFD;
	border: 1px solid #95D0B5;
	border-radius: 0.375rem;
	height: 1216px;
	display: flex;
    flex-direction: column;
	overflow: hidden;
}

.social1 iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    overflow: hidden;
}

/* wrapper che impone larghezza reale */
.fb-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
}



.social1 h3, .social2 h3, .social3 h3, .social4 h3 {
	line-height: 2.5rem;
}

.fa-facebook-f:before {
    content: "\f39e" !important;
}



/* widget gruppo facebook */

.sk-facebook-feed-profile-info {
                width: 100% !important;
    }

.sk-facebook-feed-profile-usename {
                font-size: 18px !important;
	margin: 10px 0 0 0 !important;
    }

.sk-ww-facebook-group-posts {
	height: 1150px !important;
	overflow-y: auto !important;
}

.post-post-counts {
	bottom: 20px !important;	
}

.sk-ww-facebook-group-posts > .sk-solution-holder {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 14px !important;
}

.sk-solution-holder > .sk_branding > a {
	display: none !important;
}



.facebook-feed-profile-pic {
	float: none !important;
	margin: 0 auto !important;
}

.breadcrumb-link::after {
  display: none;
}

.navbar-toggler {
	border: 1px solid rgba(0, 0, 0, 0.25) !important;
    transition: transform 0.1s ease, background-color 0.15s ease;
}

.navbar-toggler:active {
    transform: scale(0.96); /* leggero shrink */
    background-color: rgba(0,0,0,0.05);
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

/* Linee base dell’hamburger */
.navbar-toggler .toggler-icon {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
	transform-origin: center;
    background-color: currentColor;
    transition: all 0.25s ease-in-out;
}

/* Stato iniziale (collapsed) */
.navbar-toggler.collapsed .top-bar {
    transform: translateY(0) rotate(0);
}
.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}
.navbar-toggler.collapsed .bottom-bar {
    transform: translateY(0) rotate(0);
}

/* Stato aperto */
.navbar-toggler:not(.collapsed) .top-bar {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .middle-bar {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) .bottom-bar {
    transform: translateY(-7px) rotate(-45deg);
}

/* Rimuove l’effetto brutto del focus */
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.navbar li.dropdown {
    position: relative;
}

.navbar li.dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;     /* subito sotto il link */
    height: 2px;   /* invisibile ma cliccabile */
    background: transparent;
}

#gpximage {
      display: block;
}
#gpximagehover {
      display: none;
}
#gpxlink:hover #gpximage {
     display: none;
}
#gpxlink:hover #gpximagehover {
     display: block;
}

#gpximage,
#gpximagehover {
    margin: 0 auto;
}

.quota-icon {
    position: relative;
    display: inline-block;
    line-height: 1;
	top: 2.5px;
}

.quota-icon::before {
    content: "";
    position: absolute;
    top: 1.5px;         
    width: 100%;
    height: 1.5px;       
    background: currentColor;
}

.quota-part, .quota-arr {
    position: relative;
    display: inline-flex;
    align-items: center;
    line-height: 1;
	top: 1px;
}

/* linea prima del caret (partenza) */
.quota-part::before {
    content: "";
	position: absolute;
    width: 1.5px;
    height: 8px;
    background: currentColor;
    margin-left: -2px;
	top: 2.5px;
}

/* linea dopo il caret (arrivo) */
.quota-arr::after {
    content: "";
	position: absolute;
    width: 1.5px;
    height: 8px;
    background: currentColor;
    right: -2px;
	top: 2.5px;
}

.pushdown {
	position: relative;
	top: 1px;
}

.article-info .icon-calendar {
		display: none;
}

.com-weblinks-categories .badge, .com-weblinks-category .badge {
	background-color: #57a480 !important;
}

.com-weblinks-category__pagination {
		display: none;
}

.measure-mode {
  align-items: flex-start !important;
}

.measure-mode #maincol-inner > :last-child,
.measure-mode #sidebar-inner > :last-child {
  margin-bottom: 0 !important;
}


/* colonne principali */
#maincol,
#sidebarcol {
  display: flex;
  flex-direction: column;
}

/* colonne interne reali */
#maincol-inner,
#sidebar-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* modalità misura: NON deve crescere nulla */
.measure-mode #maincol-inner,
.measure-mode #sidebar-inner {
  min-height: auto !important;
}

/* contenitori banner */
#ads-under-main,
#ads-sidebar {
  display: flex;
  flex-direction: column;
}

/* banner3 è gestito SOLO dal JS */
.banner3 {
  flex-grow: 1;
}

.footerchris {
  text-align: center;
  margin: 0;
}

.footerchris a {
	text-decoration: none;
}


.mainfoot {
  font-size: 14px;
}

.footlinks {
  font-size: 13px;
  margin-bottom: 8px;.
  margin-top: 4px;
}

.brand,
.sep,
.legal {
  white-space: nowrap;
}

#sidebar-inner > .meteobox:first-child {
    margin-bottom: 1rem !important;
}

.dj-image {
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
	}
.slide-desc-bg-default {
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;	
	}





@media (min-width: 1600px) {
	
	.col-xl-2-5 {
      flex: 0 0 20.8333%;
      max-width: 20.8333%;
  }
	
	.item-513 > .dropdown-menu {
   right: 0;
   left: auto;
}
	
	.navbar-custom {
		font-size: 18px !important;
		font-weight: 600;
	}
    .slide-desc {
		position: relative !important;
		height: 5%;
		top: 0;
	}
	
	
	
	.rightsliderbox {
		height: calc(
		(0.45 + 0.5625 * 0.05) * (83.3333333vw - 24px) + 65.6px - var(--sbalz)
	  ) !important;
	}
	
	.banner1 {
  flex-grow: 1;
	}
	
	.banner2in {
		height: 90px;
	}
	
	
	.navbar-nav .nav-link.active {
	background-color: #57a480 !important;
	color: #ffffff;
	border-radius: 0.375rem;
}

.navbar-nav > li > a.nav-link {
  border: 0.2px solid #C9EAC7;
}

.dropdown-item.active {
	background-color: #57a480;
}

.firstlevel a:hover {
	background-color: #57a480;
	color: #ffffff;
	box-shadow: inset 0 0 6px #ffffff60;
}

.firstlevel > li:first-child {   
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:first-child > a:hover {
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:last-child {
   border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.firstlevel > li:last-child > a:hover {
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.mainlevel > a {
	border-radius: 0.375rem;
}

.mainlevel > a:hover, .mainlevel.active > a:hover {
	background-color: #57a480 !important;
	color: #ffffff;
}

.mainlevel.active > a {
	background-color: #519D79 !important;
}
	
.dropdown:hover > .dropdown-menu {
        display: block;
		top: 95%; 
      }
	
	
.navbar .dropdown-trigger {
    display: none;
  }
	
.firstlevel {		
	  top: 100%;
	  left: 0;
	  margin-top: var(--bs-dropdown-spacer);
	}
	

	
.com-content-article {
		font-size: 1.125rem;
	}
	

	
	.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.latmenu a {
		font-size: 1.125em;
	}
	
	.md-pagination {
	 margin-bottom: 8px;
 }
	
	.md-recent {
	line-height: 24px;
}

.ad-box {
  width:100%;
  height: 250px;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index: 5;
}

}

@media (min-width: 1400px) and (max-width: 1599.98px) {
	
	.col-xl-2-5 {
      flex: 0 0 20.8333%;
      max-width: 20.8333%;
  }
	
.item-513 > .dropdown-menu {
   right: 0;
   left: auto;
}


.navcontainer {

	
}
	
    .navbar-custom {
		font-weight: 600;
	}
	
	.navbar-custom .nav-link {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	
	
	
	
	.slide-desc {
		position: relative !important;
		height: 5%;
		top: 0;
	}
	.rightslider {
	
	}
	.rightsliderbox {
		height: calc(
		(0.45 + 0.5625 * 0.05) * (83.3333333vw - 24px) + 65.6px - var(--sbalz)
	  ) !important;
	}

	.banner1 {
  flex-grow: 1;
	}
	.banner2in {
		height: 90px;
		
	}
	
.navbar-nav .nav-link.active {
	background-color: #57a480 !important;
	color: #ffffff;
	border-radius: 0.375rem;
}

.navbar-nav > li > a.nav-link {
  border: 0.2px solid #C9EAC7;
}

	
	.dropdown-item.active {
	background-color: #57a480;
}

.firstlevel a:hover {
	background-color: #57a480;
	color: #ffffff;
	box-shadow: inset 0 0 6px #ffffff60;
}

.firstlevel > li:first-child {   
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:first-child > a:hover {
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:last-child {
   border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.firstlevel > li:last-child > a:hover {
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.mainlevel > a {
	border-radius: 0.375rem;
}

.mainlevel > a:hover, .mainlevel.active > a:hover {
	background-color: #57a480 !important;
	color: #ffffff;
}

.mainlevel.active > a {
	background-color: #519D79 !important;
}

	.dropdown:hover > .dropdown-menu {
        display: block;
		top: 95%; 
      }
	
.navbar .dropdown-trigger {
    display: none;
  }
	
.firstlevel {		
	  top: 100%;
	  left: 0;
	  margin-top: var(--bs-dropdown-spacer);
	}
	
.firstlevel > li > a {
		line-height: 22px;
	}
	

	


.com-content-article {
		font-size: 1.125rem;
	}
	
	
	.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.box4 .pt-1 {
    gap: 0.25rem !important;
}

.lowpa {
	letter-spacing: -0.5px;
	word-spacing: -0.5px;
}

.card-body {
	padding-left: 6px !important;
	padding-right: 6px !important;
	font-size: 15px;
}

.md-pagination {
	 margin-bottom: 8px;
 }

.md-recent {
	line-height: 24px;
}

.ad-box {
  width:100%;
  height: 200px;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index: 5;
}



}

@media (min-width: 1200px) and (max-width: 1399.98px) {
	:root{
  --caption-dec: 0.0697689195772351;
}

.col-xl-2-5 {
      flex: 0 0 20.8333%;
      max-width: 20.8333%;
  }

.item-513 > .dropdown-menu {
   right: 0;
   left: auto;
}

	.navbar-custom .nav-link {
		padding-left: 1px !important;
		padding-right: 1px !important;
	}
	
	.navbar-brand {
		margin-right: 2px;
	}
	
	.navbar-brand img {
		height: 35px;
	}
	
	.navbar .container-fluid {
		padding-left: 2px;
		padding-right: 5px;
	}
	
	
	
	.slide-desc {
		position: relative !important;
		height: 6%;
		top: 0;
	}
	.rightslider {
		
	}
	.dropdown:hover > .dropdown-menu {
        display: block;
      }

.navbar-nav .nav-link.active {
	background-color: #57a480 !important;
	color: #ffffff;
	border-radius: 0.375rem;
}
	
.navbar .dropdown-trigger {
    display: none;
  }
  
  .dropdown-item.active {
	background-color: #57a480;
}

.firstlevel a:hover {
	background-color: #57a480;
	color: #ffffff;
}

.firstlevel > li:first-child {   
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:first-child > a:hover {
	border-top-left-radius: 0.375rem;
	border-top-right-radius: 0.375rem;
}

.firstlevel > li:last-child {
   border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.firstlevel > li:last-child > a:hover {
	border-bottom-left-radius: 0.375rem;
	border-bottom-right-radius: 0.375rem;
}

.firstlevel > li > a {
		line-height: 20px;
	}

.navbar-nav > li > a.nav-link {
  border: 0.2px solid #C9EAC7;
}

.mainlevel > a {
	border-radius: 0.375rem;
	word-spacing: -1.5px;             /* elimina lo “spreco” tra parole */
}

.mainlevel > a:hover, .mainlevel.active > a:hover {
	background-color: #57a480 !important;
	color: #ffffff;
}

.mainlevel.active > a {
	background-color: #519D79 !important;
}
	
.firstlevel {		
	  top: 100%;
	  left: 0;
	}
	
	.rightsliderbox {
		height: calc(
		(0.45 + 0.5625 * 0.06) * (83.3333333vw - 24px) + 65.6px - var(--sbalz)
	  ) !important;
	}
	
	.banner1 {
  flex-grow: 1;
	}
	
	.banner2in {
		height: 90px;
	}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.latmenu a {
		letter-spacing: -0.5px;   
		 word-spacing: -1px;             /* elimina lo “spreco” tra parole */
		 margin-left: 3px !important;
	}
	
	.shrink {
        letter-spacing: -0.4px;         /* compatta leggerissimamente */
        word-spacing: -1px;             /* elimina lo “spreco” tra parole */
    }
	
	.shrinkmap {
        letter-spacing: -1px;         /* compatta leggerissimamente */
        word-spacing: -1.5px;             /* elimina lo “spreco” tra parole */
		 display: flex;
    align-items: center;
	gap: 0rem;
    }
	
	.mapcol {
		padding-left: 1px !important;
		padding-right: 1px !important;
	}
	
.shrinked {
        letter-spacing: -0.4px;         /* compatta leggerissimamente */
    }
.shrinkin {
		 letter-spacing: -0.5px;         /* compatta leggerissimamente */
		 word-spacing: -1px;
}

.shrinkcai {
	letter-spacing: -0.8px;         /* compatta leggerissimamente */
		 word-spacing: -1px;
}

 .box1 .cai {
	  margin-right: 1px;
 }
 
 
 .box4 .pt-1 {
    gap: 0.10rem !important;
}

.lowpa {
	letter-spacing: -0.8px;
	word-spacing: -0.9px;
}

.lowpa strong {
	font-weight: 600 !important;
}

.card-body {
	padding-left: 3px !important;
	padding-right: 3px !important;
	font-size: 14px;
}

.title-tight {
	font-size: 18px;
	letter-spacing: -0.4px;
	word-spacing: -0.5px;
}

.md-pagination {
	 margin-bottom: 8px;
 }
 
.md-recent {
	line-height: 24px;
}

.ad-box {
  width:100%;
  height: 160px;
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index: 5;
}

}

@media (min-width: 992px) and (max-width: 1199.98px) {
	
	:root{
  --caption-dec: 0.090890117917145;
}

.meteobox h2 {
	letter-spacing: -0.3px;
	word-spacing: -0.4px;
}

.banner1 {
	margin-bottom: 0.5rem;
}
.banner1in {
  height: 50px;
}

.banner2in {
		height: 90px;
	}
	
.banner4 {
	padding: 4px;
}


.navbar-brand {
		margin-left: 12px;
	}
	


.navbar-toggler {
		margin-right: 12px;
}

.navcontainer {
	padding-left: 0px;
	padding-right: 0px;
	
}

.navbar-nav .nav-item.mainlevel {
	border-top: 0.5px solid #C9EAC7;
	font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-size: 1.25em;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
		padding-right: 0px !important;
  }
  
.navbar .dropdown-trigger {
    display: inline-block;
  }

	.navbar-custom .nav-link {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	
	.trail-marker {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #c20000 33%, #fff 33%, #fff 66%, #c20000 66%);
  margin-right: 6px;
  vertical-align: middle;
}

.dropdown-item {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-weight: bold;
	font-size: 1.125em;
}
	
	
	.slide-desc {
		position: relative !important;
		height: 8%;
		top: 0;
	}
	
	.rightslider {
		
	}
	
	.dropdown-item.active {
	background-color: #418D6A;
	color: #ffffff;
}

	.navbar-nav ul.firstlevel {
			border-radius: 0;
			border: 0px;
	}
	
	.firstlevel a:hover {
	background-color: #418D6A;
	color: #ffffff;
}
	.firstlevel > li:nth-child(odd) > a:hover {
		background-color: #3A7C57;
	}
	
	.firstlevel > li:nth-child(even) > a:hover {
		background-color: #418D6A;
	}
	
	.navbar-nav > li > a.nav-link {
  background-color:#418D6A;
}

.navbar-nav .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* per le icone solid */
  content: "\f054"; /* fa-chevron-right */
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: #ffffff;
  display: inline-block;
  border: none; /* disattiva la caret */
  transition: transform 0.3s ease;
  transform-origin: center center; /* rotazione centrata */
}


  /* aumenta area cliccabile */
  .navbar-nav .dropdown-toggle {
    display: flex; 
	margin-right: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}
	
	.latmenu li {
		width: calc(50% - 3px);
		margin-bottom: 6px;
	}
	
	.latmenu li:nth-child(odd) {
		margin-right: 6px;	
	}
	
	.navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
}
.dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
}
.navbar-collapse.show {
    overscroll-behavior: contain;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.relateditems .card-body span:last-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
 .md-pagination {
	 margin-top: 36px;
 }
 
 .md-col {
	 padding-top: 14px !important;
	 padding-bottom: 14px !important;
 }
 
 .ellipsis, .ellipsnot {
	 padding-bottom: 4px !important;
 }
 
 .card-body {
	 padding-top: 2px !important;
	 padding-bottom: 4px !important;
 }
 
 .mtb_title_content {
	 line-height: 30px;
 }
 
 .ad-box {
  width:100%;
  height: 50px;
  z-index: 5;
}

}


@media (min-width: 768px) and (max-width: 991.98px) {
	:root{
  --caption-dec: 0.111204;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 20px;
}

.meteobox h2 {
	letter-spacing: -0.5px;
	word-spacing: -0.5px;
}
.banner1 {
	margin-bottom: 0.5rem;
}
	.banner1in {
  height: 50px;
}

.banner2in {
		height: 90px;
	}


.navbar-brand {
		margin-left: 12px;
	}

.navbar-toggler {
		margin-right: 12px;
}

.navcontainer {
	padding-left: 0px;
	padding-right: 0px;
	
}

.navbar-nav .nav-item.mainlevel {
	border-top: 0.5px solid #C9EAC7;
	font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-size: 1.25em;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
		padding-right: 0px !important;
  }
  
.navbar .dropdown-trigger {
    display: inline-block;
  }
  
  .navbar-custom .nav-link {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
	
  .trail-marker {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #c20000 33%, #fff 33%, #fff 66%, #c20000 66%);
  margin-right: 6px;
  vertical-align: middle;
}

.dropdown-item {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-weight: bold;
	font-size: 1.125em;
}
  
  
	.slide-desc {
		
		position: relative !important;
		height: 10%;
	}
	
	.rightslider {
	}
	
	.latmenu li {
		width: calc(50% - 3px);
		margin-bottom: 6px;
	}
	
	.latmenu li:nth-child(odd) {
		margin-right: 6px;	
	}
	


  
	.dropdown-item.active {
	background-color: #418D6A;
	color: #ffffff;
}
	
	.navbar-nav ul.firstlevel {
			border-radius: 0;
			border: 0px;
	}
	
	.firstlevel a:hover {
	background-color: #418D6A;
	color: #ffffff;
}
	
	.navbar-nav > li > a.nav-link {
  background-color:#418D6A;
}

.navbar-nav .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* per le icone solid */
  content: "\f054"; /* fa-chevron-right */
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: #ffffff;
  display: inline-block;
  border: none; /* disattiva la caret */
  transition: transform 0.3s ease;
  transform-origin: center center; /* rotazione centrata */
}


  /* aumenta area cliccabile */
  .navbar-nav .dropdown-toggle {
    display: flex; 
	margin-right: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
}
.dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
}
.navbar-collapse.show {
    overscroll-behavior: contain;
}

.navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
}
.dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
}
.navbar-collapse.show {
    overscroll-behavior: contain;
}
	
.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.shrink {
        letter-spacing: -0.4px;         /* compatta leggerissimamente */
        word-spacing: -1px;             /* elimina lo “spreco” tra parole */
    }
	
.shrinkcai {
	letter-spacing: -0.8px;         /* compatta leggerissimamente */
		 word-spacing: -1px;
}

.box1 .cai {
	  margin-right: 1px;
	  padding: 0px 2px;
	  border-left: 10px solid #E90000;
	  border-right: 10px solid #E90000;
	  min-width: 50px;
 }
 


.lastcai {
	margin-right: 0px !important;
}

.lowpa {
	letter-spacing: -0.2px;
	word-spacing: -0.2px;
}

.card-body {
	padding-left: 6px !important;
	padding-right: 6px !important;
	font-size: 15px;
}

.relateditems .card-body span:last-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

	.md-pagination {
	 margin-top: 36px;
 }
 
 .md-col {
	 padding-top: 12px !important;
	 padding-bottom: 12px !important;
 }
 
 .ellipsis, .ellipsnot {
	 padding-bottom: 4px !important;
 }
 
 .card-body {
	 padding-top: 4px !important;
	 padding-bottom: 4px !important;
 }
 
 .ad-box {
  width:100%;
  height: 50px;
  z-index: 5;
}
	
}

@media (min-width: 576px) and (max-width: 767.98px) {
	:root{
  --caption-dec: 0.15790901078039202;
}

.titleh1 > h1 {
    
  }

	.banner1 {
	margin-bottom: 0.5rem;
}

.banner4 {
	margin-bottom: 1rem;
}

	.banner1in {
  height: 50px;
}

.banner2in {
		height: 50px;
	}

.banner3in {
  width: 100%;
  min-height: 250px;
  max-height: 280px;
  overflow: hidden;
}

.banner4in {
  min-height: 100px;
  max-height: 100px;
}



.navbar-brand {
		margin-left: 12px;
	}

.navbar-toggler {
		margin-right: 12px;
}

.navcontainer {
	padding-left: 0px;
	padding-right: 0px;
	
}

.navbar-nav .nav-item.mainlevel {
	border-top: 0.5px solid #C9EAC7;
	font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-size: 1.25em;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
		padding-right: 0px !important;
  }
  
.navbar .dropdown-trigger {
    display: inline-block;
  }
  
  .navbar-custom .nav-link {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
  
  .navbar-nav > li > a.nav-link {
  background-color:#418D6A;
}

.navbar-nav .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* per le icone solid */
  content: "\f054"; /* fa-chevron-right */
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: #ffffff;
  display: inline-block;
  border: none; /* disattiva la caret */
  transition: transform 0.3s ease;
  transform-origin: center center; /* rotazione centrata */
}


  /* aumenta area cliccabile */
  .navbar-nav .dropdown-toggle {
    display: flex; 
	margin-right: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.dropdown-item.active {
	background-color: #418D6A;
	color: #ffffff;
}

.navbar-nav ul.firstlevel {
			border-radius: 0;
			border: 0px;
	}
	
	

.firstlevel a:hover {
	background-color: #418D6A;
	color: #ffffff;
}

.trail-marker {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #c20000 33%, #fff 33%, #fff 66%, #c20000 66%);
  margin-right: 6px;
  vertical-align: middle;
}

.dropdown-item {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-weight: bold;
	font-size: 1.125em;
}
  
  
	.slide-desc {
		
		position: relative !important;
		height: 15%;
	}
	
	.latmenu li {
		width: calc(50% - 3px);
		margin-bottom: 6px;
	}
	
	.latmenu li:nth-child(odd) {
		margin-right: 6px;	
	}
	
	.navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
}
.dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
}
.navbar-collapse.show {
    overscroll-behavior: contain;
}

.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.ad-box {
  width:100%;
  height: 50px;
  z-index: 5;
}
	
}

@media (min-width: 360px) and (max-width: 575.98px) {
	:root{
  --caption-dec: 0.2;
}

.titleh1 > h1 {
    font-size: calc(1.375rem + 0.7vw);
  }
  
  h2 {
	  font-size: calc(1.325rem + 0.5vw);
  }
  
  h3 {
	  font-size: calc(1.25rem + 0.5vw);  
  }
  
  h4 {
	  font-size: calc(1.25rem + 0.2vw);
  }
.banner1 {
	margin-bottom: 0.5rem;
}

.banner4 {
	margin-bottom: 1rem;
}

.banner1in {
  height: 50px;
}

.banner2in {
		height: 50px;
	}

.banner3in {
  width: 100%;
  min-height: 250px;
  max-height: 280px;
  overflow: hidden;
}

.banner4in {
  min-height: 100px;
  max-height: 100px;
}



.navbar-brand {
		margin-left: 12px;
	}

.navbar-toggler {
		margin-right: 12px;
}

.navcontainer {
	padding-left: 0px;
	padding-right: 0px;
	
}

.navbar-nav .nav-item.mainlevel {
	border-top: 0.5px solid #C9EAC7;
	font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-size: 1.25em;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
		padding-right: 0px !important;
  }
  
.navbar .dropdown-trigger {
    display: inline-block;
  }
  
  .navbar-custom .nav-link {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
  
.navbar-nav > li > a.nav-link {
  background-color:#418D6A;
}

.navbar-nav .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* per le icone solid */
  content: "\f054"; /* fa-chevron-right */
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: #ffffff;
  display: inline-block;
  border: none; /* disattiva la caret */
  transition: transform 0.3s ease;
  transform-origin: center center; /* rotazione centrata */
}


  /* aumenta area cliccabile */
  .navbar-nav .dropdown-toggle {
    display: flex; 
	margin-right: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}

.trail-marker {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #c20000 33%, #fff 33%, #fff 66%, #c20000 66%);
  margin-right: 6px;
  vertical-align: middle;
}

.dropdown-item {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-weight: bold;
	font-size: 1.125em;
}
  
  
	.slide-desc {
		position: relative !important;
		height: 20%;
	}
	.slide-desc-text-default {
	padding: 0px 10px;
	}
	
	.latmenu li {
		width: calc(50% - 3px);
		margin-bottom: 6px;
	}
	
	.latmenu li:nth-child(odd) {
		margin-right: 6px;	
	}
	
	.dropdown-item.active {
	background-color: #418D6A;
	color: #ffffff;
}

	.navbar-nav ul.firstlevel {
			border-radius: 0;
			border: 0px;
	}
	
	.firstlevel a:hover {
	background-color: #418D6A;
	color: #ffffff;
}
	
	.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

 /* Il contenitore mobile principale diventa scrollabile */
  .navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
  }

  /* I menu interni si allungano liberamente */
  .dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
  }

  /* Disabilita overscroll a catena */
  .navbar-collapse.show {
    overscroll-behavior: contain;
  }
  
  .box1 .cai {
	  margin-right: 1px;
	  padding: 0px 1px;
	  border-left: 10px solid #E90000;
	  border-right: 10px solid #E90000;
	  min-width: 47px;
 }
 
 
 
 .shrinkcai {
	letter-spacing: -0.9px;         /* compatta leggermente */
		 word-spacing: -1px;
}

.shrink {
        letter-spacing: -0.4px;         /* compatta leggerissimamente */
        word-spacing: -1.2px;             /* elimina lo “spreco” tra parole */
    }


.lastcai {
	margin-right: 0px !important;
}

.latmenu a {
		 letter-spacing: -0.2px;
		 word-spacing: -0.5px;             /* elimina lo “spreco” tra parole */
		 
	}
	
	.ad-box {
  width:100%;
  height: 50px;
  z-index: 5;
}
	
}

@media (max-width: 359.98px) {
	:root{
  --caption-dec: 0.2;
}

.titleh1 > h1 {
    font-size: calc(1.25rem + 0.5vw);
  }
  
  h2 {
	  font-size: calc(1.25rem + 0.1vw);
  }
  
  h3 {
	  font-size: calc(1rem + 1vw);  
  }
  
  h4 {
	  font-size: calc(1rem + 0.2vw);
  }
  .banner1 {
	margin-bottom: 0.5rem;
}
.banner4 {
	margin-bottom: 1rem;
}

.banner1in {
  height: 50px;
}

.banner2in {
		height: 50px;
	}

.banner3in {
  width: 100%;
  min-height: 250px;
  max-height: 280px;
  overflow: hidden;
}

.banner4in {
  min-height: 100px;
  max-height: 100px;
}


.navbar-brand {
		margin-right: 2px;
	}
	
.navbar-brand {
		margin-left: 8px;
	}

.navbar-toggler {
		margin-right: 8px;
}

.navcontainer {
	padding-left: 0px;
	padding-right: 0px;
	
}

.navbar-nav .nav-item.mainlevel {
	border-top: 0.5px solid #C9EAC7;
	font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
	font-size: 1.25em;
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	padding-left: 0px !important;
		padding-right: 0px !important;
  }
  
.navbar .dropdown-trigger {
    display: inline-block;
  }
  
  .navbar-custom .nav-link {
		padding-left: 14px !important;
		padding-right: 14px !important;
	}
  
  .navbar-nav > li > a.nav-link {
  background-color:#418D6A;
}

.navbar-nav .dropdown-toggle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* per le icone solid */
  content: "\f054"; /* fa-chevron-right */
  font-size: 1.2rem;
  margin-left: 0.5rem;
  color: #ffffff;
  display: inline-block;
  border: none; /* disattiva la caret */
  transition: transform 0.3s ease;
  transform-origin: center center; /* rotazione centrata */
}


  /* aumenta area cliccabile */
  .navbar-nav .dropdown-toggle {
    display: flex; 
	margin-right: 12px;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  
  .navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(90deg);
}


.trail-marker {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(to right, #c20000 33%, #fff 33%, #fff 66%, #c20000 66%);
  margin-right: 6px;
  vertical-align: middle;
}

.dropdown-item {
	padding-top: 2px !important;
	padding-bottom: 2px !important;
	font-weight: bold;
	font-size: 1.125em;
}

	.slide-desc {
		position: relative !important;
		height: 20%;
	}
	.slide-desc-text-default {
	padding: 0px 2px;
	}
	
	.latmenu li {
		width: calc(50% - 3px);
		margin-bottom: 6px;
		font-size: 15px;
	}
	
	.latmenu li:nth-child(odd) {
		margin-right: 6px;	
	}
	
	.dropdown-item.active {
	background-color: #418D6A;
	color: #ffffff;
}
	
	.navbar-nav ul.firstlevel {
			border-radius: 0;
			border: 0px;
	}
	
	.firstlevel a:hover {
	background-color: #418D6A;
	color: #ffffff;
}
	
	.video-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.breadcustom li a {
  padding: .5em 0.125em .5em 1.125em; 
}

.navbar-collapse.show {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    max-height: 100vh;
}
.dropdown-menu {
    overflow: visible !important;
    max-height: none !important;
    position: static !important;
}
.navbar-collapse.show {
    overscroll-behavior: contain;
}

.box1 .cai {
	  margin-right: 1px;
	  padding: 0px 1px;
	  border-left: 8px solid #E90000;
	  border-right: 8px solid #E90000;
	  min-width: 42px;
 }
 

.shrink {
        letter-spacing: -1.5px;         /* compatta leggerissimamente */
        word-spacing: -1.6px;             /* elimina lo “spreco” tra parole */
    }
 
 .shrinkcai {
	letter-spacing: -1.5px;         /* compatta */
		 word-spacing: -1px;
}

.lastcai {
	margin-right: 0px !important;
}

.maincontainer {
	
}

.comp {
	letter-spacing: -0.3px;
	word-spacing: -0.8px;
}

.latmenu a {
		letter-spacing: -1.4px !important;   
		 word-spacing: -1.2px !important;             /* elimina lo “spreco” tra parole */
		 margin-left: 1px !important;
	}
	
	.legal {
	letter-spacing: -0.8px !important;
	word-spacing: -0.9px !important;
}
	
	.ad-box {
  width:100%;
  height: 50px;
  z-index: 5;
}
	
}

@media (min-width: 360px) and (max-width: 419.98px) {
.breadcustom li a {
  padding: .5em 0.25em .5em 1.25em; 
}

.latmenu a {
		letter-spacing: -0.6px;   
		 word-spacing: -1.2px;             /* elimina lo “spreco” tra parole */
		 margin-left: 2px !important;
	}


}
@media (min-width: 360px) and (max-width: 383.98px) {
	.shrink {
        letter-spacing: -0.9px;         /* compatta leggerissimamente */
        word-spacing: -1.2px;             /* elimina lo “spreco” tra parole */
    }
	
	.latmenu a {
		letter-spacing: -1px !important;   
		 word-spacing: -1.3px !important;             /* elimina lo “spreco” tra parole */
		 margin-left: 2px !important;
	}
	
	.maincontainer {
	
}

.legal {
	letter-spacing: -0.4px !important;
	word-spacing: -0.5px !important;
}
	
	
}

@media (max-width: 575.98px) {
  .sep {
    display: none;
  }

  .brand {
    display: block;
  }

  .legal {
	font-size: 13px;
    display: block;
  }
}






