html, body, div, p, h1, h2, h3, h4, h5, h6, ul, table, iframe, img {
	margin: 0;
	padding: 0;
}

html { -webkit-text-size-adjust: none; } /* Prevent font scaling in landscape */

body {
	font-family: helvetica, sans-serif;
	font-size: 14px;
	overflow-x: hidden;
}

ul { list-style: none; }

ul.bullet-list { list-style: disc; }
ul.bullet-list li { margin: 0.5em 0; }

img.logo { margin: 3px 5px; }

#osd iframe {
	border: none;
	height: 99%;
	width: 100%;
}

#osd {
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

#header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 30px;
	color: #fff;
	background: #3366CC;
	line-height: 30px;
	border-bottom: 1px solid #fff;
}

#header h1 {
	font-size: 18px;
	text-align: center;
}

#header-logos {
	height: 24px;
	background: #fff;
	position: absolute;
	top: 3px;
	right: 10px;
}

#header-logos img {
	height: 20px;
	border: 2px solid #fff;
}

#map-canvas {
	z-index: 0;
}

#menu, #close-button {
	display: none;
}

#menu {
	position: absolute;
	top: 31px;
	left: 0;
	right: 0;
	max-width: 300px;
}

#menu ul li a {
	display: block;
	background: #fff;
	color: #0033cc;
	border: 1px solid #0033cc;
	font-size: 15px;
	font-weight: bold;
	margin-bottom: -1px;
	padding: 10px 8px;
	text-decoration: none;
	text-align: center;
	zoom: 1; /* fix for IE bug */
}

#menu ul li a:hover {
	background: #CCE6FF;
}

#mu-header, #comp-header {
	background: #ccc;
}

#map-settings ul.checked-menu {
	margin: 5px 10px;
}

#soil-suit-content {
	clear: both;
}
	
#mask {
	display: none;
	z-index: 99;
	background: #000;
	opacity: 0.5;
}

.map-message {
	font-size: 12px;
	background: #fff;
	border: 1px solid #000;
	margin: 2px;
	padding: 2px 5px;
}

.wss-control {
	background: #fff;
	border: 1px solid #000;
	margin: 2px;
	padding: 4px 6px;
}

a.wss-link, a.wss-link:visited {
	color: #0033cc;
	text-decoration: underline;
}

.lat-lon {
	font-size: 12px;
	background: #fff;
	border: 1px solid #000;
	margin: 2px;
	padding: 2px 5px;
	opacity: 0.9;
	filter: alpha(opacity=90); 
}

#message, #loader {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	margin-top: 31px;
	margin-right: auto;
	margin-left: auto;
	background: #fff;
	border: 2px solid #3366CC;
	z-index: 100;
	text-align: center;
}

#message {
	width: 400px;
	max-height: 80%;
	top: 10%;
	overflow: auto;
}

#loader {
	width: 200px;
	top: 20%;
}

#soil-profiles {
	padding: 5px 0 5px 5px;
	overflow: hidden;
}

#soil-prof-menu {
	width: 130px;
	float: left;
	margin-right: 5px;
}

#soil-prof-menu .pointer{
	float: right;
}

#soil-prof-menu li.active {
	border-right: none;
	width: 130px;
}

#suitability-ratings, #soil-suit-content {
	padding: 0 5px 5px 5px;
}

#help-topic {
	padding: 10px;
}

#help-topic h3 {
	margin: 10px 0;
}

#geoaccuracy-label, #geowait-label {
	display: inline-block;
	width: 4em;
}

#on-geosuccess-query {
	float: left;
}

.checked-menu li , .inline-menu li {
	cursor: pointer;
	color: #0033cc;
	font-weight: bold;
	background: #eee;
	border: 1px solid #0033cc;
	text-align: center;
	zoom: 1; /* fix for IE bug */
}

.checked-menu li {
	margin: 0 0 -1px 0;
	padding: 10px;
}

.inline-menu li {
	margin: 2px 2px;
	padding: 5px;
	font-size: 12px;
	min-width: 30px;
	float: left;
}

.inline-menu li a {
	text-decoration: none;
	color: #0033cc;
}

.inline-menu li.active a {
	color: #000;
}

.checked-menu  li:hover, .inline-menu li:hover {
	background: #D6EBFF;
}

.checked-menu li.active {
	background: #fff;
	color: #000;
}

.inline-menu li.active {
	background: #fff;
	color: #000;
	border: 1px solid #000;
}

.fill-screen {
	position: absolute;
	top: 31px;
	left: 0;
	right: 0;
	bottom: 0;
}

.overlay {
	position: absolute;
	top: 31px;
	left: 0;
	right: 0;
	display: none;
	background: #fff;
	max-width: 350px;
	border: 1px solid #3366CC;
	color: #000;
	overflow: auto;
}

.menu-overlay {
	max-width: 300px;
	padding: 10px;
}

.overlay h2{
	font-size: 16px;
	color: #0033cc;
}

.overlay h3{
	font-size: 14px;
	color: #0033cc;
}

.overlay li.expandable h2 {
	background: #D6EBFF;
	padding: 6px 5px;
	margin: 3px 0;
	cursor: pointer;
	font-size: 15px;
}

.overlay li.expandable h2:hover {
	background: #CCE6FF;
}

.overlay ul.data-list li {
	background: #E6E6E6;
	padding: 5px 10px;
	margin: 2px 0;
}

.overlay p {
	margin: 10px 0; 
}

.close-x {
	float: right;
	font-size: 14px;
	color: #333;
	border: 1px solid #ccc;
	padding: 0px 5px;
	background: #e6e6e6;
	cursor: pointer;
	margin: 3px;
}

.button {
	position: absolute;
	top: 2px;
	left: 5px;
	height: 26px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	text-align: center;
	font-weight: bold;
	line-height: 26px;
	cursor: pointer;
	color: #0033CC;
	padding: 0 5px;
	font-size: 12px;
	min-width: 50px;
	background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(204,204,204,1) 100%);
}

.leaflet-control-close-button {
	color: #333;
	background: #e6e6e6;
	padding: 5px 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
}

.ui-button {
	color: #0033CC;
	font-weight: bold;
	padding: 0.3em 0.6em;
	border: 1px solid #0033cc;
	background-color: #D6EBFF;
	border-radius: 5px;
}

.ui-button:hover {
	background-color: #CCE6FF;
}

.ui-button:disabled {
	border: 1px solid #333;
	color: #333;
	cursor: auto;
	background-color: #eee;
}

.ui-button:hover:disabled {
	background-color: #eee;
}

.focus-field {
	color: #000;
	background: #E0F0FF;
	border: 1px solid #3366cc;
}

.textbox { 
	height: 20px;
	font-size: 14px;
}

input[type=range] {
    vertical-align: middle;
    width: 100px;
	height: 1.5em;
}

.multiline-label {
	display: block;
	margin-left: 2em;
}

.hidden {
	display: none;
}

.center {
	text-align: center;
}

.expandable-content {
	font-size: 12px;
	display: none;
}

.heading, .bold {
	font-weight: bold;
}

.indented {
	margin-left: 20px;
}

.vertical-margin {
	margin-top: 5px;
	margin-bottom: 5px;
}

.smaller {
	font-size: 0.9em;
}

.sub-text {
	font-size: 0.8em;
}

.mu-name-wrapper, .comp-name-wrapper {
	padding: 0.3em 0.5em;
	text-align: center;
}

.component-links {
	text-align: center;
	padding: 0 0 0.3em;
}

.record{
	font-style: italic;
}

.comp-name, .mu-name, .mu-symbol {
	font-style: italic;
	font-weight: bold;
	font-size: 14px;
}

.message {
	font-size: 12px;
}

.message h3 {
	font-size: 1.2em;
	color: #0033cc;
}

.message p {
	margin: 10px;
}

.inline-h3 {
	font-size: 1.1em;
	font-weight: bold;
	color: #0033cc;
}

.soil-suit-rule {
	padding-left: 10px;
	font-size: 0.9em;
	color: #333;
}

.citation {
	font-size: 0.8em;
	color: #333;
}

.help-icon {
	border: 1px solid #0033cc;
	font-weight: bold;
	background: #3366cc;
	cursor: pointer;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.help-icon a.help-topic {
	color: #fff !important;
	padding: 0 5px;
}

a.help-topic {
	text-decoration: none;
	color: #0033cc;
	font-size: 14px;
}

a.help-topic:hover {
	text-decoration: underline;
}

ul.help-links li {
	margin: 5px 0;
}
.custom-control-icon {
	margin: auto;
}
.custom-control-header {
	color: #fff;
	background-color: #808080;
	padding-left: 0.5em;
}
.custom-map-control {
	background: #eee;
	border: 1px solid #444;
	margin: 10px;
	padding: 3px;
	border-radius: 5px;
	cursor: pointer;
	height: 25px;
	width: 25px;
}
.click-marker-divicon {
	background-color: red;
	color: #fff;
	border: 1px solid #fff;
	border-radius: 50%;
}
.click-marker-divicon:before, .click-marker-divicon:after {
  position: absolute;
	top: 2px;
  left: 6px;
  content: ' ';
  height: 9px;
  width: 1px;
  background-color: #fff;
}
.click-marker-divicon:before {
  transform: rotate(45deg);
}
.click-marker-divicon:after {
  transform: rotate(-45deg);
}
div.compheader a, div.compheader a:visited {
	color: blue;
	text-decoration: none;
	font-size: 0.85em;
}
.table {
	font-size: 0.9em;
	border: 2px solid #fff;
}
.table th {
	background: #3366cc;
	color: #fff;
	padding: 3px;
}
.table td {
	background: #e6e6e6;
	padding: 3px;
}
div.infowindow-content p {
	margin: 0;
}
.leaflet-container.crosshair-cursor-enabled {
    cursor: crosshair;
}
hr.form-separator {
	border: 1px solid #eee;
}

/* -- CSS for mobile devices / narrow viewports -- */
@media only screen and (max-width: 480px) {
.overlay {
	border: none;
	max-width: none;
}
div.message {
	font-size: 12px;
	border: 1px solid #3366CC;
}
#menu {
	max-width: none;
}
#message {
	width: 100%;
	max-height: none;
	top: 0;
}
}

@media only screen and (max-width: 700px) {
#header-logos { 
	display: none; 
}
.custom-map-control {
	padding: 8px;
}
}
