/*!
Theme Name: Cantine Morro d'Alba
Theme URI: https://them.es/starter
Author: Horsa Link
Author URI: https://them.es/
Description: 
Version: 3.5.4
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: cantinemd
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/build/main.css" */

/* From http://codex.wordpress.org/CSS */
@font-face {
    font-family: 'cantinemd';
    src: url('assets/fonts/montserrat-latin-regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'cantinemd-strong';
    src: url('assets/fonts/montserrat-latin-600.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
.leaflet-marker-icon.circle-marker {
    border-radius: 50%; /* Rende l'elemento circolare */
    border: 1px solid #fff; /* Aggiunge un bordo bianco opzionale */
    box-shadow: 0 0 5px rgba(0,0,0,0.5); /* Aggiunge un'ombra per farla risaltare */
    /* Queste proprietà sono fondamentali per mantenere l'aspect-ratio */
    object-fit: cover; 
    width: 40px; /* Assicurati che le dimensioni siano definite */
    height: 40px;
}
#mappa_c{width: 100%; height: 550px;}
.content-home h2{line-height:3rem;}
.bg_home_vino{background-image: url("assets/img/bg_vino_home.jpeg"); padding:20px;background-size: cover;
    min-height: 400px;    display: flex
;
    align-items: center;}
.bg_home_vino p{padding:20px; background-color:rgba(0, 0, 0, 0.5); color:#fff; font-size:1.7rem; line-height: 2.8rem; border-radius: 30px; max-width:480px;}
b, strong{font-family: 'cantinemd-strong';}
.entry-title{font-weight: 600;}
.btn-link-gmaps{background-color:#952824; color:#fff; padding:5px 12px; border-radius: 20px; font-size:0.8rem;}
.sezione_dettagli_itinerario{padding:10px; border-top:1px solid #D1DBE4; border-bottom:1px solid #D1DBE4; margin:2rem 0;}
.sezione_dettagli_itinerario label{text-transform: uppercase; font-size: 0.9rem;}
.sezione_dettagli_itinerario .value{font-weight: 600; margin-bottom:1rem;}
body{font-family: 'cantinemd'; line-height: 1.8rem;font-size:1.1rem !important; font-weight: 300 !important; color:#000 !important;}
.text-dark{color:#000 !important;}
label{font-size: 1rem;font-weight: 500;}
.wp-block-heading{margin-bottom:2rem;}
.text-bg-custom{background-color: #309365;color: #fff !important;}
.bg-color-card{background-color:#952824;}
.nav-menu-row{position:absolute; top:0px; width:100%; }
.hero_bg{position:relative;}
.item-link-mega-menu picture img{width: 100%;height: 100%;object-fit: cover;border-radius: 20px;}
.item-link-mega-menu .text{font-size:1rem;}
.item-link-mega-menu{margin-bottom:8px; display: block;}
.item-link-mega-menu .text{display:flex;align-items:center; margin:2px 0px 0px 5px;}
.item-link-mega-menu .text i{margin-right:6px;}
.h1, h1{font-size:2.6rem !important;}
.h2, h2{font-size:1.6rem !important;}
.h3, h3{font-size:1.4rem !important;}
h2.has-medium-font-size{font-size:1.6rem !important;}
.slogan{font-size:2.4rem; font-weight: 100;}
.alignnone {margin: 5px 20px 20px 0;}
.aligncenter,div.aligncenter {display: block;margin: 5px auto 5px auto;}
.alignright {float: right;margin: 5px 0 20px 20px;}
.alignleft {float: left;margin: 5px 20px 20px 0;}
a img.alignright {float: right;margin: 5px 0 20px 20px;}
a img.alignnone {margin: 5px 20px 20px 0;}
a img.alignleft {float: left;margin: 5px 20px 20px 0;}
a img.aligncenter {display: block;margin-left: auto;margin-right: auto;}
.d-none{display:none;}
.wp-caption {max-width: 96%;padding: 5px 3px 10px;text-align: center;}
.wp-caption.alignnone {margin: 5px 20px 20px 0;}
.wp-caption.alignleft {margin: 5px 20px 20px 0;}
.wp-caption.alignright {margin: 5px 0 20px 20px;}
.wp-caption img {border: 0 none;height: auto;margin: 0;max-width: 98.5%;padding: 0;width: auto;}
.wp-caption p.wp-caption-text {font-size: 11px;line-height: 17px;margin: 0;padding: 0 4px 5px;}
.gallery-item {display: inline-block;text-align: left;vertical-align: top;width: 50%;}
.gallery-item a,.gallery-item a:hover,.gallery-item a:focus {-webkit-box-shadow: none;box-shadow: none;background: none;display: inline-block;max-width: 100%;}
.gallery-item a img {display: block;-webkit-transition: -webkit-filter 0.2s ease-in;transition: -webkit-filter 0.2s ease-in;transition: filter 0.2s ease-in;transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;-webkit-backface-visibility: hidden;backface-visibility: hidden;}
.gallery-item a:hover img,.gallery-item a:focus img {-webkit-filter: opacity(60%);filter: opacity(60%);}
.gallery-caption {display: block;text-align: left;padding: 0 10px 0 0;margin-bottom: 0;}
.gallery-columns-1 .gallery-item {max-width: 100%;}
.gallery-columns-2 .gallery-item {max-width: 50%;}
.gallery-columns-3 .gallery-item {max-width: 33%;}
.gallery-columns-4 .gallery-item {max-width: 25%;}
.gallery-columns-5 .gallery-item {max-width: 20%;}
.gallery-columns-6 .gallery-item {max-width: 16.66%;}
.gallery-columns-7 .gallery-item {max-width: 14.28%;}
.gallery-columns-8 .gallery-item {max-width: 12.5%;}
.gallery-columns-9 .gallery-item {max-width: 11.11%;}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {display: none;}
.t_section_content{background-color:#0058A5; color:#fff; text-transform: uppercase; padding:4px 10px; font-size:1.1rem !important;}
.img_thumbnail{height:140px; border-radius: 10px;   align-items: center;display: flex;
    overflow: hidden;}
.bypostauthor {font-weight: bold;}
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px);position: absolute !important;height: 1px;width: 1px;overflow: hidden;}
.screen-reader-text:focus {background-color: #f1f1f1;border-radius: 3px;box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);clip: auto !important;color: #21759b;display: block;font-size: 14px;font-size: 0.875rem;font-weight: bold;height: auto;left: 5px;line-height: normal;padding: 15px 23px 14px;text-decoration: none;top: 5px;width: auto;z-index: 100000;}
#main{margin-top: 0px !important;}
.pt-internal-main{padding-top:9rem;}
.title-section-home{font-weight: bold;text-align: center; font-size:2.5rem !important;}
:root{--color-link: #0058a5;--color-link-hover: #020b5a;}
.w-80{width: 80%;}
/* Header */
.logo-site{padding-right: 10px; max-width:240px !important; width:100%; height:auto !important; max-height: 100px;}
.menu-right{display:flex;justify-content: space-between;align-items: center;flex-direction: row;}
.menu-right i{width:35px; height:35px;}
.menu-right i::before{font-size:25px; line-height: 30px;}
.h-home-page .nav-link-menu{color: #fff;font-size: 1.4rem;}
.header-bar-internal .nav-link-menu{color: #000;}
#header .navbar-toggler .icon-menu-bars{font-size:30px;color: #fff;}
.home #header .navbar-toggler .icon-menu-bars{color:#fff}
#header .navbar-toggler{border: 0px;}
#header .navbar-toggler:focus{box-shadow: none!important;}
#header .btn-desktop{display:flex;justify-content: end;}
#header .btn-desktop a{margin:0px 5px;}
#header .btn-mobile{display:inline-block}
.h-home-page .btn-mobile a{color:#fff;background-image: none;}
header .opacity-home{
	width: 100%;
	height: 120px;
	position: absolute;	
	background: linear-gradient(to top,  rgba(255,255,255,0) 0%,rgba(0,0,0,1) 100%);
}
header .opacity-home-bottom{
	width: 100%;
	height: 120px;
	bottom:0;
	position: absolute;	
	background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(0,0,0,1) 100%);
}
.flipbook {height: auto;width: 100%;min-height: 400px;background: white;box-shadow: 0 0 15px rgba(0,0,0,0.2);margin: 0 auto;}
.flipbook .page {height: auto;overflow: hidden;}
.flipbook .page img {width: 100%;height: auto;display: block;}
.navigation_flipbook {text-align: center;margin-top: 10px;}
.navigation_flipbook button {padding: 10px 20px;font-size: 16px;cursor: pointer;margin: 0 10px;}
.flipbook-container .controls{text-align:center; margin-bottom:1rem;}
.flipbook-container .controls .prev,.flipbook-container .controls .next{    padding: 0px 10px;
    line-height: 22px;
    background-color: #8D2622;
    color: #fff;
    border: 0px;}



/* Content home */
.btn-read-more{border:1px solid #000; padding:1px 10px; font-size:0.9rem; display: inline-block;}
#content_home{padding: 4rem 0px; background-size: cover; background-color:#F3F3F3;}
.video-header{width:100%; height: calc(100vh - 50px); object-fit: cover;}
.hero_img_center{width:100%; background-size: cover; height: 70vh; background-repeat: no-repeat;    background-position: center; position:relative;}
.hero_img{width:100%;background-size: cover; height: 100vh;background-repeat: no-repeat;background-position: bottom;position:relative; max-height:700px;}
.hero_img_desc{position:absolute; color:#fff; bottom:2px; right:10px; z-index:9; font-size:0.9rem;}
a.navbar-brand{color:#fff;font-weight: bold;}
.home #header #menu-menu-principale a,.home #header #menu-menu-principale-en a{color:#fff;font-size: 1.1rem;padding: 10px 5px;}
.home #header #menu-menu-principale a.megaMenu_item:hover, .home #header #menu-menu-principale-en a.megaMenu_item:hover{background-color: #3F3F3F;border-radius: 5px;}
.close-icon{display: none;}
.home #header #navbar i{color: #fff;}

#header, .btn-primary, .btn-primary:hover, .btn-primary:active{background-color: #9A2925 !important; border:0;}
#header .menu-item > a, #header .nav-link-menu-icon{color:#fff;}

.home #header{background-image: none;background-color: transparent;padding-bottom: 0px;}
.home .home-video-youtube #header{top:0px;background-image: none;background-color: #3b3b3b;padding-bottom: 10px;}
.hero_img_center_small{width:100%; background-size: cover; height: 70vh; background-repeat: no-repeat;    background-position: center; position:relative;}
.header-title{padding:0 2rem; line-height:3rem; color:#fff; position:absolute; bottom:40%; text-align: center;font-size: 2.5rem;font-weight: 800;text-transform: uppercase;text-shadow: 0px 0px 10px #000}
.header-title a{color: #fff;}
.hero_img_center .title, .hero_img_center_small .title{padding:0px 30px;color:#fff; position:absolute; bottom:30%; text-align: center;font-size: 2.5rem;font-weight: 800;text-transform: uppercase;text-shadow: 0px 0px 10px #000}
.hero_img_center .title h1{font-size: 3rem;font-weight: 800;}
.sec_links{font-size:1rem;}
.sec_links a{display: block; text-decoration:underline;margin-bottom:3px;}
.hero-yt {
	position: relative;
    width: 100%;
    height: 80vh; /* OCCUPA TUTTA L'ALTEZZA DEL VIEWPORT */
    overflow: hidden;
  }

  .hero-yt iframe {
	min-width: 100%; 
    min-height: 100%;
    width: 177.77vh; /* 100vw * (16/9) = 177.77vw. Scegliamo la dimensione in base all'altezza (vh) */
    height: 56.25vw; /* 100vh * (9/16) = 56.25vh. Scegliamo la dimensione in base alla larghezza (vw) */
    
    /* Regola per assicurarsi che il lato più piccolo sia almeno al 100% */
    min-width: 100vw;
    min-height: 56.25vw; /* 100vw * (9/16) */
    
    /* Regole per forzare il video a coprire sempre */
    /* Vogliamo sempre la dimensione più grande tra l'altezza (100vh) e il 177.77% della larghezza (177.77vh) */
    min-width: max(100vw, 177.78vh); /* Usa la dimensione maggiore tra larghezza viewport e 16:9 dell'altezza viewport */
    min-height: max(56.25vw, 100vh); /* Usa la dimensione maggiore tra altezza 9:16 della larghezza viewport e altezza viewport */

    /* Garantisce che l'iframe sia sempre al di sotto di altri contenuti, se presenti */
    z-index: -1; 
  }

  .hero-yt::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Sfondo nero con 40% di opacità */
    z-index: 0;
}

  .hero-yt .hero-content {
	z-index: 1;
	background-color: rgba(0, 0, 0, 0.5); /* Oscuramento del testo per contrasto */
	padding: 20px;
	border-radius: 10px;
  }

  .hero-yt h1 {
	font-size: 3rem;
	margin: 0;
  }




/* Destinazioni home */
#container_mosaic_error{display:none;}
.btn-cantinemd{    padding: 10px 25px;
    border-radius: 25px;border: 1px solid #9A2925;
     background-color: #9A2925; color:#fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2rem;
}.bg-ffff{background-color:#fff;}
.list_archivio_categoria{text-align:center;}
.modal-header{background-color:#9A2925;}
.modal-header h5{color:#fff;}
.fa-search-glass{
    background-image: url('./assets/img/search_ai.svg'); /* <--- IMPORTANTE: Adatta il percorso! */
    background-repeat: no-repeat;
    height:25px;
    background-position: center center;
    background-size: contain; /* o una dimensione fissa, es. 20px 20px */
    vertical-align: middle; /* Aiuta l'allineamento con il testo */}
.btn-visit{background-color:#9A2925;font-weight: 100 !important; padding:4px 1px; color:#fff; text-align: center; border-radius: 10px;}
.btn-visit a{color:#fff !important; font-weight: 100 !important;}
.list_archivio_categoria a{color:#fff; display:inline-block; margin:10px;width: 170px;height: 120px; font-size:0.9rem;}
.list_archivio_categoria a p{font-size:0.8rem; -webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis; padding:0px 4px;}
.list_archivio_categoria a .img{background-position: center; border-top-left-radius: 10px;border-top-right-radius: 10px;width:100%;height:100%; background-size:cover;}
.posts-navigation{text-align:center;}
.archivio_categorie a{color:#fff; background-color:#020B5A; margin:5px; border-radius:10px; padding:2px 14px; font-size:0.9rem; display:inline-block; text-transform: uppercase;}
.border-D1DBE4{border:1px solid #D1DBE4;}
.rounded-20{border-radius: 20px;}
.box {width:100%;border-radius: 20px;margin: 10px 0;display: inline-block;box-sizing: border-box;border: 1px solid #d1dbe4;    background-color: #fff; position:relative;}
.box .date{font-size:0.9rem;}
.d_grap{width:50px; height:50px; background-color: #fff; position:absolute; top:3px; left:3px; border-radius: 6px; text-align: center;}
.d_grap .m{font-size:16px;background-color:#E8514B; text-transform: uppercase; color:#fff; border-radius:6px 6px 0px 0px;}
.d_grap .d{font-size:17px; font-weight: 500;}
.box a{color: #000;}
.accordion-button, .accordion-button:not(.collapsed){background-color:#952824; color:#fff;}
.accordion-button::after, .accordion-button:not(.collapsed)::after {
    filter: invert(1); /* Rende l'icona bianca */
}
.sec_indice{background-color: #F3F3F3; border-radius: 10px;}
.sec_indice a{color:#0000EE; display: block;} 
.sec_indice .item_tappa{display: flex; align-items: center;}
.sec_indice .item_tappa .n_item_tappa{font-size:13px; font-weight: 700; margin:10px;background-color: #9A2925; color:#fff; text-align: center; width:30px; height:30px; border:2px solid #000; border-radius: 15px;}
.item_taxonomy_value{margin-bottom:0.5rem; line-height: 1.1rem;background-color:#9A2925;display: inline-block;margin-right: 5px; padding: 4px 8px;color: #fff;font-weight: 600;text-transform: uppercase;font-size: 0.7rem;border-radius: 5px;}
.item_etichetta_value{margin-bottom:0.5rem; line-height: 1.1rem;background-color:green;display: inline-block;margin-right: 5px; padding: 4px 8px;color: #fff;font-weight: 600;text-transform: uppercase;font-size: 0.7rem;border-radius: 5px;}
.item_categorie_value{margin-bottom:0.5rem; line-height: 1.1rem;background-color:#F2A804;display: inline-block;margin-right: 5px; padding: 4px 8px;color: #fff;font-weight: 600;text-transform: uppercase;font-size: 0.7rem;border-radius: 5px;}

#eventi_home .box{box-shadow: 0px 0px 3px #a9a9a9;}
#container_mosaic .single-box{display: flex;flex-direction: column;border-radius: 20px;box-shadow: 5px 7px 16px #a9a9a9;}
.box-img{height:200px;overflow: hidden;border-radius:20px 20px 0px 0px;position: relative;}
.home-box-img{height:300px !important;display: flex
;
    justify-content: center;
    align-items: center;}
.box-img .taxonomy_field{position: absolute;z-index: 9;top: 4px; left:10px;}
.box-img .taxonomy_field .item_taxonomy_field{font-size: 12px;font-weight: 500;display: table;background-color:#9A2925; color:#fff; padding:3px 11px; font-size:0.8rem; margin-bottom:3px; border-radius: 5px;}
.img-box{width: 100%;height: 100%;background-repeat: no-repeat;background-size: cover;border-radius:20px 20px 0px 0px;background-position: center; transition:all 0.5s}
.socials_section{text-align: center; margin-top:2rem;}
.socials_section .item{margin:5px 10px; font-size:1.6rem; display: inline-block;}
.socials_section .item a{color:#000;}
.box-img:hover .img-box,
.box-img:focus .img-box {transform: scale(1.1);}
.box-img .img-taxonomy{background-color: rgb(156, 7, 7);width: fit-content;position: absolute;top: 20px;left: 15px;padding: 5px 10px;border-radius: 10px;color: #fff;font-size: 0.8rem;font-weight: 600;}
.title-box h3{font-size:1.2rem !important; font-weight:bold; -webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.ellips3{-webkit-line-clamp: 3;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.text-box {padding: 10px; }
.content-box{line-height: 1.4rem;  font-size:1rem;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;white-space: normal;}
.line3{-webkit-line-clamp: 3;}
.content-section-home{line-height: 2.5rem; font-size:1.4rem;}
#footer{background-color:#9A2925 !important; color:#fff; font-size:0.9rem;}
#footer a{color: #fff; font-size:0.9rem; font-weight: 100; }
#footer .row-sub-logo a{color:#fff; text-decoration: underline;}
#footer_loghi{margin:20px 0px;}
#footer_loghi img{max-height: 60px; max-width:100%;}
#footer_loghi .item-logo{position:relative;}
#footer_loghi .b-right{width:2px; height:80%; top:10%; position:absolute;right: 0; background-color:#B5B5B5;}
.s_temi .item{background-color:green; padding:1px 10px; color:#fff; font-size:0.9rem; border-radius: 5px; margin-right:5px;}
.item_area_tematica{font-size: 12px;font-weight: 500;background-color: #9A2925; margin-right:10px;color: #fff;padding: 3px 11px;font-size: 0.8rem;border-radius: 5px;}
.label_etichetta{display:inline;font-weight: 500;background-color: #343B7B; margin-right:10px;color: #fff;padding: 3px 11px;font-size: 0.8rem;border-radius: 5px;}
.subTitle{font-size:1.5rem;}
.subTitle b{font-weight:600;}
.sub-footer{border-top:1px solid #fff; padding:5px; display:flex;  font-size:0.9rem;  justify-content: space-between;align-items: center;}
.sub-footer ul{list-style: none; margin:0px; display: flex; padding:0px;}
.sub-footer ul li a{font-size:0.9rem !important; padding:0px 10px;}
.struttura_menu_titolo{background-color: #020B5A; color:#fff; padding:4px; font-size:1rem !important;}
.img_destinazine, .img_site{position:relative;}
.ico_field{display: flex; padding:10px;text-align:center;flex-direction: column;align-items: center;}
.ico_field i{font-size:1.8rem; margin-bottom:0.6rem;}
.ico_field .v{font-size:0.9rem; line-height: 1.1rem;}
.img_box_350{
	max-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 20px;
}
.img_box_180{
	max-height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-radius: 20px;
}
.border-radius-10{    border-radius: 10px;}
.img_destinazine img, .img_site img{border-radius: 25px;}
.img_details{position:absolute; bottom:0px;margin-left:10px; width:calc(100% - 50px );  line-height:1rem;   text-shadow: 0px 0px 20px #000;color:#fff;padding:2px 10px; font-size:0.9rem;}
.img_details a{color:#fff; text-decoration: underline;}
.event_next{text-align:center;z-index: 1;position: relative;background-color:#DD9933; width:100%; min-height:400px; background-size: cover;background-position: center;display: flex;align-items: center;}
.event_next::after {content: '';position: absolute;top: 0;z-index: -1;left: 0;right: 0;bottom: 0;background: rgba(0, 0, 0, 0.3);pointer-events: none;}
.event_next .subTitle, .event_next .title, .event_next .date{font-weight: 700; color:#fff; text-shadow: 0px 0px 2px #000;}
.event_next .title{font-size:2.7rem !important;}
.event_next .date{font-size:1.8rem;}
.info_box{margin-bottom:2rem; border-left:8px solid #020B5A; border-right:8px solid #020B5A; font-size:1rem; padding:1rem; background-color:#E3E2E9;}
.btn_more_evento{border-radius: 10px; border:1px solid #fff; color:#fff; text-transform: uppercase; padding:10px 20px; font-size:1.1rem; background-color: #000;}
.btn-link{border-radius: 10px; border:1px solid #000; color:#000; padding:10px 20px; font-size:1rem; background-color: #fff;}
/* Single Destinazione */
.box-tags-destinazioni .single-tag-destinazione{color: var(--color-link-hover);}
.link-btn{font-size:0.9rem; text-decoration: none !important; border: 2px solid #0259A6; color:#0259A6; padding:3px 10px; border-radius: 20px;}
.limited-text-4{display: -webkit-box; -webkit-box-orient: vertical;overflow: hidden; text-overflow: ellipsis; max-height: calc(1.6em * 4);line-height: 1.6em;}
.limited-text-3{display: -webkit-box; -webkit-box-orient: vertical;overflow: hidden; text-overflow: ellipsis; max-height: calc(1.6em * 3);line-height: 1.6em;}
.item_box .img{position:relative; background-size:cover; height:200px; border-top-left-radius: 20px;border-top-right-radius: 20px;}
.item_box .type{letter-spacing: 0.7px;position:absolute; bottom:0px; right:0px; background-color:#9A2925; font-size:0.6rem; color:#fff; padding:0px 5px; text-transform: uppercase;}
.item_box a{color:#000; font-weight: 700;}
.item_box .ellips1{ font-size:0.9rem; -webkit-line-clamp: 1;display: -webkit-box; color:#000; margin-top:5px;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.item_box .indirizzo{font-weight: 100; font-size: 0.8rem;}
/* Single Eventi*/
.sezione_dettagli{border:3px solid #9A2925; font-size:1rem;}
.sezione_dettagli h2{background-color: #9A2925; color:#fff; padding:3px 10px; font-size:1.4rem !important;margin-bottom:0px;}
.sezione_dettagli .content_dettagli{padding:5px 1rem;}
.sezione_dettagli .content_dettagli ul{margin-left:20px;}
.sezione_dettagli label{font-weight: 700; margin-top:0.9rem;}

.sezione_destinazioni_collegate h3{font-size:1.2rem;-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.sezione_destinazioni_collegate img{border-radius: 10px;}
.sezione_destinazioni_collegate .indirizzo{font-size:0.9rem;}
#map_evento{width:100%; min-height:250px;}
#map_gpx{width:100%; height:450px;}
.item_sponsor{width:200px; text-align:center;    display: inline-block; margin:4px 10px;}
/*.item_sponsor .title, .ellips1{ -webkit-line-clamp: 1;display: -webkit-box; color:#000; margin-top:5px;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}*/
.item_sponsor .title{font-size:0.9rem; line-height: 1.2rem; text-decoration: underline; color:#000; margin-top:5px;}
.item_sponsor .img{text-align: center; height:110px;}
.item_sponsor .img img{height:100%;}
.over-title, .sub-title{font-size:1.2rem; font-weight: 100;}
.sub-title{color:#9A2925;}
.sezione_tappe_indice{background-color: #EAEAEA; border-radius: 10px; padding:20px;}
.sezione_tappe{border-bottom: 1px solid #000;}
.tappa_st{font-size:1.1rem; text-transform: uppercase; text-align: center;}
.tappa_t{font-size:2.4rem;}
.tappa_ot{font-weight: 700;font-size:1.6rem; text-align:center; text-transform: uppercase; color:#165703;}
.box_indicazioni{    border-left: 2px solid #EAEAEA;
    padding: 0px 0px 0px 10px;}

.box_indicazioni .time{font-weight:bold; font-size:1.3rem;}
.box_indicazioni .origin{font-weight:bold;}
.box_indicazioni .address{font-size:1rem;}
.box_indicazioni .steps{font-size:0.9rem;}
.box_indicazioni .steps .desc_step{padding-bottom:10px;}
.box_indicazioni .steps .distance{position:relative;}
.box_indicazioni .steps .distance .bar{border-bottom: 1px solid #e3e3e3;}
.box_indicazioni .steps .distance .directions-mode-distance-time{position:absolute; background-color: #fff;    top: -13px;
    padding: 0px 10px 0px 0px;}
.n_tappa{margin-right: 22px;min-width: 40px;
    width: 40px;font-weight:700;
    height: 40px;
    border: 1px solid #BEC7CF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;}
#archive-areetematiche{background-image: url("assets/img/bg_aree_tematiche.png"); background-size: cover; background-position: bottom;}
#itinerari_home a, #semantic_results a, #esperienze_home a, #articoli_collegati a{color:#000;}
#semantic_results .title-section-home, #itinerari_home .title-section-home, #esperienze_home .title-section-home, #articoli_collegati .title-section-home{text-align: left;}
#semantic_results .title-over, #itinerari_home .title-over, #esperienze_home .title-over, #articoli_collegati .title-over{ font-weight:bold; color: #000;text-align: left; width: 100%;background-color:#fff;font-size:1.2rem !important;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.item_itinerario_left{background-color:#fff; display: flex;border-radius: 10px;}
.item_itinerario_left img{object-fit: cover;height:100px; width:100px; border-radius: 10px; margin-right:10px; }
.item_itinerario img{object-fit: cover; height:100%;border-top-left-radius:20px; border-top-right-radius:20px;}
.tappa_itinerario img{border-radius:20px;}
.tappa_itinerario .t_it{    border: 1px solid #000;
    border-radius: 20px;
    padding: 0px 10px;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;}
.tappa_itinerario .header_itinerario{    justify-content: center;display: flex;flex-direction: column;align-items: center;}
.carousel-itinerario{max-height:650px;}
.carousel-itinerario img{ height:100%;object-fit: cover;object-position: center;}
.carousel-caption{background-image: url("assets/img/itinerario_bg_carousel.webp"); background-size: cover; background-position: bottom;text-align: left !important; top:3%; left:10% !important; width:380px; background-color:green; color:#fff; padding:25px; border-radius: 20px; height: 250px; box-shadow: 0px 0px 10px #000;}
.carousel-caption .over-titolo{font-size:1.5rem; font-weight: 100;}
.carousel-caption .titolo{font-size:2rem; font-weight: 600; line-height: 2.2rem;-webkit-line-clamp: 2;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.carousel-caption .btn, .carousel-caption .btn:hover{background-color: #fff; color:#000; font-weight:bold;}
.nav_itinarari{background-color:green;}
.carousel-text-indicator{cursor:pointer;  width:320px;  display: inline-block;}
.nav_itinarari{display: flex;justify-content: center;}
.nav_itinerari_item{  margin:7px 20px;  display: flex;align-items: center;}
.nav_itinerari_item .img{width:80px;}
.nav_itinerari_item .img img{border-radius: 10px;}
.nav_itinerari_item .t{width:190px; color:#fff; text-align: left; font-weight:bold; margin-left:10px; line-height: 1.2rem;-webkit-line-clamp: 2;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
#no_results{display:none;}
.container-post_destinazioni_collegate{background-color:#020B5A; }
.post_destinazioni_collegate{color:#fff;display: flex;align-items: center;justify-content: center; padding:10px 10px;flex-wrap: wrap;}
.post_destinazioni_collegate .single-dest{margin:10px;}
.post_destinazioni_collegate .single-dest h3{font-size:1rem;-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.post_destinazioni_collegate .single-dest a{display: flex;align-items: center; color:#fff;}
.post_destinazioni_collegate .single-dest .d_img{width:100px; margin-right:10px;}
.post_destinazioni_collegate .single-dest .indirizzo{font-size:0.8rem;}

.post_destinazioni_collegate_interesse{color:#000;display: flex;align-items: center; padding:10px 10px;flex-wrap: wrap;}
.post_destinazioni_collegate_interesse .single-dest{margin:10px;}
.post_destinazioni_collegate_interesse .single-dest h3{font-size:1rem;-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.post_destinazioni_collegate_interesse .single-dest a{display: flex;align-items: center; color:#000;}
.post_destinazioni_collegate_interesse .single-dest .d_img{width:100px; margin-right:10px;}
.post_destinazioni_collegate_interesse .single-dest .indirizzo{font-size:0.8rem;}
.item_allegato{margin-left:10px; font-weight: 700;}
.item_allegato a{font-weight: 700;}
.item_allegato i{margin-right:5px;}
.section_area_tematica .t_section{font-weight: 700; color:#020B5A; font-size:1.4rem;}
.section_area_tematica .load-more-post{text-align: right; cursor:pointer; font-size:1rem; font-weight: bold; font-style: italic;}
.section_area_tematica .item_post_page{width:310px; display: inline-block;}
.news_img_preview{height:230px; overflow: hidden; margin-bottom:2rem;display: flex;justify-content: center; /* Centro orizzontale */align-items: center;    /* Centro verticale */}
.text-justify{text-align: justify;}
.text-center{text-align:center;}
.fs-08{font-size:0.8rem;}
.fs-13{font-size:1.3rem;}
.fs-15{font-size:1.5rem;}
#at_blog{background-color: #d1dbe4;}
#box-allimg-struttura img{object-fit: cover;width: 100%;height: 100%;border-radius: 15px;}
.h-225px{height:225px !important;}
.progress{height:8px !important;}
.star{color:#fd7e14;}
.small, small {
    font-size:0.9rem;
}
.img_cat_agriturismo{width:100%; max-width:90px;height:auto;}
.item_multimedia{height:100%; padding:2rem;background-color: #9A2925; color:#fff;  display: flex; flex-direction: column; align-items: center; justify-content: center;}
.item_multimedia a{color:#fff; text-decoration: underline; font-size:0.9rem;}
.video_youtube_embedded{ position: relative;width: 100%;padding-bottom: 56.25%;height: 0;}
.video_youtube_embedded iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;border: 0;}
.info-more-imgs{font-size:0.9rem;padding:2px; background-color:#fff; width:250px; bottom:10px;    left: 50%;transform: translateX(-50%);text-align: center;border: 2px solid #0D6EFD;border-radius: 10px;}
.paragrafi .item{margin-bottom:3rem;}
.paragrafi .t_paragrafo, .t_sponsor{text-transform: uppercase; font-size:1.1rem !important; background-color: #9A2925; color:#fff; padding:4px 10px;}
.paragrafi .sottotitolo{text-transform: uppercase; font-weight:bold; color:#9A2925;}
.i_tappa{margin-bottom:2rem; }
.i_tappa a{text-decoration: underline;}
.i_tappa .img img{width:100%;border-radius:10px;}
.i_tappa .titolo{font-weight: 700;text-transform: uppercase;}
.i_tappa .sottotitolo{text-transform: uppercase; margin-bottom:1rem;font-size:0.9rem; color:#9A2925; font-weight: 600;}
.btn-search-icon{background-color: green !important; color:#fff !important;border-radius:20px !important;}
.s_title_post_type{display: flex; border-bottom:1px solid #000; padding-bottom:1rem; margin-bottom:2rem; margin-top:1rem;}
.s_title_post_type .active{font-weight: 700;}
.s_title_post_type div{padding:4px 10px; cursor:pointer; margin-right:10px; font-size:1rem;}
.s_cotent_results h3{font-size:1.3rem;}
.s_cotent_results .excerpt{-webkit-line-clamp: 4;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.s_cotent_results a{color:#000;}
.s_pagination{display: flex;justify-content: center;}
.nav-links{text-align:center;}
ul.page-numbers{list-style: none;}
ul.page-numbers li{display:inline-block; margin:1px 10px;}
.s_pagination .paginate_item,.s_pagination .paginate_item_multimedia{cursor:pointer;  margin: 4px 10px;padding: 9px;border-radius: 21px;border: 1px solid #000;line-height: 10px;}
.s_pagination  .paginate_item.active,.s_pagination  .paginate_item_multimedia.active{background-color: #020B5A; color:#fff;}
.img_search{position:relative;max-height: 200px; overflow: hidden;display: flex;align-items: center;border-radius: 10px;box-shadow:0px 0px 2px #000;}
.img_list_item{position:relative;max-height: 400px; overflow: hidden;display: flex;align-items: center;border-radius: 10px;box-shadow:0px 0px 2px #000; margin-bottom:2rem;}
.related_item_list{background-color:#165703; padding:2px 12px; border-radius: 10px; font-size:0.8rem; color:#fff;}
.single-stru{display: flex;flex-direction: row;}
.single-stru .d_img{padding-right: 10px;height:120px}
.single-stru .d_img img{border-radius: 10px;object-fit: cover;}
.btn-header-more{font-size: 1.8rem;border: 1px solid #fff;padding: 0px 18px;box-shadow: 0px 0px 2px #000;border-radius: 5px;}
.box_rep_multimediale .media img{border-radius:10px;}
.box_rep_multimediale .title{font-weight: bold;  color:#8D2622;display: flex;justify-content: space-between;font-size: 1.4rem;margin-bottom: 1rem;}
.box_rep_multimediale .ico_media_download a{font-size:1.4rem; color:#8D2622;}
.box_rep_multimediale a{color:#000; text-decoration: underline;}
.attributes{font-size:1rem; color:#000; background-color:#F5F5F5; margin-top:1rem; padding:10px;}
.etichetta-bg-banner, .interesse-bg-banner{background-color: #F4F9FD;}
.etichetta-img-header{ width: 100%;height: 55vh;overflow: hidden;}
.etichetta-img-header img {width: 100%;height: 100%;object-fit: cover;}
#myguide-remove-list{display:none;}
.item-cat-interesse{padding:10px; border-radius:10px;}
.item-cat-interesse a{color:#fff; }
.logo-site-footer{max-width:250px; max-height:100px;}
.content-notizie-home a{color:#000;}
.content-notizie-home .title{ font-size:1.4rem; font-weight: 700;}
.etichetta-title{text-transform: uppercase;}
.etichetta-content{font-size:1.8rem;}
.box_licenza_rep_multimediale{font-size:0.97rem; }
.licenza a{color: #0058A5;}
.autore_item{margin-top:15px; margin-bottom:10px; display: flex;align-items: center;}
.autore_item .img{border: 2px solid #fff;width:60px; height:60px; margin:0px 10px 10px 0px; background-color:#fff; border-radius:30px; overflow: hidden; display:flex;justify-content: center; /* Centra orizzontalmente */
    align-items: center; }
.autore_item .img img{width:100%;}
.autore_item .desc{font-size:0.9rem;}
.myGuide{display:flex;}
.myGuide .icon{width:25px; height:25px; display:block; cursor:pointer;}
.myGuide .icon-unlike{background-image: url("assets/img/heart_regular.svg");}
.myGuide .icon-like{background-image: url("assets/img/heart_solid.svg");}
.item_my_guide{background-color: #F8F8F8; margin-bottom:2rem;}
.item_my_guide .img{position:relative; height:200px; overflow: hidden;display:flex; border-top-right-radius:20px; border-top-left-radius:20px;    align-items: center;}
.item_my_guide .img .count{margin-right: 22px;
    min-width: 40px;
    width: 40px;
    font-weight: 700;
    height: 40px;
    border: 1px solid #BEC7CF;
    border-radius: 50%;
    display: flex;
	position: absolute;
    top: 2px;
    left: 5px;color:#fff;
    background-color: #9A2925;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 16px;
    font-weight: 500;}
.input-search{position:relative; width: 100%;}
.input-search input {
    width: 100%;right: 10px;
    padding-right: 40px; margin-right:10px; /* Aggiungi spazio a destra per l'icona */
    /* Aggiungi qui gli stili predefiniti del tuo input (padding, border, ecc.) */
}
.input-search #startRecognition{ position: absolute; right:25px;
    top: 50%; /* Allinea al centro verticale */
    transform: translateY(-50%); /* Regola per centrarla perfettamente */
    cursor: pointer; /* Indica che l'icona è cliccabile (se ha una funzionalità) */
    color: #888;}    
.embedded_title{background-color: #9A2925; color:#fff; padding:0px 10px;}
.item_my_guide .title h3{font-size:1.3rem !important;}
.item_my_guide .title a{-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis; padding:0px 5px; margin-top:1rem; margin-bottom:1rem; color:#000;}
.item_my_guide .type{font-size: 0.8rem;background-color: #0058a5;color: #fff;margin:0px 5px;display: inline-block;padding: 0px 10px;text-transform: uppercase;border-radius: 10px;text-align: right;}
select{border-radius: 10px;padding: 5px 10px;}
#myMapGuide{height: 500px; width:100%; margin-bottom:4rem;}
.lang-dropdown{padding:0px;margin-bottom:0px;font-size:0.9rem;}
.lang-dropdown select{ text-transform: uppercase;}
ul.poly_lang img{width:26px !important; height:19px !important;margin-top:3px;}
.zabuto-calendar{border:1px solid;}
#event_calendar{max-width:600px; margin:0 auto; background-color:#fff;}
#event_calendar .zabuto-calendar__navigation{font-weight:100; padding:10px; background-color: #57071E;}
#event_calendar .zabuto-calendar__navigation td{height:45px;color:#fff;}
#event_calendar .zabuto-calendar__days-of-week{background-color: #7D0B2B;}
#event_calendar .zabuto-calendar__days-of-week th{color:#fff; font-weight: 100;}
#event_calendar .zabuto-calendar__day{font-size:1rem; padding:5px;}
#event_calendar .event-day{background-color: #57071E;border-radius: 50px;color: #fff;cursor: pointer;}
.details_ico{justify-content: center;}
.btn-archive{background-color:#9A2925; color:#fff;}
.btn-archive a{color:#fff;}
/* header */
.breadcrumb a{color: var(--color-link);}
.breadcrumb i{font-size: 0.9rem;}
.backgroun-header-archive{height: 500px;width: 100%;position: absolute;z-index:-1;top: 0px;background-size: cover;background-position: center;}
.backgroun-header-archive .sfumatura {position: absolute;bottom: 0;left: 0;width: 100%;height: 300px; background: linear-gradient(to top, rgba(255, 255, 255, 1), transparent);}

/* Single Destinazione */
.box-localita-destinazione .localita-destinazione{color: var(--color-link);}
.box-localita-destinazione .localita-destinazione:hover{color: var(--color-link-hover);}
#box-allimg-destinazione,
#box-allvideo-destinazione, .box-allvideo{display: flex;padding:0px;flex-wrap: wrap;}
#box-allimg-destinazione img, .box-allimg img{width: 100%;border-radius: 10px;}
.sezione_destinazioni_collegate h3{font-size:1.2rem;-webkit-line-clamp: 1;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
.sezione_destinazioni_collegate img{border-radius: 10px;}
.sezione_destinazioni_collegate #map_evento{width:100%; height:300px;}
.item_sponsor{width:200px; text-align:center;    display: inline-block; margin:4px 10px;}
.item_sponsor .img{text-align: center; height:110px;}
#map_destinazione{width:100%; min-height:250px;}
@media(max-width:767px){
    .sezione_destinazioni_collegate .single-dest-collegate{margin-bottom: 10px;}
}
.single-dest-collegate .d_img img{width: 100%;}

/* Archivio destinazioni */
#archive-destinazioni{margin-bottom: 30px;}
#archive-destinazioni .page-title{text-align: center;margin: 20px 0px;color: #000;}
#archive-destinazioni .container-search{background-color: #EFEFEF;padding: 20px;border-radius: 10px;margin: 20px 0px 40px 0px;box-shadow: 12px 19px 24px -4px rgba(0,0,0,0.46);}
#archive-destinazioni .more-filter .title-parag{font-weight: 600;}
#archive-destinazioni .more-filter .items-search{display: flex;gap: 15px;flex-wrap: wrap;}
#archive-destinazioni .container-search .btn-ricerca{border: 2px solid #000;margin-top: 20px;color: #000;}
#archive-destinazioni .container-search .btn-ricerca:hover{border: 2px solid var(--color-link-hover);color: #fff;background-color: var(--color-link-hover);}

/* Archivio aree tematiche */
#archive-areetematiche .page-title{text-align: center;margin: 20px 0px;color: #000;}

/* Archivio itinerari */
#archive-itinerari{margin-bottom: 30px;}
#archive-itinerari .page-title{text-align: center;margin: 20px 0px;color: #000;}
#archive-itinerari .container-search{background-color: #EAEAEA;padding: 20px;border-radius: 10px;margin: 20px 0px 40px 0px;box-shadow: 12px 19px 24px -4px rgba(0,0,0,0.46);}
#archive-itinerari .more-filter .title-parag{font-weight: 600;    font-size: 1rem;}
#archive-itinerari .more-filter .items-search{display: flex;gap: 15px;flex-wrap: wrap;}
#archive-itinerari .container-search .btn-ricerca{border: 2px solid #000;margin-top: 20px;color: #000;}
#archive-itinerari .container-search .btn-ricerca:hover{border: 2px solid var(--color-link-hover);color: #fff;background-color: var(--color-link-hover);}

/* Archivio eventi */
#archive-eventi{margin-bottom: 30px;}
#archive-eventi .page-title{text-align: center;margin: 20px 0px;color: #000;}
#archive-eventi .container-search{background-color: #EAEAEA;padding: 20px;border-radius: 10px;margin: 20px 0px 40px 0px;box-shadow: 12px 19px 24px -4px rgba(0,0,0,0.46);}
#archive-eventi .container-search h2{text-align: center;}
#archive-eventi .more-filter .title-parag{font-weight: 600;}
#archive-eventi .more-filter .items-search{display: flex;gap: 15px;flex-wrap: wrap;}
#archive-eventi .container-search .btn-ricerca{border: 2px solid #000;margin-top: 20px;color: #000;}
#archive-eventi .container-search .btn-ricerca:hover{border: 2px solid var(--color-link-hover);color: #fff;background-color: var(--color-link-hover);}

/* Archivio strutture */
#archive-strutture{margin-bottom: 30px;}
#archive-strutture .page-title{text-align: center;margin: 20px 0px;color: #000;}
#archive-strutture .container-search{background-color: #EAEAEA;padding: 20px;border-radius: 10px;margin: 20px 0px 40px 0px;box-shadow: 12px 19px 24px -4px rgba(0,0,0,0.46);}
#archive-strutture .container-search h2{text-align: center;}
#archive-strutture .more-filter .title-parag{font-weight: 600;}
#archive-strutture .more-filter .items-search{display: flex;gap: 15px;flex-wrap: wrap;}
#archive-strutture .container-search .btn-ricerca{border: 2px solid #000;margin-top: 20px;color: #000;}
#archive-strutture .container-search .btn-ricerca:hover{border: 2px solid var(--color-link-hover);color: #fff;background-color: var(--color-link-hover);}
/* Footer */
#footer .blog-name-footer{font-size: 1.5rem;}
#footer .menu-footer .nav{flex-direction: column;}
#footer .menu-footer .nav-link{padding: 1px;}
#footer .sub-menu-footer {margin-top: 20px;}
#footer .sub-menu-footer li{list-style: none;}
#footer .sub-menu-footer .items-subfooter{display: flex;justify-content: center;gap: 15px;}
#footer .title-social-footer{font-weight: bold;margin-bottom: 5px;text-align: end;}
#footer .items-social-footer{display: flex;justify-content: flex-end;}
#footer .items-social-footer a{padding: 10px; font-size: 1.4rem;}
#footer .menu-item a[aria-current=page]{color:inherit!important}

/* Page template all temi */
#page-template-temi{min-height: 400px;} 
#page-template-temi .border-bottom-custom{border: 2px solid var(--color-link-hover);width:50%}
#page-template-temi .title-page{margin-bottom: 25px;}
#page-template-temi .body-page .btn{border: 2px solid var(--color-link);padding: 10px 20px;border-radius: 30px;background-color: #fff;}

/* Ricerca */
.loading{display:none;text-align: center;}
.lds-ellipsis {
	display: inline-block; 
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-ellipsis div {
	position: absolute;
	top: 33px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #000;
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
	animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
	left: 8px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
	left: 32px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
	left: 56px;
	animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
	0% {
	  transform: scale(0);
	}
	100% {
	  transform: scale(1);
	}
}
@keyframes lds-ellipsis3 {
	0% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(0);
	}
}
@keyframes lds-ellipsis2 {
	0% {
	  transform: translate(0, 0);
	}
	100% {
	  transform: translate(24px, 0);
	}
}

#more-result{display: none;}

/* Articoli in home */
#news_home .btn-post-home{border: 2px solid var(--color-link);padding: 10px 20px;border-radius: 30px; background-color:#fff;}
#news_home .btn-post-home:hover{border: 2px solid var(--color-link-hover)}
#news_home .btn-post-home a{font-size: 1rem;font-weight: bold;color: var(--color-link)}
#news_home .btn-post-home a:hover{color: var(--color-link-hover)}
#news_home .btn-post-home i{transform: rotate(-20deg);font-size: 16px;}
#news_home .container-home-news{padding-top: 60px;}
#news_home a{color: #000;}
#news_home .img-post-home{height: 450px;border-radius: 20px;box-shadow: 5px 7px 16px #a9a9a9;background-size: cover;}
#news_home .text-post-sticky{padding: 20px;}
#news_home .item_taxonomy_field{padding: 1px 6px;width: fit-content;border-radius: 8px;margin-bottom: 20px;font-size: 0.9rem;}
#news_home .link-post-sticky{color: #000;font-weight: bold;}
#news_home .link-post-sticky:hover{color: var(--color-link-hover);}
#news_home .box-single-post{border-radius: 10px;box-shadow: 5px 7px 16px #a9a9a9;height: 100%;padding: 15px;background-color: #fff;}
#news_home .box-single-post .row{align-content: space-between;}
#news_home .container-second .title h3{font-size: 1.3rem;-webkit-line-clamp: 2;display: -webkit-box;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
#news_home .container-second .link-post-home{font-weight: bold;}
#news_home .container-second .link-post-home:hover{color: var(--color-link-hover);}
@media(min-width:1200px){
	#news_home .container-second{position: relative;top: -40px;}
}
@media(max-width:767px){
	#news_home .container-second .prima-riga{gap: 20px;}
}

/* Single tappa*/
#single-tappa .btn-links{background-color: var(--color-link);padding: 10px 20px;border-radius: 8px;color:#fff}
#single-tappa .btn-links:hover{background-color: var(--color-link-hover);}
#single-tappa .item-evento .img-evento{background-repeat: no-repeat;background-size: cover;height: 150px;border-radius: 8px;}
#single-tappa .item-evento .data-evento{color: var(--color-link);font-weight: bold;}
#single-tappa .item-evento a{color: inherit;}
#single-tappa .item-struttura .img-struttura{background-repeat: no-repeat;background-size: cover;height: 200px;border-radius: 8px;}
#single-tappa .item-struttura a{color: inherit;}
#single-tappa .itinerari-item .icon-itinerario svg{fill: var(--color-link);}
#single-tappa .itinerari-item a{color: inherit;}
#single-tappa .itinerari-item .text-itinerario{font-weight: 500;}
#single-tappa .destinazioni-item .icon-destinazioni svg{fill: var(--color-link);}
#single-tappa .destinazioni-item a{color: inherit;}
#single-tappa .destinazioni-item .text-destinazione{font-weight: 500;}
#single-tappa .periodo-migliore{font-weight: 700;text-align: center;}
#single-tappa .periodo-migliore .item_periodo{color: var(--color-link);}
#single-tappa .tema_box .item_tema{background-color: var(--color-link);color: #fff;border-radius: 8px;padding: 5px 10px;font-size: 0.8rem;}
#single-tappa .sezione-immagini img{object-fit: cover;border-radius: 8px;}
#single-tappa .sec_links{border-radius: 8px;}

/* Archivio Tappe */
#archive-tappe{margin-bottom: 30px;}
#archive-tappe .page-title{text-align: center;margin: 20px 0px;color: #000;}
#archive-tappe .container-search{background-color: #EFEFEF;padding: 20px;border-radius: 10px;margin: 20px 0px 40px 0px;box-shadow: 12px 19px 24px -4px rgba(0,0,0,0.46);}
#archive-tappe .more-filter .title-parag{font-weight: 600;}
#archive-tappe .more-filter .items-search{display: flex;gap: 15px;flex-wrap: wrap;}
#archive-tappe .container-search .btn-ricerca{border: 2px solid #000;margin-top: 20px;color: #000;}
#archive-tappe .container-search .btn-ricerca:hover{border: 2px solid var(--color-link-hover);color: #fff;background-color: var(--color-link-hover);}

/* Single Articolo */
.struttura-collegata{color: #050B5A;font-weight: bold;}
.struttura-collegata .title-struttura-collegata a{color: #000;font-weight:normal;}

.my-main-nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}

.my-responsive-toggle,
.my-close-icon {
    display: none;
}
.menu-item-principale a{color:#fff;}

@media(max-width: 1199px){.sub-footer{flex-direction: column;}}
@media(max-width:991px){
    .my-responsive-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        position: relative;color:#fff;
        z-index: 1060;
    }

    /* Nascondi il menu e preparalo per la transizione */
    .my-responsive-menu-wrapper {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 1050;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        overflow-y: auto;
    }

    /* Rendi il menu visibile */
    .my-responsive-menu-wrapper.is-open {
        transform: translateX(0);
    }
    
    /* Mostra l'icona di chiusura del menu */
    .my-close-icon {
        display: block;
        text-align: right;
        padding: 15px;
        font-size: 24px;
        cursor: pointer;
    }

    /* Stili per le voci del menu mobile */
    .my-main-nav-list {
        flex-direction: column;
        text-align: left;
        padding: 60px 20px 20px;
    }

    .my-main-nav-list li {
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
    }

    .my-main-nav-list li:last-child {
        border-bottom: none;
    }
    .header-title{font-size: 2rem;}
	.title-section-home, .event_next .title{font-size:1.9rem !important;}
	.item_itinerario_left img{height:auto; width:auto;}
	.item_itinerario_left{flex-direction:column;}
	.navbar-collapse:not(.show){left:100%}
	.navbar-collapse{position: fixed;top: 0;left: 22%;width: 80%;height: 100%;background-color: #fff;color: #000;display: flex;flex-direction: column;justify-content: flex-start;transition: left 0.3s cubic-bezier(0.1, 0.47, 0.58, 1);z-index: 9999;border-left: 2px solid #ccc;overflow: scroll;}
	.navbar-collapse a{color:#000 !important;}
	.close-icon{display: block;position: absolute;top: 50px;right: 5%;font-size: 2rem;cursor: pointer;}
	.home #header #navbar i{color:#000}
	
	.mega-menu-wrapper{position: absolute;margin-top: 0px;box-shadow:none;z-index: inherit;top:-50px;}
	.title-mega-menu{display: none;}
	.second-row.megamenu-row .graf-border{width:100%;margin-bottom: 25px;padding: 10px;}
	.component-main-menu__close-box{justify-content: end;}
	.mega-menu_container .row-temi .card-megamenu-tema{background-size: cover;}
	#header #menu-menu-principale a.megaMenu_item:hover, #header #menu-menu-principale-en a.megaMenu_item:hover{background-color: transparent!important;}
	.list-link a{padding: 0px;}
	.home #header #menu-menu-principale a,
	.home #header #menu-menu-principale-en a{color:#000}
	.home .mega-menu-wrapper{margin-top: 35px;}
	#main h1.entry-title{font-size:2rem!important;padding-top: 10px;}
	.s_title_post_type{flex-wrap: wrap;}
	.img_search{max-height: 80px;}
	.accordion-button:focus{box-shadow: none;}
	.container-sponsor{display: flex;flex-wrap: wrap;}
	.container-sponsor .item_sponsor{width:50%;margin: 0px;padding: 10px;}
	.single-dest-collegate .d_img{display: flex;justify-content: center;margin-bottom: 15px;}
	.single-dest-collegate .d_img img.img-destionazioni-collegate{width: 50%;}
	.content-img-destianzioni-collegate{text-align: center;}
}
@media(max-width: 767px){
    .flipbook-container{display:none;}
	.container-icon-header{display: flex;justify-content: end;align-items: center;}
	#container_mosaic{-moz-column-count: 1;-webkit-column-count: 1;column-count: 1}
	.res_items .excerpt{display:none;}
	.hero_img .title{font-size: inherit;bottom: 120px;}
	#header .navbar-toggler .icon-menu-bars{font-size: 20px;}
	#header .btn-search{font-size: 20px;}
}
@media(min-width: 991px){
	.navbar-nav{flex-direction: row!important;}
	#container_mosaic .box-btn.only-desktop{border:0px;display: flex; justify-content: center; align-items: center; align-content: center}
	#destinazioni_home .box-btn.only-mobile{display: none;}
	#container_mosaic .box-btn.only-desktop{border:0px;display: flex; justify-content: center; align-items: center; align-content: center}
	#destinazioni_home .box-btn.only-mobile{display: none;}
}