/*載入時序圖時, 顯示於marker上的載入動畫*/
.loading_icon{
    display: none;
}
.loading_icon:before{
    content: '';
    position: absolute;
    top: 62px;
    left: 52px;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

/*hover時, 該資料之顏色圖例*/
.tooltip-item{
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 5px;
}
.tooltip-table{
    width: 100%;
    font-size: 12px;
    line-height: 16px;
    outline: 1px solid #ddd;
}
.tooltip-table th,
.tooltip-table td{
    padding: 0px 2px;
    text-align: center;
}

/*地圖上, 清除marker及時序圖的按鈕*/
#clear_markers{
    position: absolute;
    right: 5px;
    top: 65px;
    z-index: 1000;
}

/*時序圖*/
.echart_item{
    position: absolute;
    width: 600px;
    height: 250px;
    margin: 40px 10px;
    background-color: #eee;
    box-shadow: 1px 1px 5px #333;
    outline: 1px solid #777;
    z-index: 9999;
}
.echart_item.front{
    z-index: 99999;
}
.echart_item.echart_table_item{
    height: auto;
}

.echart_item .echart_canvas{
    height: 100%;
}
.echart_item.echart_table_item .echart_canvas{
    height: 150px;
}

.echart_item .echart_ctrl{
    position: absolute;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    height: 32px;
    top: -32px;
    z-index: 1;
}

.echart_item .echart_ctrl header{
    padding: 5px 10px;
    border: 1px solid #777;
    color: #fff;
    background-color: #607d8b;
}

.echart_item .echart_ctrl header .echart_id{
    display: inline-block;
    padding: 0 6px;
    color: yellow;
    background-color: #323232;
    border-radius: 50%;
    border: 1px solid;
    margin: -1px 5px -1px 0;
}

.echart_item .echart_btn_container {
    display: flex;
}

.echart_item .echart_btn_container .echart_btn{
    width: 36px;
    padding: 5px;
    text-align: center;
    border: 1px solid #777;
    color: #fff;
    background-color: #FFC107;
    cursor: pointer;
}
.echart_item .echart_btn_container .echart_btn:hover{
    background-color: #ff8d00;
}

/*table item section header*/
.echart_item.echart_table_item > header{
    position: relative;
    margin: 0.5em 1em 0;
    text-align: left;
    border-bottom: 1px solid #999;
}

.echart_item.echart_table_item > header .section_title{
    display: inline-block;
    margin-right: 1em;
    color: #4d8221;
}

.echart_item.echart_table_item > header .section_tab{
    display: inline-block;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
    border: 1px solid #bbb;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    cursor: pointer;

}
.echart_item.echart_table_item > header .section_tab.active{
    border-color: #7d9768;
    color: #fff;
    background-color: #95ba76;
}

/*table*/
.echart_item.echart_table_item .echart_table_container{
    margin: 0 1em;
    height: calc(100% - 220px);
    overflow: auto;
}

.echart_item.echart_table_item .echart_table_container table{
    height: 100%;
    margin-bottom: 0;
}

.echart_item.echart_table_item .echart_table_container table tr td{
    text-align: center;
    vertical-align: middle;
    font-size: 12px;
}
.echart_item.echart_table_item .echart_table_container table tr td:first-child{
    white-space: nowrap;
}

.echart_item.echart_table_item .echart_table_container table tr td img{
    max-width: 32px;
}

/*loading cover*/
.echart_item .echart_disable_cover{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    cursor: wait;
}
.echart_item .echart_disable_cover:after{
    content: '';
    position: absolute;
    top: 40%;
    width: 30px;
    height: 30px;
    background-color: #333;

    border-radius: 100%;
    -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
    animation: sk-scaleout 1.0s infinite ease-in-out;
}

/* marker加上編號 */
.marker_text{
    padding: 2px 7px;
    margin-right: 2px;
    color: yellow;
    background-color: #333;
    border-radius: 50%;
}