a {
	text-decoration: none;
}

#mouse-position {
	position: absolute;
	bottom: 0;
	right: 0;
	color: white;
	background: rgba(0, 0, 0, 0.6);
	padding: 4px;
	text-align: right;
}

#curtain {
	position: absolute;
	inset: 0;
	z-index: 10000;
	background-color: rgb(33, 37, 41);
	opacity: 1;
	transition: opacity 300ms ease-in-out;

	display: flex;
	align-items: center;
	justify-content: center;
}
#curtain.hidden {
	opacity: 0;
	pointer-events: none;
}

#mapcanvas {
	z-index: -2;
}
#overlaycanvas {
	z-index: 1;
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.text-bg-dark .btn-close {
	background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
}

.text-bg-dark {
	--bs-accordion-border-color: #333333;
}

#tutorialHolder {
	position: absolute;
	inset: 0;
	z-index: 10000;
	background-color: rgba(0,0,0,0.3);
}

#findMapGuide {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;

	color: rgb(33, 37, 41);
	background-color: white;
}
#findMapGuide > div {
	margin: 16px;
}
#findMapGuide h4 {
	color: inherit;
	background-color: inherit;
}
#findMapGuide img {
	border-radius: 4px;
	border: 2px solid rgba(0,0,0,0.1);
	margin-bottom: 4px;
}
#findMapGuide h5:not(:first-child) {
	margin-top: 32px;
}

.question .badge {
	font-size: 0.6em;
}

#feedback {
	position: absolute;
	top: 4px;
	right: 4px;
	z-index: 1;
}

.bordered-box {
	border: 1px solid rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 8px;
	background-color: #f1f1f1;
}

.credits .socials {
	display: flex;
	align-items: center;
}

.credits .socials a:not(:last-child)::after {
	content: ', '
}

.credits .socials a:not(:last-child) {
	margin-right: 4px;
}

body.dark-mode .bordered-box  {
	background-color: #2d3339;
}

.bordered-box:not(:last-child) {
	margin-bottom: 12px;
}

.bordered-box > .bordered-box-section:not(:last-child) {
	margin-bottom: 12px;
}

#directions ol {
	padding-left: 18px;
}

.movement-nav {
  margin-bottom: 0px;
}

.transparency-slider{
  width:200px;
  height:25px;
  background-color: #AAA;
}
.transparency-knob, .ring-transparency-knob {
  position: relative;
  height:25px;
  width:25px;
  left: 25px;
  top: 0px;
  background-color: #66F;
}
.ring-transparency-knob {
	left: 120px;
}

.highlight-label {
  margin-bottom: 2px;
  margin-right: 2px;
  margin-top: 2px;
  padding-bottom: 8px;
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 8px;
}

.nav_controls_container {
  position: absolute;
  top: 4px;
  left: 4px;
  z-index: 1;
  font-family: sans-serif;
}

.highlight-container {
  position: absolute;
  top: 200px;
  left: 10px;
  z-index: 1;
  background: #FFFC;
  padding: 10px;
  font-family: sans-serif;
  overflow: auto;
  max-height: calc(100vh - 180px);
}

.legend-container {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: -1;
  padding-left: 25px;
  font-family: sans-serif;
}

#legendAccordion {
	position: absolute;
	bottom: 4px;
	right: 4px;
	z-index: 1;
	font-family: sans-serif;
	width: auto;
}

.collapsable-menu {
  cursor: pointer;
  user-select: none;
  color: #0088cc;
  padding: 5px;
}

.collapsable-menu-ul {
  list-style-type: none;
  display: none;
}

.toggle-switch {
  cursor: pointer;
  box-shadow: #0088cc -15px 0px;
  color: #0088cc;
  border-radius: 5px;
  display: inline;
  padding-left: 5px;
  user-select: none;
}

.toggle-container {
  cursor: pointer;
  display: inline;
  padding-left: 20px;
}

.canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.canvas-container,
.canvas-container canvas {
  background-color: inherit;
}
.omoroth-legend {
  box-shadow: #9e3f9b -15px 0px;
  margin-right: 20px;
}
.morpha-legend {
  box-shadow: #1898F4 -15px 0px;
  margin-right: 20px;
}
.bowcity-legend {
  box-shadow: #AAAAAA -15px 0px;
  margin-right: 20px;
}
.bowvault-legend {
  box-shadow: #ff6a00 -15px 0px;
  margin-right: 20px;
}

.ivy-legend {
  box-shadow: #FF00FF -15px 0px;
  margin-right: 20px;
}

.mold-legend {
  box-shadow: #6cbbe0 -15px 0px;
  margin-right: 20px;
}

.azeos-legend {
  box-shadow: #3d9b41 -15px 0px;
  margin-right: 20px;
}

.malugaz-legend {
  box-shadow: #678397 -15px 0px;
  margin-right: 20px;
}

.hive-mother-legend {
  box-shadow: #fca694 -15px 0px;
  margin-right: 20px;
}

.ghorm-legend {
  box-shadow: #d95917 -15px 0px;
  margin-right: 20px;
}

.glurch-legend {
  box-shadow: #7f5f30 -15px 0px;
  margin-right: 20px;
}

.large-maze-legend {
  box-shadow: #0F0 -15px 0px;
  margin-right: 20px;
}

.medium-maze-legend {
  box-shadow: #0FF -15px 0px;
  margin-right: 20px;
}

.small-maze-legend {
  box-shadow: #F0F -15px 0px;
  margin-right: 20px;
}

.custom-tooltip > .tooltip-inner {
	text-align: left;
}

.circle-image {
	width: 24px;
	height: 24px;


	background-position: center; 
	background-size: contain;
	background-repeat: no-repeat;
}