:root {
  --colorbase: rgb(187, 16, 48);
  --colorbasevalue: 187, 16, 48;
}

*,
html {
  margin: 0;
}




#map_viewer {
  /* width: 100%; */
  height: 700px;
  /* float: left; */
}

#map_viewer_zona_main {
  height: 600px;
  background-color: #888;
}

#info {
  width: 100%;
  height: 150px;
  overflow: scroll;
  display: flex;
  align-items: baseline;
  border: 1px solid black;
  justify-content: flex-start;
}

#info2 {
  width: 100px;
  height: 50px;
  background-color: antiquewhite;

}


/***********************/
/***POPUP***************/
.ol-popup {
  font-family: 'Oswald', Helvetica, sans-serif !important;
  position: absolute;
  background-color: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  min-width: 280px;
  z-index: 8000;
  font-size: 11px;
  line-height: 12px;
  color: #555;
  user-select: text;

}

.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: 11px;
  left: 48px;
  margin-left: -11px;
}

.ol-popup-closer {
  text-decoration: none;
  position: absolute;
  top: 2px;
  right: 8px;
  cursor: pointer;
  z-index: 99;
}

.ol-popup-closer:after {
  content: "✖";
}

#popup-content {
  /*font-family: "Open Sans", sans-serif;*/
  font-family: 'Oswald', Helvetica, sans-serif !important
}

/***/



/**/
.hideOpacity .layerswitcher-opacity {
  display: none;
}

.hideOpacity .ol-layerswitcher .layerup {
  height: 1.5em;
}

.showPercent .layerSwitcher .ol-layerswitcher .layerswitcher-opacity-label {
  display: block;
}

.ol-header>div {
  width: 100%;
}

.toggleVisibility {
  padding-left: 1.6em;
  cursor: pointer;
  border-bottom: 2px solid var(--colorbase);
  margin-bottom: 0.5em;
  padding-bottom: 5px;
}

.toggleVisibility:before {
  background-color: #fff;
  border: 2px solid var(--colorbase);
  box-sizing: border-box;
  content: "";
  display: block;
  height: 1.2em;
  left: 0.1em;
  margin: 0;
  position: absolute;
  width: 1.2em;
}

.toggleVisibility.show:before {
  background: #369;
}

/*CUSTOM STYLES*/

.ol-layerswitcher .panel {
  font-size: 0.75rem;
}


.ol-layerswitcher [type="radio"]+label:before,
.ol-layerswitcher [type="checkbox"]+label:before,
.ol-layerswitcher [type="radio"]:checked+label:after,
.ol-layerswitcher [type="checkbox"]:checked+label:after {
  content: '';
  position: absolute;
  left: 0.1em;
  top: 0.1em;
  width: 1.2em;
  height: 1.2em;
  border: 2px solid var(--colorbase);
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.ol-layerswitcher [type="radio"]:checked+label:after {
  background: var(--colorbase) none repeat scroll 0 0;
  margin: 0.3em;
  width: 0.6em;
  height: 0.6em;
}


.ol-layerswitcher [type="checkbox"]:checked+label:after {
  background: transparent;
  border-width: 0 3px 3px 0;
  border-style: solid;
  border-color: var(--colorbase);
  width: 0.7em;
  height: 1em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  left: 0.55em;
  top: -0.05em;
  -webkit-box-shadow: 1px 0px 1px 1px #fff;
  box-shadow: 1px 0px 1px 1px #fff;
}


.ol-layerswitcher .layerup {
  float: right;
  height: 1.5em;
  background-color: var(--colorbase);
  opacity: 0.5;
  cursor: move;
  cursor: ns-resize;
  width: 12px;
}


.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor,
.ol-layerswitcher .layerswitcher-opacity .layerswitcher-opacity-cursor:before {
  position: absolute;
  width: 13px;
  height: 13px;
  top: 50%;
  left: 50%;
  background: rgba(var(--colorbasevalue), 0.5);
  border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
}


.ol-layerswitcher .layerswitcher-opacity {
  position: relative;
  border: none;
  height: 3px;
  width: 120px;
  margin: 5px 1em 10px 7px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 3px;
  background: rgba(var(--colorbasevalue), 1.0);
  background: -webkit-gradient(linear, left top, right top, from(rgba(var(--colorbasevalue), 0)), to(rgba(var(--colorbasevalue), 0.6)));
  background: linear-gradient(to right, rgba(var(--colorbasevalue), 0), rgba(var(--colorbasevalue), 0.6));
  cursor: pointer;
  -webkit-box-shadow: none;
  box-shadow: none;
}


.ol-layerswitcher .layerTrash {
  background: var(--colorbase)
}

.ol-layerswitcher .layerInfo {
  background: var(--colorbase);
  border-radius: 100%;
}


.ol-layerswitcher-buttons>div {

  background: var(--colorbase)
}


.ol-layerswitcher .expend-layers:before,
.ol-layerswitcher .collapse-layers:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -2px;
  height: 4px;
  width: 100%;
  background: var(--colorbase)
}

.ol-layerswitcher .expend-layers:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -2px;
  width: 4px;
  height: 100%;
  background: var(--colorbase)
}


.ol-control button:focus,
.ol-control button:hover {
  text-decoration: none;
  background-color: rgba(0, 60, 136, .7);
}


.ol-layerswitcher>button {
  background-color: rgba(255, 255, 255, 0);
  float: right;
  z-index: 10;
  position: relative;
  font-size: 1.7em;
}


.ol-control.ol-layerswitcher .ol-switchertopdiv:before {
  border-bottom-color: var(--colorbase);
  border-top: 0;
}

.ol-control.ol-layerswitcher .ol-switcherbottomdiv:before {
  border-top-color: var(--colorbase);
  border-bottom: 0;
}


.ol-control.ol-layerswitcher .panel-container {
  background-color: rgba(255, 255, 255, 0.7);
}

.ol-control.ol-layerswitcher .ol-switchertopdiv {
  border-bottom: solid 2px var(--colorbase);
}

.ol-control.ol-layerswitcher .ol-switcherbottomdiv {
  border-top: solid 2px var(--colorbase);
}

/*********/

.btn-north {
  top: 70px !important;
  left: 0.5rem !important;
}

.ol-custom {
  z-index: 1000;
  top: 4.5em;
  left: .5em;

}



.top-menu {
  position: absolute;
  height: 50px;
  width: 100%;
  z-index: 1;
  /* background-color: rgba(255, 0, 0, 0.452); */
  color: #fff;
  padding: 10px 50px;
}


/*

.item {
  width: 100px;
  height: 100px;
  background: red;
  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -ms-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

*/
.item.hidden {
  width: 0;
}



.sidepanel {
  width: 100px;
  height: 100%;
  /* background: red; */
  -webkit-transition: width 1s;
  -moz-transition: width 1s;
  -ms-transition: width 1s;
  -o-transition: width 1s;
  transition: width 1s;
}

.hidden {
  width: 0;
}


.mapa-strech {
  height: 500px;
  width: 100%;
  margin-left: 100px
}

.mapa-fullwide {
  height: 500px;
  width: 100%;

}


.loader {
  display: none;
  padding: 10px;
  margin: 10px;
}

.loader-active {
  display: block;
  background-color: red;
  padding: 10px;
  margin: 10px;
}


/**/

.scroll-map-list {
  margin: 4px, 4px;
  padding: 0px;
  /* background-color: green; */
  /* width: 500px; */
  height: 110px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align: justify;

}

/* width */
.scroll-map-list::-webkit-scrollbar {
  width: 3px;
}

/* Track */
.scroll-map-list::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.scroll-map-list::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.scroll-map-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}


.nav-link-popup {
  display: block;
  padding: 0.5rem 0.5rem;
}


.nav-link {
  color: var(--color-desactivated) !important;
}

.nav-link.active {
  color: var(--color-secondary) !important;
}


/* Background Styles*/

.bg-map-img {
  object-fit: cover;
  width: 100%;
  height: 100px;
  filter: brightness(0.25);
}

/*TOOLTIP*/

.ui-tooltip {
  padding: 2px 5px;
  background: #222;
  position: absolute;
  max-width: 300px;
  -webkit-box-shadow: 0 0 5px rgb(47, 47, 47);
  box-shadow: 0 0 5px rgb(47, 47, 47);
  font-size: 11px;
  font-weight: 100 !important;
  /*white-space: pre-line;*/
  border-radius: 5px;
  color: #fff;
  font-family: sans-serif !important
}