﻿#map {
    width: 100%;
    height: 85vh;
    margin: 0;
    padding: 0;
}

.progress {
    width: 100%;
    height: 20px;
    background-color: #f3f3f3;
    position: fixed;
    top: 0;
    left: 0;
    transition: top 0.5s;
    z-index: 1000;
}

.progress-bar {
    height: 100%;
    background-color: #4caf50;
    width: 0;
}

.progress.hidden {
    top: -20px;
}

#spinnerLoader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

    #spinnerLoader img {
        width: 100px;
        height: 100px;
    }

    #spinnerLoader.hidden {
        display: none;
    }

.custom-zoom-controls {
    position: absolute;
    top: 10px;
    right: 44px;
    z-index: 1000;
}

    .custom-zoom-controls button {
        display: block;
        margin: 5px 0;
        padding: 10px;
        background-color: white;
        border: 1px solid #ccc;
        cursor: pointer;
    }

#tooltip {
    background: white;
    border: 1px solid black;
    padding: 5px;
    z-index: 1000;
    min-height: 20px;
    min-width: 50px;
    /*top:500px;*/
}

#createForm {
    display: block;
    border: 1px solid #ccc;
    background: #edf3f3;
    padding: 15px;
}

.search-results {
    padding: 5px;
    border: 1px solid #ccc;
    min-height: 80px;
    max-height: 150px;
    overflow-y: auto;
}

#mapSearch {
    margin-top: 20px;
}

.result-item {
    padding: 5px;
    border-bottom: 1px solid #ccc;
    cursor: pointer;
}

    .result-item:hover {
        background-color: #d5e8eb;
    }

    .result-item:nth-child(odd) {
        background-color: #f3f3f3;
    }

.button-9 {
    appearance: button;
    backface-visibility: hidden;
    border-radius: 6px;
    border: none;
    box-shadow: rgba(50, 50, 93, .1) 0 0 0 1px inset, rgba(50, 50, 93, .1) 0 2px 5px 0, rgba(0, 0, 0, .07) 0 1px 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-family: -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Ubuntu, sans-serif;
    font-size: 100%;
    height: 44px;
    line-height: 2.76;
    margin: 12px 0 0;
    outline: none;
    overflow: hidden;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-transform: none;
    transition: all .2s, box-shadow .08s ease-in;
    user-select: none;
    width: auto;
}

    .button-9:disabled {
        cursor: default;
        opacity: 0.6;
    }

    .button-9:focus {
        box-shadow: rgba(50, 50, 93, .2) 0 6px 15px 0, rgba(0, 0, 0, .1) 0 2px 2px 0, rgba(50, 151, 211, .3) 0 0 0 4px;
    }

.toggle-UKMasterTerritory{
    background-color: #f08c00;
}   


.toggle-countries {
    background-color: #405cf5;
}
.toggle-population {
    background-color: #2f9e44;
}
.toggle-population2 {
    background-color: #f08c00;
}
#UKMasterTerritoryData {
    display: inline-block;
    width: 100%;
    overflow-y: scroll;
    overflow-x: scroll;
    max-height: 400px;  
}