body {
  overflow: hidden;
}

@media only screen and (max-width: 768px) {
  .modal-dialog {
    width: 90% !important;
  }
}

.map {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  right: 5px;
}

#measureToolsDiv, #drawToolsDiv {
  top: 50px;
  display: none;
  background: #3c5055;
  padding: 2px;
}

#drawToolsDiv {
  top: 90px;
  display: none;
}

.flex {
  position: absolute;
  z-index: 1;
  left: 50px;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

.flex-child {
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  background: #3c5055;
  border: 2px solid white;
  padding: 6px;
  border-radius: 5px;
}

.ol-layerswitcher .layerup {
  width: 10%;
  background: none;
  position: absolute;
  right: 0;
}

.ol-layerswitcher .layerup:after {
  content: none;
}

.ol-layerswitcher .layerup:before {
  color: #ffffff;
  content: "\F0C9";
  font-family: FontAwesome;
  border: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1em;
  left: .5em;
}

.ol-layerswitcher .expend-layers:before, .ol-layerswitcher .collapse-layers:before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  margin-top: 0px;
  height: 3px;
  width: 15px;
}

.ol-layerswitcher .expend-layers:after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0;
  margin-left: 0px;
  width: 4px;
  height: 15px;
}

.ol-layerswitcher .layerswitcher-opacity {
  width: 80% !important;
  margin: 12px 14% 10px 2px !important;
}

.ol-layerswitcher .panel li label {
  margin-left: 15px;
}

.ol-layerswitcher .expend-layers,
.ol-layerswitcher .collapse-layers {
  top: -1em;
  cursor: pointer;
}

.ol-layerswitcher .expend-layers:before,
.ol-layerswitcher .expend-layers:after,
.ol-layerswitcher .collapse-layers:before,
.ol-layerswitcher .collapse-layers:after {
  background: #017eff;
}

#export-png, #export-json {
  background: #3c5055;
}

#btnMeasure {
  margin-top: 51px;
}

#btnDraw {
  margin-top: 91px;
}

#btnLegend {
  margin-top: 131px;
}

#btnOpenKMZDiv {
  margin-top: 171px;
}

.divLoadKMZ {
  display: none;
  margin-top: 171px;
  position: absolute;
  z-index: 1;
  margin-left: 50px;
  background: #3c5055;
  padding: 8px;
  border-radius: 5px;
}

.divLegend {
  display: none;
  position: absolute;
  z-index: 1;
  margin-top: 130px;
  margin-left: 50px;
  padding: 8px;
  background: #3c5055;

}

.menuButtons {
  position: absolute;
  z-index: 1;
  -webkit-box-flex: 1 1 auto;
  -moz-box-flex: 1 1 auto;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  background: #3c5055;
  font-weight: bold;
  border-radius: 5px;
  border: 2px solid white;
  padding: 6px;
  margin-left: 8px;
}

.btnActive {
  background: #9e842e !important;
}

.divMeasure {
  position: absolute;
  z-index: 2;
  top: 50px;
  left: 55px;
  background: #3c5055;
  padding: 4px;
  border: 1px solid #575656;
}

.ol-tooltip {
  position: relative;
  background: rgba(222, 222, 222, 0.5);
  border-radius: 4px;
  color: white;
  padding: 4px 8px;
  opacity: 0.7;
  white-space: nowrap;
  font-size: 12px;
}

.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(222, 222, 222, 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;
}

.divPOImeta {
  display: none;
  position: absolute;
  top: 50px;
  left: 50px;
  z-index: 5;
  background: white;
  padding: 10px;
  border-radius: 5px;
}

.txtMeta {
  width: 100px;
}

.ol-popup {
  position: absolute;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  bottom: 12px;
  left: -50px;
  width: fit-content;
  min-width: 500px;
}

.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;
}

.ol-popup-closer:after {
  content: "✖";
}

.disablingDiv {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(150, 150, 150, 0.5);
}

#btnSubmitMeta {
  width: 100%;
  background: #548a6d;
  color: white;
  font-weight: 600;
  border: 1px solid #fff;
  border-radius: 5px;
}

td, th {
  padding: 3px;
}

table.tblPopup {
  border: 4px solid #555555;
  background-color: #555555;
  text-align: left;
  border-collapse: collapse;
}

table.tblPopup td, table.tblPopup th {
  border: 2px solid #555555;
  padding: 5px 6px;
}

table.tblPopup tbody td {
  font-size: 12px;
  font-weight: bold;
  color: #FFFFFF;
}

table.tblPopup td:nth-child(even) {
  background: #9e842e;
}

table.tblPopup tfoot td {
  font-size: 13px;
}

table.tblPopup tfoot .links {
  text-align: right;
}

table.tblPopup tfoot .links a {
  display: inline-block;
  background: #FFFFFF;
  color: #398AA4;
  padding: 2px 8px;
  border-radius: 5px;
}

#popup-closer {
  color: #aaaaaa;
}
