:root {
    --main-bg-colour: #dadada;
    --main-text-colour: #464646;
}

body {
    font-size: smaller;
    border: 20px solid white;
}

a {
    color: #777;
    text-decoration: none;
}

.logo {
    font-weight: bold;
    font-size: 3em;
    font-family: 'Dosis', sans-serif;
}

#logos {
    border-left: 1px solid white;
    padding: 20px;
}

.active {
    font-size: larger;
    color: #0d6efd;
}

.profileImg{
    border-radius: 50%;
}

.hidden {
    display: none;
}

.collapse {
    background: white;
    padding: 5px;
}

#map {
    width: 100%;
    height: calc(100vh - 40px);
    /* border: 20px solid white; */
}

#dddMap {
    width: 100%;
    height: calc(100vh - 40px);
    /* border: 20px solid white; */
}

#hud #map {
    height: 50vh;
}

#mapGrad {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    -moz-box-shadow: inset 0 0 15vw #626664;
    -webkit-box-shadow: inset 0 0 15vw #626664;
    box-shadow: inset 0 0 15vw #626664;
    pointer-events: none;
}

#hud {
    width: 25vw;
    min-width: 450px;
    position: absolute;
    top: 20px;
    right: 20px;
    border: 5px solid white;
    border-top: 0px;
    background: rgba(255, 255, 255, .75);
    max-height: 100vh;
    overflow-y: scroll;
}

#hud .row,
#hud .col {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
    width: 100%;
}

.container-fluid {
    padding: 0px;
    max-width: 100vw;
}

.hud-title {
    height: 40px;
    background: rgba(255, 255, 255, 0.75);
    margin: 0px;
    font-weight: bold;
    color: var(--main-text-colour);
}

.hud-content {
    height: calc(100% - 40px);
    width: 100%;
    margin-left: 0px;
    background-color: white;
}

.btn-hud-title {
    width: 100%;
    border: 0px;
    border-radius: 0px;
    text-align: left;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    color: var(--main-text-colour);
}

.btn-hud-title:hover,
.btn-hud-title:active,
.btn-hud-title:focus {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.05);
    color: var(--main-text-colour);
    border: 0px;
    box-shadow: none;
}

#panorama {
    height: 50vh;
}

#map-container #panorama {
    height: calc(100vh - 40px);
    z-index: 0;
}

#bottom-info {
    position: fixed;
    bottom: 20px;
    left: 32px;
    width: calc(75vw - 60px);
    pointer-events: none;
}

#infoTable {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border-right: 3px solid white;
    pointer-events: all;
}

#zoomInfo {
    /* width: 300px; */
}

#infoTable>* {
    padding: 15px;
}

#radio-player {
    background: #dddddd;
    padding: 10px;
    color: #666;
    border-radius: 10px;
}

#geoSearch,
.dataTables_filter .borderlessSearch input {
    border: 0 !important;
    border-bottom: 1px solid #e1e1e1 !important;
    border-radius: 0px !important;
}

.table>:not(caption)>*>* {
    border: none;
    border-bottom-width: 0px;
}

.dataTables_length {
    display: none;
}

.dataTables_info {
    text-align: center;
    float: none !important;
}

.dataTables_filter,
.dataTables_filter label,
.dataTables_filter input {
    width: 100%;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: rgba(0, 0, 0, 0) !important;
    border: 1px solid #f1f1f1;
}

.dataTables_wrapper {
    background: white;
    padding-bottom: 15px;
    padding-top: 15px;
}

/* tr.shown, tr.shown+tr { */
/* background-color: var(--main-bg-colour)!important; */
/* } */

.ct-label {
    font-size: 8pt;
}

.clusterChart {
    padding: 0px;
    font-size: 7pt;
}

.cluster {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}

#mapTools {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    width: 50px;
    height: 130px;
    color: #666;
    font-size: 25px;
    padding-top: 3px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 2px;
}

#userImg {
    border-radius: 50%;
    width: 100%;
}

#mapTools hr {
    margin: 0px;
}

.layer-drag {
    background: var(--main-bg-colour);
}

.activeListLayer {
    border-top: 1px solid white;
}

.activeListLayer:first-child {
    border: none;
}

#mapLoading {
    position: absolute;
    width: calc(100vw - 40px);
    height: calc(100vh - 40px);
    top: 20px;
    left: 20px;
    backdrop-filter: blur(4px);
}

#mapLoading .card {
    /* opacity: 0.75; */
    border: white 5px solid;
    box-shadow: rgba(99, 99, 99, 0.5) 0px 2px 8px 0px;
    background: none;
}

#mapLoading .card-body{
    opacity: 0.75;
    background: rgba(255,255,255,0.5);
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
}

#filtersInit {
    position: absolute;
    top: 20px;
    left: auto;
    height: calc(100vh - 40px);
    background: rgba(0, 0, 0, 0.7);
    width: calc(100vw - 40px);
    color: white;
    backdrop-filter: blur(4px);
    background: url(/images/background_overlay.png);
}

#initProgressContainer {
    height: 5px;
    background: rgba(255, 255, 255, 0.25);
}

#login {
    position: absolute;
    top: 20px;
    left: auto;
    height: 97vh;
    background: rgba(0, 0, 0, 0.7);
    width: calc(100vw - 40px);
}

.addFilterButton {
    margin-left: 35.5%;
    border: 1px dashed #999;
    background: none;
    color: var(--main-text-colour);
    font-size: small;
}

.addFilter-opts {
    display: none;
}

label {
    text-transform: capitalize;
}

.marquee {
    width: 100%;
    /* line-height: 50px; */
    /* background-color: red; */
    /* color: white; */
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee p {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.noUi-connect {
    background: #666;
}

.hud-child-collapse {
    padding-left: 15px;
}

#dddControls {
    width: 165px;
    position: absolute;
    top: 0px;
    left: 60px;
}

.mapboxgl-popup-content {
    position: relative;
    background: rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    padding: 10px 10px 15px;
    pointer-events: auto;
    border-radius: 13px !important;
    border: white solid 3px !important;
}

#zoomInfo {
    padding: 0px;
    padding-left: 20px;
}

.textBox {
    width: 100px;
    height: 30px;
    /* border: 1px solid #000; */
    overflow: hidden;
    /* line-height: 30px; */
    /* padding: 5px; */
    position: relative;
}

.textBox span {
    position: absolute;
    white-space: nowrap;
    transform: translateX(0);
    transition: 2s;
}

.textBox:hover span {
    transform: translateX(calc(100px - 100%));
}

.mapboxgl-popup {
    max-width: 400px;
    font: 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
}

#layersList {
    /* table-layout: fixed; */
    max-width: 100%;
    min-width: 390px;
}

#layersList .layers-icon-col {
    max-width: 30px !important;
}

#layersList .layers-count-col {
    max-width: 30px !important;
}

#layersList .layers-name-col {
    min-width: 60% !important;
}

#filterTable .layers-icon-col {
    max-width: 30px !important;
}

.text-black-15 {
    color: rgba(0, 0, 0, 0.15);
}

#loginModal .modal-content, #logOutModal .modal-content {
    background-color: #333;
    color: white;
}

#loginModal .modal-header, #logOutModal .modal-header {
    border-bottom: none;
}

#loginModal .modal-footer, #logOutModal .modal-footer {
    border-top: none;
}

#loginModal .form-floating, #logOutModal .form-floating {
    color: #333;
}

.modal-content {
    -webkit-box-shadow: 2px 3px 15px 5px rgb(0 0 0 / 60%);
    box-shadow: 2px 3px 15px 5px rgb(0 0 0 / 60%);
}

.slider-round {
    height: 20px;
}

.slider-round .noUi-connect {
    background: #464646;
}

.slider-round .noUi-handle {
    height: 25px;
    width: 25px;
    top: -5px;
    right: -9px;
    border-radius: 50%;
}

.slider-round .noUi-handle:before {
    content: none;
}

.slider-round .noUi-handle:after {
    content: none;
}

.scrollable {
    max-height: 401px;
    overflow-y: scroll;
}

.mobileOnly {
    display: none;
}

/* -------------------------------------------------- MOBILE VERSION -------------------------------------------------- */
@media only screen and (max-width: 600px) {
    #isMobile {
        display: none;
    }

    body {
        border: none;
    }

    .mapboxgl-ctrl-group {
        display: none;
    }

    #mapGrad {
        display: none;
    }

    #hud {
        width: calc(100vw - 40px);
        min-width: 0px;
        position: absolute;
        top: 20px;
        right: 20px;
        border: 5px solid white;
        border-top: 0px;
        background: rgba(255, 255, 255, .75);
        max-height: calc(100vh - 40px);
        overflow-y: scroll;
    }

    #mapLoading {
        position: absolute;
        width: 100vw;
        height: calc(100vh - 40px);
        top: 0px;
        left: 0px;
        backdrop-filter: blur(4px);
    }

    #zoomInfo {
        display: none;
    }

    #mapTools {
        display: none;
    }

    #map {
        width: 100vw;
        /* height: 100vh; */
        height: calc(80vh - 40px);
        /* border: 20px solid white; */
    }

    #infoTable {
        position: inherit;
        bottom: 0;
        left: 0;
        width: calc(100vw - 40px);
        background: rgba(255, 255, 255, 0.5);
    }

    .radioStations {
        display: none;
    }

    .hudTools {
        display: none;
    }

    .hudPanorama {
        display: none;
    }

    .mobileOnly {
        display: block;
    }

    .desktopOnly {
        display: none;
    }
}

.accordion-button {
    padding: 0px;
}

.accordion-button:not(.collapsed) {
    color: #333;
    background-color: rgb(245, 245, 245);
}
.tilt-shift {
    isolation: isolate;
    display: grid;
    inline-size: 100%;
    /* max-inline-size: var(--width, 40rem); */
    /* aspect-ratio: var(--ratio, 10 / 8); */
    /* background-image: var(--image); */
    /* background-position: 50% 50%; */
    /* background-repeat: no-repeat; */
    /* background-size: cover; */
    filter: brightness(1.05) grayscale(.2) saturate(1.6);
  }
  
  .tilt-shift::before,
  .tilt-shift::after {
    position: relative;
    display: block;
    grid-area: 1 / 1 / -1 / -1;
    background: inherit;
    content: "";
    mask: linear-gradient(
      black 0% 20%,
      transparent 30% 70%,
      black 80% 100%
    );
  }
  
  .tilt-shift::before {
    z-index: 1;
    filter: blur(.25rem) opacity(.8);
  }
  
  .tilt-shift::after {
    z-index: 1;
    filter: blur(.0625rem) opacity(.5);
  }

.weather-dateTick {
    border-left: 1px solid black;
    padding-left: 5px;
    font-size: x-small;
    font-weight: bold;
    background-color: white;
}

.weather-slider-tick {
    position: relative;
    float: left;
    top: -5px;
    /* background: white; */
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 20px;
}

.weather-dateTick-inner {
    position: absolute;
    width: 120px;
    z-index: 100;
    top: -20px;
    left: -5px;
    font-size: smaller;
    /* background: white; */
}

.weather-tick-warning-YELLOW {
    background: yellow;
    /* border-bottom: 6px solid yellow; */
}

.weather-slider-tick-hover {
    visibility: hidden;
    position: absolute;
    top: 30px;
    opacity: 0;
    transition: opacity 0.5s;
}

.weather-slider-tick:hover .weather-slider-tick-hover {
    visibility: visible;
    opacity: 1;
}

#weatherSlider {
    background: rgba(255, 255, 255, .5);
    border-top: 3px solid white;
    border-right: 3px solid white;
    backdrop-filter: blur(4px);
    pointer-events: all;
}

#weatherWarnings {
    position: absolute;
    bottom: 160px;
    left: 10px;
}

.weatherWarningLevel {
    width: 80px;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    margin-right: 10px;
}

.weatherWarningLevel-YELLOW {
    background: yellow;
    color: #2a2a2a;
}

.weatherWarningLevel-AMBER {
    background: orange;
    color: #2a2a2a;
}

.tick-warning-YELLOW {
    background: yellow;
    opacity: 0.4;
}

.tick-warning-AMBER {
    background: orange;
    opacity: 0.4;
}

.weatherWarningType {
    float: left;
    width: 50px;
    padding: 10px;
}
#user-container{
    padding: 0px;
    border: none;
    background: none;
}

.message-bubble {
    padding: 10px;
    margin: 5px 0;
    border-radius: 15px;
    max-width: 70%;
    clear: both;
}
.user-bubble {
    background-color: #007bff;
    color: white;
    float: right;
}
.reply-bubble {
    background-color: #6c757d;
    color: white;
    float: left;
}

.dddMapControl {
    min-width: 38px;
}

#currentViewInfo {
    max-height: 33vh;
    overflow-y: scroll;
    border-bottom: 3px solid white;
    padding-top: 20px;
}