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

div.olMapViewport {
    text-align: left;
}

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

.olLayerGoogleCopyright {
    left: 2px;
    bottom: 2px;  
}
.olLayerGooglePoweredBy {
    left: 2px;
    bottom: 15px;   
}
.olControlAttribution {
    font-size: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
	left: 20px;
    bottom: 0px;
	width:100%;
	padding: 2px;
    display: block;
    position: absolute;
    font-family: Verdana;
    font-size: 8pt;
    font-weight: bold;
	color:#9F9F9F;
    /*background-color: #FFFFFF;*/
	/*border:0px solid #cccccc;
    opacity: 0.70;
    filter: alpha(opacity=70);*/
}
.olControlScaleLine {
   left: 10px;
   bottom: 3px;
   font-size: xx-small;
}

/* barra de milles*/
.olControlScaleLineBottom {
	display:none;
   border: solid 2px black;
   border-bottom: none;
   margin-top:-2px;
   text-align: center;
}
.olControlScaleLineTop {
	background-color: #dddddd;
   border: solid 2px black;
   border-top: none;
   text-align: center;
   font-family: Arial;
}

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

/* coordenades del mouse */
div.olControlMousePosition {
    /*left: 0px;
    bottom: 0px;
	width:100%;*/
    left: 290px;
    bottom: 0px;
	width:auto;
	padding: 2px;
	text-align: center;
    display: block;
    position: absolute;
    font-family: Verdana;
    font-size: 8pt;
	color:#9F9F9F;

}
/* coordenades del mouse */
div.olControlNGMeasureInfo {
    /*left: 0px;
    bottom: 0px;
	width:100%;*/
    left: 200px;
    top: 20px;
	width:auto;
	padding: 2px;
	text-align: center;
    display: block;
    position: absolute;
    font-family: Verdana;
    font-size: 9pt;
    background-color: #FFFFFF;
	border:1px solid #cccccc;
    opacity: 0.70;
    filter: alpha(opacity=70);
}

/* coordenades del mouse */
div.olControlNGEmptyControl {
    /*left: 0px;
    bottom: 0px;
	width:100%;*/
    left: 0px;
    bottom: 0px;
	width:100%;
	height:20px;
	padding: 0px;
	text-align: center;
    display: block;
    position: absolute;
    font-family: Verdana;
    font-size: 9pt;
    background-color: #ffffff;
	border:0px solid #cccccc;
    opacity: 0.70;
    filter: alpha(opacity=70);
}

.olControlCustomOverviewMapContainer {
    position: absolute;
    bottom: -2px;
    right: -2px;
	border: 1px solid #BFBEBF;
}

.olControlCustomOverviewMapElement {
    padding: 7px 7px 7px 7px;
    background-color: #E3E3E3;
    /*-moz-border-radius: 1em 0 0 0;*/
}

.olControlCustomOverviewMapElement .olMap {
	border:1px solid #999;
}

.olControlCustomOverviewMapMinimizeButton {
    left: -1px;
    top: -1px;
	cursor:pointer;
}    

.olControlCustomOverviewMapMaximizeButton {
    right: 1px;
    bottom: 1px;
	cursor:pointer;
}

.olControlCustomOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("img/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlCustomOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("img/overview_replacement.gif");
    background-repeat: no-repeat;
    background-position: center;
}

.olControlButtonItemInactive {
/*	cursor: pointer;
	width:24px;
	height:24px;*/
	font:10px "Verdana";color:#a51d42;font-weight:bold;
}

.olControlButtonItemActive {
	cursor: pointer;
	width:24px;
	height:23px;
}


.olControlOverviewMapContainer {
    position: absolute;
    bottom: -2px;
    right: -2px;
	border: 1px solid #BFBEBF;
}

.olControlOverviewMapElement {
    padding: 7px 7px 7px 7px;
    background-color: #E3E3E3;
    /*-moz-border-radius: 1em 0 0 0;*/
}

.olControlOverviewMapElement .olMap {
	border:1px solid #999999;
}

.olControlOverviewMapMinimizeButton {
    right: 143px;
    bottom: 103px;
	cursor:pointer;
}    

.olControlOverviewMapMaximizeButton {
    right: 1px;
    bottom: 1px;
	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;
}

.olPopup {
    opacity: 0.80;
    filter: alpha(opacity=80);
}

.olPopupContent {
    padding:3px;
    overflow: auto;
	background: #E6E6E6;
	font-family:Verdana;
	font-size: small;
}    
.olControlNavToolbar { 
    width:0px;
    height:0px;
}    
.olControlNavToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  top: 300px;
  left: 6px;
  position: relative;
}

.olControlNavigationHistory {
   background-image: url("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("img/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("img/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("img/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("img/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("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 ;                                                                   
}
.olControlSaveFeaturesItemActive { 
    background-image: url(img/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(img/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}

.olHandlerBoxZoomBox {
    border: 2px solid red;
    position: absolute;
    background-color: white;
	font-size: 1px;
    opacity: 0.50;
    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: 0px;
    left: 9px;
    background-position: 0px 0px;
}
.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(img/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("../../img/btclose.gif") no-repeat;
  cursor: pointer;
}

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

/* botons de pan i de canvi d'escala */
div.olControlPanZoomBar {
	margin-top:30px;
}

/* coordenades del mouse */
div.olControlNGButtonSwitcher {
    /*left: 0px;
    bottom: 0px;
	width:100%;*/
    right: 10px;
    top: 10px;
	width:auto;
	padding: 0px;
	text-align: center;
    display: block;
    position: absolute;
    font-family: Verdana;
    font-size: 9pt;
    /*background-color: red;*/
	border:0px solid #cccccc;
/*    opacity: 0.50;
    filter: alpha(opacity=50);*/

}

/* outer black box  */
div.olControlNGButtonSwitcher div {
	float:left;
	border: 1px solid #000000;
	margin:1px;
	cursor: pointer;
	margin-top: 30px;
}

/* inner box */
div.olControlNGButtonSwitcher span {
	display: block;
	width: 80px;
	border-top: 1px solid #FFFFFF;
	border-bottom: 1px solid #B0B0B0;
	border-left: 1px solid #FFFFFF;
	border-right: 1px solid #B0B0B0;
	background: #ffffff;
	color: #111111;
	padding: 0px;
}

div.olControlNGButtonSwitcher span.on {	
	border: 1px solid #000000;
	color: #ff0000;
}

/* afegit de theme/default/framedCloud.css */
.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
	font-family: Verdana;
    font-size: 8pt;
	
}

/*
.olControlSelectionToolbar { 
    width:auto;
    height:0px;
}    
.olControlSelectionToolbar div { 
  display:block;
  width:  28px;
  height: 28px;
  position: relative;
  float:left;
}

.olControlSelectionToolbar .olControlClearButtonItemInactive { 
 background-image: url("http://www.microimages.com/ogc/newtntmap/openlayers/theme/default/img/remove_shape.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
} 

.olControlSelectionToolbar .olControlEditBoxItemInactive { 
  background-image: url("http://www.microimages.com/ogc/newtntmap/images/ed_shape.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
} 

.olControlSelectionToolbar .olControlDrawFeaturePolygonItemInactive { 
  background-image: url("img/select_shape.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
  
}
.olControlSelectionToolbar .olControlDrawFeaturePolygonItemActive { 
  background-image: url("img/select_shape_on.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
 
}
.olControlSelectionToolbar .olControlBoxItemInactive { 
  background-image: url("img/select_box.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
  
}
.olControlSelectionToolbar .olControlBoxItemActive { 
  background-image: url("img/select_box_on.png");
  background-repeat: no-repeat;
  background-position: 0px 0px; 
   
}
*/