@font-face {
	font-family: 'Segoe UI Web (West European)';
	src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-light.woff2') format('woff2'), url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-light.woff') format('woff');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI Web (West European)';
	src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-semilight.woff2') format('woff2'), url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-semilight.woff') format('woff');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI Web (West European)';
	src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-regular.woff2') format('woff2'), url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-regular.woff') format('woff');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI Web (West European)';
	src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-semibold.woff2') format('woff2'), url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-semibold.woff') format('woff');
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: 'Segoe UI Web (West European)';
	src: url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-bold.woff2') format('woff2'), url('https://static2.sharepointonline.com/files/fabric/assets/fonts/segoeui-westeuropean/segoeui-bold.woff') format('woff');
	font-weight: 700;
	font-style: normal;
}

html,
body {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

body {

	overflow: hidden;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	 
	font-family: 'Segoe UI Web (West European)', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
}

/* dark plus - light plus */
:root {
	--main-bg-color: #1e1e1e;
	--main-tab-area-bg-color: #252526;
	--main-tab-bg-color:#2d2d2d;
	--main-tab-bg-hicolor:#1e1e1e;
	--main-tab-fg-color: #e2c08a;
	--main-tab-fg-hicolor: #fff;
	/*ffffff*/
	--side-bg-color: #252526;
	/*f3f3f3*/
	--side-fg-color: #cccccc;
	--side-readonly-bg: #444a55;
	--side-line-color: #474747;
	--status-bg-color: #007acc;
	--sep-bg-color: #007fd4;
	--main-fg-color: #accccc;
	/*616161*/
	--pannello-bg-color: #333333;
	/*2c2c2c*/
	--pannello-fg-color: #b1b1b1;
	/*776f73*/
	--side-select-bg: #3c3c3c;
	--side-select-fg: #dff0ea;
	--side-select-border: #3c3c3c;
	--side-placeholder-fg: #a6a6a6;
	/*e5e5e5*/
	--dialog-title-bg: #3b3b3c;

	--table-bg: #434343;
	--table-fg: #f3f3f3;
	--table-border: #c9c9cf;
	

	--errore-fg: #ffff00;
	

	
	 

}


/* SLIDER NEI PANNELLI */
.slider {
	transition: max-height 0.7s;
	background-color: var(--side-bg-color);
	overflow: hidden;
	max-height: 0px;
}

.titolo-sezione {
	border-bottom: 1px solid var(--side-line-color);
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: var(--side-fg-color);
	background-color: var(--side-bg-color);
	height: 22px;
	display: flex;
	align-items: center;
}
.titolo-pannello {
	padding:10px 4px 10px 24px;
	font-size: 13px;
	color:var(--side-fg-color);
	height: 18px;
}
.freccia {
	width: 10px;
	height: 10px;
	
	margin-right: 6px;
	margin-left: 4px;
	fill: transparent;
	stroke: #ccc;
	stroke-width: 1px;
}

.label-pannello {
	padding:8px;
	display:flex;
	align-items:center;
	font-size:14px;
   
  }
.select-pannello {
	flex-grow:1;
	margin-left:8px;
	height:24px;
	background-color:var(--side-select-bg);
	color: var(--side-select-fg);
	border:1px solid (--side-select-border);
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	font-size:14px;
  }
  

  /* Tab nell'area principale */
  .intestazione-tab {
	background-color: var(--main-tab-area-bg-color);
	height: 35px;
	display: flex;
}

.intestazione-tab > div {
	white-space: nowrap;
 	overflow: hidden;
 	height: 35px;
	display:flex;
	padding: 0 16px;
	align-items: center;
	margin:0 1px 0 0;
	cursor:pointer;
	 
}

.tab {
	background-color: var(--main-tab-bg-color);
	color:var(--main-tab-fg-color);
}
.tabselezionato {
	background-color: var(--main-tab-bg-hicolor);
	color:  var(--main-tab-fg-hicolor);
}

.maptoolbar {
	top: 0.5em;
	right:0.5em;
}

.maptoolbar span {
	display: block;
	height: 4px;
}

.maptoolbar button {
	width:25px !important;
	height: 25px !important;
}


.corpo-tab {
	position: relative;
	height: calc(100vh - 50px);
}

.modulo > input[type=text]:not(.con-altro), .side input[type=password], .pannello-utente > input[type=text], .modulo > input[type=number]   {
	width: 100%;
	box-sizing: border-box;
}

.modulo > input[readonly] {
	background-color: var(--side-readonly-bg) !important;
	 
}

.modulo > input[type=text], .side input[type=password], .modulo > input[type=number], 
.pannello-utente > input[type=text], .riga input, .riga-dialogo input {
	height: 25px;	
	border:1px solid #0090f1;
	margin: 4px 0;
	background-color: var(--side-select-bg);
	color: var(--side-select-fg);
	font-size:14px;
}
.side input[type=text]::placeholder,  .side input[type=password]::placeholder {
	color: var(--side-placeholder-fg);
  }


  .toggle {
	cursor: pointer;
	display: inline-block;
  }
  
  .toggle-switch {
	display: inline-block;
	background: #ccc;
	border-radius: 16px;
	width: 38px;
	height: 18px;
	position: relative;
	vertical-align: middle;
	transition: background 0.25s;
  }
  .toggle-switch:before, .toggle-switch:after {
	content: "";
  }
  .toggle-switch:before {
	display: block;
	background: linear-gradient(to bottom, #fff 0%, #eee 100%);
	border-radius: 50%;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
	width: 14px;
	height: 14px;
	position: absolute;
	top: 2px;
	left: 3px;
	transition: left 0.25s;
  }
  .toggle:hover .toggle-switch:before {
	background: linear-gradient(to bottom, #fff 0%, #fff 100%);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
  }
  .toggle-checkbox:checked + .toggle-switch {
	background: #0090f1;
  }
  .toggle-checkbox:checked + .toggle-switch:before {
	left: 21px;
  }
  
  .toggle-checkbox {
	position: absolute;
	visibility: hidden;
  }
  
  .toggle-label {
	margin-left: 5px;
	position: relative;
	top: 2px;
	font-size: 13px;
  }


  .pannello-utente button, .modulo > button:not(.altro, .half) {
	width:100%;
  }

  .side button, .footer-dialogo button, .pulsanti button {
	  
	  margin:8px 0;
	 
	  border:none;
	  height: 27px;
	  color:#fff;
	  font-size:14px;
	  cursor:pointer;
  }

  .pulsanti button {
	min-width: 100px;
  }


  .side button:disabled, dialog button:disabled {
	 
	background-color: #ccc;
	color:#fff;
	text-shadow: #999 1px 1px;
	 
}

.modulo {
	padding: 0 18px;
	font-size: 13px;
}
.modulo input[type=text] {
	margin-top:1px;
	margin-bottom:7px;
	height: 23px;
	font-size: 13px;
}
.modulo select {
	 
	width: 100%;
	border:1px solid #0090f1;
	margin: 4px 0;
	background-color: var(--side-select-bg);
	color: var(--side-select-fg);
	font-size:13px;
	margin-top:1px;
	margin-bottom:7px;

}

.modulo select:not([size]) {
	height: 25px;
}



.riga {
	display: flex;
	align-items:baseline;
}
.riga-dialogo {
	display: flex;
	align-items:center;
}

.w40 {
	width:40%;
}
.w100 {
	width: 100%;
}
.riga span {
	width:20px;
	margin-left: 4px;
	display: inline-block;
}
.riga button {
	margin-left: 6px;
}
.disabilitato {
	opacity: 0.5;
}
dialog::backdrop {
	background: rgba(0,0,0,.5);
  }

dialog {
	padding: 0;
	border: none;
	box-shadow: 0px 0px 8px 4px rgba(0, 0, 0, 0.50);
	background-color: var(--side-bg-color);
	color: var(--side-fg-color);
	font-size: 13px;
}

.titolo-dialogo {
	background-color: var(--dialog-title-bg);
	font-weight: 700;
	padding:4px;
	text-align: center;
}
.corpo-dialogo {
	padding:4px;
}

.riga-dialogo label {
	width:47%;
}
.w45 {
	width:45%;
}

.riga-dialogo select {
	 
		height: 29px;
		 
		border:1px solid #0090f1;
		margin-left: 4px;
		background-color: var(--side-select-bg);
		color: var(--side-select-fg);
		font-size:14px;
		 
	
	 
}

.footer-dialogo {
	padding:8px;
	text-align: right;
}

.footer-dialogo button {
	width:100px;
}
.secondario {
	background-color: darkorange;
}
.primario {
	background-color: #0e639c;
}
.iconbutton {
	color:#fff;
	width:28px;
	height: 28px;
	border: none;
}
.full {
	width:100%;
	min-width: 360px;
	border:1px solid #020202;
	background-color: var(--side-select-bg);
	color: var(--side-select-fg);
	font-size:14px;
}
.full option:checked {
	background-color: var(--main-bg-color);
	color: var(--side-select-fg);
}
.similbutton {
	width:28px;
	height: 24px;
	padding-top:4px;
	text-align: center;
	background-color: #0e639c;
	color:#fff;
	display: block;
	margin: 8px 6px;
	font-size: 14px;
}

.maptoolbar button {
	background-color: rgba(0,60,136,.5) !important;
	 

}
.maptoolbar button:hover {
	background-color: rgba(0,60,136,.75) !important;

}

.altro {
	width: 28px;
	background-color: var(--side-select-bg);
	color: var(--side-select-fg);
	border-color: var(--side-select-fg);
	margin: 0 !important;
}
.con-altro {
	width: calc(100% - 38px);
}

.tabellare {
	padding:10px 10px;
	font-size: 14px;
}
.inttab, .h0 {

	text-align: center;
	background-color: #007fd4;
	color:#fff;
	font-size: 15px;
}
.tabellare > div {
	padding: 2px 0;
}
.tabellare > div:not(.inttab) {
	cursor: pointer;
}


.h1 {
	text-align: center;
	background-color: #018fe4;
	color:#fff;
	font-size: 14px;
}
.h2 {
	text-align: center;
	background-color: #089ff4;
	color:#fff;
	font-size: 13px;
}


.h0 th, .h1 th, .h2 th {
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
 
.holder-tabelle td {
	border: 1px solid var(--table-border);
	font-size: 13px;
}

.holder-tabelle table {
	border-collapse: collapse;
	color: var(--table-fg);
	background-color: var(--table-bg);	
	width:100%;
}

.pager-tabelle {
	padding-bottom: 80px;
	background-color: #006ab0;
	display: flex;
	color: #fff;	
}
.pager-tabelle > div {
	flex: 1;
	text-align: center;
	cursor: pointer;
}
 
.scheda-tab {
	max-height: 100vh;
	overflow: auto;
}

 
.intest-tabella th {
	border: 1px solid #ccc;
	font-size: 14px;
	font-weight: bold;
	background-color: #007fd4;
	color: #fff;	
}

.filtro-tabella {
	font-weight: normal;
	background-color: #02233a;
	text-align: left;
	color: #fff;	
	font-size: 13px;
}
.filtro-tabella input, .filtro-tabella select, .filtro-tabella option {
	background-color: #02233a;
	color: #fff;
	font-size: 13px;
	border-color: #018fe4;
}
.filtro-tabella button {
	border: none;
	color: #fff;
	background-color: #007fd4;
	margin-left: 8px;
	cursor: pointer;
}
.maplegend {
	left: 0.5em;
	bottom: 0.5em;
	border: 1px solid #999;
	padding: 6px;
	color: var(--side-select-fg);
}
.listaselezione {
 
	outline: #0090f1;
	 
}
.pallino {
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: var(--side-select-fg);
}
.spaziosotto {
	padding-bottom: 100px;
}
.spaziosopra {
	padding-top: 20px;
}
.centro {
	text-align: center;
}
.grassetto {
	font-weight: bold;
	padding:4px;
}
.half {
	width:calc(50% - 8px);
}
.guida {
	z-index: 5000;
	position: absolute;
	width: 40vw;
	top: 40px;
	right: 40px;
	border: 2px solid #0e639c;
	display: none;
	 
}
.titolo-guida {
	background-color: #0e639c;
	color: #fff;
	font-weight: 700;
	padding: 6px;
	position: relative;
}
.contenuto-guida {
	height: 80vh;
	overflow: auto;
	padding: 6px;
	background-color: var(--side-bg-color);
    color: var(--pannello-fg-color);
}
.chiudi-guida {
	position: absolute;
	cursor: pointer;
	top: 4px;
	right: 4px;
}

.info-aggiuntive div {
	font-size: 15px;
	font-weight: 700;
}
.info-aggiuntive textarea {
	font-size: 13px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	width: calc(100% - 8px);
	height: 64px;
	margin-bottom: 12px;
	background-color: var(--side-line-color);
	color: var(--pannello-fg-color);
}
.popup {
	position: absolute;
	background-color: #fff;
	padding: 2px;
	/*right: 0px;*/
	border: 1px solid #ccc;
	border-radius: 2px;
	cursor: pointer;
	z-index:9999;
}

.popup>div {
	padding: 2px 4px;
}

.popup>div:hover {
	background-color: rgb(0, 122, 212);
	color: #fff;
}

.con-checkbox > input:not([type="checkbox"]){
	width: calc(100% - 32px);
	height: 25px;	
	border:1px solid #0090f1;
	margin: 4px 0;
	background-color: var(--side-select-bg);
	color: var(--side-select-fg);
	font-size:14px;
}

.modulo input:disabled {
	opacity: 0.5;
}