﻿
.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);
}

.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;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.close-btn {
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

    .close-btn::before,
    .close-btn::after {
        content: "";
        position: absolute;
        top: 9px;
        left: 0;
        width: 20px;
        height: 2px;
        background: #000;
    }

    .close-btn::before {
        transform: rotate(45deg);
    }

    .close-btn::after {
        transform: rotate(-45deg);
    }

