/* Map action buttons are always visible - removed hide rule for small screens */

/* Fullscreen overlay container: force width in fullscreen mode */
body.map-fullscreen #search-overlay {
	display: block !important;
	position: fixed;
	top: 24px;
	left: 24px;
	z-index: 10001;
	border-radius: 8px;
	padding: 16px 20px 12px 20px;
	min-width: 40rem !important;
	max-width: 90vw !important;
	width: auto !important;
}

/* Fullscreen search input: force width and font in fullscreen mode */
body.map-fullscreen #searchbox-overlay {
	width: 100% !important;
	min-width: 30rem !important;
	max-width: 100vw !important;
	margin: 0 !important;
	padding: 0.25rem 0.5rem !important;
	box-sizing: border-box !important;
	font-family: "Perstare", Arial, Helvetica, sans-serif !important;
	font-size: 1.1rem !important;
}

/* Fullscreen popup styles */
#fullscreen-popup {
	position: fixed;
	top: 200px;
	left: 45px;
	transform: none;
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	z-index: 10002;
	max-width: 500px;
	max-height: 70vh;
	overflow-y: auto;
	font-family: "Perstare", Arial, Helvetica, sans-serif;
}

.popup-content {
	padding: 0;
}

.popup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #eee;
	background: #f8f9fa;
	border-radius: 8px 8px 0 0;
}

.popup-header h3 {
	margin: 0;
	font-size: 1.2rem;
	color: #00304e;
}

.popup-close {
	background: none;
	border: none;
	font-size: 1.5rem;
	cursor: pointer;
	color: #666;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: background-color 0.2s;
}

.popup-close:hover {
	background-color: #e9ecef;
}

.popup-body {
	padding: 20px;
	max-height: 60vh;
	overflow-y: auto;
}

/* Ensure subtitle labels are always smaller than main section titles *//* Overlay search bar and title in fullscreen mode */

.map-fullscreen ~ .container.bg #search-overlay {
	display: block !important;
	position: fixed;
	top: 24px;
	left: 24px;
	z-index: 10001;
	border-radius: 8px;
	padding: 16px 20px 12px 20px;
	min-width: 30% !important;
	max-width: 100%;
}

/* Always make the overlay search input wide and readable */
#searchbox-overlay {
	width: 100%;
	margin: 0;
	padding: 0.25rem 0.5rem;
	box-sizing: border-box;
	font-family: "Perstare", Arial, Helvetica, sans-serif;
	font-size: 1.1rem;
}

/* Make the fullscreen search input wider and more readable */
.map-fullscreen #search-overlay .ui-widget input#searchbox-overlay {
	width: 100% !important;
	font-family: "Perstare", Arial, Helvetica, sans-serif !important;
	font-size: 1.1rem !important;
	padding: 0.25rem 0.5rem !important;
	box-sizing: border-box !important;
}

/* keep subtitle smaller than h2 (Search Alumni) */

@media (max-width: 900px) {
	.subtitle-label {
		font-size: 1.1rem;
	}
}


@media (max-width: 600px) {
	.subtitle-label {
		font-size: 1rem;
	}
}
#search-overlay {
	display: none;
}
.map-fullscreen #search-overlay {
	display: block !important;
}
.search-normal-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 1rem;
}
.search-normal-group h2 {
	margin: 0;
	padding: 0;
	text-align: left;
}
.search-normal-group .ui-widget.content {
	width: 100%;
	padding: 0;
	margin: 0;
}
.search-normal-group input#searchbox {
	width: 100%;
	margin: 0;
	padding: 0.25rem 0.5rem;
	box-sizing: border-box;
}
#search-overlay .search-overlay-group {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}
#search-overlay h2 {
	margin: 0;
	padding: 0;
	text-align: left;
}
#search-overlay #search {
	width: 100%;
	padding: 0;
	margin: 0;
}
#search-overlay input#searchbox {
	width: 100%;
	margin: 0;
	padding: 0.25rem 0.5rem;
	box-sizing: border-box;
}
/* Overlay search bar and title in fullscreen mode */


#search-overlay {
	display: none;
	position: fixed;
	top: 24px;
	left: 24px;
	z-index: 10001;
	border-radius: 8px;
	padding: 16px 20px 12px 20px;
	min-width: 320px;
	max-width: 90vw;
}

/* Move fullscreen override after base rule so it always wins */
.map-fullscreen #search-overlay {
	display: block !important;
	position: fixed;
	top: 24px;
	left: 24px;
	z-index: 10001;
	border-radius: 8px;
	padding: 16px 20px 12px 20px;
	min-width: 80rem !important;
	max-width: 100%;
}
/* Fullscreen map covers everything including h1 */
.map-fullscreen {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100vw !important;
	height: 100vh !important;
	z-index: 9999 !important;
	background: #fff;
}

.map-fullscreen ~ .container.bg h1.featurette-categorySmaller {
	display: none !important;
}
/*@charset "UTF-8";
/* CSS Document */


#map {
    display: flex;
    resize: vertical;
	height: 30vw;
}

/*Mobile Responsive code*/

@media only screen and (max-width: 930px) {
#map {
	height: 60vw;
      overflow: auto;
  &.both {
    resize: both;
    background: #EF476F;
  }
  &.horizontal {
  resize: horizontal;
    background: #FFD166;
}
  &.vertical {
    resize: vertical;
    background: #06D6A0;
  }
}


/* --- Custom layout for pie/categories and search panels --- */
#pie-categories-row {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}
#pie-chart, #categories-side {
	flex: 1;
	min-width: 200px;
}

#search-section {
	display: flex;
	flex-direction: row;
	align-items: stretch;
}
#search-filters, #search-results {
	display: flex;
	flex-direction: column;
	flex: 1 1 0;
	min-width: 300px;
	height: 100%;
}

@media (max-width: 900px) {
	#pie-categories-row, #search-section {
		flex-direction: column !important;
		gap: 1rem;
	}
	#pie-chart, #categories-side, #search-filters, #search-results {
		min-width: 0;
		width: 100%;
	}
}


/** Additional ACCESSIBILITY features **/

.hidden {
	position: absolute;
	left: -999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
a.skip-main {
	font-family: "Perstare", Arial, Helvetica, sans-serif;
	position: absolute;
	left: -999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: -999;
}
a.skip-main:focus, a.skip-main:active {
	background: #05263a;
	color: #fff;
	font-family: "Perstare", Arial, Helvetica, sans-serif;
	font-weight: 700;
	height: 3.3333333333333335rem;
	left: 25rem;
	overflow: auto;
	width: 25rem;
	line-height: 3.3333333333333335rem;
	padding: 0 3rem 0 6rem;
	text-transform: uppercase;
	text-decoration: none;
	top: 8.5rem;
	z-index: 9999;
	-webkit-transition: all 300ms cubic-bezier(0.3, -0.01, 0.57, 1);
	transition: all 300ms cubic-bezier(0.3, -0.01, 0.57, 1);
	transform: translateX(-100%);
	outline: none;
}

.name {
	
    font-weight: bold !important;
    font-size: 1.2em;
	line-height: .75em;
}

#alumni-info {
	line-height: 1.2em;
}

.row {
	margin-bottom: 1rem;
}


}