*{
	/*scroll-behavior: smooth;*/
}
:root{
	--font-size-base: 1rem;
	--color-base: #003E7D;
	--color-base-light: #0059c7;
	--color-stranieri: #EB6A27;
}

html, body{
  font-family: "Lora", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p, li{
	font-size: calc(var(--font-size-base) * 1.3);
}

h2, h3{
	margin-top: 30px;
}

hr{
	border-color: #000;
}

.h2group{
	margin-top: 10px;
  	margin-left: -15px;
  	font-weight: bold;
  	font-size: 2.5rem;
}

h2 em{
	font-style: normal;
	font-size: calc(var(--font-size-base) * 1.8);
	color: #EB6A27;
}

header{
	font-size: calc(var(--font-size-base) * 1.5);
	font-weight: 600;
	border-bottom: 1px solid #000;
}


.btn-light:not(:disabled):not(.disabled).active, .btn-light:not(:disabled):not(.disabled):active, .show > .btn-light.dropdown-toggle {
  background-color: var(--color-base) !important;
}

.btn-light.focus, .btn-light:focus {
  color: #ffffff;
  background-color:var(--color-base) !important;
}

.site-main-title{
	font-family: "Lora";
	font-weight: bold;
}

.site-main-info{
	margin-top: 30px;
	font-size: calc(var(--font-size-base) * 1.5);
  	font-family: Lora;	
}

.main-image-hp{
  background-image: url(/images/inmp-hp.png);
  background-repeat: no-repeat;
  height: calc(100vh - 80px);
  background-position: center;
  background-size: cover;
  margin-top: 5px;
  background-position-x: 0px;  
}

.menu-btn span{
	cursor: pointer;
	font-size: 40px;
	margin-top: 20px;
	user-select: none;
}

.btn-close-mf{
	position: absolute;right: 19px; margin-top: -48px;	
	cursor: pointer;
	font-size: 20px;
	user-select: none;
}

.btn-close-mf span{
	font-size: 36px;
}

.btn-inmp{
  border: 1px solid var(--color-base);
  font-size: 10px;
  border-radius: 15px;
  margin-top: 10px;
  color: var(--color-base) !important;
  font-family: "Roboto";
}

.btn-inmp-active{
	background-color: var(--color-base);
	color: white !important;
}

.tbl-inmp{
	margin-bottom: 45px;
}

.tbl-inmp td, .tbl-inmp th{
	font-family: "Roboto";
	border-color: #d3d3d3;
	font-size: calc(var(--font-size-base) * 0.8);
}

.tbl-inmp tr td, .tbl-inmp tr th{
	text-align: right;
}
.tbl-inmp tr td:last-child, .tbl-inmp tr th:last-child{
	border-right: hidden;
}

.tbl-inmp tr td:first-child, .tbl-inmp tr th:first-child{
	border-left: hidden;
	text-align: left;
}
.tbl-inmp tr td:last-child, .tbl-inmp tr th:last-child{
	border-right: hidden;
}

.main-site-title{
	padding-top: 15px; padding-left: 10px; color: var(--color-base); text-wrap: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}

a, a:visited{
	color: #000;
}

.groups-area a{
	font-size: 1.2rem
}

.sections-in-page{
	width: 50px;
	text-align: center;
	line-height: 0.8;
}

.sections-in-page div{
width: 50%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.sections-in-page a{
	font-size: calc(var(--font-size-base) * 0.8);
}

.section-in-title{
	font-weight: bold; font-size: calc(var(--font-size-base) * 2.5);
	line-height: 1
}


.material-symbols-outlined {
  top: 13px;
  position: relative;
  line-height: 0 !important;
}

.collapse-content {
  font-size: calc(var(--font-size-base) * 1.4);
  border-bottom: 1px solid #000;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  color: var(--color-base);
  margin-bottom: 4px;
}

.collapse-content .collapsable-h{
	font-size: 36px;
}

.collapse-content ~ div{
	display: none;
}

.collapse-subcontent {
  font-size: calc(var(--font-size-base) * 1.2);
  border-bottom: 1px solid #000;
  cursor: pointer;
  user-select: none;
  color: var(--color-base);
  margin-bottom: 4px;
  margin-top: 0;
}

#bar-menu{
	position: fixed;
	background-color: #fcfcfc;
	top: 0;
	right: 0;
	width: 340px;
	height: 100%;
	padding: 0px 15px 10px 15px;
	z-index: 9;
	border: 1px solid #cdcdcd;
	box-shadow: -1px 0px 10px #6f6f6f;
	display: none;
	overflow-y: auto;
}

#bar-menu div{
  font-size: 1.4rem;
  border-bottom: 1px solid #b3b3b3;
  margin-bottom: 10px;
}

.menu-icon{
	display: inline-block;
	height: 20px;
	min-width: 20px;
}

.area-dx{
	border-right: 2px solid var(--color-base);
	padding-right: 20px;
}

.pie-js, .line-graph-js{
	position: relative;
	height: auto;
	width: 100%;
}

.pie-js div{
	position: absolute;
	top: calc(50% - 15px);
	left: calc(50% - 26px);
}

.pie-js svg{
	width: 33%;
}

.pie-js .material-symbols-outlined{
	font-size: 38px;
}

.line-graph-js .filigrana{
	position: absolute;
	top: 25%;
	left: 80%;
}

.line-graph-js svg{
	width: 60px;
}

.isto-js{
	min-height: 400px;
}

.line-graph-js{
	min-height: 250px;
}

.titleArea{
	font-size: 2rem;
	font-weight: bold;
}

.in-evidence{
	font-weight: bold;
	font-size: calc(var(--font-size-base) * 1.1);
	color: var(--color-base);
}

.years-list{
	text-align: right;
}

.years-list span{
	display: inline-block;
	padding: 0 5px;
	font-size: calc(var(--font-size-base) * 0.9);
	border-left: 1px solid #cdcdcd; 
	user-select: none;
	cursor: pointer;
}

.years-list span:first-child{
	border-left: none;
}

.years-list-italia{
	padding-right: 20px;
}

.footer{
	position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: #f7f7f7;
  padding: 5px;
  font-size: calc(var(--font-size-base) * 0.8);
}

.footer .material-symbols-outlined{
	position: relative;
  	top: 2px;
  	cursor: pointer;
  	user-select: none;
}

#cookie-banner{
	position: fixed;
  bottom: 0;
  left: 0;
  width: 480px;
  text-align: justify;
  border: 1px solid #cdcdcd;
  padding: 30px 50px;
  background-color: #fff;
  box-sizing: border-box;
  box-shadow: 0px 1px 7px #808080;
  z-index: 99;
  margin: 12px;
}
#cookie-banner p{
	font-size: calc(var(--font-size-base) * 0.7);
}

.btn-reject-cookie-banner{
	color: #b0b0b0;
	background-color: #bdbdbd !important;
}

.button-inmp{
	background-color: var(--color-base);
	color: white;
}
.button-inmp:hover{
	background-color: #004fb1;
	color: white;
}

.cookie-consent-switch .custom-control-input:checked ~ .custom-control-label::before, .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #b8b8b8;
}

.years-selection div{
	min-width:  45px;
	margin-right: 10px;
	cursor: pointer;
	color: var(--color-base-light);
}

.years-selection .active{
	border-bottom: 7px solid var(--color-base);
}

.big-numbers{
	 font-size: calc(var(--font-size-base) * 1.2);
	 line-height: 1.5rem;
}

.big-numbers span{
	font-size: calc(var(--font-size-base) * 1.4);
	font-weight: bold;
	display: inline-block;
	min-width: 155px;
	text-align: right;
}

.riassunto-num{
	margin-top: -41px;
}

.app-area-list .area-item{
	min-width: 300px;
	line-height: 1rem;
	color: var(--color-base);
}

.leaflet-container{
	background-color: #fff !important;
}

.openstreetmap-wrap{
	height: 260px;
    position: relative;
     background: #fff;
     pointer-events: none;
}
.openstreetmap-wrap svg{
	background-color: #f6f6f6;
}
.leaflet-control-zoom, .leaflet-control-attribution{
	display: none;
}

.recal-fbtn{
	font-style: normal;
	font-size: 1.3rem;
	color: #EB6A27;
	box-shadow: 7px 7px 10px #c2c1c1;
  	font-weight: bold;
  	padding: 0px 8px;
  	background-color: #fff;
}

.app-info-wrap{
	min-height: 900px;
	background-color: #F6F6F6;
	padding: 10px;
}

.noapp-info-wrap{
	min-height: initial !important;
}
		
.by-border-r{
	border-right: 3px solid var(--color-stranieri);
}

.separatore-l{
	border-top: 3px solid var(--color-stranieri); width: calc(100% - 20px);
}

.separatore-r{
	border-top: 3px solid var(--color-stranieri); width: 100%;
	margin-left: auto
}

.border-top{
	border-color: var(--color-base) !important;
}

.valori-mf{
	min-height: 200px;
	background-color: #ffffff;
	box-shadow: 0px 0px 10px #DADADA;
	margin-bottom: 20px;
	padding: 10px;
	margin-top: 21px;
	position: relative;
	display: none;
	min-height: 390px;
}

.valori-mf:before{
  content: "";
  width: 35px;
  height: 35px;
  background-color: #F6F6F6;
  transform: rotate(45deg);
  margin-top: -33px;
  margin-left: 15px;
  position: absolute;	
}

.grap-opacity{
	opacity:  0.3;
}

.capture-screenshot-wrap{
	position: absolute;
    right: 12px;
    margin-top: -38px;
    z-index: 1;
}

.logo-genere, .logo-genere-std{
	padding:  0 10px;
	font-size: 1.2rem;
	font-weight: bold;
	text-align: center;
}

.download-graph, .guida-graph, .capture-screenshot{
	max-width: 30px;
	padding: 0;
}

@media screen and (max-width: 992px) {
	.footer{width: 100%; left: 0; font-size: calc(var(--font-size-base) * 0.5);}
	.header-sezione-icone, .openstreetmap-wrap{
		display: none;
	}	

	.btn-section svg{
		margin-top: 20px;
	}
	
	.regioni-list{
	  margin-top: 20px;
	  padding-bottom: 10px;
	  border-bottom: 1px solid #cdcdcd;
	  margin-bottom: 10px;
	}
	
	.by-border-r{
		border: none;
	}
	
	.section-in-title{
		font-size: calc(var(--font-size-base) * 1.8);
	}
	
	.big-numbers{
		font-size: inherit;
	}
}

@media screen and (max-width: 767px) {
	.header-sezione-title{
		width: 100%;
		max-width: none;
	}

	.header-sezione-title .w-50{
		width: 100% !important;
	}
	
	.recal-fbtn, .grap-opacity{
		display: none;
	}	
	
	.big-numbers span{
		display: inline;
	}
	
	.collapse-content, h2 em{
  		font-size: calc(var(--font-size-base) * 1.2);
	}
	
	.riassunto-num{
		margin-top: auto;
	}	
	
}

@media screen and (max-width: 592px) {
	#cookie-banner{
		width: calc(100% - 24px);
	}
	
	.btn-section svg{
		width: 60%;
		margin-top: 20px;
	}
			
}
