#chartjs-tooltip {
	background: white;
	color: white;
	box-shadow: 0px 20px 25px rgb(0 0 0 / 25%);
	min-width: 120px;
	box-sizing: border-box;
	z-index: 10;
}
/* #chartjs-tooltip span {
	background: #0080c5 !important;
	border: 0px !important;
	width: 15px;
	height: 15px;
	border-radius: 100%;
	display: inline-block;
	margin-right: 10px;
} */

#chartjs-tooltip table {
	border-collapse: collapse;
	width: 100%;
}

#chartjs-tooltip thead {
	background: #007fc4;
	position: relative;
	width: calc( 100% + 24px);
	font-weight: 700;
	color: white;
}

#chartjs-tooltip thead th,
#chartjs-tooltip td {
   padding: 5px 12px; 
   font-weight: normal;
   text-align: center;
   font-size: 14px;
   display: flex;
   align-items: center;
   justify-content: center;
}
#chartjs-tooltip tbody th,
#chartjs-tooltip tbody td {
	font-size: 15px;
	line-height: 1.5;
	color: #323232;
}
.graph-wrapper {
	margin-bottom: 2rem;
	background-color: var(--primary-color-07);
	padding: 2rem 1rem;
}
.graph-interface {
	width: 100%;
	height: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	margin-bottom: 2rem;
}
.graph-switcher {
	width: auto;
	height: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	box-sizing: border-box;
	min-height: 6rem;
}
.graph-switcher:not(.visible) {
	display: none;
}
.graph-switcher .graph-switcher-button {
	cursor: pointer;
	font-size: 24px;
	color: white;
	min-width: 6rem;
	text-align: center;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	background-color: var(--primary-color-100);
}
.graph-switcher .graph-switcher-button:not(.switchable) {
	opacity: 0.5;
	pointer-events: none;
}
.graph-input {
	min-width: 14rem;
	text-align: center;
	border: 1px solid var(--primary-color-100);
	position: relative;
	line-height: 34px;
	padding: 0px;
	box-sizing: border-box;
	-webkit-appearance: none;
	padding-left: 10px;
	padding-right: 10px;
	margin: 0px;
	border-radius: 0px;
}
.downloadcsv {
	display: block;
}
.graph-subtext {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row nowrap;
	flex-flow: row nowrap;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	text-align: center;
	font-weight: 700;
}
.graph-subtext-icon {
	display: block;
	height: 0px;
	width: 1rem;
	border: 2px solid  var(--primary-color-100);
	margin-right: 1rem;
}
.graph-subtext-icon-negative {
	border: 2px solid  #78badd;
}

@media only screen and (max-width:500px) {
	.graph-interface {
		display: block;
	}
	.graph-switcher {
		margin-bottom: 2rem;
		width: 100%;
	}
	.graph-input {
		-webkit-box-flex: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
	.graph-subtext {
		font-size: 1.5rem;
	}
}

/* CSV Popup */

.csv-download-popup {
	display: block;
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100vw;
	height: 100vh;
	opacity: 0;
	pointer-events: none;
	transition: ease-out opacity 0.3s;
	z-index: 100;
}
.show-popup .csv-download-popup {
	opacity: 1;
	pointer-events: all;
	transition: ease-in opacity 0.3s;
}
.csv-download-popup .csv-min,
.csv-download-popup .csv-max {
	display: none;
}
.csv-download-popup .csv-download-daterange {
	margin-bottom: 2rem;
}
.csv-download-popup .downloadcsv {
	pointer-events: none;
	opacity: 0.5;
	transition: ease-in-out opacity 0.3s;
}
.csv-download-popup .downloadcsv.enabled {
	pointer-events: auto;
	opacity: 1;
}