@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@100;300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Titillium Web", sans-serif;
    transition: all .2s ease;
}

body {
    height: 100%;
    background-color: #F7F8FA;
}

a {
    font-weight: 600;
    /*color: #ff7043 !important;*/
    color: #00695c !important;
    text-decoration: underline !important;
}

.tools {
    width: 80vw;
    margin: 5px;
    display: grid;
    grid-template-columns: auto;
    position: absolute;
    top: 10px;
}

#map {
    width: 100vw;
    height: 100vh;
}

#map .popup {
    min-width: 240px;
    padding: 10px;
    border-radius: 3px;
}

#map .popup .val {
    font-size: 14px !important;
}

.info-container {
    position: fixed;
    bottom: 28px;
    right: 4px;
}

#toolbar {
    position: fixed;
    display: grid;
    top: 25%;
    left: 10px;
    background: #fffffffe;
    padding: 6px;
    grid-gap: 10px;
    border-radius: 25px;
    box-shadow: 2px 2px 4px lightslategrey;
}

#toolbar button {
    position: relative;
}

#toolbar button>div {
    font-size: 20px;
    text-align: center;
    padding: 0 2px 0 2px;
    border-radius: 4px;
    border-bottom: solid 2px #00695c11;
}

#toolbar button.btn_enabled>div {
    background-color: #C7EFCF;
    border-bottom: solid 2px #00695c;
}

#Info>button {
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
}

#Info>button>div {
    background: #ffffffcc;
    width: 32px;
    height: 32px;
    font-size: 20px;
    border-radius: 5px;
    /*-webkit-box-shadow: 1px 1px 2px 1px rgba(0, 105, 92, 0.5);
    -moz-box-shadow: 1px 1px 2px 1px rgba(0, 105, 92, 0.5);
    box-shadow: 1px 1px 2px 1px rgba(0, 105, 92, 0.5);*/
}

#Info>button.btn_enabled {
    background-color: #ff7043;
}

#Info .about {
    display: none;
    line-height: 30px;
    font-size: 1em;
    position: absolute;
    right: 0;
    bottom: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 300px;
    text-align: left;
    border-radius: 5px !important;
    padding: 10px !important;
    color: black;
}

#Info .comms-link {
    background-size: contain;
    background-repeat: no-repeat;
    width: 25px;
    height: 25px;
    display: inline-block;
    border: none;
    margin-right: 5px;
    margin-bottom: -5px;
}

.glx-logo {
    width: 100%;
    position: fixed;
    bottom: 4px;
    height: 30px;
    z-index: 1001;
}

.glx-logo a {
    background-image: url('https://geolytix.github.io/public/geolytix.svg');
    background-repeat: no-repeat;
    background-size: 70px;
    display: block;
    position: fixed;
    bottom: 0;
    right: 2px;
    width: 70px;
    height: 16px;
}

.infotip div {
    font-size: 11px;
}

.more-info {
    display: none;
    line-height: 30px;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 300px;
    text-align: left;
    border-radius: 5px !important;
    padding: 10px !important;
}


.btn-more-info {
    display: none;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    width: auto;
    text-align: left;
    border-radius: 4px !important;
    padding: 4px !important;
    white-space: nowrap;
    position: absolute;
    top: 5px;
    left: 40px;
    box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.2);
    color: black;
}

.hide-it,
.hide-modal {
    cursor: pointer;
    text-align: right;
    position: absolute;
    top: 0;
    right: 10px;
    color: #ff7043;
}

.input-drop>input {
    border-radius: 20px;
}

.input-drop ul {
    max-width: 360px;
}

.logo-input {
    height: 16px;
    width: 16px;
    position: absolute;
    top: 10px;
    left: 10px;
}

#gazetteer ul li {
    background-color: white;
    border-radius: 3px;
    padding: 2px;
    margin: 1px;
    border: solid 1px lightgrey;
}

#_Attribution {
    z-index: 999;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    white-space: nowrap;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: solid 1px lightgrey;
}

#_Attribution a {
    padding: 2px 5px;
    font-size: 0.7em !important;
    text-decoration: none !important;
}

#radius-results {
    position: fixed;
    bottom: 20px;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 5px;
    max-height: 25%;
    overflow: scroll;
    width: 100%;
    background: white;
}

.top {
    height: 20px;
    grid-column: 1 / span 3;
}

#radius-results .tile {
    line-height: 1.3;
    border-radius: 3px;
    padding: 5px;
    margin-left: 4px;
    background: linear-gradient(to right, rgba(144, 164, 174, 0.1) 30%, rgba(255, 255, 255, 1) 100%);
    cursor: pointer;
    transition: all .2s ease;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#radius-results .tile:hover {
    background: linear-gradient(to right, rgba(140, 186, 128, 0.2) 30%, rgba(255, 255, 255, 1) 100%);
}

.lbl {
    color: rgba(255, 112, 67, 1);
    border-radius: 3px;
    padding: 0 4px 0 4px;
    font-size: 11px;
    background-color: #00695c33;
    font-weight: 600;
    float: right;
}

.hl {
    color: #00695c;
    font-size: 10px;
}

#results-head {
    position: fixed;
    transform: translate(0, 20px);
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    padding: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0.1) 100%);
    padding: 4px;
    -webkit-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    margin-top: -22px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#explore {
    position: relative;
}

.explore-modes {
    position: absolute;
    top: 0;
    left: 40px;
    display: none;
    width: 200px;
    background-color: white;
    padding: 5px;
    text-align: left;
    border-radius: 4px;
    -webkit-box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
    box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
}

.modal-window {
    position: fixed;
    background-color: transparent !important;
    top: 20vh;
    bottom: 0;
    left: 0;
    z-index: 1006;
    display: none;
    border-radius: 4px;
    margin: 20px;
    transition: all 0.3s;
    width: 300px;
    height: 50vh;
}

.modal-window>div {
    width: 100%;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    border-radius: 4px;
    -webkit-box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
    -moz-box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
    box-shadow: 8px 8px 15px -13px rgba(66, 68, 90, 1);
}

@media only screen and (max-width: 768px) {

    .tools {
        width: 90vw;
        margin: 5px 5vw 0 5vw;
        position: fixed;
    }

    #map {
        width: 100vw;
        height: 100vh;
    }

    #radius-results {
        display: grid;
        grid-template-columns: 1fr 1fr;
        min-height: 140px;
    }

    .top {
        grid-column: 1 / span 2;
    }

    #results-head {
        grid-column: 1 / span 2;
    }
}