html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.container-fluid {
    height: 100%;
    margin: 0;
    padding: 0;
}

.mapbox {
    height: 100%;
}

.mapbox-controlls {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 125px;
    padding: 15px;
    text-align: right;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, .5);
}

.mapbox-controlls .btn {
    width: 40px;
}

    .mapbox-controlls .item {
        padding: 5px 15px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid transparent;
        margin: 5px;
        cursor: pointer;
    }

        .mapbox-controlls .item:not(.selected) .action {
            display: none;
        }

        .mapbox-controlls .item.selected {
            background: rgba(255, 255, 255, 1);
            border: 1px solid green;
        }

.merged-info {
    display: none;
}

    .merged-info .html {
        margin: 5px;
        padding: 5px 15px;
        background: rgba(13, 202, 240, 0.3);
        border: 1px solid transparent;
    }

    .merged-info .controls {
        margin: 5px;
        text-align: right;
    }

.link {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

.point-list .html {
    max-height: 300px;
    overflow: auto;
}

    .point-list .html div {
        margin: 5px;
        padding: 5px 15px;
        background: rgba(0, 255, 0, 0.5);
        border: 1px solid transparent;
    }

.map-controls {
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

    .map-controls .btn {
        color: white;
    }

.minus, .plus {
    font-weight: bold;
    font-size: 20px;
    line-height: 20px;
    padding-top: 3px;
    width: 40px;
}


.map-label {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    opacity: 0.6;
}

    .map-label.warm {
        background: #FFFF00;
    }

    .map-label.hot {
        background: #FF474C;
    }

    .map-label.cold {
        background: #73c2fb;
    }

    .map-label.ok {
        background: #32cd32;
    }

    .map-label.lock {
        background: #000000;
    }

dl {
    display: flex;
    flex-wrap: wrap;
}

dd {
    width: 90%;
}

dt {
    width: 10%;
}

.img-thumbnail{
    max-width: 200px;
    margin: auto;
    display: block;
}

/* HTML: <div class="loader"></div> */
.loading {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 50px);
    font-size: 18px;
    font-weight: 900;
    color: white;
}

    .percent span {
        display: inline-block;
        width: 50px;
    }

.loader,
.loader:before,
.loader:after {
    width: 35px;
    aspect-ratio: 1;
    box-shadow: 0 0 0 3px inset #fff;
    position: relative;
    animation: 1.5s infinite 0.5s;
    animation-name: l7-1,l7-2;
}

    .loader:before,
    .loader:after {
        content: "";
        position: absolute;
        left: calc(100% + 5px);
        animation-delay: 1s,0s;
    }

    .loader:after {
        left: -40px;
        animation-delay: 0s,1s;
    }

@keyframes l7-1 {
    0%,55%,100% {
        border-top-left-radius: 0;
        border-bottom-right-radius: 0
    }

    20%,30% {
        border-top-left-radius: 50%;
        border-bottom-right-radius: 50%
    }
}

@keyframes l7-2 {
    0%,55%,100% {
        border-bottom-left-radius: 0;
        border-top-right-radius: 0
    }

    20%,30% {
        border-bottom-left-radius: 50%;
        border-top-right-radius: 50%
    }
}
