﻿/*Custom CSS IDs*/
#FederalAgency {
	width: 500px;
}

#ReportingGroups {
	width: 350px;
}

#Programs {
	width: 450px;
}

#ProgramDescription {
	width: 350px;
}

#ProgramDescriptionEntry {
	display: grid;
	grid-template-columns: auto auto;
}

#Status {
	min-width: 100px;
}

#Status-Select {
	width: 120px;
}

#AssignedTo {
	min-width: 170px;
}

#GrantYears {
	width: 360px;
}

#Comments {
	width: 100%
}

#Header {
	text-align: center;
}

#Aln {
	border-top-left-radius: 15px;
	border-bottom-left-radius: 15px;
	white-space: nowrap;
}

#AlnTItle {
	white-space: nowrap;
}

#AwardingAgency {
	white-space: nowrap;
}

#AlnStatus {
	white-space: nowrap;
}

#AssignedTo {
	white-space: nowrap;
}

#RevUser {
	white-space: nowrap;
}

#RevState {
	white-space: nowrap;
}

#Aln-Entry {
	width: 150px;
}

#AlnSelect {
	width: fit-content;
}

#Title-Entry {
	width: 450px;
}

#Collapse {
	width: 22px;
	background-color: #ffffff;
}

#Collapse2 {
	text-align: center;
	width: 22px;
	padding-bottom: 1px;
	border-top-right-radius: 15px;
	border-bottom-right-radius: 15px;
	color: #800047;
}

#LoginTextbox {
	width: 100%;
	height: 45px;
}

#Program {
	width: 170px;
}

#FiscalYearSelect {
	width: fit-content;
	text-align: center;
	height: 30px;
	border: 1px solid white;
	background-color: white;
	border-radius: 6px;
	outline-color: #800047;
}

/*Custom CSS Clasess*/
.iva-textbox {
	padding-left: 10px;
	height: 45px;
	border: 1px solid #d9abc4;
	background-color: #fafafa;
	border-radius: 15px;
	outline-color: #800047;
	position: relative;
}

	.iva-textbox:focus {
		border: 2px solid #800047;
		border-radius: 15px;
		outline-color: #800047;
	}

		.iva-textbox:focus ~ .iva-float-label, .iva-textbox:valid ~ .iva-float-label, .iva-textbox:disabled ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #fff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}

	.iva-textbox:disabled {
		background-color: #dedede;
	}

.iva-select {
	padding-left: 10px;
	/*height: 45px;*/
	border: 1px solid #d9abc4;
	background-color: #fafafa;
	border-radius: 15px;
	outline-color: #800047;
	position: relative;
}

	.iva-select:focus {
		border: 2px solid #800047;
		background-color: #fafafa;
		border-radius: 15px;
		outline-color: #800047;
	}

.iva-table-button {
	text-align: center;
	width: fit-content;
	height: 25px;
	padding-top: 0px;
}

/* Center the checkbox inside a bordered container */
.checkbox-container {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 45px;
	padding: 0;
}


/* Center the checkbox in its container */
.checkbox-center {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Increase checkbox size while keeping it square and centered */
.checkbox-large {
	transform: scale(1.3);
	margin: 0; /* Remove default margin to avoid layout disruption */
	appearance: none;
	-webkit-appearance: none;
	width: 20px; /* Square dimensions */
	height: 20px; /* Square dimensions */
	cursor: pointer;
	border: 2px solid #800047; /* Add a visible border */
	background-color: white; /* Default background */
	display: inline-block;
	position: relative;
	border-radius: 0; /* Force square corners */
}

	/* Style for hover and focus */
	.checkbox-large:hover,
	.checkbox-large:active,
	.checkbox-large:focus {
		border-color: #5f0037; /* Slightly darker border on hover */
		border-radius: 0; /* Force square corners */
	}

	/* Style for checked state */
	.checkbox-large:checked {
		background-color: #800047;
		border-color: #800047;
		border-radius: 0; /* Force square corners */
	}

		/* Add a checkmark */
		.checkbox-large:checked::after {
			content: "✔";
			color: white;
			font-size: 14px;
			position: absolute;
			top: 50%;
			left: 50%;
			transform: translate(-50%, -50%);
			display: block;
			border-radius: 0; /* Force square corners */
		}


.AdminTextField {
	width: 350px;
}

.timesheet-input {
	width: 300px;
}

.iva-combobox {
	padding-left: 10px;
	height: 45px;
	border: 1px solid #d9abc4;
	background-color: #fafafa;
	border-radius: 15px;
	outline-color: #800047;
	position: relative;
}

iva-combobox:focus {
	border: 2px solid #800047;
}

.iva-combobox:focus ~ .iva-float-label, .iva-combobox:valid ~ .iva-float-label, .iva-combobox:disabled ~ .iva-float-label {
	top: -15px;
	left: 3px;
	font-size: 14px;
	color: #800047;
	background-color: #fff;
	padding: 0 5px 0 5px;
	border-radius: 15px;
	border: solid 1px #800047;
}

.iva-combobox:disabled {
	background-color: #dedede;
	border: solid 1px #800047;
}

.CostPlanSelect {
	width: 400px;
}

.iva-label {
	color: #800047;
}

.iva-float-label {
	color: rgba(128, 0, 71, 0.75);
	position: absolute;
	pointer-events: none;
	left: 10px;
	top: 4px;
	transition: 0.1s;
	width:fit-content;
}

.iva-float-login-label {
	color: rgba(128, 0, 71, 0.75);
	position: relative;
	pointer-events: none;
	left: 10px;
	top: 4px;
	transition: 0.1s;
}

.iva-checkbox {
	accent-color: #800047;
}

.iva-date-input {
	padding-left: 10px;
	width: 125px;
	height: 45px;
	border: 1px solid #d9abc4;
	background-color: #fafafa;
	border-radius: 15px;
	outline-color: #800047;
}

	.iva-date-input:focus {
		border: 2px solid #800047;
	}

		.iva-date-input:focus ~ .iva-float-label, .iva-date-input:valid ~ .iva-float-label, .iva-date-input:disabled ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #fff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}

	.iva-date-input:disabled {
		background-color: #dedede;
	}

.text-field {
	position: relative;
}

.iva-h5 {
	text-align: center;
}

.iva-td {
	border: solid 1px #ffffff;
	padding-Left: 10px;
	padding-right: 10px;
	height: 30px;
	text-align: center;
}

.iva-th {
	padding-Left: 10px;
	padding-right: 10px;
	white-space: nowrap;
}

.iva-th-list {
	border-right: 1px solid white;
	border-radius: 12px;
	background-color: #800047;
	color: #ffffff;
	text-align: center;
}

.iva-label-static {
	width: 100%;
	background-color: #800047;
	color: #FFFFFF;
	border-radius: 15px;
	white-space: nowrap;
	padding-left: 10px;
	padding-right: 10px;
	display: block;
}

.iva-label-static-muted {
	width: 100%;
	background-color: #800047;
	opacity: 0.75;
	color: #FFFFFF;
	border-radius: 15px;
	font-size: 16px;
}

.header-a {
	color: white;
}

/*CSS actions*/
.TableDataRow
{
	border-radius:15px;
}
	.TableDataRow:hover {
		background-color: rgba(128,0,71,.5);
		color: rgb(255, 255, 255);
		border-radius:15px;
	}

.header-a:hover {
	cursor: pointer;
	color: white;
}

/*input {
	display: inline-block;
	border: solid 1px #d9abc4;
	color: #444;
	background-color: #fafafa;
	border-radius: 15px;
	padding-top: 3px;
	padding-left: 10px;
}

	input:focus {
		border: solid 3px #800047;
		background-color: #fff;
		border-radius: 15px;
	}

		input:focus ~ .iva-float-label, input:valid ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #ffffff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}*/

.iva-textarea {
	display: inline-block;
	border: solid 1px #d9abc4;
	color: #000000;
	background-color: #fafafa;
	border-radius: 15px;
	padding-top: 10px;
	padding-left: 10px;
}

	.iva-textarea:focus {
		border: solid 1px #800047;
		background-color: #fff;
		border-radius: 15px;
		outline-color: #800047;
	}

		.iva-textarea:focus ~ .iva-float-label, .iva-textarea:valid ~ .iva-float-label, .iva-textarea:disabled ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #fff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}

	.iva-textarea:disabled {
		background-color: #dedede;
	}

select {
	display: inline-block;
	border: solid 1px #d9abc4;
	color: #444;
	background-color: #fafafa;
	border-radius: 15px;
	padding-top: 3px;
	padding-left: 10px;
}

	select:focus {
		border: solid 1px #800047;
		background-color: #fff;
		border-radius: 15px;
	}

		select:focus ~ .iva-float-label, select:valid ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #fff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}

.disabled-textbox {
	padding-left: 10px;
	height: 45px;
	border: 1px solid #d9abc4;
	background-color: #dedede;
	border-radius: 15px;
	outline-color: #800047;
	position: relative;
}

.disabled-field {
	position: relative;
	margin: 10px 2.5px 20px 2.5px;
}

	.disabled-field label {
		position: absolute;
		top: -10px;
		background-color: #fafafa;
		padding: 0 5px;
		font-size: 14px;
		color: #800047;
	}

	.disabled-field input:focus + label,
	.disabled-field input:not(:placeholder-shown) + label,
	.disabled-field[disabled="true"] + .disabled-field-placeholder {
		top: -15px;
		left: 3px;
		background-color: #fafafa;
		padding: 0 5px;
		font-size: 14px;
		color: #800047;
		border-radius: 15px;
		border: 1px solid #800047;
	}

.disabled-textarea {
	display: inline-block;
	border: solid 1px #800047;
	color: #000000;
	background-color: #fafafa;
	border-radius: 15px;
	padding-top: 3px;
	padding-left: 10px;
}

	.disabled-textarea:focus {
		border: solid 1px #800047;
		background-color: #fff;
		border-radius: 15px;
		outline-color: #800047;
	}

		.disabled-textarea:focus ~ .iva-float-label, .disabled-textarea:valid ~ .iva-float-label {
			top: -15px;
			left: 3px;
			font-size: 14px;
			color: #800047;
			background-color: #fff;
			padding: 0 5px 0 5px;
			border-radius: 15px;
			border: solid 1px #800047;
		}

	.disabled-textarea input:focus + label,
	.disabled-textarea input:not(:placeholder-shown) + label,
	.disabled-textarea[disabled="true"] + .disabled-textarea-placeholder {
		top: -15px;
		left: 3px;
		background-color: #fafafa;
		padding: 0 5px;
		font-size: 14px;
		color: #800047;
		border-radius: 15px;
		border: 1px solid #800047;
	}

.grantsplus-drawinfo-card {
	margin-left: 25px;
	margin-top: 25px;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 20px;
	float: left;
	border-radius: 8px;
	max-width: 600px;
	font-size: normal;
	user-select: none;
	-webkit-user-select: none; /* For Safari */
	-moz-user-select: none; /* For Firefox */
	-ms-user-select: none; /* For Internet Explorer/Edge */
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

	.grantsplus-drawinfo-card:hover {
		background-color: lightgray;
	}

.grantsplus-drawinfo-card {
	background-color: white;
}

.carlsgrid {
	overflow-y: auto;
	margin-right: 10px;
	margin-bottom: 20px;
}

.carlsgrid-grant-screen {
	overflow-y: auto;
}

.carlsgrid-table {
	width: 100%;
	position: relative;
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
}

	/* Prevent header from changing color on hover */
	.carlsgrid-table thead th {
		text-decoration: underline white;
		text-align: center;
		position: sticky;
		top: 0;
		/*background-color: #800047;*/
		color: #FFFFFF;
		border-radius: 15px;
	}

	.carlsgrid-table tbody tr:hover {
		background-color: rgba(128,0,71,.5);
		color: rgb(255, 255, 255)
	}

		.carlsgrid-table tbody tr:hover td:first-child {
			border-top-left-radius: 10px;
			border-bottom-left-radius: 10px;
		}

		.carlsgrid-table tbody tr:hover td:last-child {
			border-top-right-radius: 10px;
			border-bottom-right-radius: 10px;
		}


.carlsgrid-static-cell {
	padding: 5px;
	border: none;
	border-color: lightgray;
}

.carlsgrid-edit-cell {
	padding: 0px;
	border: none;
	border-color: lightgray;
}

.carlsgrid-input-cell {
	padding: 5px;
	width: 100%;
	background-color: lightgoldenrodyellow;
	display: block;
}

.carlsgrid-report-table {
	max-height: 500px;
	font-size: small;
	overflow-y: auto;
}

.report-table, .report-td {
	border: 1px solid maroon;
	border-collapse: collapse;
	text-align: left;
}

.report-table {
	width: 100%;
}

.report-td {
	padding-left: 20px;
}

/* Custom class for reduced margin between rows */
.row-tight {
	margin: 0px; /* Or adjust to 2px, or 0 if no spacing is desired */
	padding: 0px;
}

.iva-label-tpl {
	border: 1px solid #800047;
	border-radius: 15px;
	position: absolute;
	z-index: 8;
	margin-top: -15px;
	margin-left: 7px;
	background-color: #ffffff;
}

.iva-label-pd {
	padding: 0px 5px 0px 5px;
}

/* Dropdown Button */
.iva-menu {
	background-color: white;
	color: black;
	padding: 6px;
	font-size: 16px;
	border: none;
	display: inline-block;
}

/* The container <div> - needed to position the dropdown content */
.iva-dropdown {
	position: relative;
	display: inline-block;
	width: fit-content;
	float: left;
	justify-content: space-around;
	background-color: white;
	font-size: 16px;
}



/* Dropdown Content (Hidden by Default) */
.iva-dropdown-content {
	display: none;
	position: absolute;
	background-color: white;
	color: black;
	white-space: nowrap;
	box-shadow: 0px 0px 0px 0px;
	z-index: 1001;
	border-radius: 0px 6px 6px 6px;
	border: 1px solid #a6a6a6;
	font-size: 16px;
	overflow-y: auto;
	max-height: 400px;
}

	/* Links inside the dropdown */
	.iva-dropdown-content .iva-menu-item {
		color: black;
		z-index: 1001;
		text-decoration: none;
		display: block;
		width: 100%;
		text-align: left;
		font-size: 16px;
		border: 0px #ffffff solid;
		box-shadow: none;
		outline: none !important;
	}

.iva-menu-item:focus, .iva-menu-item:active {
	outline: none !important;
	box-shadow: none;
}

.iva-menu-item:hover {
	background-color: #96406d;
	color: white;
}

/* Links inside the dropdown */
.iva-dropdown-content .iva-menu-item-chkb {
	color: black;
	z-index: 1001;
	text-decoration: none;
	display: block;
	width: 100%;
	text-align: left;
	font-size: 16px;
	border: 0px #ffffff solid;
	box-shadow: none;
	outline: none !important;
	background-color:#ffffff;
}

.iva-menu-item-chkb:hover {
	background-color: #96406d;
	color: white;
}

.iva-menu-item:active:focus {
	box-shadow: 0px 0px 0px 0px;
	background-color: #d9abc4;
	color: white;
}

.iva-menu-item:focus {
	box-shadow: 0px 0px 0px 0px;
}

.iva-menu-item:disabled, .iva-menu-item.disabled {
	box-shadow: 0px 0px 0px 0px;
	color: #a6a6a6;
}

/* Disabled buttons*/
.iva-menu-item:disabled {
	color: #a6a6a6;
}

/* Change color of dropdown links on hover */
.iva-dropdown-content .iva-menu-item:hover {
	background-color: #96406d;
	color: white;
}

/* Show the dropdown menu on hover */
.iva-dropdown:hover .iva-dropdown-content {
	background-color: white;
	color: black;
	display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.iva-dropdown:hover .iva-menu:hover {
	background-color: #96406d;
	color: white;
}

.iva-toolbar {
	width: 100%;
	justify-content: space-evenly;
	background-color: white;
	align-content: baseline;
	border-radius: 12px 0px;
	color: black;
	border-bottom: 2px solid #800047;
	margin-top: -18px;
	font-size: 16px;
}

.iva-menu-tab {
	background-color: white;
	color: black;
	font-size: 16px;
	border: none;
	display: inline-block;
	border-radius: 0px 0px 12px 12px;
}

	.iva-menu-tab:hover {
		background-color: #96406d;
		color: white;
	}

	.iva-menu-tab:active:focus {
		box-shadow: 0px 0px 0px 0px;
		background-color: #800047;
		color: white;
	}

	.iva-menu-tab:focus {
		box-shadow: 0px 0px 0px 0px;
	}


.btn-primary {
	color: #FFFFFF;
	background-color: rgba(128, 0, 71, .75);
	border-color: #800047;
	padding-top: .2rem;
	padding-bottom: .2rem;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 18px;
}

	.btn-primary:hover,
	.btn-primary:active {
		color: #ffffff;
		background-color: #800047;
		border-color: #800047;
	}

	.btn-primary:focus {
		color: #ffffff;
		background-color: rgba(128, 0, 71, .75);
		border-color: #000000;
		box-shadow: none;
	}


.iva-menu-btn {
	background-color: white;
	color: black;
	padding: 6px;
	font-size: 16px;
	border: none;
	display: inline-block;
}

	.iva-menu-btn:hover {
		background-color: #96406d;
		color: white;
	}

	.iva-menu-btn:active:focus {
		box-shadow: 0px 0px 0px 0px;
		background-color: #800047;
		color: white;
	}

	.iva-menu-btn:focus {
		box-shadow: 0px 0px 0px 0px;
	}

	.iva-menu-btn:disabled, .iva-menu-btn.disabled {
		box-shadow: 0px 0px 0px 0px;
		color: #a6a6a6;
	}

.progress-modal-size {
	width: 500px !important;
	min-width: 500px !important;
	max-width: 500px !important;
}

.summary-modal-size {
	width: 900px !important;
	min-width: 900px !important;
	max-width: 900px !important;
	overflow: auto;
}

.addgrant-delaware-modal-size {
	width: 900px !important;
	min-width: 900px !important;
	max-width: 900px !important;
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
}

.spinner-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1100;
	cursor: wait;
}

.spinner-gif {
	width: 200px; /* Adjust size as needed */
	height: auto;
}

/* Dropdown Button */
.dropbtn {
	background-color: #800047;
	color: white;
	border: none;
	cursor: pointer;
	float: right;
	height: fit-content;
	width: fit-content;
	display: inline-block;
}

	/* Dropdown button on hover & focus */
	.dropbtn:hover, .dropbtn:focus {
		background-color: #96406d;
		border-radius: 8px;
	}

/* The container <div> - needed to position the dropdown content */
.dropdown {
	position: relative;
	display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	color: #000000;
	box-shadow: 0px 8px 16px 0px #96406d;
	z-index: 1;
	margin-top: 24px;
	right: 0;
	border: 1px solid #800047;
	padding: 5px;
	border-radius: 0px 0px 12px 12px;
	font-weight: normal;
	min-width: 160px;
}

/* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
.show {
	display: block;
}
