.hide {
  display: none;
}

#modal-map {
  padding-right: initial !important;
  overflow: hidden;
}

#modal-map .logo {
  width: 150px;
  position: absolute;
}

#modal-map .modal-header {
  display: initial;
}

#modal-map .modal-body {
  padding: 0px 3px 3px 3px;
}

#modal-map .modal-footer {
  padding: 0px !important;
}

#modal-map .modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
}

#modal-map .modal-title {
  margin-left: 40px;
}

#modal-map #fullscreen {
  position: initial;
  height: initial;
  width: initial;
}

#modal-map .modal-dialog {
  max-width: initial;
  width: 100%;
  margin-top: 0px;
}

#modal-map .legend {
  bottom: 5px;
}

.map {
  height: 100%;
  width: 100%;
}

.ol-full-screen {
  width: 30px;
}

#fullscreen {
  position: relative;
  height: 600px;
  width: 100%;
}

.ol-control {
  top: 2px;
  display: flex;
  left: 56px;
  padding: 2px;
  background-color: transparent;
}

.ol-control:hover {
  background-color: transparent;
}

.ol-control > button {
  background-color: #559456;
  border: 1px solid #559456;
  box-shadow: 0px 0px 8px #333;
  border-radius: 3px;
  display: inline-block;
  color: #fff;
  cursor: pointer;
  z-index: 1;
}

.ol-control > button:hover,
.ol-control > button:focus {
  background-color: #3c763d;
  border-color: #3c763d;
  outline: none;
}

.ol-control > button.active {
  background-color: #ffbc00;
  border-color: #ffbc00;
  color: #fff;
}

.ol-control > button:disabled {
  background-color: #999999;
  border-color: #999999;
  color: #fff;
}

.ol-control > button > span.glyphicon,
.ol-control > button > span.buffer {
  font-size: 19px;
}

.ol-control > button.type-map {
  font-size: 14px;
  height: auto;
  width: auto;
  padding: 5px;
  line-height: 14px;
}

.ol-control-draw.ol-control {
  left: 83px;
}

.ol-control-draw.ol-control .reset-zoom {
  font-size: 13px;
}

.ol-zoom {
  /*display: flex;
  flex-direction: row;*/
  left: 2px;
  /*top: -3px;
  bottom: initial;*/
}

.ol-zoom .ol-zoom-in,
.ol-zoom .ol-zoom-out {
  border-radius: 2px;
}

.ol-attribution {
  display: none;
}

.ol-scale-line {
  left: 5px;
  background: rgba(255, 255, 255, 0.7);
}

.ol-scale-line .ol-scale-line-inner {
  color: #464646;
  border: 1px solid #828282;
  border-top: none;
}

.north {
  bottom: 5px;
  right: 5px;
  left: initial;
  top: initial;
  background: rgba(255, 255, 255, 0.7);
}

.ol-control.north:hover {
  background: rgba(255, 255, 255, 0.7);
}

.north img {
  width: 25px;
  height: 23px;
}

.lat-long {
  position: absolute;
  bottom: 5px;
  right: 43px;
  background: rgba(255, 255, 255, 0.7);
  color: #464646;
  padding: 3px 5px;
  font-size: 1.4em;
  min-width: 194px;
  text-align: center;
  border-radius: 5px;
}

.popup-interaction-map {
  font-size: 13px;
}

.ol-popup-btns {
  display: flex;
  justify-content: flex-end;
}

.ol-popup-btn {
  margin: 3px;
  padding: 5px;
  font-size: 13px;
  border-radius: 0.25rem !important;
}

.tooltip {
  min-width: 100px;
}

.btn-popup-map {
  display: block;
  float: right;
  position: relative;
  margin-top: 0px;
}

.btn-control.delete {
  color: #f74c4c;
}

/* POPUP */

.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;
  width: auto;
  text-align: left;
}

.ol-popup > a {
  color: #ec6f79;
}

.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: "✖";
}

@media (max-width: 767px) {
  .ol-control-draw.ol-control {
    left: 68px;
  }
  .ol-control > button.type-map {
    padding: 2px 4px;
  }
}

.panel-map {
  box-shadow: 0px 0px 8px #333;
  border-radius: 3px;
  position: absolute;
  z-index: 2;
  overflow: hidden;
  min-width: 135px;
}

.panel-map .panel-map-content {
  background-color: #f1f1f1;
  float: left;
  overflow: hidden;
  width: 100%;
}

.panel-map .content-scrool {
  float: left;
  overflow: auto;
  width: 100%;
}

.panel-map > button.btn-panel-map {
  background-color: #559456;
  border: 1px solid #559456;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  color: #fff;
  cursor: pointer;
  width: 100%;
}

.panel-map > button.btn-panel-map:hover,
.panel-map > button.btn-panel-map:focus {
  background-color: #3c763d;
  border-color: #3c763d;
  outline: none;
}

.panel-map > button.btn-panel-map > span {
  float: right;
}

.panel-map.open > button.btn-panel-map > span {
  transform: rotate(180deg);
}

.panel-map > button.btn-panel-map > span > svg {
  font-size: 24px;
  display: block;
}

.panel-map label {
  cursor: pointer;
}

.panel-map .custom-checkbox {
  margin: 4px 6px;
}

.panel-map .panel-map-content p {
  margin: 10px 0 0 10px;
}

.filter {
  top: 35px;
  left: 5px;
}

.legend {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  bottom: 0px;
  right: 5px;
}

.legend > button.btn-panel-map > span {
  transform: rotate(180deg);
}

.legend.open > button.btn-panel-map > span {
  transform: rotate(0deg);
}

.legend-vector-items {
  margin-left: 10px;
  font-size: 13px;
  padding-bottom: 7px;
}

.legend-vector-items .legend-vector-item {
  display: table;
}

.legend-vector-items .legend-vector-item .legend-vector-symbol {
  display: inline-block;
  vertical-align: middle;
  width: 17px;
  height: 17px;
  margin-right: 5px;
  border: solid 2px;
}

.legend-vector-items .legend-vector-item .legend-vector-name {
  font-size: 13px;
}
.legend-item {
  margin-bottom: 15px;
  padding: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.legend-item strong {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
  color: #333;
}

.legend-item img {
  max-width: 100%;
  height: auto;
  display: block;
}
[class*="icone-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.cursor_pointer {
  cursor: pointer;
}

.box-btns-toggle-features {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* margin: 15px 0; */
}

.btn-feature {
  cursor: pointer;
  opacity: 0.6;
  width: 25%;
}

.btn-feature:hover {
  background-color: #f1f1f1;
}

.btn-feature.ativo {
  opacity: 1;
}

.box-btns-toggle-features span {
  line-height: 20px;
  float: left;
}

.box-btns-toggle-features .feature-color {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  box-shadow: 0px 0px 4px 0px #828282;
}

.inputs-deactivate-zones-and-infra {
  position: absolute;
  z-index: 10000000;
  top: 35px;
  left: 259px;
}

.inputs-deactivate-zones-and-infra label {
  color: white;
}

.alerts-map {
  position: absolute;
  z-index: 10000;
  right: 5px;
  top: 2px;
}

.alerts-map .alert {
  margin-bottom: 0.15rem;
  font-size: 12px;
}

/* modal salvar Zoneamento */
.zoneamento {
  font-size: 0.8rem;
  letter-spacing: 1px;
  font-weight: 100;
}

textarea.zoneamento {
  padding: 10px;
  max-width: 100%;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
}

label.zoneamento {
  display: block;
  margin-bottom: 5px;
}

.zoneamento-error {
  color: #fb2c2c;
  font-size: 0.8rem;
  font-weight: 100;
}

#coordinates-movemouse {
  position: absolute;
  z-index: 1;
  width: 100%;
  text-align: center;
  bottom: 9px;
  color: white;
  font-size: 13px;
}

#coordinates-movemouse span {
  background: #559456;
  padding: 5px;
  border-radius: 5px;
}

.loading-text{
  font-size: 13px;
  margin-top: 11px;
  display: inline-block;
}
/* Aumenta o contraste das imagens WMS para melhorar visibilidade dos rótulos */
.ol-layer img {
  filter: contrast(1.1) brightness(0.98);
}