#map-canvas {
	width: 100%;
	max-width: 100%;
	min-height: 100%;
	height: 600px !important;
}

.gm-style-iw button:focus {
	outline: 0;
}

.gm-style-iw-ch span {
	font-weight: 700;
}

.gm-style-iw-chr button span {
	width: 18px !important;
	height: 18px !important;
	background-repeat: no-repeat;
}

ul[role="menu"] {
	list-style-type: none;
	width: 150px;
}

li[role="menuitemcheckbox"]  {
	background-image: none;
}

li[role="menuitemcheckbox"] span {
	width: 20px;
}


/* #infoWindowContent { min-width: 200px;} */

#legend {
	background: #FFF;
	padding: 10px;
	margin: 10px;
	border: 1px solid #ddd;
	font-size: 14px;
	/* width: 410px; */
	text-align: left;
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-left-radius: 2px;
	background-clip: padding-box;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}

#legend img {
	vertical-align: middle;
	height: 20px !important;
	width: 20px !important;
	margin: -2px 8px 0 -2px;
}

.legendLink {
	cursor: pointer;
}

.legendLink:hover {
	font-weight: 700;
}

.lineColor {
	border: 1px solid #efefef;
	height: 10px;
	width: 30px;
	margin: 3px 3px 0 0;
	float: left;
}

.legendLink:hover .lineColor {
	border: 1px solid #000;
	height: 10px;
	width: 30px;
	margin: 3px 3px 0 0;
	float: left;
}

.overhead {
	background: #0070ff;
}

.underground {
	background: #149600;
}

p.mapContent {
	font-size: 13px;
	text-align: center !important;
	margin: 0 !important;
}


/* #pac-input{
	z-index: 5;
	position: relative;
	top: 10px !important;
	direction: ltr;
	overflow: hidden;
	text-align: left;
	height: 40px !important;
	display: table-cell;
	vertical-align: middle;
	color: rgb(86, 86, 86);
	font-family: Roboto, Arial, sans-serif;
	user-select: none;
	font-size: 18px;
	background-color: rgb(255, 255, 255);
	padding: 0px 17px;
	border-bottom-right-radius: 2px;
	border-top-right-radius: 2px;
	border-bottom-left-radius: 2px;
	border-bottom-left-radius: 2px;
	background-clip: padding-box;
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
	border:none !important;
	display: none;
} */



/* Google Map */
/* ===== LEGEND CONTAINER ===== */
#legend {
  background: #fff;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: system-ui, sans-serif;
  display: inline-block;
  width: max-content !important;     /* Expand to longest label */
  max-width: none;
  line-height: 1.35;
}

/* Always prevent text from wrapping */
#legend .legendLink,
#legend label {
  white-space: nowrap;
}

/* ===== LEGEND HEADER ===== */
#legend .legend-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

#legend .legend-title {
  font-weight: 600;
  font-size: 14px;
}

#legend .legend-toggle {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 6px;
}
#legend .legend-toggle:focus-visible {
  outline: 2px solid #4d90fe55;
}

/* ===== LEGEND BODY (COLLAPSIBLE) ===== */

/* Normal expanded / collapsed animation behavior */
#legend .legend-body {
  overflow: hidden;
  transition: max-height 220ms ease;
  padding-top: 8px;
}

#legend[aria-expanded="false"] .legend-body {
  max-height: 0;
  padding-top: 0;
}


/* Initial load state â€” show fully, no animation */
/* JS adds .is-init to #legend just for the first paint */
#legend.is-init[aria-expanded="true"] .legend-body {
  max-height: none;               /* allow fully expanded height */
  transition: none !important;    /* disable animation at load */
}

/* Container for actual items inside */
#legend .legend-body-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ===== LEGEND ITEM ROWS ===== */
#legend .legendLink {
  display: flex;
  align-items: center;
  border: none;
  background: none;
  padding: 4px 0;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
}
#legend .legendLink:hover {
  background: rgba(0,0,0,0.06);
  border-radius: 4px;
}

/* Color swatch block */
#legend .lineColor {
  width: 14px;
  height: 14px;
  min-width: 14px;
  border-radius: 3px;
  margin-right: 8px;
}

/* ===== ICON / SIMULATION ROWS ===== */
#legend img {
  vertical-align: middle;
  height: 14px;
  margin-right: 6px;
}

/* ===== CHECKBOX ROWS ===== */
#legend label {
  display: flex;
  align-items: center;
  font-size: 13px;
  cursor: pointer;
}
#legend input[type="checkbox"] {
  margin-right: 6px;
}

.mapContent p {font-size: 14px;}
.gm-style-iw-ch {text-align: left;}

.mapContent a,
.mapContent a:focus,
.mapContent a:active {
  outline: none !important;
  box-shadow: none !important;
  background: none !important;
}