﻿body, html {
	margin: 0;
	padding: 0;
	overflow: hidden; /* This prevents scrolling */
	height: 100%; /* Ensure the body takes the full viewport height */
	
}

footer {
	background-color: #196fa6; /* Dark background color */
	color: #fff; /* White text color */
	text-align: center; /* Center the text */
	font-size: 0.9em; /* Adjust font size as needed */
	position: absolute; /* To fix the footer to the bottom */
	bottom: 0; /* Align it to the bottom */
	width: 100%; /* Full width */
	height:60px;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
}
#bottomLinks:hover {
	cursor: pointer;
}

#links {
	color: white;
	padding: 5px;
}

	#links a {
		color: white;
	}

		#links a:visited {
			color: #e36d15;
		}

.navbar.calcite-navbar {
	height: 60px; /* Adjust as needed */
	top: 0; /* Ensures it's at the very top */
	left: 0;
	right: 0;
	position: fixed;
	z-index: 1000; /* Keeps it above other content */
}

.wrapper {
	display: flex;
	 /* 80px (header) + 60px (footer) */
	margin-top: 60px; /* Push it down by the height of the header */
	overflow-y: hidden !important;
}

.ui-dialog {
	width: 80% !important; /* This will make the dialog take up 80% of the viewport width */
	max-width: 800px !important; /* This ensures the dialog doesn't get too wide, adjust as needed */
	left: 10% !important; /* To center the dialog */
}

	.ui-dialog .ui-dialog-title {
		color: white !important; /* Change 'red' to your desired color */
	}
	.ui-dialog .ui-dialog-titlebar {
		background-color: #196fa6; /* Change 'blue' to your desired color */
	}

.ui-tabs .ui-tabs-panel {
	display: block;
	border-width: 0;
	 padding: 0px !important; 
	background: none;
}

#togglePanel {
	position: absolute;
	top: 10px; /* Adjust as per your requirement */
	right: 10px; /* Adjust as per your requirement */
	background-color: #333;
	color: #fff;
	border: none;
	cursor: pointer;
	padding: 5px 10px;
	border-radius: 4px;
}


#viewDiv {
	width: 60%;
	height: calc(100vh - 120px);
	-moz-user-select: -moz-none;
	-khtml-user-select: none;
	-webkit-user-select: none;
	-o-user-select: none;
	user-select: none;
}

.right-panel {
	position: relative; /* This is important for absolute positioning inside it */
	width: 40%;
	overflow-y: hidden;
	height: calc(100vh - 120px);
	/*background-color: #196fa6 !important;*/
	border: 1px solid white;
	color: black;
}

.middle-panel {
	width: 60%;
	overflow-y: hidden;
	/*background-color: #196fa6 !important;*/
	border: 1px solid white;
	color: black;
}


#bottomLinks a {
	color: white;
	text-decoration: underline;
}

	#bottomLinks a:visited {
		color: #e36d15;
	}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
	border: 1px solid #003eff;
	background: #196fa6;
	font-weight: normal;
	color: #ffffff;
}

.esri-view-height-less-than-medium .esri-popup__main-container {
	max-height: 300px;
	max-width: 500px !important;
	width: 400px !important;
}









/*.middle-panel,
.right-panel {
	height: 100%;
}*/

.highlighted {
	border: 2px solid white;
	border-radius: 10px;
}

.popup {
	position: absolute;
	display: none;
	z-index: 100;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	max-width: 400px;
	max-height: 400px; /* Set a max-height */
	background-color: white;
	/*border-radius: 50%;*/ /* Add this line to make the popup round */
	overflow: hidden; /* Add this line to hide any overflowing image content */
}

	.popup img {
		width: 100%;
		height: 100%;
		object-fit: cover; /* Add this line to make the image fit and cover the entire popup */
	}

.ui-widget.ui-widget-content {
	 border: 0px solid #c5c5c5; 
}

#trafficAlerts {
	max-height: calc(100vh - 180px); /* Adjust this height as per your requirement */
	overflow-y: auto;
}

#layersDiv {
	max-height: calc(100vh - 180px); /* Adjust this height as per your requirement */
	overflow-y: auto;
}

#trafficCameras {
	max-height: calc(100vh - 180px); /* Adjust this height as per your requirement */
	overflow-y: auto;
}


#tabs-2 {
	overflow-y: visible;
}



.card-image-container {
	height: 200px;
	width:100%;
	overflow: hidden;
	border: 1px solid gray;
	border-radius: 10px;
}

.card-image {
	height: 100%;
	width: 100%;
	object-fit:fill;
}

.card .icon {
	color: black;
    font-size: 40px;
	
}

.card {
	position: relative;
	/* Other styling properties */
}


.card-buttons {
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

/* Basic button styling */
.maximize-button, .zoom-to-button {
	background-color: transparent;
	border: none;
	padding: 0;
	color: black;
	/*	padding: 5px 10px;
*/ cursor: pointer;
	color: white;
	transition: background-color 0.3s;
}





.camera-zoom-to-button {
	background-color: transparent;
	border: none;
	padding: 0;
	color: white;
	/*	padding: 5px 10px;
*/ cursor: pointer;
	transition: background-color 0.3s;
}



/* Hover effect */
.maximize-button:hover, .zoom-to-button:hover {
	/*background-color: rgba(255, 255, 255, 1);*/ /* Opaque white on hover */
	font-weight:bold;
}

/* Esri icon styling */
.esri-icon {
	margin-right: 2px; /* Spacing between icon and text */
}



.card-alert {
	height: auto;
	overflow: hidden;
	padding: 5px;
/*	padding-bottom: 10px;*/
	border: 1px solid gray;
	border-radius:10px;
	margin:5px;

}


.card-title {
	font-size:14px;
}

calcite-modal {
	--calcite-modal-width: 80%;
	--calcite-modal-height: 80%;
}

#cameraModal .modal-content {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
    overflow: hidden;
}

#cameraModalImage {
	width: 100%;
	height: 100%;
	object-fit: fill;
}
