/* Individual feature info */
.lunaserv_feature_info {
	float: left;
	margin: 0;
	padding: 10px 6px;
}
.lunaserv_layer_name {
	clear: both;
        text-align: center;
        font-size: 18px;
        text-shadow: 2px 2px 2px rgb(0,0,0);
        color:white;
        background-color: #333;
}


/* lunaserv.css overwrites */
#map_viewer {
	background-color: white;
}
/*#lunaserv_map {
margin-top: 50px !important;
}*/
.olControlPanZoomBar {
	position: absolute;
	left: auto !important;
	right: 68px !important;
	top: auto !important;
	bottom: 337px !important;
}
/* Get rid of the globe thing on the zoom bar*/
.olButton:nth-child(1) {	
	display: none;
}
.olButton:nth-child(2) {	
	display: none;
}
.olButton:nth-child(3) {	
	display: none;
}
.olButton:nth-child(4) {	
	display: none;
}
.olButton:nth-child(5) {	
	display: none;
}
div.olMapViewport {
	position: static !important;
}

/* new stuff */
#scale_bar {
	z-index: 1001;
	margin: 1.6em 0.6em;
        background-color: rgba(0, 0, 0, .75);
}
.lat-lon-tracker {
	margin-left: 1.2em;
}
#lunaserv_layers {
	overflow: scroll;
}
#lunaserv_scaletext {
	margin-left: 1.2em;
}
#lunaserv_scalebar {
	margin-bottom: 1.2em;
}
#lunaserv_layer_legend {
        padding: 0;
	margin-left: 1.2em;
	margin-right: 1.2em;
        list-style: none;
        color: #FFFFFF;
}
.lunaserv_link {
        margin: 2px 0px 2px 60px;
}
.click-action {
	z-index: 1003;
	position: absolute;
	top: 45px;
	right: 10px;
	background-color: #000;
	border: 1px solid #222;
}
.click-action ul {
	padding-left: 8px;
	margin: 8px 0 0 0;
}
.click-action li {
	display: inline;
	padding-right: 3px;
	/*	margin: 2px;
	width: 55px;*/
}
.click-action label {
	padding-right: 6px;
}
/* Trick to use icons as inputs */
.click-action input {
	visibility: hidden;
}
input[value="feature"] {
	margin-top: -1px;
	margin-left: -2px
}
input[value="bounding-box"] {
	margin-top: 1px;
}
.radio-hack {
	width: 28px !important;
	height: 27px;
}
input, button, 	elect, textarea {
	color: #242425;
}
.lunaserv_window_title {
	color: white; 
	margin: -4px 4px 2px;
	text-align: center;
}
#lunaserv_feature_container {
	background-color: #222;
	padding: 2px 2px 2px 2px;
	border: 1px solid #333;	
	box-shadow: 0px 2px 9px #222;
	z-index: 1050;
        display: none;
	position: absolute;
}
#lunaserv_features_titlebar {
	width: 100%;
}
#lunaserv_features_titlebar a {
	margin-right: 16px;
}
#lunaserv_selected_footprints {
	overflow-y: scroll !important;
	overflow-x: hidden !important;
	background-color: white;
}
.lunaserv_text_entry_item {
	display: inline;
}
.lunaserv_text_entry_button {
	margin: 12px auto;
}
.lunaserv_text_entry_item label {
	width: 111px;
}
.lat-lon-tracker div {
	display: inline;
}
.lat-lon-tracker label {
	margin-right: 0.4em;
}
.lunaserv_layer_group {
	margin-left: 18px;
}
.legend {
	height: 12px;
	width: 13px;
	border-radius: 6px;
	display: inline-block;
	margin: auto 6px 0px;
}
#apply_date_range {
	margin-top: 12px;
}

/* Bootstrap Edits */
a {
	color: #338BFF;
}
a:hover, a:focus {
	color: #0056C8
}
.btn:hover, .btn:focus {
	background-color: #818181;
}
body {
	overflow: hidden;
	font-family: 'LatoWeb', Helvetica, Arial, sans-serif;
	font-weight: 100;
}
h1 {
	font-weight: 100;
	margin: 0;
}
h2 {
	font-weight: 100;
	font-size: 30px
}
label {
	font-weight: 100;
}
.click-select {
	width: 22px;
	height: 19px
}
#point-of-interest {
	background: url('../images/crosshairs.png') no-repeat left top;
}
#get-footprint {
	background: url('../images/eye-white.png') no-repeat left top;
}
#bounding-box {
	background: url('../images/bounding-white.png') no-repeat left top;
}
/* FF browser style bug */
select, option {
	color: #000
}
/* accordion and panel */
#accordion {
	border: none;
	border-top: 0;
	width: 620px;
	position: absolute; 
	left: -641px; 
	top: 50px; 
	z-index: 1004
}
.panel-default {
	border: 1px solid #222;
    border-top: none;
}
.panel-heading {
	border-radius: 0;
}
.panel-heading > a {
	text-decoration: none;
}
.panel-default > .panel-heading {
	background-color: #ccc;
}
.panel-title { 
	color: #000;
}
.panel-group .panel {
	border-radius: 0px;
}
.panel-collapse {
	background-color: white;
        color: #5a5a5a;
}
.panel-group .panel+.panel {
	margin: 0 !important;
}
.panel-default>.panel-heading+.panel-collapse>.panel-body {
	border-top-color: #131313;
}

/* FORMERLY INLINE */
.lunaserv_controls {
	position: absolute;
	width: 50em;
	height: 30em;
	top: 50%;
	left: 50%;
	z-index: 1000;
}
.lunaserv_controls_opaque {
	border: none;
	color: #5a5a5a;
	height: calc(100% - 42px); /* size of dialog minus height of header */
}
#lunaserv_overview {
	position: relative;
	overflow: hidden;
}
#lunaserv_overview_box {
    border: 1px solid red;
    position: absolute;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.10);
}

/* responsive Query Results modal */
@media (max-width: 620px) {
	#lunaserv_feature_container {
		height: 100%;
		top: 260px;
		left: 0;
		margin-left: 0;
		width: 100% !important;
	}
}

/* NAVBAR ALWAYS MODAL */
@media (min-width: 768px)
{
	.navbar-header
	{
		float: none;
	}
	.navbar-toggle
	{
		display: block;
		float: left;
	}
	.navbar-collapse.collapse
	{
		display: none !important;
	}
	.navbar-fixed-top, .navbar-fixed-bottom {
		transform: none;
		-webkit-transform: none;
	}
}

/* responsive menu */
@media (max-width: 620px)
{
	#accordion {
		width: 100%;
	}
	.olControlPanZoomBar {
		left: 80% !important;
	}
}

.tour-tour {
	color: black;
}

a.navbar-right {
	float: right;
	margin:15px;
}

/* General Mobile Fixes */
@media(max-width: 766px) {
	.navbar-toggle {
		float: left;
		margin-left: 15px;
	}
}
@media(max-width: 480px) {
	/* scale controls are hard to use and unnecessary in a touch interface */
	#scale_bar, .olButton, #OpenLayers\.Control\.PanZoomBar_5_OpenLayers\.Map_6 {
		display: none;
	}
	.ui-resizable-handle {
		display: none !important;
	}
}
