﻿
.ol-default-controls {
    top: 7px;
    right: 7px;
}

.ol-default-controls button {
    width: 40px;
    height: 40px;
    border-radius: 15rem !important;
    cursor: pointer;
}

.btn-circle {
    width: 40px;
    height: 40px;
    border-radius: 15rem !important;
    cursor: pointer;
}

.layer-img.selected {
    border: 3px solid var(--info);
    overflow: hidden;
}

.layer-img.not-selected {
    border: 3px solid var(--light);
    overflow: hidden;
}

.google-layer {
    content: url(img/google.png)
}

.osm-layer {
    content: url(img/osm.png)
}

.osm-dark-layer {
    content: url(img/osm-dark.png)
}

.osm-light-layer {
    filter: contrast(1.5) brightness(3) invert(1) brightness(1.5);
    content: url(img/osm-dark.png)
}

.terrain-layer {
    content: url(img/terrain.png)
}

.esri-layer {
    content: url(img/esri.png)
}

.topo-layer {
    content: url(img/topo.png)
}

.invert-colors {
    filter: brightness(3) contrast(1.3) invert(1);
}

.saturation {
    filter: blur(10px) opacity(0.4);
}

.feature-table::-webkit-scrollbar {
    width: 10px;
    background-color: rgb(255 255 255 / 0%);
}

.feature-table::-webkit-scrollbar-thumb {
    background-color: rgb(41 62 89 / 20%);
    border-radius: 0.15rem;
}

.configuration-input:focus-visible {
    outline-style: solid;
    outline-width: thin;
    outline-color: currentColor;
}

/* Chrome, Safari, Edge, Opera */
input.number-input-without-arrows::-webkit-outer-spin-button,
input.number-input-without-arrows::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number].number-input-without-arrows {
    -moz-appearance: textfield;
}

.ol-tooltip {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    padding: 4px 8px;
    opacity: 0.8;
    white-space: nowrap;
    font-size: 12px;
    cursor: default;
    user-select: none;
    font-weight: bold;
}

.ol-tooltip-measure {
    opacity: 1;
}

.ol-tooltip-static {
    background-color: var(--info);
    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: var(--info);
}