﻿body 
{
	font-family: Verdana, Tahoma, Sans-Serif;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

div#header {
	height: 49px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #bcbcbc;
}

div#localeMenu 
{
	position: absolute;
	top: 5px;
	right: 5px;
	z-index: 1000;
	font-size: 14px;
	background: #ffffff;
	background: rgba(255,255,255, 0.7);
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 5px;
	border: 1px solid #000000;
	font-family: Arial, helvetica, Sans-Serif;
	overflow: hidden;
}

div#legend 
{
	position: absolute;
	top: 50px;
	left: 0;
	bottom: 0;
	width: 250px;
	overflow-y: scroll;
	overflow-x: hidden;
}

	input#query {
		margin-left: 5px;
	}

div#legend ul {
	list-style-type: none;
	margin: 10px 0;
	padding: 0;
}

	div#legend li {
		width: 100%;
		height: 22px;
	}

	div#legend ul a:link, div#legend ul a:visited {
		text-decoration: none;
		color: #333;
		display: block;
		padding: 5px;
		font-size: 12px;
		border-bottom: 1px solid #e8e8e8;
		width: 100%;
	}

	div#legend ul a:hover, div#legend ul a:active {
		background: #f1f1f1;
	}

div#legend p {
	padding: 10px 5px;
	border-bottom: 1px solid #e8e8e8;
	font-size: 0.8em;
}

	div#legend p a {
		text-decoration: none;
	}

div#legend table 
{
	border-collapse: collapse;
	margin: 0 0 1em 0;
	padding: 0 0 1em 0;
	font-size: 0.8em;
	border-bottom: 1px solid #e8e8e8;
	color: #333;
	width: 235px;
}

div#legend tr {
}

	div#legend tr:hover {
		background: #f1f1f1;
	}

div#legend td 
{
	vertical-align: top;
	padding: 5px 5px 10px 5px;
}

	div#legend td.legend-icon 
	{
		width: 50px;
	}

	div#legend td.legend-checkbox
	{
		width: 30px;
	}

div#legend h2 {
	font-size: 0.8em;
	padding: 5px;
	color: #333;
}

div#legend h3 
{
	font-size: 0.8em;
	padding: 5px 5px 5px 25px;
	margin: 0 0 0.9em 0;
	cursor: pointer;
	background: url(../client/img/legend-max.png) 5px 6px no-repeat;
	color: #333;
}

	div#legend h3.collapsed {
		background: url(../client/img/legend-min.png) 5px 6px no-repeat;
	}

div#legend label {
	cursor: pointer;
}

div#legend table input {
	float: right;
}

div#mapHolder
{
	position: absolute;
	top: 50px;
	left: 250px;
	right: 0;
	bottom: 0;
}

	div#mapHolder .olControlEditingToolbar div {
		cursor: pointer;
	}

	div#mapHolder div.olControlOverviewMapElement {
		background: #555;
		border-top: 1px solid #111;
		border-left: 1px solid #111;
	}

div#results 
{
	display: none;
	position: absolute;
	width: 400px;
	height: 300px;
	background: #ffffff;
	border: 1px solid #333;
    -webkit-box-shadow: -6px 8px 5px 0px rgba(50, 50, 50, 0.5);
    -moz-box-shadow: -6px 8px 5px 0px rgba(50, 50, 50, 0.5);
    box-shadow: -6px 8px 5px 0px rgba(50, 50, 50, 0.5);
}

div#results table 
{
	overflow: hidden;
}

div#results td 
{
	vertical-align: top;
	border-collapse: collapse;
	max-width: 300px;
	overflow: hidden;
	font-size: 0.8em;
}

div#results .title 
{
	font-weight: bold;
	padding-top: 20px;
}

div#results td img 
{
	margin: 20px 10px;
}

div#results .last td
{
	font-style: italic;
	padding-bottom: 20px;
	border-bottom: 1px solid #000000;
}

div#resultsHandle, div#previewHandle
{
	font-weight: bold;
	border-bottom: 1px solid #e8e8e8;
	padding: 5px;
	font-size: 14px;
	cursor: move;
	background: #314f95;
	color: #fff;
}

div#resultsHandle span {
	display: block;
}

div#resultsHandle a, div#previewHandle a
{
	display: block;
	float: right;
	color: #fff;
}

div#preview 
{
	display: none;
	position:absolute;
	z-index: 100000;
	width: 640px;
	height: 480px;
	background: #ffffff;
	border: 1px solid #333;
}

div#items 
{
	width: 400px;
	height: 266px;
	overflow: auto;
	position: relative;
}

	div#items h1 {
		font-size: 1em;
		margin: 30px 0 10px 40px;
	}

	div#items ol li {
		font-size: 0.8em;
		margin-bottom: 5px;
	}

div#previews 
{
	width: 640px;
	height: 450px;
	overflow: auto;
	position: relative;
}

div#tabs h1 {
	font-size: 1em;
	margin: 30px 0 10px 40px;
}

div#tabs h2 {
	font-size: 0.8em;
	margin: 30px 0 10px 40px;
}

div#tabs p {
	margin-left: 40px;
	font-size: 0.8em;
}

	div#tabs p a {
		
	}

div#tabs ul.ui-tabs-nav {
	list-style-type: none;
}

	div#tabs ul.ui-tabs-nav li {
		display: inline;
		font-size: 0.8em;
		margin-right: 5px;
	}

		div#tabs ul.ui-tabs-nav a:link {
			text-decoration: none;
		}

		div#tabs ul.ui-tabs-nav a:hover {
			text-decoration: underline;
		} 
	
div#tabs div ul {
	list-style-type: square;
	font-size: 0.8em;
}

	div#tabs div li {
		margin: 0 0 5px 0;
	}
	

div#resultsThrobber, div#previewThrobber
{
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -16px;
	margin-left: -16px;
	width: 32px;
	height: 32px;
	z-index: 10000;
	background: url(/Content/img/throbber.gif) no-repeat;
	display: none;
}

div#previews {

}

	div#previews h1 {
		font-size: 1em;
		margin: 30px 0 10px 40px;
	}

	div#previews h2 {
		font-size: 1em;
	}

	div#previews .policyHolder {
		margin: 30px 0 10px 40px;
		font-size: 0.8em;
	}

	div#previews .policyBody {
		margin-top: 30px;
	}

	div#previews .policyFooter {
		border-bottom: 1px solid #e8e8e8;
		padding-bottom: 30px;
	}

div#mapLoading 
{
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 20px 20px 20px 60px;
	z-index: 9999;
	background: white url(/Content/img/throbber.gif) 10px center no-repeat;
	margin-top: 4px;
	margin-left: 0px;
	border: 1px solid black;
	display: none;
	font-size: 0.8em;
}

div.olControlAttribution 
{
	position: absolute !important;
	z-index: 1000 !important;
	bottom: 5px !important;
	left: 10px !important;
	background: #fff;
	background: rgba(255,255,255,0.3);
	display: inline !important;
}

.olControlOverviewMapExtentRectangle 
{
	border: 3px solid red !important;
}

.ui-tabs-hide 
{
	display: none;
}

div#lightbox 
{
	position: absolute;
	top: 0; left: 0;
	background: #555;
	-moz-opacity: .90;
	filter: alpha(opacity=90);
	opacity: .90;
}

div#toolbar 
{
	position: absolute;
	top: 60px;
	right: 10px;
	z-index: 900;
	height: 40px;
	width: 400px;
}

	div#toolbar ul
	{
		list-style-type: none;
		float: right;
	}

		div#toolbar li {
			display: block;
			float: left;
			width: 33px;
			height: 33px;
			margin-left: 10px;
			position: relative;
		}
	
	div#toolbar input
	{
		width: 33px;
		height: 33px;
		position: absolute;
		left: 0;
		top: 0;
	}

	div#toolbar label {
		width: 33px;
		height: 33px;
		display: block;
		cursor: pointer;
		border: 1px solid #333;
		border-radius: 3px;
	}

		div#toolbar label:hover {
			border-color: #000;
		}

		div#toolbar li.current label {
			border-color: Red;
		}

		#toolbarNavigate {
			background: #fff url(../img/navigate.png) no-repeat;
		}

		#toolbarMeasureDistance {
			background: #fff url(../img/measureLine.png) no-repeat;
		}

		#toolbarMeasureArea {
			background: #fff url(../img/measureArea.png) no-repeat;
		}

		#toolbarDrawPoints {
			background: #fff url(../img/drawPoint.png) no-repeat;
		}

		#toolbarDrawLines {
			background: #fff url(../img/drawLines.png) no-repeat;
		}

		#toolbarDrawPolygons {
			background: #fff url(../img/drawPolygons.png) no-repeat;
		}
		
		#toolbarCreatePdf 
		{
			background: #fff url(../img/createPdf.png) no-repeat;
		}

	div#output, div#pdfInstructions {
        clear: both;
		float: right;
		background: #fff;
		padding: 5px;
		border: 1px solid #333;
		font-size: 12px;
	}
	
	div#placesMenu 
	{
		position: absolute;
		top: 60px;
		left: 300px;
		z-index: 900;
	}

	.olControlScaleLine {
		padding: 5px;
		margin-bottom: 10px;
		display: block;
		background: #fff;
		border: 1px solid #333;
	}
	
#header, #legend, #placesMenu, #toolbar
{
	display: none;
}

body.standalone #header, body.standalone #legend, body.standalone #placesMenu, body.standalone #toolbar
{
	display: block;
}

body.embedded #mapHolder 
{
	top: 0;
	left: 0;
}

.olControlLayerSwitcher 
{
	top: 60px !important;
}

.olControlLayerSwitcher .dataLbl, .olControlLayerSwitcher .dataLayersDiv 
{
	display: none;
}

#allLayersOn, #someLayersOff 
{
	display: block;
	width: 220px;
	padding: 5px 0;
	text-align: center;
	-moz-border-radius: 10px;
	border-radius: 10px;
	font-weight: bold;
}

#allLayersOn 
{
	color: #326638;
	background: #9dc4a2;
	border: 2px solid #326638;
}

#someLayersOff
{
	color: #ff0000;
	background: #daa2a2;
	border: 2px solid #ff0000;
}

div[id*=Icon] {
	cursor: pointer;
}

.olPopup
{
	background: url(/content/img/popup.png) no-repeat !important;
	padding: 10px 20px 20px 10px !important;
	width: 210px !important;
	height: 136px !important;
	font-family: "Trebuchet MS", Helvetica, Arial, Geneva, SunSans-Regular, sans-serif;
	line-height: 16px;
}

.olPopup h1 {
	font-size: 12px !important;
	margin: 0 0 10px 0 !important;
	width: 205px !important;
}

.olPopup .description
{
	font-size: 12px !important;
	margin: 10px 0 !important;
	height: 80px !important;
	width: 205px !important;
	overflow: hidden;
	-ms-text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	text-overflow: ellipsis;
}

.olPopup .description img {
	float: left;
	padding-right: 10px;
	padding-bottom: 5px;
}

.olPopup .link {
	font-size: 12px !important;
	margin: 10px 0 0 0 !important;
	width: 205px !important;
}