﻿html, body, #div_Map, #div_Map_Comparison {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
	font-family: Microsoft JhengHei;
    font-size: 0.875rem;
    overflow: hidden;
}

.sr-only {
    position: absolute;
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.sr-only-focusable:active, .sr-only-focusable:focus {
    position: absolute;
    margin: 0;
    width: auto;
    height: auto;
    font-size: 0.9rem;
    text-decoration: none;
    color: #192a51;
    overflow: visible;
    clip: auto;
    z-index: 1031;
}

/*瀏覽器不支援JavaScript Start*/
noscript {
    display: table;
    margin: 5px 0px;
    padding: 5px;
    width: 100%;
    text-align: center;
    border: 5px double #064d5d;
    box-shadow: 4px 4px grey;
}
    noscript span {
        margin: 0px;
        font-size: 1.5em;
        font-weight: bold;
        color: red;
    }

#btn_Locate {
    display: none;
    position: absolute;
    top: 230px;
    left: 21px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border: 1px solid #57585A;
    border-radius: 5px;
    z-index: 30;
}

#btn_Locate:hover {
    background-color: #eee;
}

#btn_Locate img {
    position: relative;
    top: 14%;
    left: 14%;
    width: 70%;
    height: 70%;
    opacity: 0.6;
}

span {
	font-family: Microsoft JhengHei;
    font-size: 0.875rem;
    font-weight: bolder;
}

input[type=text] {
    margin: auto;
    width: 100px;
	font-family: Microsoft JhengHei;
    font-size: 0.875rem;
}

input[type=button] {
    cursor: pointer;
    margin: auto;
    height: 25px;
    width: 50px;
	font-family: Microsoft JhengHei;
    font-size: 0.875rem;
    color: #fff;
    background: #437ea6;
    border: none;
    font-weight: bold;
}

input[type=button]:hover:not(:disabled), input[type=button]:focus, input[type=button]:active {
    background: #3397c3;
    outline: -webkit-focus-ring-color auto 1px;
}

input[type=radio] {
    position: relative;
    top: 1px;
    cursor: pointer;
}

input[type=radio] + label {
    cursor: pointer;
}

select {
    margin: auto;
    width: 100px;
	font-family: Microsoft JhengHei;
    font-size: 0.875rem;
}

img {
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    height: 32px;
    width: 32px;
    background-size: contain;
}

.blockUI {
    cursor: wait;
    height: auto;
    width: auto;
}

input[type="button"]:disabled, select:disabled  {
    cursor: not-allowed;
}

input[type=button].Locate {
    width: 70px;
}

input[type="button"].Locate:disabled {
    background: #bebebe;
}

input[type=button].btn_Open {
    color: #6d6e71;
    background: #ededed;
    border: 1px solid #ccc;
    font-weight: normal;
}

input[type=button].btn_Open:hover { 
    background: #ddd;
}

/*Banner---------------------------------------------------------------*/
.img_Topic {
    height: auto;
    width: auto;
    cursor: default;
}

.div_Banner {
    position: absolute;
    z-index: 1;
    height: 120px;
    width: auto;
    background: #b4cee3;
    opacity: 0.8;
}

.table_Banner {
    padding: 5px;
    white-space: nowrap;
}

.div_F_Function {
    display: inline-block;
    padding: 5px;
    cursor: pointer;
    width: 69px;
    color: #fff;
    background: url(../Images/Map/toggleBtn_Unchecked.png);
    text-align: center;
    white-space: nowrap;
    font-size: 1rem;
    font-weight: bolder;
}

.div_F_Function:hover {
    background: url(../Images/Map/toggleBtn_Checked.png);
}

#div_F_Monitor {
    background: #370565;
    background: url(../Images/Map/toggleBtn2_Unchecked.png);
}

#div_F_Monitor:hover {
    background: #8a2be2;
    background: url(../Images/Map/toggleBtn2_Unchecked.png);
}

.table_Banner table img:hover, .img_Banner{
    background-color: rgba(255, 255, 255, 0.8);
}

.img_Push {
    position: relative;
    margin-left: -20px;
    top: -5px;
    height: 32px;
    width: 21px;
}

.table_Banner table .img_Push:hover {
    background-color: inherit;
    transform: scale(1.2);
}

.img_Pull {
    display: none;
    position: absolute;
    height: 78px;
    width: 50px;
    z-index: 1;
    opacity: 0;
}

.img_Pull:hover  {
    background-color: inherit;
    margin-top: 2px;
    margin-left: 2px;
    transform: scale(1.05);
}

.div_Function, #div_Measurement {
    display: none;
    position: absolute;
    z-index: 1;
    border: 1px solid #000;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.2);
}

.div_Function > div {
    margin: 5px;
    width: auto;
    background-color: rgba(200, 200, 200, 0.1);
    background-color: #fff;
    text-align: center;
    vertical-align: middle;
    font-family: Microsoft JhengHei; 
}

/*空間定位---------------------------------------------------------------*/
#div_Locate {
    top: 140px;
    left: 320px;
}

#div_Locate table td {
    padding: 2px;
    text-align: left;
    white-space: nowrap;
}

#div_Locate .td_LocateTitle {
    padding: 5px;
    background: #ffc0cb;
}

.OpenClose {
    cursor: pointer;
}

#div_Locate table div {
    display: none;
}

#ddl_LandMark, #ddl_Road {
    width: 250px;
}

/*圖面工具---------------------------------------------------------------*/
#div_Tool {
    top: 20px;
    right: 20px;
}

#div_Tool table td:nth-child(2) {
    width: 140px;
    background-color: rgba(200, 200, 200, 0.1);
}

.img_Tool, #div_Tool img {
    padding: 5px;
}

.img_Tool:hover {
    transform: scale(1.2) rotate(30deg);
}

#img_Previous, #img_Next {
    opacity: 0.2;
}

#div_Measurement {
    width: 280px; 
    top: 250px;
    right: 20px;
}

/*圖例說明---------------------------------------------------------------*/
#div_Legend {
    top: 140px;
    left: 70px;
    width: 235px;
    font-size: 0.75rem;
    max-height: 550px;
    overflow-y: auto;
}

/*區域監測---------------------------------------------------------------*/
#div_Monitor {
    top: 140px;
    right: 20px;
    width: 260px;
    max-height: 460px;
    overflow-y: auto;
}

#div_Monitor table {
    width: 100%;
    text-align: left;
}

#div_Monitor table td {
    padding: 8px 5px;
}

#div_Monitor .td_MonitorTitle {
    padding: 5px;
    background: #b9cde5;
}

#div_Monitor .MonitorArea {
    display: none;
}

#div_Monitor .MonitorArea div {
    padding: 5px 0px;
    text-align: left;
    font-size: 0.875rem;
}

/*圖面資訊---------------------------------------------------------------*/
#div_Information {
    display: block;
    bottom: 10px;
    left: 10px;
    width: 465px;
    border: none;
    background: #b4cee3;
    opacity: 0.8;
}

#div_Information table td{
    padding: 5px;
    text-align: center;
}

#div_Information span {
    font-size: 0.75rem;
    white-space: nowrap;
}

#div_Scalebar {
    margin-top: -8px;
}

/*讀取資料---------------------------------------------------------------*/
.blockUI span {
    display: block;
    font-size: 1.17em;
    margin: 1em 0;
    font-weight: bold;
}

/*隱藏---------------------------------------------------------------*/
h1 {
    margin: 0;
}
.visually-hidden, .visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute!important;
    width: 1px!important;
    height: 1px!important;
    padding: 0!important;
    margin: -1px!important;
    overflow: hidden!important;
    clip: rect(0,0,0,0)!important;
    white-space: nowrap!important;
    border: 0!important;
}