  
  #npmb-map-container {
      width:600px;
      height: 400px;    
      color: #000000;
      border: 2px solid #566953;
      -moz-border-radius: 5px;
      border-radius: 5px;
      font-family: lucida sans, arial, sans-serif;
      position: relative;
      font-size: 8pt;
      line-height: 1;
  }
  
  #npmb-map {
      width: 100%;
      height: 100%;
      position: relative;
  }
  
  
  #npmb-map:hover {
      cursor: url('/resources/images/grab.cur'), auto !important;
  }
  .olDragDown {
      cursor: url('/resources/images/grabbing.cur'), auto !important;
  }
  #npmb-map:active {
      cursor: url('/resources/images/grabbing.cur'), auto !important;
  }
  #npmb-map .olPopup {
      cursor: auto !important;
  }
  
  /* Layer options and map key panel */
  #npmb-key {
      background: #ffffff; 
      width: 250px;
      border: 2px solid;
      border-top: 0;
      border-right: 0;
      position: absolute;
      right: 0px;
      top: 0px;
      padding-bottom: 3px;
      z-index: 9999;
    display: none;
       
  }
  
  #npmb-key-contents {
      height: 85%;
      overflow-y: auto;
  }
  
  #npmb-key.closed {
      display: none;
  }
  
  #npmb-key-close {
      width: 22px;
      height: 18px;
      float: left;
      background: url('http://maps.nationalparks.gov.uk/resources/images/npmb-icons.png') no-repeat 3px 3px;
      margin: 0 5px 0 0;
      cursor: pointer;
  }
  #npmb-key-close:hover {
      background-position: 4px -18px;
  }
  #npmb-key-close:active{
      background-position: 4px -38px;
  }
  
  #npmb-showkey {
      width: 28px;
      height: 28px;
      background: #566953 url('http://maps.nationalparks.gov.uk/resources/images/npmb-icons.png') no-repeat -25px 7px;
      position: absolute;
      top: 0px;
      right: 0px;
      z-index: 9995;
  }
  #npmb-showkey:hover {
      cursor: pointer;
      background-position: -25px -13px;
      background-color: #8FBAAA;
  }
  #npmb-showkey:active{
      cursor: pointer;
      background-position: -25px -33px;
  }
  
  #npmb-key-title {
      background: #566953;
      color: #ccd0d3;
      padding: 5px;
  }
  
  
  .npmb-key-row {
      clear: left;
      margin: 0 0 1px 0;
      padding: 5px;
  }

  .npmb-key-row-double {
      clear: left;
      margin: 0 0 1px 0;
      padding: 10px;
  }
  
  .npmb-key-icon {
      float: left;
      margin: 0 5px 0 0;
  }

  .npmb-key-icon-double {
      float: left;
      margin: 0 5px 0 0;
      padding: 10px;
  }

  .npmb-key-text {
      display: block;
      margin-left: 25px;
      padding-left: 20px;
  }
  
  .npmb-key-text input {
      margin-right: 10px;
      position: relative;
      left: -22px;
      top: 1px;
      margin-right: -17px;
  }
  
  #npmb-map #Popup_contentDiv p {
      margin: 0.3em 0 0.2em 0;
  }
  
  
  
  #npmb-map .popupResult {
      margin-top: 10px;
      border-top: 2px solid #4E6476;
      padding: 5px;
      clear: both;
      position: relative;
      left: -5px;
      margin-right: -9px;
      background: transparent url('http://maps.nationalparks.gov.uk/resources/images/shadow.png') no-repeat;
  }
  
  #npmb-map .popupResult:first-child {
      margin-top: 0;
      padding-top: 0;
      border-top: 0;
      background: none;
  }
  
  .npmb-popupPhoto {
      float: left;
      margin: 0 0 10px 5px;    
      border: 1px solid #555;
  }
  .npmb-fieldTitle {
      width: 150px;
      font-weight: bold;
  }
  
  /* Map tools bar at bottom */
  
  #npmb-map-tools {
      position: absolute;
      bottom: -30px;
      border: 2px solid #566953;
      border-top: 0px;
      -moz-border-radius: 0 0 5px 5px;
      border-radius: 0 0 5px 5px;
      left: -2px;
      background: #566953;
      width: 100%;
      color: #ccd0d3;
      padding: 4px 0px 2px 0px;
  }
  
.content-area #npmp-map-tools form{
Float:right;
Clear:none;
Width:auto;
Margin: 0;
}

  #npmb-gridref,
  #npmb-scalebar {
      float: left;
  }
  
  #npmb-search-container {
      float: right;
      margin: 0 0px 0 0;
  }
  
  #npmb-gridref-output,
  #npmb-search-input,
  #npmb-search-submit {
      font-family: lucida sans, arial, sans-serif;
      border: 1px solid #333;
      padding: 3px;
      -moz-border-radius: 3px;
      border-radius: 3px;
  }
  
  #npmb-scalebar {
      width: 100px;
      height: 17px; 
      margin: -1px 7px 8px 6px;
      font-size: 80%;
  }
  #npmb-scalebar .olControlScaleLineTop, 
  #npmb-scalebar .olControlScaleLineBottom {
      border-color: white;
      height: 12px;
      margin:0px;
      padding: 0px;
  }
  #npmb-scalebar .olControlScaleLineTop {
      padding-bottom: 2px;
  }
  
  #npmb-gridref {
      margin: 3px 10px 8px 5px; 
      position: relative;
      top: 4px;
      width: 250px;
  }
  
  #npmb-gridref-label {
      color: #dddddd;
      font-size: 10.5pt;
  }
  
  #npmb-gridref-output {
      background:#415342;
      width: 140px;
      text-align: center;
      position: absolute;
      top: -4px;
      right: 0px;
      margin: 0 0 0 5px;
      padding: 4px 4px 4px 4px;
  }
  
  #npmb-search-input {
      width: 95px;
  }
  
  input#npmb-search-submit {
      padding: 2px;
      background: #ccd0d3;
      cursor: pointer;
      width: 100px !important;
  }
  
  #npmb-map-container .olPopupCloseBox {
      border: none !important; 
  }
  
  
  #npmb-map-container .olControlAttribution {
      bottom: 7px !important;
      display: block;
      font-size: smaller;
      position: absolute;
      left: 10px !important;
      width: 90%;
  } 
  
  #npmb-map-container .olControlOverviewMap {
      z-index: 9999 !important;
  }

#npmb-key-contents h3 {	
	margin: 8px 5px 5px 5px;

}

.legend-box {

	display:inline-block; 
	width:25px; 
	height:16px;
	border:0px solid #ccc;
	margin-right:5px;
}

.circle {
border: 1px white;
border-radius: 50%
display: inline-block;
}

.npmb-key-row span {
    position: relative;
    top: -5px;
}
.npmb-key-row span.legend-box {
    top: -5px;
}