html, body {
	height:100%;
	width: 100vw;
}

body {
	font-family: Roboto, Arial, sans-serif;
}

body, p {
	margin:0;
	padding:0;
}

hr {
	display: block;
	margin-top: 0.8em;
	margin-bottom: 0.8em;
	margin-left: auto;
	margin-right: auto;
	border-style: inset;
	border-width: 1px;
}

#sectionTable {
	display: none;
}

#modal {
	z-index: 2010 !important;
}

#DMRmodal {
	z-index: 2006 !important;
}

.modal-backdrop {
    opacity: 0.7 !important;
	z-index: 2003 !important;
}

body.modal-open .supreme-container {
    -webkit-filter: blur(5px);
    -moz-filter: blur(5px);
    -o-filter: blur(5px);
    -ms-filter: blur(5px);
    filter: blur(5px);
}

.rsp hr {
	display: block;
	margin-top: 0.3em;
	margin-bottom: 0.3em;
	margin-left: auto;
	margin-right: auto;
	border-style: inset;
	border-width: 1px;
}

.rsp {
	z-index: 2002;
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: 21em;
	background-color: #ffffff;
	box-shadow: 1px 0px 30px grey;
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
}

.lsp {
	z-index: 1402;
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 21em;
	background-color: #ffffff;
	box-shadow: 1px 0px 30px grey;
	overflow-x: hidden;
	overflow-y: auto;
	display: none;
}


.scrollbar::-webkit-scrollbar {
  display: none;
}


.scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.rsp .container-legend {
	position: absolute;
	background-color: #ffffff;
	display: none;
}

.rsp .container-closebutton {
	background-color: #ffffff;
	height: 2.5em;
}

.lsp .container-closebutton {
	background-color: #1C74E8;
	height: 2.5em;
}

.rsp .closebtn {
	position: absolute;
	left: 0.33em;
	font-size: 2.25em;
	text-decoration:none;
	color: #000000;
	cursor: pointer;
}

.lsp .closebtn {
	position: absolute;
	right: 0.85em;
	font-size: 2.25em;
	text-decoration:none;
	color: #ffffff;
	cursor: pointer;
}

.lsp .container-filters, .lsp .container-clicks, .lsp .container-routes {
	position: absolute;
	background-color: #1A73E8;
	display: none;
	height: 27.5em;/*25em*/
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

.align-middle {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.autocenter {
	display: block;
    margin-left: auto;
    margin-right: auto;
	margin-top: auto;
	margin-bottom: auto;
}


.lsp .container-csv {
	position: absolute;
	top: 30em;
}

.input-search {
	background-color: #1A73E8;
	border-left: none;
	border-top: none;
	border-right: none;
	border-bottom-color: #ffffff;
	border-radius: 0px;
	color: #ffffff;
}

.input-search:focus {
	background-color: #1A73E8;
	border-left: none;
	border-top: none;
	border-right: none;
	border-bottom-color: #ffffff;
	border-radius: 0px;
	caret-color: #ffffff;
	color: #ffffff;
}

.input-search::placeholder {
  color: #ffffff;
  opacity: 1;
}

.input-search:-ms-input-placeholder {
  color: #ffffff;
}

.input-search::-ms-input-placeholder {
  color: #ffffff;
}

.btn-outline-link {
	border-bottom-color: #ffffff;
	border-radius: 0px;
}

.align-row {
	margin: 0 auto;
}

.btn-routes {
	background-color: #1A73E8;
}

.btn-routes:hover {
	background-color: #1A73E8;
	border-color: #1A73E8;
}

.btn-routes:focus {
	background-color: #185ABC;
}

.btn-routes:active {
	border: 1px solid #ffffff !important;
	background-color: #ffffff !important;
}

.widget-right {
	margin-right: 0.35em;
	position: absolute;
	right: 0.35em;
	width: 3.0em;
	height: 2.9em;
	cursor: pointer;
	transition: 0.3s;
	top: 4.5em;
	z-index: 401;
	border: 1px solid #000000;
	border-radius: 50%;
}

.widget-left {
	margin-left: 0.35em;
	position: absolute;
	left: 0.35em;
	width: 3.0em;
	height: 2.9em;
	cursor: pointer;
	transition: 0.3s;
	z-index: 401;
	border: 1px solid #000000;
	border-radius: 50%;
}

.btn.nohover:hover {
    background-color: #f8f9fa;
	border: 1px solid #000000;
}

.btn.nofocus:focus {
    background-color: #f8f9fa;
	border: 1px solid #000000;
}

.btn:focus {
  box-shadow: none;
}


.white {
	color: #ffffff;
}


#mapCanvas {
	min-height:100%;
	width: 100vw;
}

* html #mapCanvas{
	height:100%;
}


.custom-switch .custom-control-label::before {
	background-color:#dc3545;
	border:#ffffff solid 1px
}

.custom-switch .custom-control-input:checked~.custom-control-label::before{
	color:#fff;
	border-color:#fff;
	background-color:#34ce57
}

.custom-switch .custom-control-label::after{
	background-color:#ffffff;
}

.leaflet-container .leaflet-control-mouseposition {
	background-color: rgba(255, 255, 255, 0.7);
	box-shadow: 0 0 10px #aaa;
	padding: 8px 8px;
	left: 0em;
	top: 0em;
	width: 20em;
	height: 4em;
	border-radius: 10px;
	color: #000;
	font: 14px/1.5 "Roboto", Arial, Helvetica, sans-serif;
	z-index: 401;
}

#homepage {
	top: 0.5rem;
	left: 3.5rem;
}

#lsp-filters {
	top: 0.5rem;
	left: 7.0rem;
}

#lsp-clicks {
	top: 0.5rem;
	left: 10.5rem;
}

#lsp-routes {
	top: 0.5rem;
	left: 14.0rem;
}

#rsp-location {
	top: 7rem;
}

#sharing {
	cursor: pointer;
}

#embedInput {
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
	font-size: 1em;
}

.nodecoration {
	text-decoration: none !important;
}

.text-red {
	color:red;
}

.bold {
	font-weight: bold;
}

.highlight-bkgnd {
	background-color: #FFFF00;
}

.no-bckground {
	background-color: none;
}

#tglist {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.modal-fullscreen {
	width:100vw;
	max-width:none;
	height:100%;
	margin:0
}

.modal-fullscreen .modal-content {
	height:100%;
	border:0;
	border-radius:0;
}

.modal-fullscreen .modal-header {
	border-radius:0;
}

.modal-fullscreen .modal-body {
	overflow-y:auto;
}

.modal-fullscreen .modal-footer {
	border-radius:0;
}

details > summary {
  width: 12.5em;
  border: none;
  cursor: pointer;
  font-size: 1.5em;
  font-weight: bold;
  outline:none;
}

details > p {
  padding: 4px;
  margin: 0;
  font-size: 1.5em;
}

.leaflet-popup-content {
	width: 24em;
}

.nav-pills .nav-link {
  background: none;
  border: 1px solid #0d6efd;
  border-radius: 0.5rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  border: 1px solid #0d6efd;
}

.wrapper {
	margin: 0 auto;
}

.blinker {
	animation-name: blinker;
	animation-duration: 0.2s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@keyframes blinker {
	0%{opacity: 1.0;}
	50%{opacity: 0.0;}
	100%{opacity: 1.0;}
}

.leaflet-popup-tip {
	width: 0px;
	height: 0px;
}

.guide{
	color:#0000EE;
	font-weight:bold;
	cursor:pointer;
}

#spinner{
	display:none
}

.select2-container--open {
    z-index: 2000 !important;
}

.select2-dropdown {
    z-index: 2000 !important;
}

/* Contenitore principale */
.select2-container--default .select2-selection--multiple {
    min-height: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 2px 5px;
    box-sizing: border-box;
    overflow: hidden;
}

/* UL interna */
.select2-selection__rendered {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
    padding: 0 !important;
    margin: 0;
}

/* Singoli tag */
.select2-selection__choice {
    margin-top: 0 !important;   /* 🔥 rimuove offset verticale */
    margin-bottom: 0 !important;
    display: inline-flex;
    align-items: center;
}

/* Campo input */
.select2-search--inline {
    display: flex;
    align-items: center;
}

.select2-selection__choice__remove {
    margin-right: 4px;
}