body {
	background: #000;
	padding: 0;
	margin: 0;
	color: #fff;
	font-family: 'Open Sans', sans-serif;
	font-size: 1vmax;
	text-align:left;
	overflow: hidden;
	width: 100%;
	height: 100%;
}
input, button {
	background-color: #222222;
	color: #EEEEEE;
	font-size: 20px;
}
#container {
	background: #000;
	position: absolute;
	top: 6%;
	width: 100%;
	height: 89%;
	left: 0px;
	z-index: -999;
}
#container canvas {
	background: #000;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: -999;
}
#header {
	position: absolute;
	height: 6%;
	width: 100%;
	background-color: #0072BC;
}
#headerLogo {
    position: absolute;
    left: 1%;
    width: 98%; /* Changed from 10% to 98% to match headerDate */
    height: 100%;
    z-index: 1; /* Add z-index to control layering */
}
#headerLogo img {
	height: 75%;
	position: relative;
	top: 75%;
	display: flex;
	transform: translateY(-80%);
}
#headerTitle {
	position: absolute;
	width: 100%;
	height: 100%;
	font-size: 1.5em;
	display: flex;
    align-items: center;
    justify-content: center;
}
#headerDate {
	position: absolute;
	width: 98%;
	height: 100%;
	font-size: 1.2em;
	display: flex;
	align-items: center;
    flex-direction: row-reverse;
}
#footer {
	position: absolute;
	top: 95%;
	height: 5%;
	width: 100%;
	background-color: #0072BC;
	display: block;
	z-index: 999;
}
#fps {
	float: right;
	width: 5%;
	text-align: right;
	position: relative;
	padding-right: 2%;
	top: 50%;
	transform: translateY(-50%);
	font-size: 0.75em;
}
.captionColor {
	color: #9DBED5;
	font-size: 0.6em;
	white-space: nowrap;
}
.dataColor {
	color: #E3E3ED;
}
.colorRed {
	color: #FF0000;
}
.backgroundColorRed {
	background-color: #FF0000;
}
.colorGreen {
	color: #04B163;
}
.colorWhite {
	color: #DEDEDE;
}
.hide {
	opacity: 0;
	-webkit-transition: opacity .5s ease-out;
	-moz-transition: opacity .5s ease-out;
	-o-transition: opacity .5s ease-out;
}
.show {
	opacity: 1;
	-webkit-transition: opacity .5s ease-out;
	-moz-transition: opacity .5s ease-out;
	-o-transition: opacity .5s ease-out;
}
.statsContainer {
	position: absolute;
	right: 0;
	display: flex;
  flex-direction: column;
	padding: 0 4%;
	gap: 7vh;
	height: 100vh;
	justify-content: center;
}
.statsNumericals {
	text-align: right;
}
.statsCaption {
	font-size: 1em;
}
.statsCaptionFull {
	font-size: 1em;
}
.statsValue {
	font-size: 1.5em;
}
.statsValueFull {
	font-size: 2em;
}
.statsChart {
  position: relative; /* This needs to be relative because it will contain an absolute element to track the size of the chart */
	width: 40%;
	max-height: 5vh;
	margin-bottom: .3em; /* Account for the line height to the left of the chart */
}
.statsContainer canvas {
	width: 100%;
	height: 100%;
}
.legendColor {
	float: left;
	border-radius: 2px;
	width: 18%;
	height: 100%;
}
.legendCaption {
	float: left;
	width: 80%;
	height: 100%;
	margin: 0 0 0 2%;
	padding: 0;
}
.legendCaption div {
	min-height: 100%;
	display: flex;
	align-items: center;
	font-size: 0.7em;
	margin: 0;
	padding: 0;
}
.pin-container {
	position: absolute;
	width: 100%;
	height: 100%;
	display: none;
}
.pin {
	position: absolute;
	display:inline-block;
	background-color: #FFFFFF; /* #0060DF */
	border-radius: 50%;
	/* background: url('/img/pin.png') center / cover no-repeat; */
	z-index: 10;
	filter: drop-shadow(1px 1px 2px #61a2d8);
	overflow: hidden;
}
.pin .gradient {
	z-index: 12;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	background: linear-gradient(324deg, rgb(39 117 178 / 50%) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
}
.pin-one {
	width: 128px !important;
	height: 64px !important;
}
.pin::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(ellipse at center, rgba(220, 220, 220, 0) 0%, rgba(220, 220, 220, 0.2) 80%, rgba(220, 220, 220, 0.5) 100%);
	z-index: 12;
}
.pin img {
	position: absolute;
	width: 80%;
	height: 80%;
	top: 10%;
	left: 10%;
	z-index: 11;
	object-fit: scale-down;
}
.line {
    position: absolute;
    height: 1px; /* Line thickness */
    background-color: white; /* Line color */
    transform-origin: 0 0; /* Ensures the line rotates around one of its ends */
    z-index: 1; /* Below pins */
}
#statsContainer_heatMap {
	text-align: right;
}
#statsContainer_realTimeConnections > div {
	display: flex;
	justify-content: flex-end;
	column-gap: 20px;
	align-items: end;
}
#platformStatus {
	position: absolute;
	height: 100%;
	width: 100%;
}
#platformStatusCaption {
	float: left;
	position: relative;
	margin-left: 1%;
	font-size: 0.85em;
	top: 50%;
	transform: translateY(-50%);
}
#platformStatusValue {
	float: left;
	margin-left: 0.6em;
	font-size: 0.85em;
	position: relative;
    top: 50%;
    transform: translateY(-50%);
}
#platformStatusText {
	float: left;
	height: 100%;
	max-width: 83%;
	margin-left: 2%;
	font-size: 1.5em;
	text-align: left;
	padding-top: 4px;
	text-overflow: ellipsis;
}
#legend_heatMap {
	position: absolute;
	left: 1%;
	bottom: 7%;
	width: 10%;
	height: 15%;
}
#legend_heatMap > div {
	height: 23%;
	padding-bottom: 2%;
	width: 100%;
}
#headerLock {
	position: relative;
	float: right;
    top: 50%;
	right: 6px;
    transform: translateY(-50%);
}
#headerLockImage {
	text-align: center;
	width: 16px;
	height: 16px;
}
.card {
	right: 0%;
	flex-direction: column;
	width: 25%;
	position: absolute;
	top: 6%;
	font-weight: 300;
	background: white;
}
#statsContainer_allCompanies_tagline {
	text-align: center;
}
#statsContainer_allCompanies_info_container {
	display: flex;
	justify-content: space-around;
}
#statsContainer_allCompanies_info_container > div {
	display: flex;
}
.all_company_info_icon > img {
	height: 2em;
}
.all_company_value_icon > img {
	width: 2em;
}
.all_company_info {
	padding-left: 4px;
}
.all_company_info_label {
	font-size: .7em;
}
hr {
	border: 0;
	border-top: 1px solid white;
	margin: 0;
}
#statsContainer_allCompanies_values > div {
	width: 26%; /* force 5 values to fit 3 one the first row and 2 on the second */
	font-size: .7em;
	text-align: center;
	padding: 1vh 0;
}
#statsContainer_allCompanies_values {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
#statsContainer_allCompanies,
#statsContainer_companyProfile {
	color: #FFFFFF;
	font-size: 1.4em;
	display: flex;
	margin: 10px;
	height: calc(89% - 20px); /* I don't know why this is the case, I assume someone did the math once */
	border-radius: 10px;
}
#statsContainer_allCompanies {
	background: #61a2d8;
}
#statsContainer_companyProfile {
	background: #0072bc;
}
.cardTopImages {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	/* height: 35vh; */
	background: white;
	border-radius: 10px 10px 0 0;
	clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    height: 25vh;
}
.cardTopImages img {
	margin-top: 5vh;
}
.cardMiddleStats {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	margin: 2vh 0;
}
#statsContainer_allCompanies .cardMiddleStats {
	background: #61a2d8;
}
#statsContainer_companyProfile .cardMiddleStats {
	background: #0072bc;
}
#statsContainer_companyProfile_title {
	overflow: hidden;
	text-overflow: ellipsis;
	width: 250px;
	height: 40px;
}
#statsContainer_companyProfile_companyLogo {
	max-width: 95%;
	margin: 5vh auto 0;
	max-height: 15vh;	
}
#statsContainer_companyProfile_alianzaLogo {
	max-width: 50%;
	left: 30%; /* 30% is weird but it makes it fit under the curve */
	position: absolute;
	bottom: 10px;
}
.company_info_container {
	display: flex;
	margin-top: 2vh;
	margin-left: 10%;
}
.company_info_container > img {
	width: 3vw;
}
#statsContainer_allCompanies_blurb {
	color: #0072BC;
	font-size: 1.1em;
	font-family: 'Roboto', 'Open Sans', sans-serif;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: end;
	font-weight: 500;
	border-radius: 0 0 10px 10px;
	padding-top: 2vh;
	padding-bottom: 1.5vh;
	background: white;
}
#statsContainer_companyProfile_tagline {
	font-size: .8em;
	text-align: center;
	margin: 0 1em;
}
.statsContainer_companyProfile_backgroundBottom {
	background: white;
}
.bottom-spacer {
    width: 100%;
    height: auto;
    min-height: 60px; /* Ensure there's some space */
    background: white;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0; /* Add some padding */
}
.bottom-spacer-image {
    max-width: 100%; /* Use 100% of container width */
    height: auto;
    display: block;
}
#admin_panel {
	position: fixed;
	width: 90%;
	left: 5%;
	top: 100%;
	bottom: 50px;
	border: 2px solid #444444;
}
#admin_panel_title {
	text-align: center;
	padding: 4px;
	background-color: rgba(50, 50, 50, 255);
	height: 24px;
	font-size: 20px;
}
#admin_panel_container {
	background-color: #000000;
	opacity: 0.85;
	height: calc(100% - 32px);
	overflow: auto; /* Add scrollbar when content overflows */
}
#admin_panel_body {
	padding: 10px;
	height: auto; /* Change from 100% to auto to allow scrolling */
	max-height: calc(100vh - 150px); /* Limit max height to prevent overflow */
	overflow-y: auto; /* Add vertical scrolling */
}
#admin_panel_footer {
	height: 60px;
}
#admin_panel_reset,
#admin_panel_done {
	width: 100px;
	text-align: center;
	padding: 6px;
	background-color: #333333;
	border: 1px solid #888888;
	cursor: pointer;
}
#admin_panel_done {
	float: left;
}
#admin_panel_reset {
	float: right;
	color: #CC7777;
}
#admin_panel_reset:hover,
#admin_panel_done:hover {
	background-color: #339933;
}
#moveable_head {
	position: absolute;
	transition: transform 3s;
	z-index: 9999;
	display: none;
}
#alianza_logo_img {
	position: absolute;
	display: none;
	width: 42px;
    height: 42px;
	z-index: 9999;
}

#alianza_logo_img.all-companies {
    width: 36px;
    height: 36px;
}
#alianza_logo_img.single-company {
    width: 48px;
    height: 48px;
}

.float-left {
	float: left;
}
div.marquee {
    white-space: no-wrap;
    overflow: hidden;
}
div.marquee > div.marquee-text {
    white-space: nowrap;
    display: inline;
    width: auto;
}
h2 {
	text-align: center;
	color: #ff9;
}
a {
	color: #9f9;
	text-decoration: none;
}
img.cornered {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
}
.backgroundColor65Percent {
	background-color: #0072bc;
}
.backgroundColor20Percent {
	background-color: #61a2d8;
}
.backgroundColor6Percent {
	background-color: #53575b;
}
.backgroundColor4Percent {
	background-color: #90c0d9;
}
.backgroundColor2Percent {
	background-color: #d4dde7;
}
.clear {
	clear: both;
}
.tagify {
	min-width:200px;
}


/* Tagify dark mode */
:root {
    --tagify-dd-color-primary: #333; /* Primary text color for the dropdown */
    --tagify-dd-bg-color: #444; /* Background color for suggestion items on hover */
    --tagify-dd-item--hidden-duration: 0.2s; /* Duration for a suggestion item to become hidden */
    --tagify-dd-item-pad: 8px; /* Padding for suggestion items */
    --tagify-dd-max-height: 300px; /* Maximum height of the suggestions dropdown */
}
