@font-face {
	font-family: "Founders Grotesk";
	src: url("/assets/fonts/WOFF2/founders-grotesk-regular.woff2");
}

.main-svg:has(.hoverlayer) {
	z-index: 5;
}

* {
  font-family: "Founders Grotesk";
	box-sizing: border-box;
}

.btn {
	transition: color 0.05s ease, background-color 0.05s ease !important;
}

#\\{\\\"component_type\\\"\\:\\\"btn\\\"\\,\\\"type\\\"\\:\\\"map-color-switch\\\"\\} label {
	margin-bottom: 0 !important;
}

.h1, h2 {
	font-size: calc(1.375rem + 1.5vw);
	font-family: "Founders Grotesk";
}

.h2, h2 {
	font-size: 28px;
}

.h3, h3 {
	font-size: 22px;
}

.h4, h4 {
	font-size: 14px;
}

.body, body {
	font-size: 16px;
}

.graph {
	font-size: 13.5px;
}

::-webkit-scrollbar {
	--webkit-appearance: none;
	width: 8px;
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: rgba(110, 110, 110, 0.5);
	-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

::-webkit-scrollbar-track {
	border-radius: 4px;
	background-color: white;
}

@font-face {
  font-family: "Domaine Text";
	src: url("/assets/fonts/WOFF2/domaine-text-regular.woff2");
}

html, #page-content { 
	padding: 0;
	margin: 0; 
	overflow-x: hidden; /* Prevent horizontal scroll */
	overflow-y: hidden; /* Prevent vertical scroll */
}

body {
  background-color: rgb(244, 246, 248);
	padding: 0;
	margin: 0; 
	overflow-x: hidden; /* Prevent horizontal scroll */
	overflow-y: hidden; /* Prevent vertical scroll */
}

p {
	margin: 0;
	padding: 0;
}


/* set font of header to match style of logo (from website) */
#banner-header {
	font-family: "Domaine Text";
}

.btn, .button {
	/* Square buttons */
	border-radius: 0 !important;
}

/* Logo as large text */
#logo-lg {
	font-family: "Domaine Text";
	color:black;
	padding: 1.5px;
	font-size: 0.9em;
}

/* Logo as small img */
#logo-sm {
	height: 10vh;
	width: 10vw;
	padding-left: 5%;
}

.copy-modal-backdrop {
	background: rgba(82,82,82,0.65);
}
.slider-rail-rect {
	height: 10px !important;
}

.slider-grip-rect {
	fill: rgba(242,146,12,0.95) !important;
}

.updatemenu-item-rect {
	fill: black !important;
	stroke: none !important;
	color: rgb(249,248,245) !important;
}

/* Graph animation menu */
.updatemenu-item-rect:hover {
	fill: rgb(222,126,0) !important;
	background:  rgb(222,126,0) !important;
  color: rgb(245, 245, 245) !important;
}

.updatemenu-item-text {
	pointer-events: none !important; /* Remove the inner play button pointer-event */
}

[class*="select"] {
	cursor: pointer !important;
}

.dropdown-selector {
	background: rgb(245, 245, 245) !important;
	color: rgb(51,51,51) !important;
	border: 1px solid rgb(170,170,170) !important; 
	font-weight: 'bold';
	font-family: "Founders Grotesk";
}

.dropdown-selector.show, .dropdown-selector:focus, .dropdown-selector:active {
	box-shadow: 0px 0px 5px 1.5px rgb(255,165,20) !important;
	border: none !important;
	outline: 0 !important;
	background: rgb(245,245,245) !important;
}

.dropdown-selector-text {
	color: rgb(51,51,51) !important;
	font-weight: 'bold' !important;
	font-family: "Founders Grotesk" !important;
	font-size: 1rem !important;
	src: url("fonts/WOFF2/founders-grotesk-regular.woff2") !important;
}

.modal-header {
	font-family: "Domaine Text";
	background-color: rgb(247,247,247);
  src: url("fonts/WOFF2/domaine-text-regular.woff2");
}

.modal-body {
	font-family: "Founders Grotesk";
	src: url("fonts/WOFF2/founders-grotesk-regular.woff2");
}

.modal-btn {
	padding-top: 0.1rem;
	padding-bottom: 0.1rem;
	text-shadow: 0.5px 0.15px rgba(1,1,1,0.5);
	background-color: rgb(242,146,12) !important;
  color: rgb(255,255,255) !important;
  border-color: rgb(242,146,12) !important;
	box-shadow: 0.5px 0.5px rgba(1,1,1,0.2);
}

.modal-btn:hover {
  background-color: rgb(222,126,0) !important;
	border-color: rgb(222,126,0) !important;
  color: rgb(245, 245, 245) !important;
}

.radio-input-btn:checked, .radio-input-btn:focus, .radio-input-btn:active, .radio-input-btn:active.focus, .radio-input-btn.active.focus {
	background:rgb(255,165,20);
	border: rgb(242,146,12); /* Make the border color slitghtly darker than the background color */
}

.radio-input-btn:focus {
	box-shadow: none;
}

.rff-btn {
	background-color: white !important;
	color: black !important;
	cursor: pointer;
	display: flex;
	text-transform: uppercase;
	font-size: 16px;
	font-family: "Domaine Text" !important;
	height: 2.2rem;
	border-radius: 0 !important;
	border: 0.2px solid rgba(51,51,51, 0.25);
	justify-content: center;
}

.rff-btn:hover {
	color: white !important;
	border: 0.2px solid rgb(110, 110, 110);
	background-color: rgb(110, 110, 110) !important;
}

.rff-btn:active {
	color: rgb(210,210,210) !important;
	background-color: rgb(70, 70, 70) !important;
}


.rff-icon, .rff-icon:checked, .rff-icon:focus, .rff-icon:active.focus, .rff-icon.active.focus {
	/* Color icon black */
	background-size: cover;
	align-items: center !important;
}

.bi-plus-lg {
	cursor: zoom-in !important;
}

.bi-dash-lg {
	cursor: zoom-out !important;
}

.rff-underline {
	color:  rgb(242,146,12);
	font-size: 1.3rem;
	font-family: 'Domaine Text';
}
