﻿#map {
    position: fixed;
    top: 70px;
    left: 220px;
    right: 620px;
    bottom: 0px;
    transition: all .4s
}

    #map .station {
        background-color: rgba(255, 255, 255,0.8);
        border-radius: 50%;
        border: solid 2px #2c7cbd;
    }

        #map .station.wind {
            background-image: url("/Images/港口圖例/風速.png");
        }

        #map .station.wave {
            background-image: url("/Images/港口圖例/波浪.png");
        }

        #map .station.tide {
            background-image: url("/Images/港口圖例/潮位.png");
        }

        #map .station.windpower {
            background-image: url("/Images/港口圖例/風機.png");
        }

        #map .station:before {
            content: "";
            position: absolute;
            border: solid;
            background-color: rgba(0, 0, 0, 0.2);
            border-radius: 50%;
            width: 60px;
            height: 60px;
            left: -15px;
            top: -15px;
            opacity: 0;
        }

        #map .station.focus:before {
            opacity: 1;
        }

        #map .station.ks:before, #map .station.pt:before, #map .station.wra:before {
            content: "";
            display: block;
            width: 30px;
            height: 25px;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            position: absolute;
            top: -25px;
        }

body.mini-navbar #map {
    left: 70px;
}

#layer, #layer .wrapper {
    width: 620px;
}

    #layer label img {
        width: auto;
        height: 30px;
        padding: 0px 5px;
    }

    #layer .panel-group .panel-body {
        font-size: 14px;
    }

    #layer label {
        padding-right: .5rem;
    }

    #layer .direction img {
        width: 20px;
    }

    #layer .status-list {
        display: flex;
        margin-bottom: 1rem;
        text-align: center;
        font-size: 13px;
    }

        #layer .status-list > div {
            margin-right: .5rem;
            text-align: center;
        }

    #layer table tbody tr {
        cursor: pointer;
    }


#detail, #detail .wrapper {
    width: 620px;
}

    #detail .bg {
        background-color: transparent;
    }

    #detail .info {
        background-color: #2c7cbd;
        border-radius: 8px;
        color: #ffffff;
        padding: 10px;
    }

    #detail .plot {
        padding: 15px;
    }

        #detail .plot canvas {
            height: 200px !important;
        }

    #detail .nav-tabs, #statistics .nav-tabs {
        border-bottom: none;
    }

        #detail .nav-tabs li, #statistics .nav-tabs li {
            flex: none;
        }

            #detail .nav-tabs li a, #statistics .nav-tabs li a {
                background-color: transparent;
            }

                #detail .nav-tabs li a.active, #detail .nav-tabs li a:hover,
                #statistics .nav-tabs li a.active, #statistics .nav-tabs li a:hover {
                    border: none;
                }

#statistics, #statistics .wrapper {
    width: 620px;
}

    #statistics img {
        width: 100%;
    }
