/*
 #olControlOverviewMapMaximizeButton {
    background: none repeat scroll 0 0 #4E6476;
}
#olControlOverviewMapMaximizeButton_innerImage {
    display: none;
}
.olControlOverviewMapContainer {
    border: 2px solid #4E6476;
    bottom: 0;
    position: absolute;
    right: 0;
    border-bottom: 0;
    border-right: 0;
    border-radius: 4px;
}
.olControlOverviewMapMinimizeButton {
    position:  absolute;
    top: 0px;
    background: #4E6476;
    z-index: 999;
    cursor: pointer;
    border-radius: 0 0 4px 0;
}
*/

div.olMap {
    z-index: 0;
    padding: 0px!important;
    margin: 0px!important;
    cursor: default;
}

div.olMapViewport {
    text-align: left;
}

div.olLayerDiv {
   -moz-user-select: none;
}

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: 80%;
    background-color:#ffffff;
    opacity:0.5;
    filter:Alpha(opacity=50); /* IE8 and earlier */
    right: 3px; 
    bottom: 8px; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   display: block;
   position: absolute;
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}

@media screen
 {
    #npmb-scalebar .olControlScaleLineTop, 
    #npmb-scalebar .olControlScaleLineBottom {
        border-color: #cccccc;
        height: 12px;
    }
    .olControlScaleLineBottom {
       border: solid 2px black;
       border-bottom: none;
       margin-top:-2px;
       text-align: center;
    }
    .olControlScaleLineTop {
       border: solid 2px black;
       border-top: none;
       text-align: center;
    }
}

@media print
 {
    #npmb-scalebar .olControlScaleLineTop, 
    #npmb-scalebar .olControlScaleLineBottom {
        border-color: black;
        height: 12px;
    }
 }

.olControlPermalink {
    right: 3px;
    bottom: 1.5em;
    display: block;
    position: absolute;
    font-size: smaller;
} 

div.olControlMousePosition {
    bottom: 0em;
    right: 3px;
    display: block;
    position: absolute;
    font-family: Arial;
    font-size: smaller;
}

.olControlOverviewMapContainer {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.olControlOverviewMapElement {
    padding: 3px 0 0 3px !important;
    background-color: #4E6476 !important;
    -moz-border-radius: 5px 0 0 0 !important;
    border-radius: 5px 0 0 0 !important;
}

.olControlOverviewMapMinimizeButton {
    right: 158px !important;
    bottom: 68px !important;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 5px 0 ;
    cursor: pointer;
    background: #4E6476 url('http://maps.nationalparks.gov.uk/resources/images/npmb-icons.png') 7px -54px;
    width: 25px !important;
    height: 25px !important;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 0px !important;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 0 0;
    cursor: pointer;
    background: #4E6476 url('http://maps.nationalparks.gov.uk/resources/images/npmb-icons.png') 27px -54px;
    width: 25px !important;
    height: 25px !important;
}
.olControlOverviewMapMaximizeButton:hover {
    background-color: #597586 !important;
    background-position:  27px -74px;
}
.olControlOverviewMapMinimizeButton:hover {
    background-color: #597586 !important;
    background-position:  7px -74px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("http://maps.nationalparks.gov.uk/img/blank.gif");
    cursor: move;
    border: 2px dotted #333 !important;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("http://maps.nationalparks.gov.uk/img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olLayerGeoRSSDescription {
    float:left;
    width:100%;
    overflow:auto;
    font-size:1.0em;
}
.olLayerGeoRSSClose {
    float:right;
    color:gray;
    font-size:1.2em;
    margin-right:6px;
    font-family:sans-serif;
}
.olLayerGeoRSSTitle {
    float:left;font-size:1.2em;
}

.olPopupContent {
    padding:5px;
    overflow: auto;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("http://maps.nationalparks.gov.uk/img/navigation_history.png");
   background-repeat: no-repeat;
   width:  24px;
   height: 24px;

}
.olControlNavigationHistoryPreviousItemActive { 
  background-position: 0px 0px;
}
.olControlNavigationHistoryPreviousItemInactive { 
   background-position: 0px -24px;
}
.olControlNavigationHistoryNextItemActive { 
   background-position: -24px 0px;
}
.olControlNavigationHistoryNextItemInactive { 
   background-position: -24px -24px;
}

.olControlNavToolbar .olControlNavigationItemActive { 
  background-image: url("http://maps.nationalparks.gov.uk/resources/images/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("http://maps.nationalparks.gov.uk/resources/images/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("http://maps.nationalparks.gov.uk/img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("http://maps.nationalparks.gov.uk/img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("http://maps.nationalparks.gov.uk/img/editing_tool_bar.png");
  background-repeat: no-repeat;
  float:right;
  width:  24px;
  height: 24px;
  margin: 5px;
}
.olControlEditingToolbar .olControlNavigationItemActive { 
  background-position: -103px -23px; 
}
.olControlEditingToolbar .olControlNavigationItemInactive { 
  background-position: -103px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive { 
  background-position: -77px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive { 
  background-position: -77px -0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive { 
  background-position: -51px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive { 
  background-position: -51px -23px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-position: -26px 0px; 
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive { 
  background-position: -26px -23px ;                                                                   
}
div.olControlSaveFeaturesItemActive { 
    background-image: url(http://maps.nationalparks.gov.uk/img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
div.olControlSaveFeaturesItemInactive { 
    background-image: url(http://maps.nationalparks.gov.uk/img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid #155779 !important;
    position: absolute;
    background-color: white;
    opacity: 0.50 !important;
    font-size: 1px;
    filter: alpha(opacity=50);
}
.olHandlerBoxSelectFeature {
    border: 2px solid blue;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    font-size: 1px;
    filter: alpha(opacity=50);
}   

.olControlPanPanel {
    top: 10px;
    left: 5px;
}  

.olControlPanPanel div {
    background-image: url(http://maps.nationalparks.gov.uk/img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

.olControlPanPanel .olControlPanNorthItemInactive {
    top: 0px;
    left: 9px;
    background-position: 0px 0px;
    border: 10px solid lime;
}
.olControlPanPanel .olControlPanSouthItemInactive {
    top: 36px;
    left: 9px;
    background-position: 18px 0px;
}
.olControlPanPanel .olControlPanWestItemInactive {
    position: absolute;
    top: 18px;
    left: 0px;
    background-position: 0px 18px;
}
.olControlPanPanel .olControlPanEastItemInactive {
    top: 18px;
    left: 18px;
    background-position: 18px 18px;
}

.olControlZoomPanel {
    top: 71px;
    left: 14px;
} 

.olControlZoomPanel div {
    background-image: url(http://maps.nationalparks.gov.uk/resources/images/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

.olControlZoomPanel .olControlZoomInItemInactive {
    top: 0px;
    left: 0px;
    background-position: 0px 0px;
}

.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
    top: 18px;
    left: 0px;
    background-position: 0px -18px;
}

.olControlZoomPanel .olControlZoomOutItemInactive {
    top: 36px;
    left: 0px;
    background-position: 0px 18px;
}

.olPopupCloseBox {
  background: url("http://maps.nationalparks.gov.uk/resources/images/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

.olImageLoadError {
    background-color: pink;
    opacity: 0.5;
    filter: alpha(opacity=50); /* IE */
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

/**
 * Layer switcher
 */
.olControlLayerSwitcher {
    position: absolute;
    top: 25px;
    right: 0px;
    width: 20em;
    font-family: sans-serif;
    font-weight: bold;
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
    font-size: smaller;
    color: white;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv {
    padding-top: 5px;
    padding-left: 10px;
    padding-bottom: 5px;
    padding-right: 75px;
    background-color: darkblue;
    width: 100%;
    height: 100%;
}

.olControlLayerSwitcher .layersDiv .baseLbl,
.olControlLayerSwitcher .layersDiv .dataLbl {
    margin-top: 3px;
    margin-left: 3px;
    margin-bottom: 3px;
}

.olControlLayerSwitcher .layersDiv .baseLayersDiv,
.olControlLayerSwitcher .layersDiv .dataLayersDiv {
    padding-left: 10px;
}

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv {
    top: 5px;
    right: 0px;
}


/* ################################### */
#anpa_panright img,
#anpa_panleft img,
#anpa_pandown img,
#anpa_panup img,
#anpa_zoomin img,
#anpa_zoomout img,
#olControlOverviewMapMaximizeButton_innerImage,
#OpenLayers_Control_minimizeDiv_innerImage,
#anpa_OpenLayers\.Map_6 img,
#anpa_OpenLayers\.Map_7_innerImage {
    display: none;
}

@media screen
 {
  
#anpa_panright {
    left: 31px !important;
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/pan-right.png') no-repeat;
}
#anpa_panright:hover {
    background-position: 0px -18px;
}

#anpa_panleft {
    left: -5px !important;
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/pan-left.png') no-repeat 6px 0px;
}
#anpa_panleft:hover {
    background-position: 6px -18px;
}

#anpa_panup {
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/pan-up.png') no-repeat 0px 6px;
    z-index: 4;
}
#anpa_panup:hover {
    background-position: 0px -14px;
}

#anpa_pandown {
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/pan-down.png') no-repeat;
}
#anpa_pandown:hover {
    background-position: 0px -20px;
}


#anpa_zoomin {
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/zoom-plus-mini-sprite.png') no-repeat;
}
#anpa_zoomin:hover {
    background-position: 0px -18px;
}

#anpa_zoomout {
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/zoom-minus-mini-sprite.png') no-repeat;
}
#anpa_zoomout:hover {
    background-position: 0px -20px;
}

#anpa_OpenLayers\.Map_7 {
    background: transparent url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/slider-sprite.png') no-repeat;
}
#anpa_OpenLayers\.Map_7:hover {
    background-position: 0px -10px;
    cursor: ns-resize;
}

#OpenLayers_Control_PanZoomBar_ZoombarOpenLayers\.Map_7 {
    background-image: url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/zoombar.png') !important;
}

#npmb-panzoom-centre {
    width: 20px;
    height: 20px;
    background: url('http://www.yorkshiredales.org.uk/_media/north-york-moors/map-icons/mapcontrols/ol-controls.png') no-repeat -12px -11px;
    position: absolute;
    top: 24px;
    left: 16px; 
    cursor: auto;
}
.olControlPanZoomBar { 
    cursor: pointer;
}


.olPopupCloseBox {
	margin: 0 0 0 5px;
	border: 1px solid #000;
}


}