/**
Theme Name: Mappa Città Educante
Author: Universe Srl
Template: astra
*/
#placeholder_filtri_archivio {
	padding: 30px 0;
}

.scheda-layout{
  display:flex;
  gap:32px;
  align-items:flex-start;
}

.scheda-main{
  flex: 1 1 0;
  min-width: 0;
}

.scheda-aside{
  flex: 0 0 520px;
  position: sticky;
  top: 24px;
}

.scheda-map-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:0;
  padding:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

.scheda-map-title{
  font-weight:600;
  margin-bottom:8px;
}

.scheda-map-img{
  width:100%;
  height:auto;
  display:block;
}

.scheda-map-legend {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.95rem;
  margin-top:10px;
  opacity:.9;
}

.scheda-map-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:200px;
  background:#faf6fd;
  border:1px dashed #d8c3e8;
  border-radius:12px;
  color:#6F1E84;
}

/* Responsivo */
@media (max-width: 1024px){
  .scheda-aside{ flex-basis: 420px; }
}
@media (max-width: 860px){
  .scheda-layout{ flex-direction: column; }
  .scheda-aside{ position: static; width:100%; flex-basis:auto; }
}



.archivio_item_preview_0 {
	display: none !important;
}

.archivio_home {
	clear: both;
	display: block;
	margin-bottom: 60px;
}
.archivio_home:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 250px;
    left: 0;
    bottom: 97px;
    background: linear-gradient(to top, rgba(111, 30, 132, 1) 0%, rgba(111, 30, 132, 0) 100%);
}


.show_all {
	display: inline-block;
	margin-top: 60px;
	margin-bottom: 100px;
	cursor: pointer;
	padding: 15px 60px;
	background: #fff;
	color: #5A1F6B !important;
	text-decoration: none; 	
	font-weight: bold;
	color: #fff;
}

.breadcrumbs {
	padding: 5px 0;
	border-bottom: 1px solid #dedede;
} 
	.breadcrumbs a {
		margin-right: 15px;
	} 
.single-progetti .ast-single-entry-banner {
	display: none;
}
#googlemap-esplorabile {
  position: relative;
  text-align: center;
  font-weight: bold;
  height: 600px;
  margin-bottom: 60px;
  background-color: #f9f5fb; /* colore di sfondo neutro */
  overflow: hidden;
}

#googlemap-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 700;
  color: #4E1162;
  font-family: "Arial", sans-serif;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  animation: blink 1.5s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.archivio_item  {
	position: relative;
}

.pcto {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-top: 80px solid #0066B7; /* colore blu */
}

.pcto::after {
  content: "P.C.T.O.";
  position: absolute;
  z-index: 99;
  top: -50px;
  right: 15px;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
  font-family: "Arial", sans-serif;
  transform: rotate(45deg);
  transform-origin: center;
  white-space: nowrap;
}


#btn_reset_globale {
	background: #000;
	line-height: auto;
	padding-top: 0;
	padding-bottom: 0;
	
}
.archivio {
	min-height: 600px;
}
.page_title, .page_title a {
	text-transform: uppercase;
	text-decoration: none !important;
}
.ente_title strong {
	text-transform: uppercase;
}
.hide_from_home {
	display: none !important;
}
.destinatari_title {
	font-weight: bold;
}
.gm-style-iw {
	width: 360px;
	text-align: left !important;
	color: #000 !important;
}
.gm-style-iw h4 a {
	text-transform: uppercase;
	text-decoration: none !important;
	color: #6F1E84;
}


.archivio_item {
	display: flex;
	align-items: stretch;
	gap: 20px;
	margin-bottom: 30px;
	background: #fff;
	border-bottom: 4px solid #6F1E84;
	padding: 20px;
}

.archivio_item a {
	color: #6F1E84;
}

.archivio_item_id {
	background: #F5B017;
	color: #fff;
	font-weight: 700;
	font-size: 2.2rem;
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	flex-shrink: 0;
}

.archivio_item_contenuto {
	display: flex;
	color: #000;
	flex-direction: column;
	justify-content: center;
}

.archivio_item_titolo h3 {
	margin: 0 0 10px 0;
	color: #6F1E84;
	font-size: 1.4rem;
	text-transform: uppercase;
}
.archivio_item_titolo h3 a {
	text-decoration: none !important;
}

.archivio_item_sedi,
.archivio_item_proponente,
.archivio_item_destinatari {
	font-weight: bold;
	display: block;
	color: #333;
	font-size: 0.95rem;
}

.archivio_item_proponente {
	font-weight: 400;
}


@media (max-width: 768px) {
	.archivio_item {
		flex-direction: column;
		align-items: flex-start;
	}

	.archivio_item_id {
		width: 80px;
		height: 80px;
		font-size: 1.6rem;
		margin-bottom: 10px;
	}
}





@media (max-width:767px){
	#intestazione{
		padding-right:0px !important;
		padding-left:0px !important;
	}
	.vc_column_container>.vc_column-inner{
		padding-left:0px !important;
		
	}
}


.col-md-4 {
	float: left;
}

.flex-active-slide, .vc_grid-item {
	z-index: 0 !important;
}

.page-id-21 .wpcf7-acceptance {
	margin-left: -13px;
}

.page-id-21 .wpcf7-submit {
	color: #0099cc !important;
    background-color: #ffffff !important;
	border-top-width: 1px !important;
    border-right-width: 1px !important;
    border-left-width: 1px !important;
    border-bottom-width: 1px !important;
	margin-left: -3px !important;
	height: 60px !important;
}

.vc_images_carousel .vc_carousel-control .icon-next, .vc_images_carousel .vc_carousel-control .icon-prev {
	opacity: 1 !important;
	background: #fff !important;
	border-radius: 5px;
}
.vc_images_carousel .vc_carousel-control {
	text-shadow: 0 0 0 rgba(0,0,0,0) !important;
}
.vc_images_carousel .vc_carousel-control .icon-next:before,
.vc_images_carousel .vc_carousel-control .icon-prev:before
{
	font-size: 15px !important;
	color: #000 !important;
	font-family: "FontAwesome"; 
}

.vc_images_carousel .vc_carousel-control .icon-next:before {
	content: '\f054' !important;
	top: -16px !important;
}
.vc_images_carousel .vc_carousel-control .icon-prev:before {
	content: '\f053' !important;
	top: -16px !important;
}



@media( min-width: 1281px ){

.colonna_filtro {
    width: 23%;
	margin: 0 1%;
    float: left;
}

.colonna_filtra {
    width: 18%;
	margin: 0 1%;
    float: left;
}

#filtri_pagina_applicazioni {
	margin-left: -12px;
}

}

.colonna_filtro, .colonna_filtra {
	margin-bottom: 30px;
}

.soluzionitext2 a {
    font-size: 18px!important;
    font-weight: 600!important;
    color: #374955!important;
    text-decoration: none !important;
}

.bs_col p {
    font-size: 13px !important; 
}

.bs_cookie_banner {
	z-index: 1 !important;
}

@media (min-width: 768px) {
	.bs_box {
		height: 500px !important;
	}
}

@media (max-width: 768px) {
	.simbiosi_testo {
	    padding-bottom: 60px; 
	}
}




/* ======= STRUTTURA GENERALE ======= */

.scheda-progetto {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ======= HEADER CON NUMERO E TITOLO ======= */

.testata-progetto {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  padding: 40px 0 20px;
  border-bottom: 4px solid #5a1f6b;
}

.testata-progetto .numero-progetto {
  background: #f6a623;
  color: #fff;
  font-weight: 700;
  font-size: 28px;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 4px;
  flex-shrink: 0;
}

.testata-progetto .titolo-container {
  flex: 1;
}

.titolo-container {
	position: relative;
}

.titolo-progetto {
  font-size: 24px;
  color: #5a1f6b;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 5px 0;
}

.promosso-da {
  color: #333;
  font-size: 15px;
  margin: 0;
}

.promosso-da strong {
  color: #5a1f6b;
}

/* ======= FASCIA VIOLA DESTINATARI ======= */

.destinatari-progetto {
  background: #5a1f6b;
  color: #fff;
  padding: 12px 20px;
  font-size: 15px;
}

.destinatari-progetto p {
  margin: 0;
}

.destinatari-progetto strong {
  color: #fff;
  font-weight: 700;
}

/* ======= CORPO ======= */

.corpo-progetto {
  background: #fff;
  padding: 40px 20px 60px;
}

.corpo-progetto .campo {
  margin-bottom: 35px;
}

.corpo-progetto .campo h2 {
  color: #5a1f6b;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  margin-bottom: 8px;
}

.corpo-progetto .campo p {
  margin: 0;
  font-size: 15px;
}

/* ======= RESPONSIVE ======= */

@media (max-width: 768px) {
  .testata-progetto {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0;
  }

  .testata-progetto .numero-progetto {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
  }

  .titolo-progetto {
    font-size: 20px;
  }
}



hr {
	opacity: 0;
}

/* Struttura generale del filtro */
.filter-dropdown label {
  display: flex;
  align-items: flex-start;       /* allinea tutto in alto */
  justify-content: space-between;
  gap: 8px;
  padding: 4px 8px;
  line-height: 1.4;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s ease;
  min-height: 28px;
}

/* Checkbox */
.filter-dropdown label input[type="checkbox"] {
  flex: 0 0 auto;
  margin-right: 6px;
  margin-top: 2px;              /* per centraggio visivo rispetto al testo */
}

/* Testo principale: sempre a sinistra */
.filter-dropdown label .label-text {
  flex: 1 1 auto;
  text-align: left;             /* allinea il testo a sinistra */
  white-space: normal;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.4;
}

/* Contatore a destra */ 
.filter-dropdown label .count {
  flex: 0 0 auto;
  width: 30px !important;
  height: 30px !important;
  line-height: 30px !important;
  text-align: center;
  background: #4E1162;
  color: white;
  font-weight: 600;
  font-size: 10px !important;
  border-radius: 50%;
  line-height: 1;
}

/* Hover */
.filter-dropdown label:hover {
  background: rgba(255,255,255,0.08);
}
