@charset "utf-8";
/* CSS Document */
html, body, #map-canvas {
    width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	overflow:hidden; 
	user-select: none;	
}

#map_canvas {
	width: 100%;
	height: 100%;
	padding: 0;
}
body {
	background-color: #000;
	height: 100%;
	width:100%;
}

/* hides the spin-button for firefox */
input[type=number] {
	-moz-appearance:textfield;
}

/* hides the spin-button for chrome*/
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}	

#footerBlock label {
/*	padding-top:5px;*/
	padding-left:10px;
}

#buttons {
	padding-top:3px;
}
.slide-label {
	font-size:1px;

}

/*hide scroll bars*/
#help {
	background-color: #000;	
}


.iwPhoto {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10px;
	background-color: #000;
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

.info {
	color:#000;	
	margin-left:5px;
}

#consoleInfo {
	overflow:auto;	
}

#infoframe { 
	width:100%; height:768px; 
}

#fblogo {
	position:absolute;
	padding:2px 0px 0px 10px;
/*	margin-top:5px;*/
}/* CSS Document */


#mapPageFooter {
    padding: 0; margin: 0;
    position: absolute;
    width: 100%;
    bottom: 0px;
    background-color: #000;
}
#closer {
    position: absolute;
    font-family: sans-serif;
    font-size: 20px;
    width: 30px;
    height: 25px;
    background-color: rgba(0,0,0, .30);
    text-align: center;
    padding:0px;
    border-radius: 25px;
    top: 10px;
    right: 50px;
    color:#fff;
    z-index: 50;
    cursor: pointer;
    pointer-events: all;
}		

#closer:hover {
    color:red;	
    font-weight:bold;	
}		
.dropShadow {
    -webkit-box-shadow: 5px 5px 50px 4px rgba(255,255,255,0.1);
    -moz-box-shadow: 5px 5px 50px 4px rgba(255,255,255,0.1);
    box-shadow: 5px 5px 50px 4px rgba(255,255,255,0.1);
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    font-family: "Trebuchet MS", Segoe, "Segoe UI", "DejaVu Sans", Verdana, sans-serif;
    user-select: none;
    pointer-events: none;
}
#mapStyle-selector {
    width:100px;
}
#mapStyle-selector-control {
    width:300px;
}

#legend {		
    position: absolute;
    right: 30px;
    bottom: 60px;
/*			padding: 10px;*/
    width: 125	0px;
    height: 800px;
    background-color: rgba(0,0,0, 0.8);
    border:none;
    border-radius: 10px;
    cursor:pointer;
    overflow-y: scroll;
/*			color: #000;*/
}
#legend h2 {
    text-align: center;
    font-family: sans-serif;
}
.label {
    text-align: top left;
    padding-top: -10px;
/*			background-color: rgba(0,0,0,.25);	*/
    margin-bottom: 2px;
}

#upDwn:hover {
    background-color:rgba(255,0,0,0.8);
}
#upDwn {
    width: 16px;
    height: 16px;
    background-image: url(images/icons-png/carat-d-black.png);
    background-position: center;
    background-repeat: no-repeat;
    border-style: none;
    border-radius: 16px;		
    padding: 5px;
    float: right;
    z-index: 1000;
    margin: 5px;
}

.dim {
    color: #444;
}

#legendHeader {
/*			padding: 10px;*/
/*			width: 100%;*/
    height: 50px;
    background-color: rgba(0,0,0, .3);
    border-radius: 10px;
    line-height: 1em;
/*			font-size: 20px;*/
}
#ul_readings {
    margin-top: 70px;
}

.labels {
    color: red;
    background-color: transparent;
    font-family: "Arial", "Lucida Grande", sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    width: 100px;
/*    border: 0;*/
}

/*vvvvvvvvvvvv Scroll Bar styles vvvvvvvvvvvv*/
/* https://css-tricks.com/custom-scrollbars-in-webkit/ */
::-webkit-scrollbar {
	width: 20px;   
	margin-right: 5px;
/*			background-color:#313131;*/
	background-color: rgba(51,102,204,.01);
}
::-webkit-scrollbar-track {
	border-radius: 5px;
	background-color: rgba(100,100,100,0.50);
	margin-right: 5px;
/*			background-color: #3366cb;*/

	/*  gives button look, remove for flat look*/
	/*-webkit-box-shadow: inset 0 0 15px rgba(0,0,0,1);*/
}
::-webkit-scrollbar-thumb {
	border-radius: 5px;
/*			background-color: rgba(0,0,0,0.50);*/
	margin-right: 5px;
	background-color: rgba(250,250,250,.25);
	/* -webkit-box-shadow: inset 1px 1px 15px rgba(0,0,0,1);*/
}	
/*^^^^^^^^^^^^^^^^^^^ End Scroll Bar styles ^^^^^^^^^^^^^^^^^^^^^^^^*/		


/*************************** Modal ***********************************/
.modal-body {
    height: auto;
}
.modal-header, .modal-footer{	/* remove horizonal line on modal*/
    border: none;
}	

.modal-title {
    color: #fff;
    text-align: center;
    width: 100%;
/* 	height: 900px;
    background-color: #000; */
}
#modalImg {
    position: relative;
    display: block;
    margin: 0 auto;
    max-width: 90%;
}

.bigmodal {
    max-width: 90%;
    max-height: 900px;
}
#masonary, #container {
    max-width: 100%;
    max-height: 100%;
}

#masonary {
    background-color: rgba(0,0,0,.5);

}
#masonaryHeader {
    color: #fff;
    margin: 0;
    text-align: center;
    padding: 10px;
}
		
#modalOverlay, #modalBg {
    position: absolute;
    display: block;
    top: 0;
    height: 100%;
    width: 100%;
    padding: 0; margin: 0;
    background-color: rgba(0,0,0, 0.4);
	overflow:hidden; 
}
.header {
    width: 100%;
    text-align: center;
    color: #fff;
}

#modalBg {
    /* background-color: rgba(255,0,0, 0.5); */
}

/*************************** POI Labels with dot ***********************************/
/*
span.poilabel {
	width: auto;
    position: absolute;
    line-height: 20px;
    cursor: pointer;
}
span.poilabel:before {
	font-size: 1.5em;
	font-weight: bolder;	
    content: '•';

    color: #f22;
	position:relative;
}

span.poi {
    color: #fff;
	width:auto;
	line-height:20px;
	text-align:left;
	padding-left:5px ;
	padding-right:5px ;
	background-color: rgba(0,0,0,.75);
	opacity:1;
	background-repeat:no-repeat;
	position:relative; 
}
*/

.grid {
  width: 100%;
}

.item {
  float: left;
  width: 33.333%; /* Or 50% for mobile breakpoints */
  box-sizing: border-box;
  padding: 4px;
}

.item img {
  width: 100%;
  height: auto;
  display: block;
}



/*************************** POI Labels with arrow ***********************************/

/*
		span.poilabel {
			position: absolute;
			line-height: 30px;
			user-select: none;		
		}
		span.poilabel:before {
			content: '<';
			color: #f00;
			position:relative;
			font-family: "Arial Black", Impact, "Showcard Gothic";
			font-size: 1.1em;
		}

		span.poi {
			font-family: Arial, Impact, "Showcard Gothic",sans-serif;
			color: #fff;
			width:auto;
			line-height:30px;
			user-select: none;
			text-align:left;
			padding: 5px;
			border-radius: 15px;
			background-color: rgba(0,0,0,.95);
			opacity:1;
			background-repeat:no-repeat;
			position:relative; 
		}
*/

		.hide {	
			visibility: hidden;
			opacity: 0;
		}

		#footerNavBar {
			position: absolute;
			bottom: 0px;
			left: 0;
			width: 100%;
			background-color: rgba(0,0,0, 0.85);
			backdrop-filter: blur(8px);
			-webkit-backdrop-filter: blur(8px);
			color: #fff;
			z-index: 100;
			transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
			box-sizing: border-box;
			border-top: 1px solid rgba(255, 255, 255, 0.15);
		}

		#footerHandle {
			width: 100%;
			text-align: center;
			padding: 4px 0 2px;
		}

		.footerToggleBtn {
			background-color: rgba(60, 60, 60, 0.9);
			color: #fff;
			border: 1px solid rgba(255,255,255,0.3);
			border-radius: 20px;
			padding: 3px 14px;
			font-size: 0.8rem;
			font-weight: bold;
			cursor: pointer;
			display: inline-flex;
			align-items: center;
			gap: 6px;
			box-shadow: 0 2px 8px rgba(0,0,0,0.5);
			transition: background-color 0.2s;
		}

		.footerToggleBtn:hover {
			background-color: #555;
		}

		#footerContent {
			width: 100%;
			margin: 0;
			padding: 6px 12px;
			box-sizing: border-box;
		}

		#sliderContainer {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			max-width: 500px;
			margin: 0 auto;
			gap: 10px;
		}

		#slider {
			flex: 1;
            width: 100%;
			min-width: 300px;
			margin: 0 4px;
		}

		.sliderLabel {
			width: auto;
/*			min-width: 20px;*/
			height: 30px;
			line-height: 30px;
			text-align: center;
			font-weight: 600;
			font-size: 0.9rem;
			color: #f0f0f0;
		}

		.noUi-target {
			background-color: rgba(255,255,255,.15);
		}
		.noUi-handle {
			background-color: #555;
			border: 1px solid #aaa;
			cursor: pointer;
		}
/*
		.noUi-connect {
			background-color: #0d6efd;
		}
*/
		#fromDate, #toDate {
			text-align: center;
		}

		#categoryList, #overlayList {
			height: 38px;
			width: 100%;
			max-width: 280px;
			background-color: #5c636a;
			color: #FFF;
			border: 1px solid #555;
			font-size: 0.875rem;
			border-radius: 6px;
		}

		#categoryList option, #overlayList option {
			background-color: #5c636a;
			color: #fff;
		}

		/* Desktop Breakpoint (>= 1200px) */
		@media (min-width: 1200px) {
			#footerNavBar {
				height: 60px;
				padding: 8px 16px;
			}
			#footerContent {
				display: flex;
				flex-direction: row;
				align-items: center;
				justify-content: space-between;
				flex-wrap: nowrap;
			}
			.footer-left {
				flex: 1 1 35%;
				display: flex;
				align-items: center;
				justify-content: flex-start;
				gap: 6px;
			}
			.footer-middle {
				flex: 1 1 30%;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			.footer-right {
				flex: 1 1 35%;
				display: flex;
				align-items: center;
				justify-content: flex-end;
				gap: 6px;
			}
			#categoryList, #overlayList {
				max-width: 250px;
			}
		}

		/* Tablet and phone controls start collapsed behind the "Filters & Controls" toggle */
		@media (max-width: 1199.98px) {
			#footerNavBar {
				height: auto;
				padding: 3px 6px 6px;
			}

			#footerNavBar:not(.expanded) #footerContent {
				display: none !important;
			}

			#footerNavBar.expanded {
				max-height: 80vh;
				max-height: 80dvh;
				overflow-y: auto;
				padding-top: 6px;
				border-radius: 16px 16px 0 0;
				box-shadow: 0 -8px 24px rgba(0,0,0,0.7);
			}

			#footerNavBar.expanded #footerContent {
				display: flex;
				flex-direction: column;
				gap: 10px;
				padding: 6px 4px;
			}

			#footerNavBar.expanded .footer-left,
			#footerNavBar.expanded .footer-middle,
			#footerNavBar.expanded .footer-right {
				display: flex !important;
				flex-direction: row;
				flex-wrap: wrap;
				align-items: center;
				justify-content: center;
				width: 100%;
				gap: 6px;
			}

			#footerNavBar.expanded #categoryList,
			#footerNavBar.expanded #overlayList {
				max-width: 100%;
				width: 100%;
			}

			#footerNavBar.expanded .btn {
				flex: 1 1 auto;
				margin: 2px;
				padding: 6px 10px;
				font-size: 0.85rem;
			}
		}

		#incidentType {
			overflow-y: scroll;
			width: 200px;
		}
		#nobiz {
			width: 100px;
		}
		#legend {
			color: #fff;
		}
		.btn {
			margin: 0px 5px;
		}
		.locId {
			float: right;		/* for iWindow fon (google sheet row) number */
		}
		.hideElement{
			display: none;
		}
		#linkBtn {
			text-decoration: none;
		}
		#linkBtn button{
			color: #fff;
			position: relative;
			display: block;
			font-size: 1em;
			height: 28px;
			width: 125px;
			margin: 0 auto;
			border-radius: 10px;
			background-color: #888;
			z-index: 1100;
		} 
		.tglLbl {
			font-size: 1em;
			width: 250px;
		}
		
		#loader {
			position: absolute;
			top: 0;
			width: 100%;
			height: 100%;
			margin: 0;
			padding: 0;
			z-index: 10000;
/*			background-color: rgba(0,0,255, 0.5);*/
		}

		
        header {
            width: 100%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 100;
            color: #ffffff;
            margin: 0 auto;
            pointer-events: none;
        }
        
		.navBar_top {
			width: 100%;
			min-height: 55px;
			padding: 8px 12px;
			display: flex;
			align-items: center;
			justify-content: space-between;
			box-sizing: border-box;
/*			background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);*/
		}

		.navBar_top_right {
			display: flex;
			align-items: center;
			gap: 6px;
			pointer-events: all;
		}

		header h1, #pageTitle {
			margin: 0 10px;
			padding: 0;
			font-size: clamp(1rem, 2.5vw, 1.75rem);
			font-weight: bold;
			text-align: center;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			flex: 1;
			pointer-events: none;
		}

		.navBtn {
			background-color: rgba(37,37,37, .75);
			text-align: center;
			padding: 0;
			margin: 0 4px;
			border-radius: 50%;

			color: #fff;
			z-index: 50;
			cursor: pointer;

			position: relative;
			font-family: Arial, sans-serif; 
			font-weight: bold; 
			font-size: 1.3rem; 
			height: 38px;
			width: 38px;
			display: flex;
			align-items: center;
			justify-content: center;
			pointer-events: all;
			transition: transform 0.15s ease, background-color 0.15s ease;
		}

		.navBtn:active {
			transform: scale(0.92);
		}

		.backBtn {
			line-height: 1;
			margin: 0;
		}

		.infoBtn {
			line-height: 1;
			font-size: 1.5rem;
			font-family: sans-serif;
			background-image: url("../../../_images/infoIcon_blue.svg");
			background-repeat: no-repeat;
			background-position: center;
			background-size: 45px 45px;
		}

		.fullscrn {
			background-repeat: no-repeat;
			background-position: center;
			background-size: 24px 24px;
		}

		.fullscrn:hover, .backBtn:hover, #infoCloser:hover, .infoCloser:hover {
			color: red;	
			background-color: rgba(60, 60, 60, 0.9);
		}
		
		.openIcon, .closeIcon, .backIcon {
			line-height: 1em;
			background-repeat: no-repeat;
			background-position: center; 
			background-size: 24px 24px;
			background-image: url("../../../_commons/appImages/fullscreen.svg");
		}

		.closeIcon {
			background-image: url("../../../_commons/appImages/fullscreen-in.svg");	
		}		

		.backIcon {
			background-image: url("../../_appImages/backTriangle.svg");	
		}		
		
		.dropShadow {
			-webkit-box-shadow: 0 4px 16px rgba(0,0,0,0.5);
			-moz-box-shadow: 0 4px 16px rgba(0,0,0,0.5);
			box-shadow: 0 4px 16px rgba(0,0,0,0.5);
		}

		#loaderImg {
			position: relative;
			top: auto;
			display: block;
			margin: 20px auto;
			width: 46px;
			height: 46px;
			z-index: 1000;
		}

		#infoOverlay {
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			margin: 0;
			padding: 0;
			z-index: 1400;
			background-color: rgba(0,0,0, 0.5);
			backdrop-filter: blur(0px);            /*  no need for blur*/
			-webkit-backdrop-filter: blur(0px);    /*  no need for blur*/
		}	

        .infoTextBoxes, .copyrightText {
            position: relative;
            width: 90%;
            max-width: 800px;
            max-height: 82vh;
            max-height: 82dvh;
            overflow-y: auto;
            margin: 0 auto;
            padding: 24px 20px;
            background-color: rgba(0, 0, 0, 0.15);
            top: 30%;
            transform: translateY(-50%);
            color: #fff;
            text-align: center;
            font-size: clamp(0.95rem, 2vw, 1.35rem);
            border-radius: 16px;
            border: 1px solid rgba(255,255,255,0.15);
            box-shadow: 0 8px 32px rgba(0,0,0,0.8);
            box-sizing: border-box;
        }

		.copyrightText {
			padding: 24px;
			font-size: clamp(0.85rem, 1.8vw, 1.15rem);
			font-family: Arial, sans-serif;
			text-align: left;
			z-index: 2000;
			line-height: 1.6;
		}

		#introBox ul {
			font-size: clamp(0.85rem, 1.7vw, 1.1rem);
			line-height: 1.6;
			margin: 15px 0;
			padding-left: 20px;
		}

		#introBox li {
			margin-bottom: 8px;
		}

		#introBox li img {
			vertical-align: middle;
			margin-right: 6px;
		}

		#infoCloser {
			margin: 10px;
			line-height: 1em;
		}
		.imgsBack {
			 margin: 10px;
			user-select: text;
		}
		
		input[type="range"]  {
		  appearance: slider-vertical;
		} 		
		
		.slidecontainer {
			position: absolute;
			right: 10px;
			bottom: 75px;
			width: 40px; /* Width of the outside container */
			z-index: 95;
			border-radius: 5px;
			background-color: rgba(55,55,55, 0.85);
			padding: 8px;
			transition: bottom 0.3s ease;
		}

		@media (min-width: 768px) and (max-width: 1199.98px) {
			.slidecontainer {
				bottom: 115px;
			}
		}

		@media (max-width: 767.98px) {
			.slidecontainer {
				bottom: 60px;
			}
		}

		/* The slider itself */
		.opacitySlider {	
			margin: 10px 0px;
			-webkit-appearance: none; 	/* Override default CSS styles */
			appearance: none;
			width: 25px; 				/* Full-width */
			height: 200px; 				/* Specified height */
			background: #d3d3d3; 		/* Grey background */
			outline: none; 				/* Remove outline */
			opacity: 0.7; 				/* Set transparency (for mouse-over effects on hover) */
			-webkit-transition: .2s;	/* 0.2 seconds transition on hover */
			transition: opacity .2s;
		}
		/* Mouse-over effects */
		.opacitySlider:hover {
		  opacity: 1; /* Fully shown on mouse-over */
		}

		/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
		.opacitySlider::-webkit-slider-thumb {
		  -webkit-appearance: none; /* Override default look */
		  appearance: none;
		  width: 25px; /* Set a specific slider handle width */
		  height: 25px; /* Slider handle height */
		  background: #04AA6D; /* Green background */
		  cursor: pointer; /* Cursor on hover */
		}

		.opacitySlider::-moz-range-thumb {
		  width: 25px; /* Set a specific slider handle width */
		  height: 25px; /* Slider handle height */
		  background: #04AA6D; /* Green background */
		  cursor: pointer; /* Cursor on hover */
		}		

		 #opacityLabel{
			 position: relative;
			 float: right;
			 width: 26px;
			 height: 30px;
			 margin: 10px auto;
			 background-color: #222;
			 color: #fff;
			 line-height: 25px;
			 text-align: center;
			 cursor: pointer;
			 border-radius: 5px;
		 }

		/*/////////////////// Timeout Warning Dialog \\\\\\\\\\\\\\\\\\\\\*/

		#to_dialog{
			visibility: hidden;
			z-index: 1500;
		}
		#to_dialog h1 {
			text-align: center;
			color: red;
		}

		#to_dialog h2 {
			text-align: center;
			color: #fff;
		}
		
		.ui-dialog { 
			z-index: 9999 !important;
			max-width: 92vw !important;
			box-sizing: border-box;
		}

		#searchForm input, #zoomDialog input {
			max-width: 100%;
			box-sizing: border-box;
		}
		
		/*		*/
		
		button {
			margin: 10px;
			padding: 5px 10px;
			border-style: none;
			border-radius: 10px;
			cursor: pointer;
			text-decoration: none;
			outline:0;
		}

		#exitApp button {
			background-color: orange;
		}

		#to_dialog button {
			position: relative;
			display: block;
			width: 200px;
			max-width: 90%;
			height: 70px;
			font-size: clamp(1.4rem, 4vw, 2.2rem);
			font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;

			margin: 0 auto;
			border: 5px solid darkgreen;
			border-radius: 35px;
			color:darkgreen;
			background-color: greenyellow;    
		}

		#interpTextBox span {
/*			background-color: rgba(0,0,255,0.5);*/
			text-align: left !important;
		}
		
		.descript{
			display: block;
		}

		body {
			user-select: none;
		}
		#copyrightsBtn {
			display: block;
			position: relative;
			margin: 30px auto 10px;
			pointer-events:all;
			z-index: 100;
		}
		
		#copyrightsBtn:hover {
			background-color: red;
		}

         .ui-widget-header,.ui-state-default, ui-button {
            background:#888;
            border: 1px solid #888;
            color: #FFFFFF;
            font-weight: bold;
         }
		div.iWindowText.iWTitle{
			font-size: 1.5em;
			font-weight: bolder;
			text-align: center;
		}

		img.poiLocImg {
			max-width: 300px;
			margin-top: 10px;
		}
/*
		.poiText {
			max-width: 200px;
			min-height: 50px;
			margin: 5px;
			padding: 5px;
			border-radius: 5px;
			color: #000;
			font-weight: bold;
			background-color: rgba(255,255,255,0.85);
		}
*/
		
		/* Customize the dialog's background and border */
		.ui-dialog {
			background-color: #aaa;
			border: 1px solid #ccc;
			border-radius: 14px;
		}

		/* Style the title bar */
		.ui-dialog-titlebar {
			background-color: #337ab7;
			color: white;
			border-radius: 10px;
		}
		.ui-dialog-titlebar-close {
			background-color: #225598;
			border: 2px solid #ccc;			
		}	
		.ui-dialog-buttonpane {
			background-color: #888;
			color: white;
			border-radius: 10px;
		}

		input#coords {
			width: 255px;	
			background-color: white;
		}	

							/*		NEW LABEL CSS    */
		#image-container {
			position: relative;
			display: inline-block; /* Ensures the container wraps the image tightly */
			cursor: none;
		}

		.label-with-arrow {
			position: absolute;
			height: 25px;
			line-height:13px;
			user-select: none;
			background-color: rgba(0,0,0,.5);
			color: white;
			padding: 5px 10px;
			border-radius: 10px;
			white-space: nowrap;
			/* Positioning logic will be handled by jQuery */
			transform: translateX(-100%);
			
		}

		/* Arrow pointing left */
		.arrow-left::before {
			content: "";
			position: absolute;
			top: 50%;
			right: 100%;
			transform: translate( -1px, -50%);
			border-width: 10px;
			border-style: solid;
			border-color: transparent #f33 transparent transparent; /* Arrow color matches background */
		}

		/* Arrow pointing right */
		.arrow-right::after {
			content: "";
			position: absolute;
			top: 50%;
			left: 100%;
			transform: translateY(-50%);
			border-width: 10px;
			border-style: solid;
			border-color: transparent transparent transparent #f33; /* Arrow color matches background */
		}
		.poiDiv	{
			margin: 0;
			padding: 0;
		}
