html, body
{
	overflow: hidden;
	padding: 0;
	margin: 0;
	height: 100%;
	width: 100%;
	font-family: 'Lucida Grande',Geneva,Arial,Verdana,sans-serif;
}
.nonbold-header-text
{
	margin: 0;
	padding: 6px;
	border:0;
}
.icon
{
	height: 20px;
	width: 20px;
	vertical-align: middle;
}

.finish-edit-btn {
	margin-left: 8px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
	letter-spacing: 0.02em;
}

.finish-edit-btn:hover {
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.share-icon {
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
}

.search-wrapper {
	position: relative;
	display: inline-block;
	width: 25%;
	min-width: 150px;
	transition: width 0.3s ease;
	flex: 0 0 260px;
	max-width: 360px;
}

.search-wrapper:focus-within {
	width: 25%;
}

.search {
	display: inline;
	width: 100%;
	border-radius: 5px;
	transition: width 0.3s ease;
}

.search:focus {
	width: 100%;
}

.search-results {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	max-height: 240px;
	overflow-y: auto;
	display: none;
	z-index: 1100;
}

.search-results.visible {
	display: block;
}

.search-result-item {
	padding: 8px 12px;
	cursor: default;
	border-bottom: 1px solid #eee;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item:hover {
	background-color: #f9fafc;
}

.search-result-item .result-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.search-result-item .result-title {
	display: block;
	font-weight: 600;
	color: #333;
}

.search-result-item .result-code {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	color: #55607a;
	background-color: #eef0f6;
	padding: 2px 6px;
	border-radius: 4px;
	white-space: nowrap;
}

.search-result-item .result-map-wrapper {
	margin-top: 6px;
	font-size: 11px;
	color: #666;
}

.search-result-item .result-maps-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #9aa0b5;
}

.map-chip-container {
	margin-top: 4px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.map-chip {
	border: 1px solid #d1d6e3;
	background-color: #f2f4fa;
	color: #3b4256;
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 11px;
	font-family: inherit;
	line-height: 1.2;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.map-chip:hover {
	background-color: #e1e7fb;
	border-color: #8da2fb;
	color: #1f3a8a;
}

.map-chip:focus {
	box-shadow: 0 0 0 2px rgba(49, 94, 251, 0.3);
}

.map-chip-current {
	background-color: #315efb;
	border-color: #315efb;
	color: #fff;
	box-shadow: 0 2px 4px rgba(49, 94, 251, 0.2);
}

.search-result-item .result-maps-empty {
	margin-left: 6px;
	color: #999;
}

.search-result-item .result-note {
	display: block;
	margin-top: 6px;
	font-size: 10px;
	color: #a94442;
}

.search-result-item.result-unavailable {
	border-left: 4px solid #f85c7b;
	background-color: #ffb3c180;
}

.search-result-item.result-unavailable .result-title,
.search-result-item.result-unavailable .result-code,
.search-result-item.result-unavailable .result-map-wrapper,
.search-result-item.result-unavailable .result-note {
	color: #bf4c5d;
}

.search-result-item.result-unavailable .map-chip {
	border-color: #eba8b7;
	background-color: #fde5ea;
	color: #b1445c;
}

.search-result-item.result-unavailable .map-chip-current {
	background-color: #b1445c;
	border-color: #b1445c;
	color: #fff;
}

.header-right-side{
	flex-direction: row;
	display: flex;
	align-items: center;
	max-height: 40px;
	flex: 0 0 auto;
	gap: 8px;
}

.map-info-bar {
	flex: 1 1 auto;
	min-height: 46px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(59, 66, 86, 0.12);
	border-radius: 10px;
	padding: 6px 14px;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.map-info-title {
	font-size: 13px;
	font-weight: 600;
	color: #1f2432;
	margin: 0;
}

.map-info-description {
	margin-top: 2px;
	font-size: 12px;
	line-height: 1.35;
	color: #4b5162;
}

.map-info-description:empty {
	display: none;
}

.map-info-meta {
	margin-top: 6px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.map-info-meta:empty {
	display: none;
}

.map-info-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	font-size: 11px;
	border-radius: 999px;
	background: #eef1ff;
	border: 1px solid #d7dbf5;
	color: #2f3a6a;
	white-space: nowrap;
}

.map-info-pill .pill-label {
	text-transform: uppercase;
	font-size: 9px;
	letter-spacing: 0.06em;
	font-weight: 700;
	color: #5a63a5;
}

.map-info-pill .pill-value {
	font-weight: 500;
	color: #2b3045;
}

.header-text
{
	margin: 0;
	padding: 6px;
	border:0;
	font-size: 20pt;
}
.header-size-control
{
	font-size: x-large;
	text-align: center;
	vertical-align: middle;
	width: 30px !important;
	height: 30px !important;
	padding: 1px;
	border: 1px solid black;
	display: inline-block;
}
.header
{
	position: fixed;
	top: 10px;
	left: 50px;
	right: 10px;
	display: flex;
	align-items: stretch;
	gap: 12px;
	flex-wrap: wrap;
	z-index: 1100;
}
.gap
{
	display: inline-block;
	width: 10px;
}
.rect
{
	background-color: rgba(0,146,143,0.3);
	border: 1px solid lightblue;
	position: fixed;
	width: 0;
	height: 0;
	margin: 0;
}
.rect-canvas
{
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	z-index: 999; /* In front */
}
.login {

}
.login-text {
	color: black;
}
.login-form {
	display: none;
	background: white;
	padding: 15px;
	margin-top: 80%;
}
.login-input {
	border-radius: 5px;
}
.popup {
	font-size: large;
}
.edit, .clone, .delete {
	font-size:x-small;
}
.org-logo {
	width: 200px;
}
#minus-sign
{
	position: absolute;
	top: 5px;
	right: 5px;
}
#mini-header
{
	display: flex; /* Default on load */
	justify-content: space-between;
}
#header
{
	display: none; /* Default on load */
	padding: 0;
	background-color: #bbb;
	border: 1px solid #888;
	opacity: 0.6;
}
#map
{
	height: 100%;
	width: 100%;
}
#drawmode
{
	display: none; /* Invisible by defualt */
}

.dropdown-menu.loading:before {
	content: '';
	display: block;
	height: 50px;
	background-image: url('/img/ajax-loader.gif');
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.nav-tabs {
	margin-bottom: 10px;
}

.show_other_map {
    cursor: pointer;
    margin-left: 12px;
    line-height: 1.5;
    display: block;
}

.btn-group {
	gap: 5px;
	display: flex;
}
.panel{
	margin: 0;
}
.panel-body{
	padding: 10px;
}


.dropdown-menu.layers-menu > li {
  display: flex;
  align-items: center;       
  justify-content: space-between; 
  padding: 4px 12px;        
}


.dropdown-menu.layers-menu > li .layer-toggle {
  flex: 1;
}


.dropdown-menu.layers-menu > li .edit-layer-btn {
  margin-left: 8px;
  flex-shrink: 0;
}

#loggedin-username {
  display: inline-block;
  max-width: 75px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.map-menu-link,
.layer-toggle {
	display: block;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.map-menu-link.map-active,
.layer-toggle.layer-active {
	background-color: #ffdf70;
	color: #333 !important;
	font-weight: 600;
}

.map-menu-link.map-inactive,
.layer-toggle.layer-inactive {
	color: #777;
}

.map-menu-link.map-inactive:hover,
.layer-toggle.layer-inactive:hover {
	color: #333;
}

/* Add support for dropdown submenus */
.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;margin-top:-6px;margin-left:-1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:hover>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:hover>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

/* Improve visibility of edit handles */
.leaflet-existing-vertex {
	background: #fff;
	border: 2px solid #1f3a8a;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #fff, 0 1px 4px rgba(0, 0, 0, 0.4);
}

.leaflet-middle-vertex {
	background: #f5a623;
	border: 2px solid #c2780d;
	border-radius: 50%;
	box-shadow: 0 0 0 1px #fff, 0 1px 4px rgba(0, 0, 0, 0.4);
}
