:root {
	--client-color: #0f05a0;
}

/*change the sketch drawing color*/
calcite-action {
	--calcite-ui-foreground-1: #1b0bff25;
	--calcite-combobox-item-spacing-unit-l: 0.65rem;
	--calcite-combobox-item-spacing-unit-s: 0.45rem;
	--calcite-combobox-input-height: 1.5rem;
	--calcite-action-background-color: var(--client-color);
	--calcite-icon-color: #fff !important;
  }
 

.esri-feature-form__group-header,
.esri-feature-form__group-header:focus
 {
  background-color: #1b0bff25;
}
.esri-feature-form__group-header:hover
 {
  background-color: #f3f3f3;
  color: black;
}

.calcite-theme-light {
  --calcite-font-size--1: 0.9rem;
  --calcite-ui-brand: var(--client-color);
}

.esri-widget--button:is(calcite-button):not(:hover) {
  --calcite-ui-icon-color: #fff !important;
}

.esri-widget--button:is(calcite-button):hover {
  --calcite-ui-icon-color: #000 !important;
}

p {
  margin:10px auto;
  max-width: 80%;
  padding: 20px 12px 10px 20px;
  font: 16px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

h1, h2, h3 {
  margin:10px auto;
  max-width: 80%;
  padding: 20px 12px 10px 20px;
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

dialog {
	border:1px solid var(--client-color);
	text-align: center;	
	line-height: 1.5em;
}

.cursive-label {
	font-style: italic;
}

.error {
	color: red;
}

.whitebg {
	background-color: white;
  }

  .instructions {
	padding: 10px 10px 0;
  }





        vaadin-grid-cell-content {
            white-space: normal !important;
	    width: fit-content;
        }


.esri-ui-corner .esri-expand .esri-widget--panel {
	max-height: calc(90vh - 100px);
	width: 350px;
}


.form-style-1 .form-item {
	display: flex;
	/*align-items: center;*/ /* Aligns items vertically in the center */
	margin-bottom: 10px; /* Spacing between each form item */
}

	.form-style-1 .form-item label {
		margin-right: 10px; /* Spacing between label and input */
		white-space: nowrap; /* Prevents label from wrapping */
		width: 300px;
	}

/*form style from https://www.sanwebe.com/2014/08/css-html-forms-designs*/
.form-style-1 {
	margin:10px auto;
    /*max-width: 80%;*/
	padding: 20px 12px 10px 20px;
	font: 16px "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
.form-style-1 li {
	padding: 0;
	display: block;
	list-style: none;
	margin: 10px 0 0 0;
}
.form-style-1 label{
	margin:0 0 3px 0;
	padding:0px;
	/*display:block;*/
}

.labelRightSide {
	font-size: 10px;
	font-weight: normal;
}

#logoDiv {
	background-color: var(--client-color);
	display: flex;
	width: 100%;
	align-items: center; /* Vertically centers content within the container */
}

	#logoDiv label {
		font-weight: bold;
		color: white;
		/*margin-bottom: 1px;*/ /* Adjust this value as needed */
		/*margin-top: 1px;*/ /* Adjust this value as needed */
	}

/* Styling for the first two flexible columns */
.flexible-column {
	flex: 1; /* Allows these columns to grow and share available space equally */
	display: flex;
	align-items: center; /* Vertically centers content within each flexible column */
}

	/* Optional: Add padding or other styles to the flexible columns if needed */
	.flexible-column a,
	.flexible-column label {
		/* Example: Add some horizontal padding */
		padding: 0 20px;
	}

/* Styling for the third column */
.third-column {
	display: flex; /* Enables flex layout within this div */
	justify-content: flex-end; /* Right-aligns the content */
	align-items: center; /* Vertically centers the content */
	padding-left: 30px; /* 50px padding to the left */
	padding-right: 30px; /* 50px padding to the right */
	/* Ensure the third column doesn't grow or shrink */
	flex: 0 0 auto;
	align-self: stretch;
}

img {
	max-height: 100%; /* Limits the image's height to 100% of its container */
	height: auto; /* Adjusts the width automatically to maintain aspect ratio */
	display: block; /* Optional: Removes the bottom whitespace */
}


.form-style-1 input[type=text], 
.form-style-1 input[type=date],
.form-style-1 input[type=datetime],
.form-style-1 input[type=number],
.form-style-1 input[type=search],
.form-style-1 input[type=time],
.form-style-1 input[type=url],
.form-style-1 input[type=email],
textarea, 
select{
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border:1px solid #BEBEBE;
	padding: 7px;
	margin:0px;
	outline: none;	
}
.form-style-1 input[type=text]:focus, 
.form-style-1 input[type=date]:focus,
.form-style-1 input[type=datetime]:focus,
.form-style-1 input[type=number]:focus,
.form-style-1 input[type=search]:focus,
.form-style-1 input[type=time]:focus,
.form-style-1 input[type=url]:focus,
.form-style-1 input[type=email]:focus,
.form-style-1 textarea:focus, 
.form-style-1 select:focus{
	-moz-box-shadow: 0 0 8px #88D5E9;
	-webkit-box-shadow: 0 0 8px #88D5E9;
	box-shadow: 0 0 8px #88D5E9;
	border: 1px solid #88D5E9;
}

.field-long, .field-divided {
	flex-grow: 1;
}

.form-style-1 .field-divided {
	width: 50%; 	/* calc(50% - 5px); 	*/
	/*margin-right: 10px;*/
}

.form-style-1 .field-long{
	width: 100%;
}
.form-style-1 .field-select{
	width: 100%;
}
.form-style-1 .field-textarea{
	height: 100px;
}

.form-style-1 .submit-button-cell {
	width: 10%; /* Set the cell width */
	text-align: right; /* Align content to the right */
}

.form-style-1 input[type=submit], .form-style-1 input[type=button] {
	background: var(--client-color);
	padding: 8px 15px 8px 15px;
	border: none;
	color: #fff;
	height: 30px;
	margin-left: 10px;
	text-align: right;
	font-weight: bold;
}
.form-style-1 input[type=submit]:disabled, .form-style-1 input[type=button]:disabled {
	background-color: #A0A0A0;
	box-shadow: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
.form-style-1 input[type=submit]:hover, .form-style-1 input[type=button]:hover{
	background-color: #000;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}
.form-style-1 .required{
	color:red;
}

button
{
	background: var(--client-color);
	padding: 8px 15px 8px 15px;
	border: none;
	color: #fff;
}
button:hover {
	background-color: #000;
	box-shadow:none;
	-moz-box-shadow:none;
	-webkit-box-shadow:none;
}

#projSettingsDescription {
	width: 100%; /* Full width, adjust as needed */
	height: 100px; /* Fixed height, adjust as needed */
	overflow-y: auto; /* Adds vertical scrollbar when content exceeds */
	resize: none;
}


.esri-widget--button
 {
        background-color: var(--client-color) !important;
		color: #ffffff !important;
      }

.esri-widget--button:focus,
.esri-widget--button:hover
 {
        background-color: #000000 !important;
        color: #fff !important;
      }

	  .esri-widget__heading {
		/*color: var(--client-color);*/
		font-weight: 600;
		margin: 0 0 0.5rem 0;
	  }
	  h1.esri-widget__heading {
		font-size: 15px;
	  }
	  h2.esri-widget__heading {
		font-size: 14px;
	  }
	  h3.esri-widget__heading,
	  h4.esri-widget__heading,
	  h5.esri-widget__heading,
	  h6.esri-widget__heading {
		font-size: 13px;
	  }