:root {
	--selectedRecord: lightgray;
	--hoverRecord: lightgray;
	--gradientKgGenerator: #5d6dc987;
	--gradientKgReceiver: #c4a4d1ff;
	--gradientKgCarrier: #f5836fff;
	--gradientKm: #d1a46aff;
	--premium: #C8862EFF; /*Axium Orange*/
	--undetermined: #750505ff;
	--generator: #3F51B5;
	--generator_font: #364595ff;
	--receiver: #744a8bff;
	--receiver_font: #603e72ff;
	--carrier: #d15c47ff;
	--carrier_font: #963c2cff;
}


/********************************** Custom Classes ***********************************************/

.generator {
	color: var(--generator) !important;
}

.receiver {
	color: var(--receiver) !important;
}

.carrier {
	color: var(--carrier) !important;
}

.wasteClass {
	font-size: 1.2em !important;
	font-weight: 800;
}

.determined {
	color: var(--generator_font) !important;
	font-weight: 500 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 1px;
}

.determinedReceiver {
	color: var(--receiver_font) !important;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 1px;
}

.undetermined {
	color: var(--undetermined) !important;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 1px
}

.gridHeader {
	background-color: #ebebebff;
}

.dlgTitle {
	padding: 10px;
	color: white !important;
	background-color: var(--mud-palette-primary) !important;
	font-size: 1.5em;
}

.dlgTitlePremium {
	padding: 10px;
	color: white !important;
	background-color: var(--premium) !important;
	font-size: 1.5em;
}

.ellipsisGrid {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 1px; /*Because the Grid will have Sort, Filter, Menu Icons it will usually be Wider than I want*/
}

.ellipsisCombo {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 200px;
}

.ellipsisGenName {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 225px;
	font-weight: 700;
}

.ellipsisDescription {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 500px;
}

.ellipsisStreet {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 150px;
}

.ellipsisNAICS {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 175px;
}

.ellipsisCarrier {
	color: var(--carrier_font) !important;
	font-weight: 500 !important;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 1px;
}

.selectedButton {
	background-color: var(--mud-palette-primary) !important;
	color: white !important;
	border: 3px solid black !important;
}

.selectAll > .mud-list-item:first-child {
	background-color: lightgray;
	margin-bottom: 0px !important;
}

.category {
	font-weight: 900;
}

.highlightText {
	background-color: yellow;
	color: black;
	padding: 2px 4px;
	border-radius: 3px;
}

.tabBorder {
	border: 1px solid #d3d3d3;
	border-radius: 8px;
	margin-top: 8px;
	margin-left: 2px;
	text-transform: none; /* Prevents uppercase text */
	font-size: 1.5em
}

/********************************** MudDataGrid ***********************************************/

/*Overwriting the MudBlazor .mud-header class*/
.mud-header {
	color: #FFFFFF !important;
	border: thin solid black !important;
	border-radius: 0 !important;
	background-color: var(--mud-palette-primary) !important;
}

/* Styles the MudDataGrid hierarchy header toggle like other grid headers */
th.mud-header-togglehierarchy {
	color: #FFFFFF !important;
	border: thin solid black !important;
	border-radius: 0 !important;
	background-color: var(--mud-palette-primary) !important;
}

/*Makes the MudDataGrid Sort and Filter Buttons White*/
.column-options button svg {
	fill: #FFFFFF;
	color: #FFFFFF;
}

/*Makes the MudDataGrid Carrot Large and White*/
thead .mud-hierarchy-toggle-button svg {
	fill: white !important;
	color: white !important;
	width: 28px !important;
	height: 28px !important;
}

/*Makes SubHeaders Invisible*/
.hideSubGridHeaders thead {
	visibility: collapse;
}

/*Removes any padding from SubRecords*/
.mud-table-child-content {
	padding: 0px;
}

/********************************** Miscellaneous ***********************************************/

/* Makes the Selected Row Light Grey when using the <SelectColumn> */
.selected, .selected > td {
	background-color: var(--selectedRecord) !important;
}

/*Puts ToolTips on the Top*/
.mud-tooltip.mud-popover {
	z-index: 900 !important;
}

/*Makes the Nav Menu Carrot Black*/
.mud-navmenu.mud-navmenu-default .mud-nav-link-expand-icon.mud-transform {
	fill: inherit;
}

/********************************** Google Maps ***********************************************/

/*Remves Google Maps from constantly displaying Press Ctrl+Zoom and makes the map Grey*/
.gm-style div[aria-hidden="true"][style*="background-color"],
.gm-style div[style*="background-color: rgb(0, 0, 0)"],
.gm-style div[style*="background-color: rgba(0, 0, 0"],
.gm-style > div:nth-child(1) > div:nth-child(3) {
	background-color: transparent !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.markerIconLabel {
	transform: translateY(-5px);
}

.marginsForMapScroll {
	margin-bottom: 200px;
}

.wasteNumPopup .mud-popover,
.wasteNumPopup .mud-popover-content {
	width: 300px !important;
}

/********************************** Gradients ***********************************************/
.gradient-kg-generator {
	width: 100%;
	background: linear-gradient( 90deg, var(--gradientKgGenerator) 0%, /* Darker shade on the left */
	var(--gradientKgGenerator) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 50%), /* Primary color around halfway */
	rgba(255, 255, 255, 0.1) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 100%), /* Light transparent towards right */
	rgba(255, 255, 255, 0.5) 100% /* Lightest at the far right */
	);
	height: 25px;
	padding-top: 4px;
	padding-bottom: 4px;
	border-radius: 0px;
}

.gradient-kg-receiver {
	width: 100%;
	background: linear-gradient( 90deg, var(--gradientKgReceiver) 0%, /* Darker shade on the left */
	var(--gradientKgReceiver) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 50%), /* Primary color around halfway */
	rgba(255, 255, 255, 0.1) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 100%), /* Light transparent towards right */
	rgba(255, 255, 255, 0.5) 100% /* Lightest at the far right */
	);
	height: 25px;
	padding-top: 4px;
	padding-bottom: 4px;
	border-radius: 0px;
}

.gradient-kg-carrier {
	width: 100%;
	background: linear-gradient( 90deg, var(--gradientKgCarrier) 0%, /* Darker shade on the left */
	var(--gradientKgCarrier) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 50%), /* Primary color around halfway */
	rgba(255, 255, 255, 0.1) calc(var(--gradient-valueKg) / var(--gradient-maxKg) * 100%), /* Light transparent towards right */
	rgba(255, 255, 255, 0.5) 100% /* Lightest at the far right */
	);
	height: 25px;
	padding-top: 4px;
	padding-bottom: 4px;
	border-radius: 0px;
}

.gradient-km {
	width: 100%;
	background: linear-gradient(90deg, var(--gradientKm) 0%, /* Darker shade on the left */
	var(--gradientKm) calc(var(--gradient-valueKm) / var(--gradient-maxKm) * 50%), /* Primary color around halfway */
	rgba(255, 255, 255, 0.1) calc(var(--gradient-valueKm) / var(--gradient-maxKm) * 100%), /* Light transparent towards right */
	rgba(255, 255, 255, 0.5) 100% /* Lightest at the far right */
	);
	height: 25px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	border-radius: 0px;
}

.gradient-determined {
	width: 100%;
	background: linear-gradient(90deg, #4caf50 0%, /* Lighter Green */
	#66bb6a calc(var(--gradient-valueDet) / var(--gradient-maxDet) * 50%), /* Medium Green */
	rgba(200, 230, 201, 0.3) calc(var(--gradient-valueDet) / var(--gradient-maxDet) * 100%), /* Light Green Transparent */
	rgba(255, 255, 255, 0.5) 100% /* Lightest */
	);
	height: 25px;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	border-radius: 0px;
}

/********************************** Apex Charts ***********************************************/

.apexcharts-legend {
	margin-top: 18px !important;
}

.apexcharts-legend-text {
	font-size: 18px !important;
	font-weight: 500;
}

.apexcharts-legend-marker {
	width: 18px !important;
	height: 18px !important;
	border-radius: 2px !important;
}