/*======================================================================================
   Desktop Map Styles
  ====================================================================================*/

  :root {
	--map-header-height: 80px;
	--map-sidebar-header-height: 40px;
  }

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/*
 * jquery.selectBoxIt.css 3.8.1
 * Author: @gregfranko
 */

/*
  Common CSS Properties
  ---------------------
  These properties will be applied to any themes that you use
*/

/* SelectBoxIt container */
.selectboxit-container {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 6px 0;
}

/* Styles that apply to all SelectBoxIt elements */
.selectboxit-container * {
  font: 13px Helvetica, Arial;
  /* Prevents text selection */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  outline: none;
  white-space: nowrap;
}

/* Button */
.selectboxit-container .selectboxit {
  width: 220px !important; /* Width of the dropdown button */
  cursor: pointer;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
  position: relative;
}

/* Height and Vertical Alignment of Text */
.selectboxit-container span, .selectboxit-container .selectboxit-options a {
  height: 30px; /* Height of the drop down */
  line-height: 30px; /* Vertically positions the drop down text */
  display: block;
}

/* Focus pseudo selector */
.selectboxit-container .selectboxit:focus {
  outline: 0;
}

/* Disabled Mouse Interaction */
.selectboxit.selectboxit-disabled, .selectboxit-options .selectboxit-disabled {
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  cursor: default;
}

/* Button Text */
.selectboxit-text {
  text-indent: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  float: left;
}

.selectboxit .selectboxit-option-icon-container {
  margin-left: 5px;
}

/* Options List */
.selectboxit-container .selectboxit-options {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  min-width: 100%;  /* Minimum Width of the dropdown list box options */
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  overflow-x: hidden;
  overflow-y: auto;
  cursor: pointer;
  display: none;
  z-index: 9999999999999;
  border-radius: 6px;
  text-align: left;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* Individual options */
 .selectboxit-option .selectboxit-option-anchor{
  padding: 0 2px;
}

/* Individual Option Hover Action */
.selectboxit-option .selectboxit-option-anchor:hover {
  text-decoration: none;
}

/* Individual Option Optgroup Header */
.selectboxit-option, .selectboxit-optgroup-header {
  text-indent: 5px; /* Horizontal Positioning of the select box option text */
  margin: 0;
  list-style-type: none;
}

/* The first Drop Down option */
.selectboxit-option-first {
  border-top-right-radius: 6px;
  border-top-left-radius: 6px;
}

/* The first Drop Down option optgroup */
.selectboxit-optgroup-header + .selectboxit-option-first {
  border-top-right-radius: 0px;
  border-top-left-radius: 0px;
}

/* The last Drop Down option */
.selectboxit-option-last {
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

/* Drop Down optgroup headers */
.selectboxit-optgroup-header {
  font-weight: bold;
}

/* Drop Down optgroup header hover psuedo class */
.selectboxit-optgroup-header:hover {
  cursor: default;
}

/* Drop Down down arrow container */
.selectboxit-arrow-container {
  /* Positions the down arrow */
  width: 30px;
  position: absolute;
  right: 0;
}

/* Drop Down down arrow */
.selectboxit .selectboxit-arrow-container .selectboxit-arrow {
  /* Horizontally centers the down arrow */
  margin: 0 auto;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
}

/* Drop Down down arrow for jQueryUI and jQuery Mobile */
.selectboxit .selectboxit-arrow-container .selectboxit-arrow.ui-icon {
  top: 30%;
}

/* Drop Down individual option icon positioning */
.selectboxit-option-icon-container {
  float: left;
}

.selectboxit-container .selectboxit-option-icon {
  margin: 0;
  padding: 0;
  vertical-align: middle;
}

/* Drop Down individual option icon positioning */
.selectboxit-option-icon-url {
  width: 18px;
  background-size: 18px 18px;
  background-repeat: no-repeat;
  height: 100%;
  background-position: center;
  float: left;
}

.selectboxit-rendering {
  display: inline-block !important;
  visibility: visible !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
}

/*
  Default Theme
  -------------
  Note: Feel free to remove all of the CSS underneath this line if you are not using the default theme
*/
.selectboxit-btn {
  background-color: #fff;
  border: 1px solid #cccccc;
}

.selectboxit-btn.selectboxit-enabled:hover,
.selectboxit-btn.selectboxit-enabled:focus,
.selectboxit-btn.selectboxit-enabled:active {
  color: #333333;
  background-color: #e6e6e6;
}

.selectboxit-btn.selectboxit-enabled:hover,
.selectboxit-btn.selectboxit-enabled:focus {
  color: #333333;
  text-decoration: none;
  background-position: 0 -15px;
}

.selectboxit-default-arrow {
  width: 0;
  height: 0;
  border-top: 4px solid #000000;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.selectboxit-list {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.selectboxit-list .selectboxit-option-anchor {
  color: #333333;
}

.selectboxit-list > .selectboxit-focus > .selectboxit-option-anchor {
  color: #ffffff;
  background-color: #0081c2;
  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
  background-repeat: repeat-x;
}

.selectboxit-list > .selectboxit-disabled > .selectboxit-option-anchor {
  color: #999999;
}

/* Apply Material Design toggle style to checkboxes */
/* https://codepen.io/andreasstorm/pen/ZGjNwZ */
.checkbox-toggle {
	cursor: pointer;
  /* prevent text selection on accident when activating the control */
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.checkbox-toggle input[type="checkbox"] {
	display: none;
}
.toggle-control {
  position: relative;
  display: inline-block;
  height: 14px;
  width: 30px;
  background: #eee;
  border-radius: 30px;
  margin-right: 5px;
}
.toggle-control:after {
  position: absolute;
  left: -2px;
  top: -2px;
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 20px;
  background: #ccc;
  content: '';
  transition: all 0.15s ease;
}
.checkbox-toggle:hover .toggle-control:after {
	background: #aaa;
}
.checkbox-toggle.active .toggle-control {
  background: #bdcad8;
}
.checkbox-toggle.active .toggle-control:after {
  left: 15px;
  background: #327cca;
}
.checkbox-toggle.active:hover .toggle-control:after {
  background: #327cca; /* or.. ? */
}


@media only screen and (min-width: 1000px) and (min-height: 550px) {
	
    .for-desktop-only {display:inherit !important}
    .for-mobile-only {display:none !important}

	body {background-color: #fff;}
	#map {border: 1px solid #ccc;}

	#map-header {height: var(--map-header-height); background-color: rgb(30,83,158);}
	#map-navbar {
		height: 43px; 
		background: #fff;
	}
	#map-navbar div.explore {width: 253px; float: left; height: 40px;}
	.navlinks {float: left;}
	.navlinks a {
		float:left;  
		padding: 8px 20px;
		height: 30px; 
		color: #555;
		text-decoration: none;
		font: bold 13px/30px Arial, Helvetica, sans-serif;
	}

	.navlinks a:focus,
	.navlinks a:hover {
		text-decoration: underline;
		outline: none;
	}

	a.navbutton {
		float: right;
		font-size: 12px;
		color: #fff;
		padding: 8px 15px;
		background: #1e539e;
		text-decoration: none;
		margin: 8px 0;
		transition: background 0.15s ease;
	}
	a.navbutton:hover {
		background: #327cca;
	}

	#map-content {position: relative; margin: 0 15px;}

	#map-sidebar {float: left; width:260px; padding-top: 3px;}
	#map-footer {height: 50px;}
	#map-footer p {color: #474747; font-size: 0.75em;}
	#map-footer p.floatleft {margin: 12px 0 0 275px;}
	#map-footer p.floatright {margin: 12px 12px 0 0;}
	#map-footer p.mobilesite {float: right; margin: 12px 15px 0 0; color: #358;}

	#map-footer a, #map-footer a:visited {color: #474747;border-bottom: 1px solid #ccc;}
	#map-footer a:hover {color: #327cca;text-decoration:none;border-bottom-color:#327cca;}

	#map-footer span.pipe {margin: 0 3px;}

	#map-container {
		position: relative;
		float: left;
		width: 80%;
		width: calc(100% - 260px - 3px); /* account for sidebar width and margin-left */
		margin-left: 3px;
	}

	#map, 
	#map-noscript {position: relative; 
		overflow: hidden;
		width:400px; height: 500px; 
	}

	#map-noscript {display: none;}

	.nojs #map {display: none;}
	.nojs #map-noscript {display: block;}

	#map-header h1 {margin:12px 0 0 20px; float: left;}
	#map-header h1 img {width: 410px;}
	#map-header form {
		float: left;
		margin: 33px 0 0 30px;
	}
    
	input.tt-query,
	input.tt-hint {width: 180px; font-size: 16px !important; padding: 4px 20px 4px 30px;}
	
	input.tt-query:focus,
	input.tt-hint:focus {
		outline: none;
		border: none;
		box-shadow: none;
	}

	input.tt-hint {
		color: rgba(255,255,255,.5);
		border: none;
		background: transparent !important;
	}

	input.tt-query {
		border: none;
		color: #fff;
		box-shadow: none;
		/* background: transparent url('../images/search-mag-glass.png') no-repeat 9px 8px; */
		position: relative;
	}

	.twitter-typeahead::before {
		position: absolute;
		display: inline-block;
		left: 3px;
		top: 10px;
		z-index: 1;
		font-family: "Font Awesome 6 Pro";
		font-weight: 700;
		color: rgba(255,255,255,.5);
		content: "\f002";
		line-height: 1;
		font-size: 1.1em;
		padding-left: 10px;
	}

	.twitter-typeahead.focused::before {
		color: #07b;
	}

	.tt-dropdown-menu {
	  width: 320px;
	  padding: 5px 0;
	  background-color: #fff;
	  border: 1px solid #ccc;
	  border: 1px solid rgba(0,0,0,.2);
	  border-radius: 0 0 6px 6px;
	  box-shadow: 0 5px 10px rgba(0,0,0,.5);
	  -webkit-background-clip: padding-box;
		 -moz-background-clip: padding;
			  background-clip: padding-box;
	}

	.tt-suggestion {
	  display: block;
	  padding: 3px 20px;
	}

	.tt-suggestion.tt-is-under-cursor {
	  color: #fff;
	  background-color: #0081c2;
	  background-image: linear-gradient(to bottom, #0088cc, #0077b3);
	  background-repeat: repeat-x;
	}

	.tt-suggestion.tt-is-under-cursor a {
	  color: #fff;
	}

	.tt-suggestion p {
	  margin: 0;
	  font-size: 13px;
	}

	.tt-suggestion span.type {
		color: #aaa;
		font-size: 11px;
		margin-left: 5px;
		text-transform:uppercase;
	}

	/** todo: rework the clear and error functions. **/
	.tt-clear {
		display: none;
		/*
		color: #777;
		font-size: 20px;
		cursor: pointer;
		display: block;
		height: 20px;
		line-height: 20px;
		padding: 4px;
		position: absolute;
		right: 2px;
		text-align: center;
		top: 0;
		width: 16px;
		*/
	}

	#tt-error {
		display: none;
		background-color: #F2DEDE;
		border: 1px solid #C7292E;
		color: #B94A48;
		border-radius: 10px 10px 10px 10px;
		font-size: 12px;
		font-weight: bold;
		font-style: italic;
		padding: 10px;
		position: absolute;
		right: -170px;
		top: -3px;
		width: 140px;
		z-index: 500;
	}

	#tt-error:before {
		display: block;
		width: 0;
		height: 0;
		content: " ";
		position: absolute;
		left: -7px;
		top: 12px;
		border-left: none;
		border-right: 7px solid #F2DEDE;
		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
	}

	#map-header span.helptip {
		display: block;
		font-size: 80%;
		font-style: italic;
		color: #708DB9;
		margin-top: 7px;
	}

	#map-header .links {
		float: right;
		margin: 20px 20px 0 0;
		font-size: .7em;
		line-height: 1.7;
	}

	#map-header .links a, #map-header .links a:visited {color: #8eb3df; text-decoration: none; }
	#map-header .links a:hover {color: #fff;}

	#map-header .links .left {
		float: left;
		padding: 5px 20px;
		border-right: 1px solid #345c85;
	}

	#map-header .links .right {
		float: left;
		padding: 5px 20px;
	}

	#map-sidebar select { 
		font-size: 12px;
		margin: 7px 0;
		width: 95%;
	}
		
	#map-sidebar label {font-size: 12px; margin: 15px 0; line-height: 1.2;}

	.collapsible {
	   margin: 0;
	   padding: 0;
	   list-style: none;
	}

	/* sidebar header */
	.collapsible > li > a {
		padding: 15px 0 5px;
		display: block;
		text-transform: uppercase;
		color: #327cca;
		font-family: 'Roboto Slab', Rockwell, serif;
		font-size: 17px; /* 19 */
		font-weight: 700;
		line-height: 20px;
		text-decoration: none;
		text-wrap: nowrap; /* disable text wrapping, since it would mess with panel height calculations */
	}

	.app-container #map-sidebar .collapsible > li > a {
		color: #333;
		background-image: none;
		-webkit-background-clip: inherit;
		-webkit-text-fill-color: inherit;
	}

	.app-container #map-sidebar .collapsible > li.active > a {
		color: #0064b1;
	}

	.collapsible > li > a:before {
		float: left;
		content: " ";
		margin: 0px 7px 0 0;
		width: 0; 
		height: 0;
		right: 12px;
		border-top: 6px solid transparent;
		border-bottom: 6px solid transparent;
		border-left: 10px solid #aaa;
	}

	.collapsible > li.active > a:before {
		/** down arrow **/
		border-bottom: none;
		border-left: 6px solid transparent;
		border-right: 6px solid transparent;
		border-top: 10px solid #ea7f11;
	}

	.collapsible > li > a:hover:before {
		border-left-color: #ea7f11;
	}

	.collapsible > li.active > a:focus:before,
	.collapsible > li.active > a:hover:before {
		border-top-color: #ea7f11;
		border-left-color: transparent;
	}

	.collapsible > li {
		position: relative;
	}

	.collapsible li div.content {
		padding: 0 5px 10px 2px;
		font-size: 12px;
		background-color: #fff;
		display: none;
		--map-footer-height: 50px; /* plus a little extra :) */
		--num-sidebar-headers: 4;
		/* limit accordion height so they don't overflow the screen */
		max-height: calc(100vh - var(--map-header-height) - calc(var(--num-sidebar-headers) * var(--map-sidebar-header-height)) - var(--map-footer-height));
	}

	/* Enable scrolling for longer panels (but NOT for the first panel, which requires overflow for the dropdown menus) */
	.collapsible li div.content.allow-scroll {
		overflow-y: auto;
	}

	.collapsible li:first-child div.content {
		display:block;
	}

	#map-sidebar p, 
	#map-sidebar span.details {
		color: #555;
		font-size: 1em;
		margin-top: 1em;
	}
	#map-sidebar h3 {
		color: #777;
		font-size: 1em;
		text-transform: uppercase;
		font-weight: bold;
		border-bottom: 1px solid #ddd;
		margin-top: 2.5em;
	}

	#map-sidebar li.selectboxit-option-first a {font-weight: bold;}

	#buildingsSelectBoxItOptions {width: 350px;}
	#departmentsSelectBoxItOptions {width: 320px;}
	#officesSelectBoxItOptions {width: 280px;}
	#venuesSelectBoxItOptions {width: 260px;}

	a.bus-tracker {
		font-weight: bold;
		display: inline-block;
	}

	.tab-buttons { margin:0 0 20px; border-bottom:1px solid #aaa; }
	.tab-buttons a {
		float: left;
		width: 48%;
		margin-right: 1%;
		margin-bottom: -1px;
		background: linear-gradient(to bottom, #f0f0f0 0%,#ccc 100%);
		padding:4px 0;
		text-align:center;
		color:#222;
		border-top:1px solid #aaa;
		border-left:1px solid #aaa;
		border-right:1px solid #aaa;
		font-size:11px;
		background: #ddd;
		background: linear-gradient(to bottom,  #f0f0f0 0%,#cccccc 100%);
	}

	.tab-buttons a:hover {text-decoration: none;}
	.tab-buttons a.active { background: #fff; position: relative; font-weight: bold; }
	.tab-buttons a:focus {outline: none;}
	.tab-button-content {display: none;}
	.tab-button-content.active {display: block;}
	.tab-buttons a.tooltip div.tt-content { right: -35px; }

	.modal {
		left: 50%;
		min-height: 400px;
		width: 650px;
		max-width: none;
		margin-left: -325px; /* width/2 */
		top: 50px;
		position: absolute;
    	z-index: 1;
		overflow: auto;
		animation: slideDownLarge .3s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
	}
	.modal h1 {
		font-size: 1.7em;
	}
	.modal .inner {
		margin: 2em;
		font-size: .95em;
	}
	.modal p,
	.modal li { line-height: 1.5; }
	.modal .block {
		float: left;
	}
	.modal .block-container {
		margin: .75rem 0;
		overflow: hidden;
	}
	.modal .block-33 {
		margin-right: 3%;
		padding: 1% 0;
		width: 30%;
	}
	.modal .block-50 {
		float: left;
		margin-bottom: 3%;
		margin-right: 3%;
		padding: 3% 0;
		width: 47%;
	}

	.modal h2 {font-size: 1.2em;}

	.modal .schedules p {margin: 0;}
	.modal .schedules h2 {margin: 0;}
	.modal .print img {border: 1px solid #aaa;}

	@keyframes slideDownLarge {
	  0%   { transform: translateY(-100%);  }
	  100% { transform: translateY(0%); }
	}

	.tooltip {position: relative;}
	.tooltip .tt-content {
		display: none; 
		position: absolute;
		background: #fff;
		background: rgba(255,255,255,.9);
		border-radius: 5px;
		top: -10px;
		color: #000;
		left: -170px;
		padding: 10px;
		z-index: 98;
		width: 130px;
		font-size: 11px;
		line-height: 12px;
		font-weight: normal;
		text-shadow: none;
	}

	.tooltip .tt-arrow {
		display: none;
		border: solid;
		border-color: #fff transparent;
		border-width: 6px 6px 0;
		bottom: 38px;
		left: 40%;
		position: absolute;
		z-index: 99;
		opacity: .9;
	}

	.tooltip.dark .tt-content {
		background: #222;
		background: rgba(0,0,0,.8);
		color: #fff;
	}

	.tooltip.dark .tt-arrow {
		border-color: #000 transparent;
	}

	.tooltip:hover .tt-content, 
	.tooltip:hover .tt-arrow {
		display: block;
	}

	#map-sidebar label.icon { /*height: 18px; line-height: 18px; */  margin: 12px 0;}
	#map-sidebar label.icon:before {
		content: " ";
		display: block;
		float: right;
		background: transparent url('../_images/icons.png') no-repeat 0 0;
		width: 18px;
		height: 18px;
		overflow: hidden;
		opacity: 0.4;
		margin-right: 5px;
	}

	#map-sidebar label.icon.active:before {
		opacity: 1;
	}

	#map-sidebar label.icon.unisexrestrooms:before {background-position: -19px -59px;}
	#map-sidebar label.icon.infokiosks:before {background-position: -351px -59px; /*-343px -8px;*/}
	#map-sidebar label.icon.computerlabs:before {background-position: -381px -59px;}
	#map-sidebar label.icon.libraries:before {background-position: -320px -59px;}
	#map-sidebar label.icon.maxstop:before {background-position: -411px -59px;}
	#map-sidebar label.icon.lactation:before {background-position: -471px -59px;}
	#map-sidebar label.icon.assistance:before {background-position: -441px -59px;}

	#map-sidebar label.icon.unisexrestrooms.active:before {background-position: -19px -13px;}
	#map-sidebar label.icon.infokiosks.active:before {background-position: -351px -13px;}
	#map-sidebar label.icon.computerlabs.active:before {background-position: -381px -13px;}
	#map-sidebar label.icon.libraries.active:before {background-position: -320px -13px;}
	#map-sidebar label.icon.maxstop.active:before {background-position: -411px -13px;}
	#map-sidebar label.icon.lactation.active:before {background-position: -471px -13px;}
	#map-sidebar label.icon.assistance.active:before {background-position: -441px -13px;}

	#map-sidebar .parking label.icon:before {background-position: -81px -59px;}
	#map-sidebar .parking label.icon[for="accessibleparking"]:before {background-position: -261px -59px;}
	#map-sidebar .parking label.icon[for="motorcycleparking"]:before {background-position: -141px -59px;}

	#map-sidebar .parking label.icon[for="studentparking"].active:before {background-position: -111px -13px;}
	#map-sidebar .parking label.icon[for="facultystaffparking"].active:before {background-position: -231px -13px;}
	#map-sidebar .parking label.icon[for="visitorparking"].active:before {background-position: -81px -13px;}
	#map-sidebar .parking label.icon[for="generalparking"].active:before {background-position: -201px -13px;}
	#map-sidebar .parking label.icon[for="housingparking"].active:before {background-position: -171px -13px;}
	#map-sidebar .parking label.icon[for="accessibleparking"].active:before {background-position: -261px -13px;}
	#map-sidebar .parking label.icon[for="remoteparking"].active:before {background-position: -141px -13px;}
	#map-sidebar .parking label.icon[for="motorcycleparking"].active:before {background-position: -111px -59px;}

	span.red-marker-example {
		display: inline-block; 
		width: 12px; 
		height: 18px; 
		background: transparent url('../_images/icons.png') no-repeat -294px -60px;
	}
	
	.infowindow {width: 360px;}
	.infowindow h1 {line-height: 1.1;}
}


@media (min-width: 1250px) {
	#map-header form {margin-left: 100px;}
	input.tt-query,
	input.tt-hint {width: 300px;}
}


/** 2023 adjustments **/
.app-container #map-header .for-desktop-only h1 {
	flex: 0 0 25%;
    max-width: 25%;
}

.app-container #map-header .for-desktop-only form {
    background-color: transparent;
	flex: 0 0 25%;
    max-width: 25%;
	margin-left: 12.5% !important;
}

.app-container #map-header input::placeholder {
	color: rgba(255,255,255,.7);
}

.app-container #map-header input.tt-hint, 
.app-container #map-header input.tt-query {
    color: #fff;
    min-height: 24px;
    padding: 10px 10px 10px 38px;
    width: 100% !important;
	height: 100%;
	border: none;
}
.app-container #map-header input.tt-query {
	border: 1px solid rgba(255,255,255,.3) !important;
	transition: all .4s;
}

.app-container #map-header input.tt-query:focus {
	color: #000;
	background-color: rgba(255,255,255,1) !important;
}

.app-container #map-header input.tt-query:focus::placeholder {
	color: #999;
}

.app-container #map-sidebar .collapsible > li a::before,
.app-container #map-sidebar .collapsible > li.active a::before {
	transform: none !important;
}

#map-sidebar .content:not(.special):not(.destinations) a,
.modal a {
	text-decoration: underline;
}

