#map-page {
	width: 980px;
	margin: 0 auto;
	background-color: #fff;
}
#map-drawer {
  height: 600px;
  background: url(/images/navdrawer_downgradient.png) left bottom repeat-x;
  border: 1px solid #cccccc;
  border-top: none;
  clear: both;
  overflow: hidden;
  margin-bottom: 15px;
  -moz-border-radius-bottomleft: 6px;
  -moz-border-radius-bottomright: 6px;  
  border-bottom-left-radius: 6px;  
  border-bottom-right-radius: 6px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;  
  border-top-left-radius: 8px;  
  border-top-right-radius: 8px;
}
#map-drawer-header {
  height: 15px;
  background: url(/images/navdrawer_topshadow.png) left top repeat-x;
  padding: 0;
  margin: 0;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;  
  border-top-left-radius: 6px;  
  border-top-right-radius: 6px;    
}
#map-drawer-body {
  padding: 0;
  overflow: hidden;
  width: 95%;
  height: 95%;
  margin: 0 auto;
}

#map-popup {
  height: 300px;
  width: 480px;
  min-width: 420px;
  min-height: 35px; 
  background: #ffffff url(/images/navdrawer_downgradient.png) left bottom repeat-x;
  border: 1px solid #cccccc;
  border-top: none; */
  overflow: hidden;  
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;  
  border-bottom-left-radius: 8px;  
  border-bottom-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;  
  border-top-left-radius: 8px;  
  border-top-right-radius: 8px; */
  position: absolute;
  top: 110px;
  left: 300px;
  z-index: 9;
  opacity: .92;
  -moz-opacity: .92;
}
#map-popup-header {
  height: 20px;
  background: url(/images/navdrawer_topshadow.png) left top repeat-x;
  padding: 0;
  margin: 0;
  -moz-border-radius-topleft: 6px;
  -moz-border-radius-topright: 6px;  
  border-top-left-radius: 6px;  
  border-top-right-radius: 6px;
  cursor: move;
}
#map-popup-body {
  padding: 0 8px 4px 8px;
  overflow: hidden;
  width: 97%;
  height: 96%;
  margin: 0 auto;
}
#map-flyout {
  background: url(/images/bg-grey-trans.png) repeat;
  padding: 6px;
  -moz-border-radius: 10px;  
  border-radius: 10px;
  z-index: 9;
  position: absolute;
  width: 640px;
  height: 480px;
  min-width: 640px;
  min-height: 300px;
  position: absolute;
  top: 110px;
  left: 300px;
  z-index: 9;
  opacity: 1;
  -moz-opacity: 1;  
}
#map-flyout-header {
  height: 8%;
  width: 100%;
  border-bottom: 1px dotted #cccccc;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;  
  border-top-left-radius: 8px;  
  border-top-right-radius: 8px;
  cursor: move;
  background: #ffffff;
}
#map-flyout-header .close {
  margin: 6px 6px 0 0;
  background: url(/images/icon_close_large_map.png) top left no-repeat;
}
#map-flyout-header .close:hover {
  background-position: left -16px;
}
#map-flyout-body {
  background: #ffffff;
  padding: 0 1%;
  overflow: hidden;
  width: 98%;
  height: 92%;
  margin: 0;
  -moz-border-radius-bottomleft: 8px;
  -moz-border-radius-bottomright: 8px;  
  border-bottom-left-radius: 8px;  
  border-bottom-right-radius: 8px;  
}
#map-widget {
  clear: both;
	/*width: 930px;
	min-height: 530px;*/
	width: 100%;
	height: 90%;
	overflow: hidden;
	text-align: left;
	background: none;
	padding: 10px 0 0 0;
  margin: 0 auto;
  font-size: .8em!important;
}
#map1 {
  /*height: 500px;
  width: 100%;*/
  width: 100%;
  height: 100%;
  -moz-border-radius: 6px;
  border-radius: 6px;
  position: relative;
}
#map-widget label {
	float: left;
	margin: 3px 5px 5px 0;
}
#map-controls a {
  line-height: 1.4em;
}
/* Map Controls and Edit Buttons */

#map-controls {
  height: 35px;
}
ul#map-pan-control, ul#map-edit-controls, ul#poly-edit-controls {
  float: left;
  width: 40px;
  list-style: none;
  position: relative;
}
ul#map-pan-control li, ul#map-edit-controls li, ul#poly-edit-controls li {
  float: left;
	margin: 0;
	overflow: hidden;
	padding-top: 2px;
	height: 20px;
}
ul#map-pan-control {
  padding: 3px 0;
}
ul#map-edit-controls, ul#poly-edit-controls {
  width: 0;
  height: 24px;
  padding: 3px 0;
  border: 1px solid #ffffff;
  margin-bottom: 10px;
}
ul#poly-edit-controls {
  width: 335px;
}
ul#map-edit-controls li a, ul#poly-edit-controls li a {
  line-height: 1.6em;
  color: #999999;
}
ul#map-edit-controls.active, ul#poly-edit-controls.active {
  border: 1px solid #999999;
}
ul#map-edit-controls.active li, ul#poly-edit-controls.active li {
  border-right: 1px solid #999999;
  height: 23px;
  text-align: center;
}
ul#map-edit-controls li:first-child, ul#map-edit-controls li:last-child,
  ul#poly-edit-controls li:last-child {
  border-right: none;
}
ul#map-edit-controls li#draw-mode {
  width: 150px;
  text-align: left;
}
.map-btn {
	background: none;
	font-weight: bold;
	font-size: 1em!important;
	font-family: Arial, Helvetica, sans-serif;
	padding: 3px 10px;
}
#save-btn:hover, #save-edits-btn:hover {
  color: #cc0000;
}
#reset-btn:hover, #delete-point-btn:hover,
  #cancel-edits-btn:hover, #delete-poly-btn:hover {
  color: #0066cc;
}
#edit-mode-select {
  padding: 2px;
  margin-top: -2px;
  width: 140px;
}
#fill-toggle {
  padding: 0 0 0 8px;
  width: 132px;
  font-size: .7em!important;
  overflow: hidden;
}
#polyline, #polyfill {
  float: left;
  padding-left: 18px;
  padding-right: 12px;
  color: #333333;
  margin-top: 4px;
}
#polyline {
  background: url(/images/icon_map_select_drawperimeter.png) left center no-repeat;
}
#polyfill {
  background: url(/images/icon_map_select_drawarea.png) left center no-repeat;
}
#polyfill.active, #polyline.active {
   color: #ffaa03;
}
#map-focus-controls {
  width: 350px;
  float: right;
  overflow: hidden;
}
#map-focus-controls a, #map-focus-controls label {
  float: right;
}
#map-focus-controls label.left {
  float: left;
}
#map-focus-controls span {
  float: left;
  margin-top: 8px;
  height: 38px;
}
#address-search {
  float: right;
  width: 270px;
}
#address-search label, #property-select label {
  clear: none!important;
  font-size: 1em;
  font-weight: bold;
  padding-top: 6px;
}
#address-search input {
  height: 20px;
  width: 180px;
  margin-top: 0;
  margin-bottom: 0;  
  padding-top: 6px;
  padding-bottom: 4px;
}
#address-search a {
  height: 20px;
  margin-top: 0;
  background-position: 5px 7px;
}
#property-select {
  width: 280px;
  float: right;
}
#property-select select {
  padding: 6px 2px 2px 2px;
  width: 210px!important;
  float: right;
  border: 1px solid #cccccc;
  font-size: 1em;
  height: 32px!important;
  margin-bottom: 0!important;
}
#property-select select option {
  padding: 6px;
  height: 19px;
}
#focus-toggle {
  float: right;
  padding: 10px 10px;
  margin: 6px 0 0 10px;
  background: url(/images/icon_list_view.png) center center no-repeat;
}
#focus-toggle.show-address {
  background: url(/images/icon_map_address_search.png) center center no-repeat;
}
#focus-toggle.show-property {
  background: url(/images/icon_list_view.png) center center no-repeat;
}
#map-widget .help-btn {
  margin: 6px 0 0 6px;
}

/* Map UI Images */

#pan-btn {
  padding: 1px 9px;
  background: url(/images/icon_map_hand.png) no-repeat;
  background-position: 0 -17px;
  margin-right: 15px;
}
#pan-btn.disabled {
  background-position: 0 1px;
}
#pan-btn.disabled:hover {
  background-position: 0 -17px;
}
#draw-btn {
  padding: 2px 9px 2px 15px;
  background-position: 6px center;
  background-repeat: no-repeat;
}
#draw-btn.disabled {
  background-image: url(/images/icon_map_drawtool.png);
}
#draw-mode-select {
  line-height: 1.4em!important;
  display: block;
  width: 136px;
  padding: 1px 0 0 5px;
  background: url(/images/icon_sort_plus.png) right 5px no-repeat;
}
/* Info Windows */

.map-info-window {
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-size: 1em;
}
.map-info-window h2 {
  margin-bottom: 9px;
  color: #339966;
}
.map-info-window .thumbnail {
  width: 80px;
  border: 1px solid #cccccc;
  float: left;
  margin-right: 15px;
}
.map-info-window .summary {
  margin: 10px 0;
  line-height: 1.4em;
  float: left;
  font-size: .9em;
}
.map-info-window .links {
  clear: both;
  line-height: 1.8em;
  font-size: .9em;
  padding: 0;
}
.map-info-window .edit-poly, .map-info-window .edit-details {
  background: url(/images/icon_map_drawraisedbed.png) left center no-repeat;
  padding-left: 20px;
}
.map-info-window .delete-poly {
  background: url(/images/icon_mainnav_drwrclose.png) left center no-repeat;
  padding-left: 20px;
}
.map-info-window .goto-places {
  background: url(/images/icon_arrow_redirect.png) left center no-repeat;
  padding-left: 20px;
}
.map-info-window span.title {
  font-size: 1em;
  font-weight: bold;
  color: #999999;
}
.map-info-window span.heading {
  color: #ffaa03;
  padding-right: 8px;
}

/* FLYOUTS */
#flyout-draw-btn {
  top: -7px;
  left: -10px;
  min-width: 110px!important;
  width: 180px;
}
#flyout-draw-btn .flyout-header {
  min-width: 98px!important;
  width: 140px;
}
#flyout-draw-btn li a {
  font-weight: bold;
  padding-left: 25px;
  background-repeat: no-repeat;
}
#flyout-draw-btn .flyout-header {
  background: url(/images/icon_map_drawtool.png) 10px center no-repeat;
  padding-left: 35px;
}

/* Form styling */

.quicksave .form-body {
  border-top: none;
}
