.main-map {
    position: absolute; 
    height: calc(100% - 47px); 
    width: 100%;
}
.navbar {
    position: absolute !important;
}
.geomn-app-engage {
    position: absolute;
    top: 170px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 5;
  }
  .geomn-app-engage .geomn-app-engage-btn.geomn-app-engage-btn-active {
    border-bottom-left-radius: 5px !important;
    border-top-left-radius: 5px !important;
  }
  .geomn-app-engage .geomn-app-engage-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 500px;
    border-color: transparent;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    background: rgba(21, 39, 71, 0.65);
    text-decoration: none!important;
  }
  .geomn-app-engage-btn-active {
    width: auto !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding-left: 10px !important;  
    display: flex !important;  
  }
  .geomn-app-engage-btn-active .geomn-description {
    display: block !important;
    font-weight: 600 !important;
    color: #FFF !important;  
    font-size: 12px !important;
    padding-right: 10px;
  }
  .geomn-app-engage-btn-active .geomn-description-icon {
    background-color: #002861;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  
.ol-control-custom {
    background: transparent;
    border-radius: 4px;
    position: inherit !important;
    right: 22px;
}
.ol-control-custom button:hover{
    background-color: #002861;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}
.geomn-app-engage-btn button{
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    color: white;
}
.measure-length {
    top: 150px;
}
.ol-touch .measure-length {
    top: 80px;
}
.measure-polygon {
    top: 200px;
}
.ol-touch .measure-polygon {
    top: 80px;
}
.measure-stop {
    top: 320px;
    right: 5px;
}
.ol-touch .measure-stop {
    top: 80px;
}
.measure-eraser {
    top: 360px;
    right: 5px;
}
.ol-touch .measure-eraser {
    top: 80px;
}
.zoom-in-custom {
    top: 250px;
    right: 20px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.zoom-out-custom {
    top: 290px;
    right: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.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;
    font-size: 12px;
    cursor: default;
    user-select: none;
}
.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;
}

.hidden {
    display: none;
}

.tooltip-custom {
    background: rgba(21, 39, 71, 0.65);
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    padding: 11px 15px;
    display: block !important;
    font-weight: 600 !important;
    color: #FFF !important;  
    font-size: 12px !important;
}
.tooltip-inner 
{
    background: none !important;
    padding: 0 !important;
    font-size: 12px !important;
}

.ol-control-button-custom {
    background: transparent;
    border-radius: 4px;
    position: inherit !important;
    right: 22px;
}
.ol-control-button-custom button:hover{
    background-color: #152747;
}
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 5px solid rgba(180, 180, 180, 0.6);
    border-top-color: rgba(0, 0, 0, 0.6);
    animation: spinner 0.6s linear infinite;
}  
.ol-layerswitcher-image li {
    width: 120px;
}

.ol-layerswitcher-image li.ol-visible {
    border: 3px solid #152747 !important;
}

.ol-layerswitcher-image li:hover p {
    background-color: rgba(21, 39, 71, 0.5);
    color: #fff;
    bottom: 0px;
    display: block;
    left: 0;
    margin: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    text-align: center;
    height: 1.7em;
}