html,
body {
    height: 100%;
    font-family: Arial, Helvetica, "微軟正黑體";
    overflow: hidden;
}

#HEADER {
    position: relative;
    width: 100%;
    height: 55px;
    background-color: #5599ff;
    background-image: url(../img/logo_white.png);
    background-repeat: no-repeat;
}

#HEADER h1 {
    display: none;
}

#SiteTitle {
    float: left;
    padding-left: 265px;
    line-height: 55px;
    font-size: 20px;
    font-weight: 300;
    color: #fff;
}

#login {
    float: right;
    padding-right: 50px;
}

#MWHwebsite {
    float: right;
    padding-right: 100px;
}

#login a,
#MWHwebsite a {
    font-size: 13px;
    font-weight: normal;
    line-height: 40px;
    text-decoration: none;
    color: #fff;
}

#login a:hover,
#MWHwebsite a:hover {
    color: #099;
    text-decoration: none;
}

#MAP_VIEWER {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white /*rgb(179, 209, 255)*/;
}

#toolbar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 35px;
    background-color: white;
}

#tabpanel {
    position: absolute;
    min-height: 100%;
    width: 300px;
    padding-top: 35px;
}

#tabpanel_header,
.tabpanel-tabs {
    position: absolute;
    height: 100%;
}

#tabpanel_header ul {
    position: absolute;
    top: 30px;
    left: 0;
}

#toolbar .toolbar-alignRight {
    float: right;
}

#toolbar li {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 20px;
    line-height: 35px;
}

#toolbar li:nth-child(odd) ul {
    display: none;
}

#toolbar li:nth-child(odd) ul li {
    float: none;
    display: block;
    border-left: none;
    position: relative;
}

#toolbar li:nth-child(odd) ul li a {
    color: #fff;
    text-decoration: none;
    font-size: .9em;
}

#toolbar li:hover ul {
    display: block;
    font-weight: normal;
    position: absolute;
    z-index: 3;
    /* background-color: #92d400; */
    background-color: #91C41F;
}

#toolbar li:nth-child(odd):hover {
    /* background-color: #92d400; */
    background-color: #91C41F;
}

#toolbar li a:hover {
    text-decoration: none;
}

.toolbar_right {
    float: right;
}

#tabpanel_header li {
    float: left;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
    line-height: 30px;
}

#tabpanel_header li a {
    color: #247EFF;
}

#tabpanel_header #left-arrow {
    position: absolute;
    z-index: 999;
    left: 0;
    font-size: 20px;
    line-height: 40px;
}

#tabpanel_header #right-arrow {
    position: absolute;
    z-index: 999;
    left: 280px;
    font-size: 20px;
    line-height: 40px;
}
#QA:hover ul{
right: 10px;
text-align: left;
font-size: 18px;
}
#QA ul li{
    font-size: 18px;
    }
#mapdiv {
    height: 100%;
    /*overflow: hidden;*/
    /* 寬度滿版*/
}


/* 左邊第二層功能選單*/


/* Ref: https://css-tricks.com/functional-css-tabs-revisited/ */

.tabpanel-tabs {
    position: relative;
    z-index: 2;
    min-height: 600px;
    clear: both;
    margin: 0;
}

.tabpanel-tab {
    float: left;
}

.tabpanel-tab > label {
    width: 75px;
    font-size: 15px;
    font-weight: 900;
    text-align: center;
    line-height: 18px;
    background: #099;
    padding: 5px;
    border: 1px solid #ccc;
    position: relative;
    left: 1px;
}

.tabpanel-tab [type=radio] {
    display: none;
}

.tabpanel-content {
    position: absolute;
    top: 28px;
    left: 0px;
    background: #FFFFFF;
    right: 0px;
    bottom: 0px;
    padding: 10px;
    border-right: 1px solid #ccc;
    overflow-y: scroll;
    padding-bottom: 150px;
}

[type=radio]:checked ~label {
    background: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    z-index: 2;
}

[type=radio]:checked ~label ~.tabpanel-content {
    z-index: 2;
}

#WQbasinDiv,
#WQsiteDiv,
#WQitemDiv {
    overflow: hidden;
    /* 強迫div尺寸長出來 */
}

#WQsubmitDiv,
#PSsubmitDiv {
    text-align: center;
    padding-top: 10px;
}

#WQsubmitStatus{
    color: red;
}


.datepicker {
    /* bugfix: 修正背景透明問題 */
    border: 1px solid #CCC;
    background: #fff;
}


/* 左邊第二層功能選單*/


/* 右邊第二層功能選單 */

input[type=checkbox] {
    /* display: none; */
}

input[type=checkbox]:checked ~ label {
    color: red;
}

input[type=checkbox] ~ label {
    color: #1D0EFF;
}

input[name=mapType] {
    display: none;
}

input[name=mapType]:checked ~ label {
    color: red;
    /* background: #92d400; */
    background: #91C41F;

}

input[name=mapType] ~ label {
    /* background: #92d400; */
    background-color: #91C41F;
    color: blue;
}

/* 右邊第二層功能選單 */


/* 是否需包含重點河川的check box */
input[name=getAllBasin] {
    display: none;
}

input[name=getAllBasin] ~ label{
    color: #BDBDBD;
}

input[name=getAllBasin]:checked ~ label {
    color: #000;
    background-color: #91C41F;
    border-radius: 5px;
}



/* 行動檢視 */
@media (max-width: 600px) {
    #toolbar li{
        font-size: 12px;
    }

    #mapdiv{
        width: 100%;
    }
}


/* Loading 頁面 */
#loading_wrapper{
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 999;
}

#loading_wrapper_done{
    display: none;
}
.spinner {
    font-size: 50px;
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
}

.spinner.center {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.spinner .spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.074em;
  height: 0.2777em;
  border-radius: 0.5em;
  background-color: transparent;
  -webkit-transform-origin: center -0.2222em;
          transform-origin: center -0.2222em;
  -webkit-animation: spinner-fade 1s infinite linear;
          animation: spinner-fade 1s infinite linear;
}
.spinner .spinner-blade:nth-child(1) {
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-transform: rotate(0deg);
          transform: rotate(0deg);
}
.spinner .spinner-blade:nth-child(2) {
  -webkit-animation-delay: 0.083s;
          animation-delay: 0.083s;
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg);
}
.spinner .spinner-blade:nth-child(3) {
  -webkit-animation-delay: 0.166s;
          animation-delay: 0.166s;
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg);
}
.spinner .spinner-blade:nth-child(4) {
  -webkit-animation-delay: 0.249s;
          animation-delay: 0.249s;
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}
.spinner .spinner-blade:nth-child(5) {
  -webkit-animation-delay: 0.332s;
          animation-delay: 0.332s;
  -webkit-transform: rotate(120deg);
          transform: rotate(120deg);
}
.spinner .spinner-blade:nth-child(6) {
  -webkit-animation-delay: 0.415s;
          animation-delay: 0.415s;
  -webkit-transform: rotate(150deg);
          transform: rotate(150deg);
}
.spinner .spinner-blade:nth-child(7) {
  -webkit-animation-delay: 0.498s;
          animation-delay: 0.498s;
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}
.spinner .spinner-blade:nth-child(8) {
  -webkit-animation-delay: 0.581s;
          animation-delay: 0.581s;
  -webkit-transform: rotate(210deg);
          transform: rotate(210deg);
}
.spinner .spinner-blade:nth-child(9) {
  -webkit-animation-delay: 0.664s;
          animation-delay: 0.664s;
  -webkit-transform: rotate(240deg);
          transform: rotate(240deg);
}
.spinner .spinner-blade:nth-child(10) {
  -webkit-animation-delay: 0.747s;
          animation-delay: 0.747s;
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg);
}
.spinner .spinner-blade:nth-child(11) {
  -webkit-animation-delay: 0.83s;
          animation-delay: 0.83s;
  -webkit-transform: rotate(300deg);
          transform: rotate(300deg);
}
.spinner .spinner-blade:nth-child(12) {
  -webkit-animation-delay: 0.913s;
          animation-delay: 0.913s;
  -webkit-transform: rotate(330deg);
          transform: rotate(330deg);
}
.tb_inform_xxxx {
    margin: 0.5rem 0rem 0.5rem 0rem;
    text-align: center;
    background-color: #EEF9F7;
    border: 1px solid #AA9;
}

.tb_inform_xxxx tr:nth-child(even) {
    background-color: #B7D7DF;
}

.tb_inform_xxxx td {
    padding: 5px 8px;
    border: none;
}

@-webkit-keyframes spinner-fade {
  0% {
    background-color: #69717d;
  }
  100% {
    background-color: transparent;
  }
}

@keyframes spinner-fade {
  0% {
    background-color: #69717d;
  }
  100% {
    background-color: transparent;
  }
}


/* 管制區查詢視窗 */
#control_area_check {
  position: absolute;
  z-index: 9999999;
  right: 0%;
  top: 50%;
  background: #FFFFFF
}

#control_area_check > div {
  overflow: hidden;
  background: #92bafd;
}
