body {
    width: 100%;
    height: 100%;
    background: #24282b;
}

body {
    font-family: "Open Sans", "Microsoft JhengHei", Arial, sans-serif;
}


.controller-box .map-box {
    position: relative;
}

.controller-box .map-box .map {
    background-size: cover;
    width: 100%;
    height: 95vh;
}

.controller-box .map-box .infos .song span, .controller-box .map-box .infos .song small {
    display: block;
}

.mapboxgl-ctrl-bottom-left {
    display: none;
}

/*.mapboxgl-ctrl-bottom-right {*/
/*    display: none;*/
/*}*/


#iw-container {
    margin-bottom: 10px;
}

#iw-container .iw-title {
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 22px;
    font-weight: 400;
    padding: 10px;
    background-color: #48b5e9;
    color: white;
    margin: 0;
    border-radius: 2px 2px 0 0;
}

#iw-container .iw-content {
    font-size: 14px;
    line-height: 18px;
    /*font-weight: 400;*/
    margin-right: 1px;
    padding: 15px 5px 20px 15px;
    /*max-height: 340px;*/
    overflow-y: auto;
    overflow-x: hidden;
}

.iw-content img {
    float: right;
    margin: 0 5px 5px 10px;
}

.iw-subTitle {
    font-size: 16px;
    font-weight: 700;
    padding: 5px 0;
}

.iw-bottom-gradient {
    position: absolute;
    width: 326px;
    height: 25px;
    bottom: 10px;
    right: 18px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -ms-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.controller-box .player .time {
    color: #c6ad94;
}

.controller-box .player .time-rail {
    position: absolute;
    overflow: hidden;
    left: 8vw;
    height: 5vh;
    width: 20vw;
}

.controller-box .player .time-rail .thumb, .controller-box .player .time-rail .track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.controller-box .player .time-rail .thumb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #A1D0FF;
    z-index: 1;
    left: 0%;
}

.controller-box .player .time-rail .track {
    top: 50%;
    width: 100%;
    height: 5px;
    background-color: #2497E3;
    -webkit-appearance: none;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.track::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: #A1D0FF;
    z-index: 1;
    left: 0%;
}

#clock {
    color: #2497E3;
    text-align: center;
    vertical-align: center;
    position: absolute;
    height: 5vh;
    width: 2vw;
    left: 30vw;
    color: #daf6ff;
    font-family: Fantasy;
}

#clock .time {
    letter-spacing: 0.05em;
    font-size: 1.8em;
    margin: auto;
    position: relative;
    top: 10%;
    left: 20%;
}


#emission {
    color: #2497E3;
    text-align: left;
    vertical-align: center;
    position: absolute;
    height: 5vh;
    width: 30vw;
    bottom: 8vh;
    left: 2vw;
    color: #daf6ff;
    font-family: Fantasy;
}

#emission #total {
    /*color: #2497E3;*/
    letter-spacing: 0.05em;
    font-size: 1.8em;
    margin: auto;
    position: relative;
    cursor: pointer;
}


.action-button {
    bottom: 0;
    width: 6vw;
    left: 2px;
    height: 5vh;
    text-align: right;
    margin-right: 15px;
    position: absolute;
    color: #2497E3;
}

.action-button a {
    cursor: pointer;
    display: inline-block;
    width: 44px;
    height: 44px;
    margin: 3px;
    line-height: 44px;
    color: #8b9894;
    transition-duration: 0.2s;
    float: left;
}

.action-button a:hover {
    color: #ffba49;
}

.action-button a:hover.play-pause {
    border-color: #ffba49;
}

.action-button a.play-pause {
    font-size: 1em;
    width: 44px;
    height: 44px;
    line-height: 44px;
}

.action-button a.play-pause.active {
    border-color: #ffba49;
}

.action-button a.play-pause.active i::before {
    content: "";
    margin-left: 5px;
}

.action-button a.active {
    color: #ffba49;
}

.map-overlay {
    font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 250px;
    top: 0;
    right: 5vw;
    padding: 10px;
    z-index: 2;
}

.map-overlay .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 10px;
    margin-bottom: 10px;
}

.map-overlay label {
    display: block;
    margin: 0 0 10px;
}

.map-overlay input {
    background-color: transparent;
    display: inline-block;
    width: 100%;
    position: relative;
    margin: 0;
    cursor: ew-resize;
}

.map-overlay-left {
    font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 10vw;
    top: 0;
    left: 0vw;
    padding: 5px;
    z-index: 2;
}


.map-overlay-left .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 1px;
    margin-bottom: 10px;
}

#type-switch{
    position: absolute;
    width: 5vw;
    top: 0;
    left: 10vw;
    padding-top: 5px;

}

table{
    table-layout: fixed;
    #width: 100%;
}

th, td {
    /*width: 100%;*/
    width: 33.33%;
    border: 0.1px solid black;
}

input[type=range][orient=vertical] {
    -webkit-appearance: slider-vertical;
    width: 1vw;
    height: 18.5vh;
}

.vertical {
    width: 2vw;
    height: 18.5vh;
    transform: rotate(-90deg);
    transform-origin: left;
    position: absolute;
    bottom: -1em;
}

.vertical-wrapper {
    width: 2vw;
    height: 22vh;
    position: absolute;
    padding: 0 10px;
    bottom: 9vh;
    /*right: 6.5vw;*/
    right:8vw
}

.map-overlay-bottom {
    font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 7vw;
    bottom: 9vh;
    right: 1vw;
    padding: 2px;
    z-index: 2;
    /*bottom: 22.5vh;*/
    /*right: 46.5vw;*/
}

.map-overlay-bottom .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 1px;
    margin-bottom: 10px;
    /*display: flex;*/
    /*width: 100%;*/
}


td:nth-child(1) {
    width: 50%
}

.map-overlay-middle {
    font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 10vw;
    top: 6vh;
    left: 0vw;
    padding: 5px;
    z-index: 2;
}

.map-overlay-middle .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 1px;
    margin-bottom: 1px;
}

#date-mode-switch{
    position: absolute;
    width: 5vw;
    top: 6vh;
    left: 10vw;
    padding-top: 5px;
    z-index: 2;
}

.map-overlay-right {
    font: bold 12px/20px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 10vw;
    bottom: 4vh;
    left: 0vw;
    padding: 10px;
    z-index: 2;
}

.map-overlay-right .map-overlay-inner {
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    padding: 1px;
    margin-bottom: 10px;
}

#location {
    font: bold 16px/24px 'Helvetica Neue', Arial, Helvetica, sans-serif;
    position: absolute;
    width: 10vw;
    bottom: 50px;
    left: 10px;
    padding: 10px;
    z-index: 2;
    color: #fff;
}

.popup-whole {
    padding: 0.5em;
    flex: 0 0 500px;
    height: 95vh;
    width: 100vw;
    float: left;
    border-left: 1px solid #eee;
    box-sizing: border-box;
    overflow: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    opacity: 1;
    z-index: 2;
    transform: translateY(-120%);
    transition: 0.2s 0s;
}

.popup-whole.active {
    transform: translateY(0);
    transition: 0.2s 0.3s;
}

.popup-left {
    padding: 0.5em;
    flex: 0 0 500px;
    height: 95vh;
    width: 25vw;
    float: left;
    border-left: 1px solid #eee;
    box-sizing: border-box;
    overflow: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    opacity: 1;
    z-index: 2;
    transform: translateX(-120%);
    transition: 0.2s 0s;
    border-radius: 5px;
}

.popup-left.active {
    transform: translateX(0);
    transition: 0.2s 0.3s;
}

.popup-center {
    padding: 0.5em;
    flex: 0 0 500px;
    height: 95vh;
    width: 25vw;
    float: left;
    border-left: 1px solid #eee;
    box-sizing: border-box;
    overflow: auto;
    position: absolute;
    top: 0px;
    left: 0px;
    background: white;
    opacity: 1;
    z-index: 2;
    transform: translateX(-120%);
    transition: 0.2s 0s;
    border-radius: 5px;
}

.popup-center.active {
    transform: translateX(0);
    transition: 0.2s 0.3s;
}


#schedule-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 1vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#loading-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 1vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#animate-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 16vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#layer-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 11vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#traffic-flow-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 11vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#setting-btn {
    background: transparent;
    border: 0px;
    margin: 5px;
    padding: 0px;
    position: absolute;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    height: 4vh;
    width: 4vh;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    overflow: hidden;
    /*top: -17vh;*/
    right: 6vw;
    z-index: 2;
    transition-duration: 0.1s;
    transition-delay: 0.2s;
    text-align: center;
}

#copyright-label {
    position: relative;
    width: 50%;
    height: 40px;
    line-height: 44px;
    margin: 3px;
    text-align: left;
    float: left;
    color: #FFFFFF;
    font-family: "Arial";
}

.ctrl-button:hover {
    transform: scale(1.2);
}

/*.dataTables_wrapper { min-height: 250px; }*/
.btn-group, .btn-group-vertical{
    display: inline
}
.multiselect-container {
    height: 50vh;
    overflow-y: auto;
    min-width: 9vw;
    width: 100%;
    z-index: 1;
}

.navigation-container{
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 10%;
    right: 1%;
}

.heatmap-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 10%;
    right: 1%;
}

.heatmap-bar {
    width: 1.5vw;
    height: 12vw;
    background: linear-gradient(to bottom,
    rgb(6,250,77),
    rgb(93,229,133),
    /*rgb(147,205,164),*/
    /*rgb(171,179,127),*/
    rgb(254,224,144),
    /*rgb(253,174,97),*/
    rgb(224,122,23),
    rgb(214,65,57),
    rgb(165,0,38));
    position: relative;
    right: 2%;
    transform: translateX(-100%);
}

.heatmap-labels {
    position: absolute;
    bottom: 0;
    left: 0%;
    /*transform: translateX(-100%);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%; /* Adjust height based on the number of labels */
}

.heatmap-label {
    text-align: right;
    color: #fff
}



.e-card {
    /*margin: 100px auto;*/
    background: transparent;
    /*box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);*/
    position: absolute;
    width: 12vw;
    height: 12vw;
    border-radius: 16px;
    overflow: hidden;
    bottom: 10%;
    right: 0.5%;

    /*position: absolute;*/
    /*display: flex;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*bottom: 10%;*/
    /*right: 1%;*/
    /*width: 18vw;*/
    /*height: 18vw;*/
}

.wave {
    position: absolute;
    width: 540px;
    height: 700px;
    opacity: 0.6;
    left: 0;
    top: 0;
    margin-left: -50%;
    margin-top: -70%;
    background: linear-gradient(744deg, #40ffe9,#5b42f3 60%,#00ddeb);
}

.icon {
    width: 3em;
    margin-top: -1em;
    padding-bottom: 1em;
}


.wave:nth-child(2),
.wave:nth-child(3) {
    top: 210px;
}

.playing .wave {
    border-radius: 40%;
    animation: wave 10000ms infinite linear;
}

.wave {
    border-radius: 40%;
    animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
    animation-duration: 14000ms;
}

.wave:nth-child(2) {
    animation-duration: 50s;
}

.playing .wave:nth-child(3) {
    animation-duration: 15000ms;
}

.wave:nth-child(3) {
    animation-duration: 45s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.transition-effect {
    transition: opacity 1.5s ease;
}


.radio-inputs {
    font-family:'Open Sans Condensed', sans-serif;
    position: absolute;
    left: 30%;
    top: 1vh;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0.5rem;
    background-color: #EEE;
    box-sizing: border-box;
    box-shadow: 0 0 0px 1px rgba(0, 0, 0, 0.06);
    padding: 0.25rem;
    width: 40%;
    font-size: 16px;
}

.radio-inputs .radio {
    flex: 1 1 auto;
    text-align: center;
    margin-bottom: 0;
}

.radio-inputs .radio input {
    display: none;
}

.radio-inputs .radio .name {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: none;
    padding: .5rem 0;
    color: rgba(51, 65, 85, 1);
    transition: all .15s ease-in-out;
}

.radio-inputs .radio input:checked + .name {
    background-color: #09f8f8;
    font-weight: 600;
}
