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: smaller; 
    right: 3px; 
    bottom: 4.5em; 
    position: absolute; 
    display: block;
}
.olControlScale {
    right: 3px;
    bottom: 3em;
    display: block;
    position: absolute;
    font-size: smaller;
}
.olControlScaleLine {
   left: 10px;
   bottom: 15px;
   font-size: xx-small;
}
.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;
}

.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: 10px 18px 10px 10px;
    background-color: #00008B;
    -moz-border-radius: 1em 0 0 0;
}

.olControlOverviewMapMinimizeButton {
    right: 0px;
    bottom: 80px;
}    

.olControlOverviewMapMaximizeButton {
    right: 0px;
    bottom: 80px;
}

.olControlOverviewMapExtentRectangle {
    overflow: hidden;
    background-image: url("/assets/OpenLayers/blank.gif");
    cursor: move;
    border: 2px dotted red;
}
.olControlOverviewMapRectReplacement {
    overflow: hidden;
    cursor: move;
    background-image: url("/assets/OpenLayers/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("/assets/OpenLayers/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("/assets/OpenLayers/panning-hand-on.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlNavigationItemInactive { 
  background-image: url("/assets/OpenLayers/panning-hand-off.png");
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemActive { 
  background-image: url("/assets/OpenLayers/drag-rectangle-on.png");
  background-color: orange;
  background-repeat: no-repeat;
}
.olControlNavToolbar .olControlZoomBoxItemInactive { 
  background-image: url("/assets/OpenLayers/drag-rectangle-off.png");
  background-repeat: no-repeat;
}
.olControlEditingToolbar  {
    float:right;
    right: 0px;
    height: 30px; 
    width: 200px;
}
.olControlEditingToolbar div { 
  background-image: url("/assets/OpenLayers/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(/assets/OpenLayers/save_features_on.png);
    background-repeat: no-repeat;
    background-position: 0px 1px;
}
.olControlSaveFeaturesItemInactive { 
    background-image: url(/assets/OpenLayers/save_features_off.png);
    background-repeat: no-repeat;
    background-position: 0px 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(/assets/OpenLayers/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(/assets/OpenLayers/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("/assets/OpenLayers/close.gif") no-repeat;
  cursor: pointer;
}

.olFramedCloudPopupContent {
    padding: 5px;
    overflow: auto;
}

.olControlNoSelect {
 -moz-user-select: none;
}

/**
 * Cursor styles
 */

.olCursorWait {
    cursor: wait;
}
.olDragDown {
    cursor: move;
}
.olDrawBox {
    cursor: crosshair;
}
.olControlDragFeatureOver {
    cursor: move;
}
.olControlDragFeatureActive.olControlDragFeatureOver.olDragDown {
    cursor: -moz-grabbing;
}

.mapa-layer-switcher {
    width: 85%;
}
.mapa-full {
    height: 100%;
    width: 100%;
}
.mapa-feature-table {
    height: 70%;
}

/* Tamanho do div do mapa */
.mapa_pequeno {
    height: 420px;
    /* width: 348px; */
}
.mapa_medio {
    height: 550px;
    /* width: 348px; */
}
.mapa_pesquisa {
    height: 450px;
    /* width: 961px; */
}
.mapa_tematico {
    height: 400px;
    /* width: 765px; */
}
.mapa_grande {
    height: 500px;
    /* width: 100%; */
}

.mapa-full .ol-zoom {
    top: 95px;
}

.mapa-full .ol-overviewmap {
    bottom: 43px;
}

.mapa-full .ol-attribution {
    bottom: 43px;
}

.mapa-full .layer-switcher {
    top: 95px;
    right: 0.5em;
    text-align: left;
}

.layer-switcher button {
    height: 1.375em;
    width: 1.375em;
}

.mapa-full .ol-zoom-extent {
    top: 150px;
}

.ol-custom-toolbar {
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 2px;
    position: absolute;
    /*width:300px;*/
    /*top: 75px;*/
    /*left:40px;*/
    top: 65px;
    left: 0.5em;
}

.mapa-full .ol-custom-toolbar {
    top: 150px;
}

.ol-control button {
    background-color: rgba(0,0,0,0.4);
}

.ol-control button:hover,
.ol-control button:focus {
    text-decoration: none;
    background-color: rgba(0,0,0,0.6);
}

.ol-control-button.active {
    background-color: rgba(0,0,0,0.6);
}

.ol-dragbox {
    background-color: rgba(255,255,255,0.4);
    border-color: rgba(0,0,255,1);
}

.ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.7;
    white-space: nowrap;
}
.ol-tooltip-measure {
    opacity: 1;
    font-weight: bold;
}
.ol-tooltip-static {
    background-color: #ffcc33;
    color: black;
    border: 1px solid white;
}
.ol-tooltip-measure:before,
.ol-tooltip-static:before {
    border-top: 6px solid rgba(0, 0, 0, 0.5);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
    position: absolute;
    bottom: -6px;
    margin-left: -7px;
    left: 50%;
}
.ol-tooltip-static:before {
    border-top-color: #ffcc33;
}

.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
    max-width: 400px;
}
.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}
.ol-popup:before {
    border-top-color: #cccccc;
    border-width: 14px;
    left: 48px;
    margin-left: -14px;
}
.ol-popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
}
.ol-popup-closer:after {
    content: "✖";
}
.ol-popup-title {
    font-size: medium;
    padding-bottom: 8px;
    font-weight: bold;
}

.ol-layerswitcher button {
    background-image: none;
    float: right;
    height: 2.375em;
    width: 2.375em;
    z-index: 11;
    position: relative;
}
.ol-layerswitcher button:after {
    content: "\f0c9";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    font-size: x-large;
}

.ol-control.ol-layerswitcher {
    max-height: 100%;
	overflow: visible;
    top: .5em;
    background-color: transparent;
}

.mapa-full .ol-control.ol-layerswitcher {
    /*position: absolute;*/
    top: 95px;
    right: 10px;
    /*max-height: calc(100% - 6em);*/
    /*box-sizing: border-box;*/
    /*overflow: hidden;*/
    background-color: transparent;
}

.ol-custom-legend {
    top: 0;
    margin-left: 17px;
    overflow: auto;
}

.mapa-full .ol-custom-legend {
    top: 75px;
}

.layerSubmenu {
  display: flex;
  justify-content: flex-end; /* empurra para a direita */
  gap: 5px;
  padding: 6px 10px;
  width: 100%;
}

.layerSubmenu > div {
  display: inline-block;
	position: relative;
	cursor: pointer;
}
.layerSettings {
  /*background: rgba(0,0,0,0.6);
  border-radius: 100%;*/
}
.layerSettings:before {
  content: "...";
  color: #000;
  font-size: 0.9em;
  display: block;
  text-align: center;
  position: absolute;
  width: 1.25em;
}
.layerSubmenu .layerup,
.layerSubmenu .layerInfo {
  margin-top: 2px;
  float: right;
  height: 20px;
  width: 20px;
  margin: 2px;
  position: relative;
  cursor: pointer;
  text-align: center;
}
.layerSubmenu .layerInfo:before {
  color: rgba(0,0,0,0.6);
  content: "\f129";
  font-family: FontAwesome;
  display: block;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  left: 6px;
  top: -3px;
}

.layerSubmenu .layerup:before,
.layerSubmenu .layerup:after {
  content: "";
  height: 0;
  position: absolute;
  left: 5px;
  width: 0;
}
.layerSubmenu .layerup:after {
  border-width: 0 0.4em 0.4em;
  bottom: auto;
}

.ol-layerswitcher .panel::-webkit-scrollbar {
  width: 8px;
}

.ol-layerswitcher .panel::-webkit-scrollbar-track {
  background: #e9f2ff; /* fundo do trilho da barra */
  border-radius: 4px;
}

.ol-layerswitcher .panel::-webkit-scrollbar-thumb {
  background-color: #cbdef8; /* cor da alça de rolagem */
  border-radius: 4px;
  border: 2px solid #e9f2ff; /* para dar um efeito interno */
}

.ol-layerswitcher .panel::-webkit-scrollbar-thumb:hover {
  background-color: #28326d; /* cor ao passar o mouse */
}
.ol-layerswitcher .ol-header {
  font-weight: bold;
  font-size: 18px;
  color: #2c3e50;
  background-color: #cbdef8;
}

.ol-layerswitcher .panel .ol-header {
  position: sticky;
  top: 0;
  background-color: #cbdef8;
  z-index: 10;
  padding: 10px;
  font-weight: bold;
}
