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

div.olMapViewport {
    text-align: left;
    -ms-touch-action: none;
}

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

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;
}
.olLayerGoogleV3.olLayerGoogleCopyright {
    right: auto !important;
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;
}
.olLayerGoogleV3.olLayerGooglePoweredBy {
    bottom: 15px !important;
}
/* GMaps should not set styles on its container */
.olForeignContainer {
    opacity: 1 !important;
}
.olControlAttribution {
    font-size: smaller;
    right: 3px;
    bottom: 4.5em;
    position: absolute;
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
}
.olControlScaleLine {
	display: block;
	position: absolute;
	left: 10px;
	bottom: 15px;
	/*font-size: xx-small;*/
	font-size: 10px;
	font-weight: bolder;
}
.olControlScaleLineBottom {
	border: solid 2px black;
	border-bottom: none;
	margin-top:-2px;
	text-align: center;
	background-color: #fff;
	opacity: .80;
    filter: alpha(opacity=80);
    -moz-opacity: .80;
}
.olControlScaleLineTop {
	border: solid 2px black;
	border-top: none;
	text-align: center;
	background-color: #fff;	
	opacity: .80;
    filter: alpha(opacity=80);
    -moz-opacity: .80;
}

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

div.olControlMousePosition {
    bottom: 8px;
    left: 8px;
    display: block;
    position: absolute;
	padding: 0.125em 0.25em;
	border-radius: 4px;
    font-family: Arial;
    /*font-size: smaller;*/
	font-size: 10px;
	font-weight: bolder;
	background-color: #fff;
	opacity: .80;
    filter: alpha(opacity=80);
    -moz-opacity: .80;
}

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

.olControlOverviewMapElement {
    padding: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton,
.olControlOverviewMapMaximizeButton {
    height: 18px;
    width: 18px;
    right: 0;
    bottom: 80px;
    cursor: pointer;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("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;
}

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

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

div.olControlSaveFeaturesItemActive {
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}
div.olControlSaveFeaturesItemInactive {
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
    opacity: 0.50;
    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(img/pan-panel.png);
    height: 18px;
    width: 18px;
    cursor: pointer;
    position: absolute;
}

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

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

.olControlZoomPanel div {
    background-image: url(img/zoom-panel.png);
    position: absolute;
    height: 18px;
    width: 18px;
    cursor: pointer;
}

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

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

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

/*
 * When a potential text is bigger than the image it move the image
 * with some headers (closes #3154)
 */
.olControlPanZoomBar div {
    font-size: 1px;
}

.olPopupCloseBox {
  background: url("img/close.gif") no-repeat;
  cursor: pointer;
}

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

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

.olImageLoadError {
    background-color: pink;
    opacity: 0.5 !important;
    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,
.olControlMobileLayerSwitcher,
.olControlGCLegendLayerSwitcher {
    position: absolute;
    top: 8px;
    right: 41px;
/*    width: 20em;*/
    font-family: sans-serif;
    font-weight: bold;
    font-size: smaller;
    color: #4C4C4C;
    background-color: transparent;
}

.olControlLayerSwitcher .layersDiv,
.olControlMobileLayerSwitcher .layersDiv,
.olControlGCLegendLayerSwitcher .layersDiv {
	position: relative;
	right: 0;
	height: 100%;
    padding: 5px;
	border-radius: 7px 0 7px 7px;
	border: none;
	background: #ffffff;	/* IE7 fallback */
	background: rgba(255, 255, 255, 0.8);
}

.olControlGCLegendLayerSwitcher .layersDivWithScroll {
	overflow: auto;
}

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

.olControlLayerSwitcher .layersDiv .dataLayersDiv .labelSpan,
.olControlLayerSwitcher .layersDiv .baseLayersDiv .labelSpan, 
.olControlMobileLayerSwitcher .layersDiv .dataLayersDiv .labelSpan,
.olControlMobileLayerSwitcher .layersDiv .baseLayersDiv .labelSpan, 
.olControlGCLegendLayerSwitcher .layersDiv .dataLayersDiv .labelSpan,
.olControlGCLegendLayerSwitcher .layersDiv .baseLayersDiv .labelSpan {
    padding-left: 3px;
}

.olControlLayerSwitcher .layersDiv .dataLayersDiv .olButton,
.olControlLayerSwitcher .layersDiv .baseLayersDiv .olButton, 
.olControlMobileLayerSwitcher .layersDiv .dataLayersDiv .olButton,
.olControlMobileLayerSwitcher .layersDiv .baseLayersDiv .olButton, 
.olControlGCLegendLayerSwitcher .layersDiv .dataLayersDiv .olButton,
.olControlGCLegendLayerSwitcher .layersDiv .baseLayersDiv .olButton {
    margin-top: 3px;
}

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

.olControlLayerSwitcher .maximizeDiv,
.olControlLayerSwitcher .minimizeDiv,
.olControlMobileLayerSwitcher .maximizeDiv,
.olControlMobileLayerSwitcher .minimizeDiv,
.olControlGCLegendLayerSwitcher .maximizeDiv,
.olControlGCLegendLayerSwitcher .minimizeDiv {
    width: 18px;
    height: 18px;
    top: 5px;
    right: 0;
    cursor: pointer;
}

.olControlGCLegendLayerSwitcher .legendImg {
	margin-left: 18px;
	margin-top: 2px;
}

.olBingAttribution {
    color: #DDD;
}
.olBingAttribution.road {
    color: #333;
}

.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
    color: #EEE;
}
.olGoogleAttribution {
    color: #333;
}
span.olGoogleAttribution a {
    color: #77C;
}
span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
    color: #EEE;
}

/**
 * Editing and navigation icons.
 * (using the editing_tool_bar.png sprint image)
 */
.olControlNavToolbar ,
.olControlEditingToolbar {
    margin: 5px 5px 0 0;
}
.olControlNavToolbar div,
.olControlEditingToolbar div {
    background-image: url("img/editing_tool_bar.png");
    background-repeat: no-repeat;
    margin: 0 0 5px 5px;
    width: 24px;
    height: 22px;
    cursor: pointer
}
/* positions */
.olControlEditingToolbar {
    right: 0;
    top: 0;
}
.olControlNavToolbar {
    top: 295px;
    left: 9px;
}
/* layouts */
.olControlEditingToolbar div {
    float: right;
}
/* individual controls */
.olControlNavToolbar .olControlNavigationItemInactive,
.olControlEditingToolbar .olControlNavigationItemInactive {
    background-position: -103px -1px;
}
.olControlNavToolbar .olControlNavigationItemActive ,
.olControlEditingToolbar .olControlNavigationItemActive  {
    background-position: -103px -24px;
}
.olControlNavToolbar .olControlZoomBoxItemInactive,
.olControlEditingToolbar .olControlZoomBoxItemInactive{
    background-position: -128px -1px;
}
.olControlNavToolbar .olControlZoomBoxItemActive,
.olControlEditingToolbar .olControlZoomBoxItemActive {
    background-position: -128px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePointItemInactive {
    /*background-position: -77px -1px;*/
    background-image: url(img/draw_point_off.png);
}
.olControlEditingToolbar .olControlDrawFeaturePointItemActive {
    /*background-position: -77px -24px;*/
    background-image: url(img/draw_point_on.png);
}
.olControlEditingToolbar .olControlDrawFeaturePathItemInactive {
    background-position: -51px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePathItemActive {
    background-position: -51px -24px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemInactive{
    background-position: -26px -1px;
}
.olControlEditingToolbar .olControlDrawFeaturePolygonItemActive {
    background-position: -26px -24px;
}
.olControlEditingToolbar .olControlDrawFeatureRectangleItemInactive {
    background-image: url(img/draw_rectangle_off.png);
}
.olControlEditingToolbar .olControlDrawFeatureRectangleItemActive {
    background-image: url(img/draw_rectangle_on.png);
}
.olControlEditingToolbar .olControlDrawFeatureCircleItemInactive {
    background-image: url(img/draw_circle_off.png);
}
.olControlEditingToolbar .olControlDrawFeatureCircleItemActive {
    background-image: url(img/draw_circle_on.png);
}
.olControlEditingToolbar .olControlDragFeatureItemActive { 
  background-position: -1px -24px;
}
.olControlEditingToolbar .olControlDragFeatureItemInactive { 
  background-position: -1px -1px;
}
.olControlEditingToolbar .olControlModifyFeatureItemActive {
  background-position: -77px -24px;
}
.olControlEditingToolbar .olControlModifyFeatureItemInactive {
  background-position: -77px -1px;
}
.olControlEditingToolbar .olControlRemoveFeatureItemInactive {
  background-image: url(img/delete_off.png);
}
.olControlEditingToolbar .olControlRemoveFeatureItemActive {
  background-image: url(img/delete_on.png);
}
div.olControlZoom {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #fff;	/* IE7 fallback */
    background: rgba(255,255,255,0.4);
    border-radius: 7px;
    padding: 2px;
}
div.olControlZoom a {
    display: block;
    margin: 1px;
    padding: 0.0625em 0.2em 0.15em;
    color: white;
    font-size: 18px;
    font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    line-height: 19px;
    background: #64727d; /* fallback for IE - IE6 requires background shorthand*/
    background: rgba(91, 104, 115, 0.8);
    filter: alpha(opacity=80);
}
div.olControlZoom a:hover {
    background: #515c66; /* fallback for IE */
    background: rgba(91, 104, 115, 1);
    filter: alpha(opacity=100);
}
/*@media only screen and (max-width: 600px) {
    div.olControlZoom a:hover {
        background: rgba(91, 104, 115, 0.6);
    }
}*/
a.olControlZoomIn {
    border-radius: 4px 4px 0 0;
}
a.olControlZoomOut {
    border-radius: 0 0 4px 4px;
}


/**
 * Animations
 */

.olLayerGrid .olTileImage {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

/* Turn on GPU support where available */
.olTileImage {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -o-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    perspective: 1000;
}

/* when replacing tiles, do not show tile and backbuffer at the same time */
.olTileReplacing {
    display: none;
}

/* override any max-width image settings (e.g. bootstrap.css) */
img.olTileImage {
    max-width: none;
}

/* style MobileLayerSwitcher */
.olControlMobileLayerSwitcher,
.olControlGCLegendLayerSwitcher {
	top: 33px;
	height: 320px;
	max-height: 80%;
	border-radius: 4px;
	color: inherit;
}

.olControlMobileLayerSwitcher .layersDivContent,
.olControlGCLegendLayerSwitcher .layersDivContent {
	margin-left: 5px;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
	position: relative;
	height: 95%;	/* fallback */
	height: 100%;
}

.olControlMobileLayerSwitcher .layersDivContent ul,
.olControlGCLegendLayerSwitcher .layersDivContent ul {
	margin-top: 6px;
	margin-left: 0;
	padding-left: 0;
	padding-right: 18px;
	list-style-type: none;
	position: relative;
}

.olControlMobileLayerSwitcher li,
.olControlGCLegendLayerSwitcher li {
	position: relative;
}

.olControlMobileLayerSwitcher label,
.olControlGCLegendLayerSwitcher label {
	position: relative;
	display: block;
}
.olControlMobileLayerSwitcher label input,
.olControlGCLegendLayerSwitcher label input {
	position: absolute;
	z-index: 1;
}
.olControlMobileLayerSwitcher label span,
.olControlGCLegendLayerSwitcher label span {
	display: inline-block;
	position: relative;
	z-index: 2;
	min-height: 18px;
	padding-left: 20px;
	background-image: url("img/clear.gif");
	background-repeat: repeat;
	background-color: transparent;
}

.olControlMobileLayerSwitcherTrigger {
	position: absolute;
    cursor: pointer;
    height: 24px;
    right: 11px;
    top: 36px;
    width: 24px;
	padding: 3px;
/*	border: 3px solid #fff;*/
/*	outline: 3px solid rgba(255, 255, 255, 0.4);*/
	border-radius: 4px;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.4);
	background: url("img/layer-switcher-maximize.png") no-repeat center center #64727d;	/* IE7 fallback */
	background: url("img/layer-switcher-maximize.png") no-repeat center center rgba(91,104,115,0.8);
}
.olControlMobileLayerSwitcherTrigger:active,
.olControlMobileLayerSwitcherTrigger:hover {
	background: url("img/layer-switcher-maximize.png") no-repeat center center #515c66;	/* IE7 fallback */
	background: url("img/layer-switcher-maximize.png") no-repeat center center rgba(91,104,115,1);
}
.olControlMobileLayerSwitcher .btnClose span,
.olControlGCLegendLayerSwitcher .btnClose span,
.olControlMobileLayerSwitcherTrigger span {
	display: none;
}

.olControlMobileLayerSwitcher .divBtnClose,
.olControlGCLegendLayerSwitcher .divBtnClose {
	position: absolute;
	z-index: 1006;
    cursor: pointer;
    height: 30px;
    right: -33px;
    top: 0;
    width: 30px;
	padding: 3px 3px 3px 0;
	border-radius: 0 7px 7px 0;
	background: #ffffff;	/* IE7 fallback */
	background: rgba(255, 255, 255, 0.8);
	color: inherit;
}
.olControlMobileLayerSwitcher .btnClose,
.olControlGCLegendLayerSwitcher .btnClose {
	display: block;
	width: 24px;
	height: 24px;
	padding: 3px;
	border-radius: 4px;
	background-image: url("img/layer-switcher-minimize.png");
	background-repeat: no-repeat;
	background-position: center center;
}
.olControlMobileLayerSwitcher .btnClose:active,
.olControlGCLegendLayerSwitcher .btnClose:active,
.olControlMobileLayerSwitcher .btnClose:hover,
.olControlGCLegendLayerSwitcher .btnClose:hover {
	background: url("img/layer-switcher-minimize_active.png") no-repeat center center #64727d;	/* IE7 fallback */
	background: url("img/layer-switcher-minimize_active.png") no-repeat center center rgba(91,104,115,1);
}