*{
	scroll-behavior: smooth;
}

:root{
	--font-size-base: 1rem;
}
body, html{
 	font-family: "Roboto Serif", serif;
  	font-optical-sizing: auto;
  	font-style: normal;
  	font-variation-settings: "wdth" 100, "GRAD" 0;
}

div{
	font-size:  calc(var(--font-size-base) * 1);
}

a, a:visited, a:hover{
	color: #000;
}

summary{
	font-weight: bold;
}

summary::marker{
	display: none;
	content: "";
}

.wrap-menu a {
  color: #757575;
}

.main-title{
  font-size: clamp(3rem, 4.4vw, 7rem);
  text-align: center;
}

.footer .col-lg-7{
	text-align: right;
}

.sezionehp{
	text-align: center;
	font-weight: bold;
	font-size:  calc(var(--font-size-base) * 1.4);
	padding: 20px;
	user-select: none;
}

.sezionehp > div{
	display: inline-block;
	vertical-align: top;
}

.sezionehp div div.icon{
    width: clamp(8rem, 16vw, 16rem);
    height: clamp(8rem, 16vw, 16rem);
	background-color: #e8ddff;
	border-radius: 100%;
	margin: auto;
	transition: opacity 0.6s;
	cursor: pointer;
	border: 15px solid #fff;
}

.sezione-name{
	font-size:  calc(var(--font-size-base) * 1.4);
}

.plain_link, .plain_link:hover{
	color: black;
}

.icon-select{
	opacity: 0.4;
}

.icon-select-ombra{
  background-color: #fff;
  mix-blend-mode: luminosity;
  filter: brightness(0.5);
}

#wait-load-data{
	position: fixed;
    width: 100%;
    height: 100%;
    z-index: 7;
    background-color: #e4fff24d;
    top: 0;
    left: 0;
}

.motto{
	margin: 0 12rem;
  	font-size: calc(var(--font-size-base) * 1.5);
}

.news-container{
	background-color: #F0F0F1;
	text-align: center;
}

.news-container h3{
	font-size: calc(var(--font-size-base) * 2.4);
	font-family: Roboto;
	font-weight: 100;
	padding: 20px 0 10px 0;
}

.news-container h2{
	font-size: 2rem; /*calc(var(--font-size-base) * 2);*/
	line-height: 2rem;
	font-weight: 500;
}

.news-container a, .title-mappe a{
	color: inherit;
	text-decoration: mone;	
}

.news-container a:hover{
	color: inherit;
	text-decoration: mone;	
}

article .excerpt{
	font-size: calc(var(--font-size-base) * 1);
}


article h2{
	font-size: calc(var(--font-size-base) * 2);
}

article h5{
	font-size: calc(var(--font-size-base) * 1.25);
}

article p{
	font-size: calc(var(--font-size-base) * 1);
}

.news-data{
	text-align: center;
	text-transform: uppercase;
	margin-top: 15px;
	font-family: Roboto;
}

.news-container button{
	background-color: #fff;
 	border-radius: 24px;
  	margin: 15px 0;
  	text-transform: uppercase;
	font-size: calc(var(--font-size-base) * 0.8);
    font-weight: bold;
    font-family: Roboto;  
    padding-left: 20px;
    padding-right: 20px; 
	position: absolute;
 	bottom: 0;    
    left: calc(50% - 66px);   	
}

.news-container img{
	border-radius: 10px;
}

.jumbotron{
	background-color: #B1B2B4;
}

.header{
	position: sticky;
  	top: 0;
  	background-color: #fafafa;	
	padding: 5px 15px;
	text-transform: uppercase;
	color: #565656;
	font-family: "Roboto";
	z-index: 9;
}
.header img{
	max-width: 400px;
}	

.header svg{
	height: calc(var(--font-size-base) * 0.8);
	fill: #565656;
}
.jumbotron span{
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	font-family: "Roboto";
	font-size: calc(var(--font-size-base) * 0.9);
	display: inline-block;
  	margin-left: 30px;	
}

.jumbotron svg{
	height: 15px;
	fill: #fff;
}

.news-container article{
	margin-bottom: 70px;
}

.title-mappe{
  /*font-size: calc(var(--font-size-base) * 1.8);*/
  font-size: 1.8rem;
  text-transform: none;
  font-family: "Roboto Serif";
  color: #000;
  line-height: 2rem;
  font-weight: bold;
  padding-top: 4px;
}

.body-map{
	overflow: hidden;
}

.side-sx{
	width: 100%; background-color: #ececec; height: calc(100vh - 100px);
	position: relative;
	z-index: 1;
}

.side-dx{
	height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
}

.section-title{
   position: relative;
   min-height: 60px;
   z-index: 1;
}

.section-title div{
	text-align: right;
 	/*font-size: calc(var(--font-size-base) * 2.2);*/
 	font-size: 2.2rem;
  	color: #fff;
	position: absolute;
  	right: 0;  
  	width: max(45%, 300px);
	border-top-left-radius: 30px;
 	border-bottom-left-radius: 30px;  
 	padding-right: 25px;
}

.gruppi_sezione{
	/*height:  75px;*/
	position: relative;
	cursor: pointer;
	transition: opacity 0.6s;
	/*padding: 10px;*/
  	border-radius: 12px;	
}

.gruppi-veloce{
	padding: 10px;
}

.gruppi_sezione svg{
	max-width: 85px;
}

.subsection-icon{
	display: inline-block; height: 260px; text-align: center; margin-top: -48px; width: 55%;
}

.subsection-icon svg{
	max-height: 240px;	
}

.gruppi-nome div{
	font-size: 1rem;
}

.gruppi_sezione .col-sm-8{
	margin: 0;
	position: absolute;
	top: 50%;
	left: 60%;
	transform: translate(-50%, -50%);
	/*font-size: calc(var(--font-size-base) * 0.9);*/
	font-size: 0.9rem;
  	font-weight: bold;	  
}

.button-search{
	text-align: center;
}

.button-search button{
	border: 1px solid #cdcdcd;
	background-color: #5e5e5e;
	border-radius: 20px;
	color: #fff;
	min-width: 120px;
	text-transform: uppercase;
	font-family: Roboto;
	font-size: calc(var(--font-size-base) * 0.9);
}

.button-salute{
	border: 1px solid #cdcdcd;
	color: #5e5e5e;
	border-radius: 20px;	
	text-transform: uppercase;
	font-family: Roboto;
	min-width: 160px;
	font-size: calc(var(--font-size-base) * 0.9);
}
.button-salute svg{
	max-height: 20px;
  	position: relative;
  	top: -1.5px;
  	display: inline;
  	width: 20px;
  	height: 20px;
}

.btn-scheda{
	border-radius: 10px;
}

#scheda_ente{
  display: none;
  position: fixed;
  right: 0;
  height: calc(100% - 90px);
  width: 31%;
  min-width: 400px;
  padding: 15px;
  background-color: #fff;
  z-index: 9;
  overflow-y: hidden;
}

#scheda_ente div{
	position: relative;
	width: 100%;
	overflow-y: auto;
	height: calc(100% - 61px);
}
#scheda_ente button.close{
	margin-top: 45px;
}

#mappLazioPlace{
	width: 100%;
	height: calc(100% + 11px);
}

.lista_sezioni{
text-align: center;
  margin-right: 25px;
  min-width: 85px;
  padding-bottom: 5px;
}

.wrap-menu span {
	margin: 8px 0px 0px 6px;
    display: inline-block;
    cursor: pointer;
    padding-right: 0px;
}

.wrap-menu span:not(.no-sep):before{
	content: "  |  ";
    padding-left: 10px;
    padding-right: 10px;
}

.lista_sezioni span{
	display: block;
    font-size: calc(var(--font-size-base) * 0.7);
    text-transform: none;
  text-align: center;
  color: #000;
  font-weight: bold;
  font-family: "Roboto serif";
}

.lista_sezioni svg{
 	height: 57px;
}

#area_selezionata{
	display: none;
	min-height: 500px;
	position: relative;
}

.spinner{
  text-align: center;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  position: absolute;
}
.spinner .spinner-border{
	width: 200px;
    height: 200px;
    border-width: 5px;
}

.btn-espandi{
	display: none;
	position: absolute;
  	top: 20px;
  	z-index: 999;
  	background-color: #fff;
  	min-height: 45px;
  	font-weight: bold;
  	min-width: 127px !important;
  	left: calc(100% - 150px);
}

.btn-riduci{
	display: none;
	top: 67px !important;
	display: none;
	position: absolute;
  	z-index: 999;
  	background-color: #fff;
  	min-height: 45px;
  	font-weight: bold;
  	min-width: 127px !important;
  	left: calc(100% - 150px);	 
}

.map-espansa{
	width: 300%;
}

#wrap-search{
  display: none;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 999;
  background-color: white;
  padding: 10px;
  box-shadow: 10px 10px 10px #000000a3;
  max-width: 275px;
}

#wrap-search h4{
	color: #464444;
}

#wrap-search label{
	font-size: calc(var(--font-size-base) * 0.85);
	margin-bottom: 0;
}

.link-rapidi{
	display: none;
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 999;
}

.link-rapidi .d-flex{
	background-color: #ffffffe3;
    padding: 10px;
    padding-bottom: 0 !important;
    width: 90%;
    margin: auto;    
}

.link-rapidi .gruppi_sezione{
	height: auto;
}

.gruppi_sezione div{
	display: inline-block;	
}

.gruppi-logo{
	float: left;
	min-width: 70px;
    max-width: 70px;
}

.gruppi-logo svg{
	height: 60px;
}

.gruppi-nome{
	float: left;
	font-size: calc(var(--font-size-base) * 0.8);
    font-weight: bold;   
    max-width: 160px; 
    width: 58%;
    padding-right: 15px;
}
.gruppi-nome div{
	transform: translate(0%, -50%);
	position: absolute;
  	top: 50%;
  	padding-right: 4px;
}

#response{
	padding-top: 10px;
    color: #cb0000;
    font-size: calc(var(--font-size-base) * 0.9);
}

.go_back_sezione{
	text-decoration: underline;
	text-decoration-thickness: 2px;
	cursor: pointer;
}

.text-editable{
	cursor: zoom-in;
	user-select: none;
}

.chiudi-info{
	cursor: pointer;
	user-select: none;
}

#modalDialogsYesNo .alert-danger:empty, .btn-download-area, .search-tool-wrap, .notizie-sottosezione:empty,
article p:empty{
	display: none;
}

#error_toast{
	display: none;
	position: fixed;
	min-height: 80px;
	width: 100%;
	background-color: #b00000c4;
	color: white;
	z-index: 99;	
  	bottom: 0;
  	left: 0;
  	padding: 12px;
}

.menu-mobile{
  display: none;
  position: fixed;
  right: 12px;
  top: 12px;
  z-index: 10001;
  cursor: pointer;
  background-color: #fff;
}

.container-image {
  padding-top: 62.25%;
}

.container-image .img-wrap{
  position:  absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  text-align: center;
  font-size: calc(var(--font-size-base) * 1);
  color: white;
  overflow: hidden;
  padding: 10px;
  max-height: 215px;
  color: #000;
}

.article-content img{
	max-width: 100%;
	height: auto;
}

.material-symbols-outlined {
  top: 6px;
  position: relative;
  line-height: 0 !important;
}

.notizie-sottosezione{
	background-color: #F0F0F1;
	font-family: "Roboto";
}

.notizie-sottosezione p{
	font-size: calc(var(--font-size-base) * 0.9);
}

@media screen and (max-width: 993px) {
	
	header img{
		width: 80%;
	}
	
	.sezionehp > div{
		width: 50% !important;
	}
	
	.motto{
		margin: auto;
	}
	
	.body-map{
		overflow: auto;
	}	
	.side-sx{
		height: 200px !important;
	}
	
	.side-dx{
		height: auto;
	}
	.title-mappe{
		margin-bottom: 16px;	
	}
	
	.footer .col-lg-7{
		text-align: left;
	}

}

@media screen and (max-width: 767px) {

	.sezionehp{
		padding: 0;
		margin-bottom: 30px;
	}

	.sezione-name {
	  font-size: calc(var(--font-size-base) * 0.8);
	}
	
	.munu-wrap{
		width: 100%;
		left: 0;
		z-index: 999;	
	}
	
	.wrap-menu{
		display: none;
		background-color: white;
		position: fixed;
		z-index: 9999;
		top: 0;		
		padding-top: 18px;
		box-shadow: 0px 4px 9px #787878;
	}
	
	.wrap-menu span {
	  display: block;
	  text-align: center;
	  margin: 0px 10px;
	  font-size: calc(var(--font-size-base) * 2);
	}	
	
	.wrap-menu span:not(.no-sep):before{
		content: "";
	}
	
	.menu-mobile{
		display: block;
	}
	
}

@media screen and (max-width: 592px) {
	.gruppi_sezione .col-sm-8{
		transform: translate(-40%, -50%);
  
	}		
}





