/* Bootstrap Overrides & Additions */
.navbar-brand {
	overflow-x: hidden;
	margin-right: 3px;
}

#countdown {
	float: right;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
}

/* OpenLayers Overrides */
.ol-zoom {
	left: unset;
	right: 8px;
}

/* Application Styles */
html { 
	width: 100vw;
	height: 100vh;
	margin: 0px;
	padding: 0px; 
}
body { 
	width: 100vw;
	height: 100vh;
	margin: 0px;
	padding: 0px; 
}
@media (min-width: 768px) {
	#navSearch #navSearchInput {
		width: 300px;
	}
}
@media (max-width: 768px) {
	#navSearch #navSearchInput {
		width: 250px;
	}
}
.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

/* Navigation menu styles */
#mainMenuList li {
	display: none;
}
#mainMenuList .dropdown-item .bi {
	margin-right: 9px;
}
#mainMenuSearchDivider {
	display: none;
}

/* Page header */
#pageHeader {
	background-color: #f8f9fa;
	border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* Typeahead Styles (for the navbar search) */
#navSearch {
	display: none;
}
#navSearch .tt-query {
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
#navSearch .tt-hint {
	color: #999
}
#navSearch .tt-menu {
	width: 100%;
	margin-top: 4px;
	padding: 4px 0;
	background-color: #fff;
	border: 1px solid #ccc;
	border: 1px solid rgba(0, 0, 0, 0.2);
		-webkit-border-radius: 4px;
		-moz-border-radius: 4px;
	border-radius: 4px;
		-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
		-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
	box-shadow: 0 5px 10px rgba(0,0,0,.2);
	overflow-y: auto;
	max-height: 500px; /* Dynamically set */
}
#navSearch .tt-suggestion {
	font-size: 0.8rem;
	padding: 3px 20px;
	line-height: 24px;
	border-top: 1px solid #ccc;
}
#navSearch .tt-suggestion.tt-cursor,.tt-suggestion:hover {
	color: #fff;
	background-color: #0097cf;
}
#navSearch .tt-suggestion p {
	margin: 0;
}
#navSearch .tt-header {
	color: #606060;
	font-size: 0.9rem;
	font-weight: bold;
	padding: 3px 10px;
	line-height: 24px;
	background-color: #ccc;
}

/* Page sidebar */
#pageSidebar {
	overflow: hidden;
	position: fixed;
	z-index: 100;
	margin: 0px;
	padding: 5px 0px 0px 0px;
	top: 66px; /* Adjusted dynamically based on navbar height */
	bottom: 0px;
	left: 0px;
	width: 200px; /* Initial setting.  Adjusted dynamically */
	background-color: #f8f9fa;
	border-right: 1px solid rgba(0,0,0,0.15);
}
#pageSidebarToggler {
	font-size: 15px;
	color: #888888;
	text-align: center;
	position: fixed;
	z-index: 101;
	margin: 0px;
	padding: 4px 1px 0px 1px;
	top: 80px; /* Initial setting.  Adjusted dynamically based on navbar height */
	left: 199px; /* Initial setting.  Adjusted dynamically */
	width: 20px;
	height: 32px;
	background-color: #f8f9fa;
	border-radius: 0px 5px 5px 0px;
	border-top: 1px solid rgba(0,0,0,0.15);
	border-right: 1px solid rgba(0,0,0,0.15);
	border-bottom: 1px solid rgba(0,0,0,0.15);
	border-left: 1px solid #f8f9fa;
}
#pageSidebarToggler :hover {
	cursor: pointer;
	color: #000000;
}

/* Sidebar Tab Stuff */
#sidebarTabButtons {
	border-bottom: 1px solid #FFFFFF;
}
#sidebarTabContent .tab-pane {
	overflow: auto;
}

/* Page content */
#pageContent {
	overflow: hidden;
	position: fixed;
	margin: 0px;
	padding: 0px;
	top: 66px; /* Adjusted dynamically based on navbar height */
	bottom: 0px;
	left: 200px; /* Initial setting.  Adjusted dynamically */
	right: 0px;
}
#map {
	width: 100%;
	height: 100%;
}

.tables_ui {
	display:inline-block;
	margin:2px;
	border:2px solid #3333fe;
	border-spacing:0;
  }
  .tables_ui ul li {
	min-width: 200px;
  }
  .dragging li.ui-state-hover {
	min-width: 240px;
  }
  .dragging .ui-state-hover a {
	color:green !important;
	font-weight: bold;
  }
  .tables_ui th, .tables_ui td {
	text-align: center;
	padding: 2px 4px;
	border: 1px solid;
	width: 100%
  }
  .t_sortable tr, .ui-sortable-helper {
	cursor: move;
  }
  .t_sortable tr:first-child {
	cursor: default;
  }
  .ui-sortable-placeholder {
	background: yellow;
  }