html,
body {
	height: 100%;
	margin: 0;
	font-family: "Roboto", sans-serif;
}

body {
	margin: 0;
	padding: 0;
}
.esri-widget {
	font-family: "Roboto", "Arial Unicode MS", sans-serif !important;
}

.esri-widget * {
	font-family: inherit;
}

.feature-list-item {
	cursor: pointer;
	padding: 10px;
	margin: 5px 0;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.feature-list-item:hover {
	background-color: #f8f9fa;
}

#viewDiv {
	height: 100vh;
	position: sticky;
	top: 0;
	overflow: auto;
}

#sidePanel {
	height: 100%;
	overflow-y: auto;
	z-index: 1000;
}

#formContainer {
	position: absolute;
	display: none;
	top: 5%;
	left: 65%;
	width: 100px;
	height: 600px;
	background: white;
	padding: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	z-index: 10;
	overflow: scroll;
}

#formContainer2 {
	position: absolute;
	display: none;
	top: 30%;
	left: 65%;
	width: 300px;
	height: 600px;
	background: white;
	padding: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	z-index: 10;
	overflow: scroll;
}

#update {
	padding: 6px;
	margin-top: 10px;
}
#floatingMessage {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #4caf50;
	color: white;
	padding: 15px;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

#floatingEdit {
	position: absolute;
	top: 5%;
	right: 5%;
	padding: 10px 30px;
	background-color: #0079c1;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	z-index: 1000; /* Ensure it is above other elements */
}

#floatingEdit:hover {
	background-color: #005a8c;
}

#floatingAdd {
	position: absolute;
	bottom: 5%;
	right: 5%;
	padding: 10px 30px;
	background-color: #0079c1;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	z-index: 1000;
}

#floatingAdd:hover {
	background-color: #005a8c;
}

#editorContainer {
	display: none; /* Initially hidden */
	position: absolute;
	bottom: 50px;
	right: 250px;
	width: 300px;
	height: 450px;
	background-color: white;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	z-index: 1000;
	overflow: scroll;
}

#authContainer.overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000; /* Make sure the overlay is on top of everything */
}

#loginForm,
#registerForm {
	background-color: white;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
	max-height: 90dvh;
	overflow: auto;
	width: fit-content;
}

#registrationSuccessModal {
	z-index: 1060 !important;
}

#viewDiv,
#floatingEdit,
#floatingAdd,
#editorContainer,
#floatingMessage {
	z-index: 1;
}

#login,
#register {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 80dvw;
	max-width: 100dvw;
}

#loginBtns {
	display: flex;
	gap: 10px;
	width: 100%;
}

#organizationType,
#organization,
#login input,
#register input {
	width: 95%;
	padding: 10px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: large;
}

#updateButton,
#discardButton,
#addButton,
#discardButton2,
#updateAdminButton,
#deleteAdminButton,
#discardAdminButton {
	display: none;
	margin: 10px 5px;
	padding: 10px 20px;
	border-radius: 5px;
	cursor: pointer;
}

#editMsg,
#addMsg,
#adminMsg,
#editorAdminMsg,
#editGeoInstructionsMsg,
#copyInstructionsMsg {
	color: #721c24;
	border: 1px solid #f5c6cb;
	padding: 15px;
	border-radius: 5px;
	margin: 10px 0;
	font-size: 18px;
	text-align: center;
	font-family: "Roboto", sans-serif;
	font-weight: 400;
	font-style: normal;
}

#loggedInMsg {
	font-size: 10px;
	text-align: right;
	margin-top: 10px;
	margin-right: 10px;
}

#pills-admin-tab {
	display: none;
}

#copyFeatureButton {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 60px;
	margin-left: 20%;
}

#copyInstructions {
	margin: 50px;
	font-family: "Roboto", sans-serif;
}

/* Add this to your style.css */
#featureSelectionModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;
}

#modalContent {
	background-color: #fff;
	padding: 20px;
	border-radius: 8px;
	max-height: 80%;
	overflow-y: auto;
}

#modalContent ul {
	list-style: none;
	padding: 0;
}

#modalContent li:hover {
	background-color: #f0f0f0;
}

#sketchContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
}

/* Apply the common font styles to specific elements */
.esri-feature-form__label-text-content,
.esri-widget__heading,
.esri-feature-form__input,
.esri-legend__layer-cell {
	font-family: "Roboto", sans-serif; /* Change to your desired font */
	font-size: 13px; /* Optional: Change the font size */
	color: #333; /* Optional: Change the text color */
}

/* Additional specific styles */
.esri-feature-form__label-text-content {
	font-weight: 500; /* Specific to label text content */
}

.container-fluid {
	height: 100%;
}

/* Increase the size of the calcite-icon element */
calcite-action[title="Draw a polyline"] calcite-icon {
	width: 50px; /* Adjust the width as needed */
	height: 50px; /* Adjust the height as needed */
	font-size: 24px; /* Adjust the font size as needed */
}

/* Increase the size of the calcite-icon element */
calcite-action[title="Select feature"] calcite-icon {
	width: 50px; /* Adjust the width as needed */
	height: 50px; /* Adjust the height as needed */
	font-size: 24px; /* Adjust the font size as needed */
}

.esri-sketch__tool-section {
	width: 100px;
	height: 100px;
}

.col-8,
.col-4 {
	padding: 0; /* Ensure no padding in the columns */
}

.row {
	height: 100%;
}

.esri-sketch {
	top: 85%;
	left: 84%;
}

.nav {
	display: flex;
	justify-content: center;
	background-color: #dfeaf5;
	padding: 5px;
	border-radius: 2px;
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.nav-item {
	margin: 0 5px;
}

.nav-link {
	color: #000000;
	font-weight: bold;
	font-size: 13px;
	transition: color 0.3s ease;
}

.nav-link:hover {
	color: #575757;
	text-shadow: 1px 1px 2px rgb(255, 255, 255);
	/* text-decoration: underline; */
}

.nav-link.active {
	color: #39b300;
	text-decoration: underline;
}

.custom-nested-tabs .nav-link {
	background-color: #f8f9fa;
	color: #343a40;
	border: 1px solid #dee2e6;
	border-radius: 0.25rem;
	margin-right: 0.2rem;
	text-transform: none;
	font-size: 0.9vw;
}

/* remove "settings" tab from the editor */
div.esri-editor calcite-accordion-item[data-testid="settings"] {
	display: none;
}

/* Add this to your style.css file */
select {
	width: 100%;
	padding: 8px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-family: "Roboto", sans-serif;
}
.esri-feature-form__container
	.esri-form-field--required
	.esri-feature-form__label-text-content::after {
	content: "*"; /* Add an asterisk after the label */
	color: red; /* Change the color of the asterisk */
	margin-left: 2px; /* Add some space between the label and the asterisk */
	font-weight: bold; /* Make the asterisk bold */
}

.required-field .esri-feature-form__label-text-content::after {
	content: " *";
	color: red;
	margin-left: 2px;
}
.esri-feature-form__hint-icon {
	display: inline-block !important;
	cursor: help;
}

/* .modal-backdrop {
	display: none;
} */

/* .req-asterisk {
	color: red;
	margin-left: 2px;
	font-weight: bold;
} */

/* select:focus {
  outline: none;
  border-color: #4d90fe;
  box-shadow: 0 0 5px rgba(77, 144, 254, 0.5); */
