﻿#div_map {
    width: 100%;
}

#toolbar {
    position: absolute;
    z-index: 9999;
    left: 10px;
    top: 50px;
}

#left_tab {
    position: absolute;
    z-index: 9999;
    top: 230px;
    left: 0px;
}

#left_tab>.tab {
    border: 1px solid #908f8f;
    border-radius: 0px 5px 5px 0px;
    box-shadow: #000000 2px 2px 4px;
    opacity: 0.9;
    background-color: #c7c5c5;
    width: 38px;
    padding: 8px;
    padding-left: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
}

#weather {
    border: 1px solid #908f8f;
    background-color: #d8d3d3;
    border-radius: 5px 0px 0px 5px;
    position: absolute;
    top: 160px;
    right: 0px;
    z-index: 9999;
    cursor: pointer;
    width: 80px;
    height: 120px;
    box-shadow: #000000 2px 2px 4px;
    opacity: 0.8;
    padding: 8px;
    clear: both;
    overflow: hidden;
}

#weather>#weather_content {
    display: none;
}

#weather #weather_loading {
    padding-top: 20px;
    text-align: center;
    line-height: 30px;
}

#weather .info {
    font-size: 12px;
}

#weather .city {
    padding-bottom: 5px;
    clear: both;
    display: table;
}

#weather .times {
    float: left;
    width: 33%;
    text-align: center;
}

#weather .time_box,
.day_box {
    width: 200px;
}

.time_box .times {
    background-color: #dedfc6 !important;
}

.day_box {
    background-color: #dedfe0 !important;
    display: table;
}

#weather .date {
    font-size: 14px;
    font-weight: bold;
}

#weather .time {
    font-size: 12px;
    padding-bottom: 5px;
}

#weather .hr {
    width: 90%;
    height: 0px;
    clear: both;
    display: table;
    text-align: center;
    padding: 5px 0px 5px 0px;
    border-bottom: 1px solid #908f8f;
    margin: auto auto 10px auto;
}

#weather .day {
    clear: both;
    display: block;
}

#weather .day div {
    float: left;
    width: 33%;
    text-align: center;
    vertical-align: middle;
    margin-top: 10px;
}

#weather .day .date {
    padding-top: 10px;
}

#weather .day .info {
    padding-top: 10px;
}

#weather #weather_single {
    text-align: center;
}

#weather #weather_single div {
    width: 100%;
    text-align: center;
}

#weather #weather_detail .city {
    padding-left: 13px;
    padding-top: 8px;
}

.window {
    position: absolute;
    z-index: 10000;
    width: 300px;
    left: 200px;
    top: 200px;
    display: none;
    clear: both;
}

.window>.title {
    background-color: #3d8eb9;
    font-size: 14px;
    clear: both;
    display: table;
    width: 100%;
    padding: 0px;
    border-radius: 5px 5px 0px 0px;
    box-shadow: #000000 3px 3px 20px;
}

.window>.title>.text {
    float: left;
    padding: 8px;
    color: white;
}

.window>.title>.close {
    float: right;
    clear: right;
    padding: 8px;
    cursor: pointer;
    color: white;
}

.window>.content {
    border-radius: 0px 0px 5px 5px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 100%;
    font-size: 16px;
    background-color: #d1d5d8;
    box-shadow: #000000 3px 3px 20px;
    margin-top: -1px;
}

.window>.content>.list>ul {
    padding: 0px;
    margin: 0px;
}

.window>.content>.list {
    padding-left: 13px;
}

.window>.content>.list>ul>li {
    padding: 0px 0px 0px 0px;
    margin: 0px;
    list-style: none;
}

.window>.content>.title {
    color: #4e97be;
    padding: 5px 0px 4px 15px;
    font-weight: bold;
    font-size: 14px;
}

.window>.content input[type=checkbox] {
    margin-right: 5px;
    height: 14px;
    width: 14px;
}

/* 分頁標籤樣式 */
.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.tab-btn {
    padding: 8px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background-color: #3d8eb9;
    color: white;
    border-color: #3d8eb9;
}

/* 分頁內容樣式 */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none !important;
}

.tab-pane.active {
    display: block !important;
}

/* 分頁內容內的收合功能保持原樣 */
.tab-pane .menu > li > .title {
    cursor: pointer;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tab-pane .menu > li > .title .arrow::before {
    content: '▶';
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.tab-pane .menu > li.active > .title .arrow::before {
    transform: rotate(90deg);
}

.tab-pane .menu > li > .list {
    display: none;
    padding-left: 20px;
}

.tab-pane .menu > li.active > .list {
    display: block;
}


.map_info {
    min-width: 200px;
    line-break: auto;
    text-align: center;
    overflow: visible;
}

.map_info div {
    padding: 2px;
}

.map_info .title {
    font-size: 14px;
    font-weight: bold;
}


.map_info .alert {
    text-align: left !important;
    margin: 0px !important;
    white-space: nowrap;
}


.text-left {
    text-align: left;
}

#div_show_road {
    clear: both;
    width: 800px;
}

#div_show_road .alert_left {
    width: 240px;
    border-right: 2px solid #c7c5c5;
    padding-right: 10px;
    margin-left: 10px;
}

#div_show_road .alert_right {
    width: 535px;
    height: 455px;
    overflow: auto;
    margin-left: 5px;
    margin-right: 5px;
}

#div_show_road .block {
    background-color: #c7c5c5;
    padding: 8px;
    margin-bottom: 7px;
}

#div_show_road label {
    padding-left: 5px;
}

#div_show_alert {
    clear: both;
    width: 750px;
}

#div_show_alert .alert_left {
    width: 300px;
    border-right: 2px solid #c7c5c5;
    padding-right: 10px;
    margin-left: 10px;
}

#div_show_alert .alert_right {
    width: 435px;
    height: 385px;
    overflow: auto;
    margin-left: 5px;
    margin-right: 5px;
}

#div_show_alert .block {
    background-color: #c7c5c5;
    padding: 5px;
    margin-bottom: 5px;
}

#div_show_alert label {
    padding-left: 5px;
    margin-bottom: 0px;
}

#div_show_rain {
    clear: both;
    width: 410px;
}

#div_show_rain .alert_left {
    width: 400px;
    padding-right: 10px;
    margin-left: 10px;
}

#div_show_rain .alert_left>.block>.title {
    color: #4e97be;
    padding: 5px 0px 4px 0px;
    font-weight: bold;
    font-size: 14px;
}

#div_show_rain .block {
    background-color: #c7c5c5;
    padding: 5px;
    margin-bottom: 5px;
}

#div_show_rain label {
    padding-left: 4px;
    margin-bottom: 0px;
}

.alert_rainfall_detail {
    padding: 8px;
    border: 1px solid #c7c5c5;
    background-color: white;
    margin-bottom: 5px;
}

.Seismic_info {
    text-align: left;
}

#div_show_point .btn_div {
    padding: 5px;
}

#div_show_point .btn_div input {
    width: 30px;
    height: 30px;
    font-size: 18px;
}

#div_show_point {
    width: 250px !important;
}

#div_show_point .point_list {
    border: 1px solid #c7c5c5;
    background-color: white;
    height: 100px;
    margin: 5px;
}

#div_show_point .point_list select {
    width: 100%;
    height: 100px;
}

#div_show_point .desc {
    padding: 10px;
}

#alert_info {
    padding-right: 8px;
}

#div_legend {
    left: 1200px;
    top: 400px;
    width: 220px;
    padding-bottom: 30px;
    right: 0px !important;
}

#div_legend .content {
    width: auto;
    height: 168px;
    overflow: scroll;
    overflow-x: hidden;
    margin-bottom: 20px !important;
    text-align: center;
}

#div_legend .content img {
    width: 180px;
    margin-bottom: 5px;
}

.btn_legend {
    font-size: 12px;
    border: 1px solid #808080;
    padding: 2px 8px 0px 8px;
    margin-left: 5px;
}

#rainfull_legend {
    display: none;
    padding: 10px;
}

#rainfull_legend div {
    float: left;
    margin-right: 4px;
}

#rainfull_legend .legend {
    width: 30px;
    height: 15px;
    border: 1px solid #808080;
}

#rainfull_legend .legend.lv1 {
    background-color: #9900cc;
}

#rainfull_legend .legend.lv2 {
    background-color: #ff0000;
}

#rainfull_legend .legend.lv3 {
    background-color: #ff6600;
}

#rainfull_legend .legend.lv4 {
    background-color: #ffff00;
}

#user_location {
    border: 1px solid #908f8f;
    border-radius: 0px 0px 5px 5px;
    box-shadow: #000000 2px 2px 4px;
    opacity: 0.9;
    background-color: #d8d3d3;
    min-width: 200px;
    position: absolute;
    padding: 8px;
    font-size: 14px;
    right: 120px;
    top: 42px;
    z-index: 9999999;
}

#user_location span {
    color: blue;
}

#searchInput {
    margin-left: 5px;
    width: 350px;
}

.btn_4d button {
    margin: 0px 2px 0px 2px;
}

.load_text {
    position: absolute;
    bottom: 8%;
    z-index: 9999;
    width: auto;
    right: 10%;
    font-size: 30px;
}

.load_text div {
    display: none;
}


.text_warning {
    color: #ff6600;
}

.link {
    color: #F7DA64;
}

.link:hover {
    color: #F7DA64;
}

li>label {
    padding-left: 3px;
}

.colorbar-color-panel {
    position: absolute;
    left: calc(100vw - 150px);
    top: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.3);
    color: rgb(255, 255, 255);
    border-radius: 5px;
    display: none;
    cursor: move;
}

.colorIndex-image {
    position: absolute;
    left: calc(100vw - 200px);
    top: calc(100vh - 300px);
    display: none;
    cursor: move;
}

ul.two-column-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

ul.two-column-list li {
    width: 100%;
}

ul.three-column-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
}

ul.three-column-list li {
    width: 100%;
}

#slider-container {
    position: absolute;
    left: 100px;
    top: calc(100vh - 80px);
    width: calc(100vw - 200px);
    z-index: 100000;
    border-radius: 5px;
    cursor: move;
    display: flex;
    vertical-align: middle;
}

#sliderDate {
    width: calc(100vw - 500px);
    vertical-align: middle;
    height: 7px;
    margin-top: auto;
    margin-bottom: auto;
    background-color: #CCC;
}

#fast-backward,
#play-pause,
#fast-forward {
    width: 30px;
    height: 20px;
    font-size: 20px;
    vertical-align: middle;
}

[class*=" ui-icon"] {
    zoom: 150%;
}

.slider-tick {
    position: absolute;
    width: 2px;
    height: 7px;
    background-color: #333;
}

/*-----------------
MENU
-------------------*/
/* 基本樣式 */
.menu ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.menu {
    padding: 0px 13px;
    margin: 0px;
}

.menu li {
    margin-bottom: 5px;
    list-style: none;
}

.menu a {
    text-decoration: none;
    color: #333;
    background-color: #fff;
    padding: 5px 10px;
    display: block;
}

/* 展開狀態 */
.menu li.active ul {
    display: block;
}

/* 滑鼠懸停時的樣式 */
.menu li:hover a {
    background-color: #f0f0f0;
}

/* 下箭頭樣式 */
.menu .arrow::after {
    content: "\25BC";
    /* Unicode箭頭字符 */
    float: right;
}

/* 展開狀態下箭頭樣式 */
.menu li.active .arrow::after {
    content: "\25B7";
    /* Unicode箭頭字符 */
}

.menu li>.title {
    color: #4e97be;
    padding: 5px 0px 4px 0px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

.menu li>.title:hover {
    background-color: #eee;
}

.menu li>.list>ul.two-column-list-a {
    list-style: none;
    padding: 0;
    display: none;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.menu li>.list>ul.two-column-list-a li {
    width: 100%;
}

.menu li>.list>ul.two-column-list-d {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0;
}

.menu li>.list>ul.two-column-list-d li {
    width: 100%;
}

/* 默認折疊狀態 */
.menu li ul {
    display: none;
}

#datetimepicker {
    cursor: pointer;
    height: 25px;
    width: 120px;
    display: inline-block;
    color: blue;
}

#msgSpan {
    color: blue;
}

#datetimepicker-alert {
    cursor: pointer;
    height: 25px;
    width: 120px;
    display: inline-block;
    color: blue;
}

#msgSpan-alert {
    color: blue;
}

.highlighted-date {
    background-color: purple !important;
    color: white !important;
}

.gm-ui-hover-effect {
    width: 20px !important;
    height: 20px !important;
    top: -3px !important;
    right: 18px !important;
}
.gm-ui-hover-effect > span {
    width: 16px !important;
    height: 16px !important;
    font-size: 16px !important;
    line-height: 16px !important;
}