/*=================================================================
		     UTRUST CSS - All Rights Reserved.
==================================================================*/

/*-------------------------------------
*               $BASE
*------------------------------------*/

a,
button {
  color: #666;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -ms-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  padding: 2px 5px;
  /*border-radius: 5px;*/
}

a:hover,
a:focus {
  text-decoration: inherit;
  color: #4985c3;
}

.right {
  float: right;
}

.center {
  text-align: center;
  vertical-align: middle;
}

.vertical {
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -o-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.text-danger {
  color: #e44b48;
}

::selection {
  background-color: #6b6b6b;
  color: #fff;
 padding: 2px .375rem;
}

.ui-layout-east .tbarPinEast,
.btn-list,
.btn-list:hover {
  position: absolute;
  top: 0;
  z-index: 1;
  border: #fec107 solid 1px;
  padding: 12px 20px;
  color: #000000;
  background: #fec107;
  width: 100%;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.ui-layout-east .tbarPinEast {
  display: none;
}

.ui-layout-east .tbarPinEast span {
  margin-right: 5px;
}

.mt-2 {
  margin-top: 12px;
}

@media (max-width: 414px) {

  .ui-layout-east .tbarPinEast {
    display: block;
  }
}

.btn-list:hover {
}

.btn-list:active {
  color: #fec107;
  background: #000;
}

.btn-list span {
  margin-right: 5px;
}

.btn-back {
  background: #444;
  border: #444 solid 1px;
  color: #fff;
  padding: 8px 15px;
  display: inline-block;
  margin-bottom: 15px;
}

.btn-back:hover {
  background: #fff;
  color: #444;
}

.btn-back span {
  margin-right: 5px;
}

.btn-map {
  border: #444 solid 1px;
  color: #444;
  padding: 8px 15px;
  display: inline-block;
  margin: 0;
  /* float: right; */
}

.btn-map:hover {
  background-color: #444;
  color: #fff;
}

.btn-map span {
  margin-right: 5px;
}

.div-export {
  position: absolute;
  right: 5px;
}

/*-------------------------------------
*         $REPLACE BOOTSTRAP
*------------------------------------*/

.form-control:focus {
  border-color: #79864f;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(121, 134, 79, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(121, 134, 79, 0.6);
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  vertical-align: middle;
}

/*-------------------------------------
*               $LAYOUT
*------------------------------------*/

html,
body {
  height: 100%;
  line-height: 1.6;
  font-size: 100%;
}

body {
  /* border-top: #000 solid 5px; */
  margin: 0;
}

body.map {
  /* padding-top: 45px; 
  padding-top: 52px;*/
}

body > .container {
  background-color: #fff;
  padding: 50px 0 0;
  border: #cacaca solid 1px;
}

#wrap {
  min-height: 100%;
  display: table;
  /* For IE7 Hack */
  height: 100%;
  /* For IE7 Hack */
}

/*-------------------------------------
*              $CONT
*------------------------------------*/

.cont h3 {
  font-size: 1.375em;
  margin: 20px 0;
  font-weight: bold;
}

.cont p {
  font-size: 1em;
  line-height: 25px;
}

.cont p + p {
  margin-top: 20px;
}

.cont li + li {
  margin-top: 20px;
}

.cont ul,
ol {
  margin: 20px 25px;
  font-size: 1em;
  line-height: 25px;
}

.cont ul ol {
  margin: 20px 0 20px 55px;
}

.cont ol li {
  list-style-type: decimal;
}

.cont .disc > li {
  list-style-type: disc;
}

/*-------------------------------------
*           	 $LAYOUT
*------------------------------------*/

.site-title {
  display: none;
}

/* HEADER */

.navbar {
  border: none !important;
  background: url(../images/bg-header.jpg) center top no-repeat;
  /* background-size: cover; 
  background-size: contain;*/
  border-color: transparent;
  min-height: inherit;
  margin-bottom: 0;
}

.header #navbar .container {
  position: relative;
}

.header #navbar .container .accesskey {
  position: absolute;
  left: -24px;
  top: 5px;
}

@media (max-width: 767px) {
  .navbar {
    background: transparent;
  }
}

.navbar-default > .container {
  padding: 0;
}

.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border: none;
}

.header #navbar {
  background: #fff;
}

.header #navbar .container {
  padding: 0;
}

@media (min-width: 768px) {
  .header .navbar-right {
    margin-top: -65px;
  }
  .header .navbar-right > li > a {
    border: #596d96 solid 1px;
    background: #fff;
    color: #596d96;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.12);
  }
  .header .navbar-right > li > a:hover {
    background: #00529c;
    color: #fff;
  }
  .header .navbar-right > li + li {
    margin-left: -1px;
  }
  /* .header .navbar-right>li:first-child>a {
    border-radius: 10px 0 0 10px;
  }
  .header .navbar-right>li:last-child>a {
    border-radius: 0 10px 10px 0;
  } */
}

.navbar-header {
  display: flex;
  align-items: center;
}

.header .navbar-header {
  padding: 10px 0;
  position: relative;
}

@media (max-width: 767px) {
  .navbar-header {
    background: #cddc39;
  }
}

.navbar-header .navbar-toggle {
  float: left;
  margin-right: 0;
  /*margin-left: 15px;*/
  margin-left: 2px;
}

@media (max-width: 767px) {
  .navbar-header {
    background: #fff;
    border-top: #000 solid 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 925px) and (min-width: 768px) {
  .map .navbar-collapse .nav {
    width: 100%;
    overflow: auto;
    display: -webkit-inline-box;
  }
}

.navbar-collapse .nav {
  padding-bottom: 0;
  margin-right: 0;
}

.nav .home {
  display: none;
}

.nav li a:hover,
.nav > li > a:focus,
.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background: #54a2cd;
  color: #fff;
}

.open > a {
  outline: 5px auto -webkit-focus-ring-color;
}

.nav .open.active > a,
.nav .active > a,
.nav .active > a:hover {
  background: #596d96;
  color: #fff;
}

@media (min-width: 768px) {
  .navbar-collapse {
    /* border-top: #000 solid 5px; */
    /* box-shadow: 0 3px 3px rgba(0, 0, 0, .15); */
  }
  .navbar-collapse .nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    color: #000;
  }
}

@media (max-width: 767px) {
  .navbar-collapse {
    background: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.125);
    padding: 0;
  }
  .navbar-nav {
    margin: 0;
  }
  .main-navbar.affix {
    max-height: 100vh;
    overflow-y: auto;
  }
}

/* hurburger menu */

.navbar-toggle {
  padding: 19px 15px;
  border-radius: 0;
  margin-top: 13px;
}

.navbar-toggle .icon-bar {
  background: #000;
}

.navbar-default .navbar-toggle,
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
  border: none;
  margin: 0 0 0 .5rem;
  outline: 0;
}

.navbar-default .navbar-toggle:focus {
  outline: 2px solid #125fb8;
  outline-offset: -3px;
}

.navbar-default .navbar-toggle .icon-bar,
.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background-color: #333;
}

/*logo*/

.header h1 {
  /* width: 300px; */
  height: 65px;
}

.navbar-brand {
  /* background: url(../images/logo.png) no-repeat;
    display: block;
    text-indent: -9999em; 
    width: 300px;
    height: 65px;*/
  display: flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  padding: 0;
  /* padding: .3125rem 0; */
  height: inherit;
}
.navbar-brand img {
  width: 50px;
  height: 50px;
  display: inline-block;
  margin-right: 0.5rem;
}
.brand-title p {
  color: #55545b;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: 0.25em;
  letter-spacing: -.25px;
}
.brand-title .brand-text {
  color: #111010;
  font-size: 1.3125rem;
  font-weight: 900;
  letter-spacing: 1.75px;
}
.navbar > .container .navbar-brand {
  margin-left: 0;
  margin-bottom: 5px;
}

.map .navbar-header h1 {
  position: relative;
  /* width: 385px;
  height: 50px; */
  margin:0 0 4px 0;
}

.map .navbar-brand {
  background: url(../images/logo-s.png) no-repeat 15px 16px;
  /* width: 385px;
  height: 50px; */
  width: 300px;
  height: 50px;
  /* position: absolute;
  z-index: 10000; */
  text-indent: -9999em;
}
@media (max-width: 1366px) {
  .map .navbar-header h1{
    margin-top: 0;
    margin-bottom: 4px;
  }
}
@media (max-width: 1220px) {
  /* .map .navbar-header h1 {
    width: 360px;
    height: 45px;
  } */
  /* .map .navbar-brand {
    width: 360px;
    height: 45px;
    background-position-y: 18px;
  } */
}

@media (max-width: 1100px) {
  .map .navbar-header h1 {
    width: 300px;
  }
  .map .navbar-brand {
    background: url(../images/logo-m.png) no-repeat center 12px;
    /* width: 100%; */
  }
}

@media (max-width: 767px) {
  .map .navbar-header h1 {
    width: 255px;
  }
  .map .navbar-brand {
    background: transparent url(../images/logo-m.png) no-repeat center 12px;
    width: 255px;
    left: 40px;
  }  
  .navbar-brand {
    width: inherit;
    height: 60px;
    background-size: contain;
  }
}

/* main-navbar */

.main-navbar {
  box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.125);
}

.main-navbar.affix {
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 141, 176, 0.8);
  position: fixed;
  z-index: 999;
}

.navbar .navbar-nav > li > a,
.navbar .navbar-nav > li > a:focus,
.navbar .navbar-nav > li > a:hover {
  font-size: 1rem;
  border: 2px solid transparent;
}
.navbar-nav>li>a:focus{
  outline:5px auto -webkit-focus-ring-color;
  /* outline-offset: -2px; */
}
.navbar .navbar-nav > .active > a,
.navbar .navbar-nav > .active > a:focus,
.navbar .navbar-nav > .active > a:hover {
  background: #00529c;
  color: #fff;
}

.map .navbar .navbar-nav > .active > a,
.map .navbar .navbar-nav > .active > a:focus,
.map .navbar .navbar-nav > .active > a:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #00529c;
  border: 2px solid transparent;
}
@media(max-width:1100px){
    .map.QUALMAP .navbar-collapse .nav > li > a, .map.QUALMAP .nav> li> a {
      padding: 10px ;
    }
  .map .navbar .navbar-nav>li>a,
  .map .navbar .navbar-nav>li>a:focus,
  .map .navbar .navbar-nav>li>a:hover {
    padding: 10px !important;
  }
}
@media (max-width: 767px) {
  #navbar .navbar-nav > li > a,
  #navbar .navbar-nav > li > a:focus,
  #navbar .navbar-nav > li > a:hover {
    font-size: 0.875rem;
  }
  #navbar .navbar-nav > .open > a,
  #navbar .navbar-nav > .open > a:focus,
  #navbar .navbar-nav > .open > a:hover {
    background: #8c9631;
    color: #fff;
  }
  #navbar .navbar-right > li > a {
    background-color: #00529c;
    color: #fff;
    border-left: #00315d solid 1px;
  }
  .map #navbar .navbar-right > li > a {
    background-color: #fff;
    color: #000;
    border-left: none;
  }
  .map #navbar .navbar-right:first-child > li > a {
    background-color: #00529c;
    color: #fff;
    border-left: #00315d solid 1px;
  }
  /*.navbar-nav .open .dropdown-menu {
    background: #d6d6d6;
  }*/
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #000;
  }
  .navbar .navbar-nav > .active > a,
  .navbar .navbar-nav > .active > a:focus,
  .navbar .navbar-nav > .active > a:hover {
    color: #fff;
  }
}

/* Off Canvas */

#sidebar.affix {
  width: 260px;
  top: 70px;
  position: fixed !important;
  max-height: 94%;
  overflow-y: auto;
  z-index: 999;
}

/*#sidebar.affix-top { top: 80px;}*/

#sidebar ul li {
  list-style: none;
}

.list-group,
#sidebar ul li .sub-nav a {
  padding-left: 0;
  margin-bottom: 20px;
}

#sidebar ul li .list-group-item,
#sidebar ul li .sub-nav a {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
}

#sidebar ul.list-group > li > a {
  letter-spacing: 1px;
}

#sidebar ul li .sub-nav li:last-child a {
  margin-bottom: 0;
}

#sidebar > ul > li + li {
  /* margin-top: 1px; */
  border-top: #fff solid 1px;
}

#sidebar ul li .list-group-item {
}

#sidebar ul li .sub-nav a {
  border-top: none;
  color: #000;
}

#sidebar ul li .sub-nav li:first-child a {
  border-top: none;
}

#sidebar ul li .sub-nav .active a{

}
#sidebar ul li .sub-nav a:hover{
  background:#0752a3;
  color: #fcdb01;
}
a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
}

#sidebar ul li:first-child .list-group-item {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

#sidebar ul li:last-child .list-group-item,
#sidebar ul li.open .sub-nav li:last-child > a {
  margin-bottom: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

#sidebar ul li.open .sub-nav li.active a {
  color: #1e89bf;
}

#sidebar ul li.open .list-group-item {
  border-radius: 0;
}

#sidebar ul li:first-child .list-group-item {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}

/*#sidebar ul li.open:last-child>a{
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}*/

#sidebar ul.list-group > li.active > a,
#sidebar ul li .list-group-item:hover {
  background: #1b99d8;
  color: #fff;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
}

#btnSub {
  color: #2979ae;
  border: #63c6d9 solid 1px;
  border-radius: 0;
  background: linear-gradient(top, #fff, #b0eeff);
  background: -webkit-linear-gradient(top, #fff, #b0eeff);
  background: -moz-linear-gradient(top, #fff, #b0eeff);
  background: -ms-linear-gradient(top, #fff, #b0eeff);
  background: -o-linear-gradient(top, #fff, #b0eeff);
  outline: 0;
}

.icon-subnav {
  display: inline-block;
  width: 23px;
  height: 15px;
  margin-right: 5px;
  background: url(../images/icon-btnsub.png) no-repeat;
}

.row-offcanvas.active .sidebar-offcanvas.affix {
  position: inherit;
}

@media screen and (max-width: 1199px) {
  #sidebar.affix {
    width: 215px;
  }
}

@media screen and (max-width: 991px) {
  #sidebar.affix {
    width: 158px;
  }
}

@media screen and (max-width: 767px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }
  .row-offcanvas-right {
    right: 0;
  }
  .row-offcanvas-left {
    left: 0;
  }
  .row-offcanvas-right .sidebar-offcanvas {
    right: -50%;
    /* 6 columns */
  }
  .row-offcanvas-left .sidebar-offcanvas {
    left: -50%;
    /* 6 columns */
  }
  .row-offcanvas-right.active {
    right: 50%;
    /* 6 columns */
  }
  .row-offcanvas-left.active {
    left: 50%;
    /* 6 columns */
  }
  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 50%;
    /* 6 columns */
  }
  .row-offcanvas.active .sidebar-offcanvas.affix {
    position: fixed;
    top: 60px;
    left: 0;
  }
  #sidebar.affix {
    position: fixed !important;
    width: 45%;
    /*345px*/
    top: 50px;
  }
  #btnSub.affix {
    z-index: 2;
    top: 0;
    width: 100%;
    left: 0;
  }
  .row-offcanvas-left.active #btnSub.affix {
    left: inherit;
  }
}

@media (max-width: 767px) {
  #sidebar.affix {
    top: 20px;
  }
}

@media (max-width: 560px) {
  #btnSub.affix {
    top: 0;
  }
  #sidebar.affix {
    top: 40px;
  }
}

@media (max-width: 480px) {
  #btnSub.affix {
    /* top: 70px; */
    top: 0;
  }
}

@media (max-width: 470px) {
  #btnSub.affix {
    /* top: 65px; */
    top: 0;
  }
}

@media (max-width: 320px) {
  .sidebar-offcanvas {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  #sidebar.affix {
    max-height: 95%;
  }
}

/* map nav */

.navbar-fixed-top .navbar-right > li > a:hover {
  color: #fff;
}

.navbar-fixed-top .navbar-right:first-child > li > a {
  /* background-color: #00529c;
  color: #fff;
  border-left: #00315d solid 1px; */
}

/* .navbar-fixed-top .navbar-right:first-child>li>a:hover {
  background: #002b52;
} */

@media (max-width: 1100px) {
  .navbar-fixed-top .navbar-right > li > a,
  .navbar-fixed-top .navbar-right > li > a:hover {
    font-size: 0.875em;
  }
  /* .map .navbar-header {
    width: 100%;
  } */
}

.map .navbar-toggle {
  padding: 9px 10px;
  margin-top: 8px;
}

/*-------------------------------------
*             $COMPONENTS
*------------------------------------*/

/* resize layout */

.inner-Content {
  overflow-y: auto;
  /* height: 100%; */
  padding-top: 0;
  margin-left: 0;
  background-color: #fff;
  position: relative;
  /* margin-top: 40px; */
  height: calc(100vh - 88px);
}

.inner-Content .accesskey {
  position: absolute;
  z-index: 10000;
  left: 28px;
}

@media (max-width: 1195px) {
  .inner-Content {
    margin-top: 0;
    height: calc(100vh - 99px);
  }
}

/* @media (max-width: 767px) {
  .inner-Content {
    margin-top: 0;
  }
} */

/* complex fix */

.pane,
.ui-layout-pane {
  border: 1px solid transparent;
  display: block;
  border: none;
}

.main-content.pane,
.ui-layout-pane {
  /*border-color: transparent;*/
  border: none;
  padding: 0;
  /* padding-bottom: 80%;
  min-height: 100vh; */
  width: 100%;
  height: 100% !important;
  position: relative;
  min-height: 100% !important;
}

.resizer-west-open,
.resizer-east-open {
  background: #d8d8d8;
}

.resizer-east-dragging,
.resizer-east-open:hover {
  background: #a7a7a7;
}

.resizer-west-closed,
.resizer-east-closed {
  background: rgba(241, 241, 241, 0.66);
}

.resizer-west-closed:hover,
.resizer-east-closed:hover {
  background: rgba(241, 241, 241, 0.66);
  /*background: rgba(217, 222, 197, 0.56)*/
}

.ui-layout-west {
  z-index: 2 !important;
}

.ui-layout-west .panel-group {
  height: 100%;
  background-color: #fff;
}

span.button-pin,
span.button-close,
span.button-pin-down,
span.button-close-west {
  display: none;
}

/*.resizer { width: 15px !important; }*/

.main-content .tbarPinEast {
  position: absolute;
  /* right: 35px; 2019.09.24*/
  right: 0;
  top: 40vh;
  z-index: 9999;
  font-size: 1.125em;
  color: #444;
  -webkit-writing-mode: vertical-rl;
  -moz-writing-mode: vertical-rl;
  -o-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  letter-spacing: 6px;
  cursor: pointer;
  background: #fff;
  width: 50px;
  /* padding: 15px 30px 10px; */
  padding: 15px 10px 10px 10px;
  border-radius: 5px 0 0 5px;
  border: #bfbfbf solid 1px;
  box-shadow: #00000061 0px 0px 8px;
}

@media (max-width: 414px) {
  .main-content .tbarPinEast {
    top: 33vh;
  }
}

/* accordion */

.accordion {
  margin: 0;
}

.ui-accordion .ui-accordion-header {
  font-size: 0.75em;
  line-height: 20px;
}

.ui-state-active {
  border: #ececec solid 1px;
  background: #f0f0f1;
  color: #1b1b1b;
}

.ui-widget-content {
  /*border: 2px solid #ececec;*/
  background: #ececec;
  color: #1b1b1b;
}

.ui-accordion .ui-accordion-header {
  position: relative;
  margin: 0;
  padding: 0.75em 20px 0.75em 30px;
  outline: 0;
  font-size: 0.9375em;
  cursor: pointer;
}

.ui-accordion .ui-accordion-content {
  padding: 15px;
}

.ui-state-default {
  background: #fff;
  border-top: #ececec solid 1px;
  border-bottom: #ececec solid 1px;
  font-weight: normal;
  color: #1b1b1b;
}

.ui-state-active {
  background: #00529c;
  color: #fff;
}

/*.ui-state-default:hover {
    background: #ececec;
}*/

.accordion-title,
.accordion p,
.accordion ul,
.accordion ol {
  /* font-size: 1.125em; */
  letter-spacing: 0;
}

.accordion img {
  max-width: 100%;
}

.accordion-cont p {
  margin: 5px 0;
}

.ui-state-active .ui-icon,
.ui-button:active .ui-icon,
.ui-icon,
.ui-widget-content .ui-icon {
  background-image: none;
}

.accordion .ui-icon {
  width: 10px;
  color: #4d4d4d;
  text-indent: 0;
  position: absolute;
  text-align: center;
  left: 20px;
  top: 18px;
  font-size: 1.125em !important;
  top: 50%;
  right: 5px;
  transform: translate(-50%, -50%);
}

.ui-state-active .ui-icon {
  color: #fff;
}

/* switch */

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
  vertical-align: middle;
}

.switch input {
  display: none;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8c8c8c;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 12.5px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 21px;
  width: 21px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #1f89bf;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #0d988d;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* rwd-table */

.rwd-table {
  background: #fff;
  overflow: hidden;
}

.rwd-table {
  min-width: 100%;
}

.rwd-table th {
  display: none;
}

.rwd-table td {
  display: block;
}

.rwd-table td:before {
  content: attr(data-th);
  /* " : "*/
  font-weight: bold;
  width: 8.5em;
  display: inline-block;
}

.rwd-table th,
.rwd-table td {
  /*text-align: left;*/
}

.rwd-table th,
.rwd-table td:before {
  /*color: #D20B2A;
  font-weight: bold;*/
}

.content .table.rwd-table td a.btn.btn-info {
  text-decoration: none;
  color: #fff;
  background:#0178b4;
  border-color: #0178b4;
}
.content .table.rwd-table td a.btn.btn-info:hover, .content .table.rwd-table td a.btn.btn-info:focus {
  text-decoration: none;
  color: #fff;
  background:#046291;
  border-color: #046291;
}
@media (min-width: 768px) {
  .rwd-table td:before {
    display: none;
  }
  .rwd-table th,
  .rwd-table td {
    display: table-cell;
    padding: 0.25em 0.5em;
    text-align: center;
  }
  .rwd-table > tbody > tr > th,
  .rwd-table > tbody > tr > td {
    padding: 12px 15px;
  }
  .rwd-table th:first-child,
  .rwd-table td:first-child {
    padding-left: 0;
  }
  .rwd-table th:last-child,
  .rwd-table td:last-child {
    padding-right: 0;
  }
  .rwd-table th,
  .rwd-table td {
    padding: 1em !important;
  }
}

@media (max-width: 767px) {
  .rwd-table > tbody > tr > th,
  .rwd-table > tbody > tr > td {
    padding: 0;
    line-height: 40px;
  }
  .rwd-table > tbody > tr > th:first-child,
  .rwd-table > tbody > tr > td:first-child {
    border-top: 1px solid #9c9c9c;
  }
  .rwd-table > tbody > tr:first-child > th:first-child,
  .rwd-table > tbody > tr:first-child > td:first-child {
    border-top: 1px solid #ddd;
  }
  .rwd-table th,
  .rwd-table td:before {
    background: #1f89bf;
    font-weight: normal;
    color: #fff;
    text-align: right;
    padding-right: 10px;
    margin-right: 10px;
  }
  .rwd-table th,
  .rwd-table td {
    text-align: left;
  }
  .rwd-table tr:nth-of-type(2n) th,
  .rwd-table tr:nth-of-type(2n) td:before {
    background: #2c607b;
  }
  .rwd-table th.head {
    display: table-cell;
    text-align: left;
    word-wrap: break-word;
    word-break: break-all;
  }
  .rwd-table td span {
    display: block;
  }
  .content .rwd-table a {
    width: 65%;
    display: inline-table;
    line-height: 20px;
  }
}

/* selectboxit */

.selectboxit-container * {
  font-family: verdana, Arial, sans-serif, "微軟正黑體";
}

.select-width100 .selectboxit-container {
  width: 100%;
}

.select-width100 .selectboxit-container .selectboxit,
.select-width100 .selectboxit-container .selectboxit-options {
  width: 100% !important;
}

.form-inline .selectboxit-container {
  vertical-align: inherit;
}

.selectboxit-container .selectboxit {
  border-radius: 2px;
}

.selectboxit-container .selectboxit-open {
  border-radius: 2px 2px 0 0;
}

.selectboxit-btn {
  border-color: #ccc;
  background-color: #fff;
  background-image: none;
}

.selectboxit-container span,
.selectboxit-container .selectboxit-options a {
  height: 34px;
  line-height: 32px;
}

.selectboxit-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 90%;
  display: inline-block;
}

.selectboxit-btn.selectboxit-enabled:hover,
.selectboxit-btn.selectboxit-enabled:focus,
.selectboxit-btn.selectboxit-enabled:active {
  color: #444;
  background-color: #fff;
}

.selectboxit-container .selectboxit-options {
  border-radius: 0 0 2px 2px;
}

.selectboxit-list > .selectboxit-focus > .selectboxit-option-anchor {
  background-color: #ababab;
  border-radius: 0;
  background-image: inherit;
}

.selectboxit-arrow.fa {
  font-family: FontAwesome;
  text-align: center;
  font-size: 1em;
}

.selectboxit .selectboxit-arrow-container .selectboxit-arrow {
  top: calc(50% - 10px);
}

.form-inline .tips {
  margin-bottom: 0.5rem;
}

.form-inline .form-group {
  margin-right: 15px;
  margin-bottom: 0.75rem;
}

.form-inline .btn {
  margin-bottom: 0.75rem;
}

.form-inline.label-ontop .form-group .form-control,
.form-inline.label-ontop .selectboxit-container {
  width: 100%;
}

.form-inline.label-ontop .selectboxit-container .selectboxit {
  min-width: 100% !important;
}

.form-inline.label-ontop .selectboxit-options {
  width: 100%;
}

.form-inline.label-ontop .checkbox,
.form-inline.label-ontop .radio,
.form-inline.label-ontop .btn {
  margin-top: 22px;
}

.pagination {
  display: table;
  margin: auto;
}
.pagination li {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}
.tab-pane .pagination li + li {
  margin-top: 0;
}
.pagination > li > a,
.pagination > li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ced6db;
  margin: 0 2px;
  color: #526c7c;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0.375rem;
}
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-radius: 0.375rem;
}

@media (min-width: 768px) {
  .pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
}

/* datepicker  */

.datepicker-btn .btn > .fa {
  margin-right: 0;
}

/*datepicker with zh-TW*/

.ui-datepicker {
  width: 17em;
  padding: 0.2em 0.2em 0;
  display: none;
  background: #fff;
  border: 1px solid #ddd;
}

.ui-datepicker .ui-datepicker-header {
  position: relative;
  padding: 0.2em 0;
  background: #1e89bf;
  font-size: 0.9375em;
  color: #fff;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  position: absolute;
  top: 2px;
  width: 1.8em;
  height: 1.8em;
  cursor: pointer;
}

.ui-datepicker .ui-datepicker-next {
  right: 0;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -8px;
  top: 50%;
  margin-top: -8px;
}

/* .ui-datepicker .ui-datepicker-next span{
  background: url(../images/img_next.png) no-repeat;
  background-position: center center;
}
.ui-datepicker .ui-datepicker-prev span{
  background: url(../images/img_prev.png) no-repeat;
  background-position: center center;
} */

.ui-datepicker .ui-datepicker-prev:before {
  content: "\f053";
  color: #fff;
  font: normal normal normal 14px/1 FontAwesome;
  /* font-family: 'Font Awesome 5 Free'; */
  /* font-weight: 900; */
  /* width: 1.8em; */
  /* height: 1.8em; */
  display: inline-block;
  text-align: center;
  /* line-height: 1.8em; */
  vertical-align: sub;
}

.ui-datepicker .ui-datepicker-next:before {
  content: "\f054";
  font: normal normal normal 14px/1 FontAwesome;
  color: #fff;
  /* font-family: 'Font Awesome 5 Free'; */
  /* font-weight: 900; */
  /* width: 1.8em; */
  /* height: 1.8em; */
  display: inline-block;
  text-align: center;
  /* line-height: 1.8em; */
  vertical-align: sub;
}

.ui-datepicker .ui-datepicker-title {
  margin: 0 2.3em;
  line-height: 1.8em;
  text-align: center;
}

.ui-datepicker table {
  width: 100%;
  font-size: 0.9em;
  border-collapse: collapse;
  margin: 0 0 0.4em;
}

.ui-datepicker th {
  padding: 5px 8px;
  text-align: center;
  font-weight: bold;
  border: 0;
  font-size: 0.9375em;
  font-weight: bold;
  color: #1e89bf;
}

.ui-datepicker td {
  border: 0;
  padding: 1px;
  border-radius: 0;
}

.ui-datepicker td span,
.ui-datepicker td a {
  display: block;
  padding: 0.2em;
  text-align: center;
  text-decoration: none;
}

.ui-datepicker .ui-icon {
  display: block;
  text-indent: -99999px;
  overflow: hidden;
  background-repeat: no-repeat;
  left: 0.5em;
  top: 0.3em;
}

.ui-datepicker td:hover {
  background: #ddd;
}

.ui-datepicker .ui-datepicker-today,
.ui-datepicker .ui-datepicker-today:hover {
  background: #1e89bf;
}

.ui-datepicker .ui-datepicker-today a,
.ui-datepicker .ui-datepicker-today:hover a {
  color: #1e89bf;
}

.form-control.datepicker:focus,
.form-control.datepicker {
  border-color: #ddd;
  border-right: 0;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.input-group-btn.datepicker-btn:last-child > .btn {
  margin-left: 0;
}

/* top */

.scrollToTop {
  width: 56px;
  height: 56px;
  color: #444;
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  background: url(../images/btn-top.png) no-repeat;
  z-index: 999;
  text-indent: -9999em;
  background-size: contain;
}

.scrollToTop:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  .scrollToTop {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 645px) {
  .scrollToTop {
    bottom: 10px;
    right: 10px;
  }
}
/*--2023.07.19 add ----*/
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  @media (max-width: 767px) {
      .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
      }

  }
/*-------------------------------------
*             $MAP-CONTENT
*------------------------------------*/

/* sidebar */

.sidebar {
  height: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-top: 50px;
  background: #fff;
}

.nolist.sidebar {
  padding: 0;
}

.controlBar {
  /*margin-top: 45px;*/
  /*padding-top: 40px;*/
  height: inherit;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.controlBar .sidebar {
  width: 100%;
  height: inherit;
  overflow: initial;
  position: inherit;
  /*修改
  padding-top: 40px;*/
}

.sidebar .nav-tabs {
  /*position: absolute;*/
  background: #fff;
  z-index: 1;
}

.nolist.sidebar .nav-tabs {
  margin-top: 5px;
}

.sidebar .nav-tabs.nav-justified > li > a {
  border: none;
  border-radius: 0;
  border-top: #4d4d4d solid 1px;
  background: #4d4d4d;
  color: #fff;
  /* padding: 10px 5px; 2019.09.24*/
  padding: 10px 5px 5px 5px;
}

.sidebar .nav-tabs.nav-justified > .active > a,
.sidebar .nav-tabs.nav-justified > .active > a:focus {
  border: none;
  border-top: #4d4d4d solid 1px;
  background: #fff;
  color: #000;
}
@media(max-width:540px){
  .sidebar .nav-tabs{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .sidebar .nav-tabs.nav-justified>li{
    flex:0 0 25%;
    max-width: 25%;
  }
  .STATIMAP .sidebar .nav-tabs.nav-justified>li{
    flex: 0 0 50%;
    max-width:50%;
  }
  .sidebar .nav-tabs.nav-justified>li>a{
    height: 70px;
    letter-spacing: 0;

  }
  .sidebar .nav-justified a span.fa,
  .function-cont .nav-tabs.nav-justified>li>a span {
    display: none;
  }
}
@media (max-width: 414px) {
  .MANUFAMAP .sidebar .nav-tabs.nav-justified > li,
  .STATIMAP .sidebar .nav-tabs.nav-justified > li {
    width: 50%;
    float: left;
  }
  .STATIMAP .sidebar .nav-tabs.nav-justified>li>a {
    letter-spacing: -.5px;
    font-size: .9375rem;
    padding: 10px 5px;
  }
  .sidebar .fa {
    display: none;
  }
  /* .controlBar .sidebar {
    padding-top: 80px;
  } */
}

.side-content,
.tab-content {
  /* margin-top: 55px; 
  height: calc(100vh - 213px);*/
  /* overflow: auto; */
  height: calc(100vh - 203px);
  overflow:auto;
  overflow-x: hidden;
}

.tab-content{
  margin-top: 0;
  padding: 1.25rem .75rem 1.25rem .5rem;
}
.nolist.sidebar .side-content {
  margin: 0;
  height: initial;
}
@media(max-width:540px){
.side-content,
  .QUALMAP .tab-content {
    height: calc(100vh - 148px);
  }
}
@media (max-width: 414px) {
  /* .QUALMAP .tab-content {
    margin-top: 100px;
    overflow: auto;
    height: 66vh;
  } */
  .MANUFAMAP .side-content{
    margin-top: 70px;
    overflow: auto;
    height: 66vh;
  }
  .navbar-fixed-top .navbar-collapse{
    max-height: inherit;
  }
}

.list-group-item .item {
  cursor: pointer;
  font-size: .9375rem;
  width: calc(100% - 2.75rem - .75rem);
  /* width: 85%;
  padding-right: 10px;
 display: inline-block;*/
}

.sidebar .switch {
  float: right;
  /*margin-top: -25px;*/
  margin-top: 10px;
}

.sidebar .fa {
  margin-right: 8px;
}

.sidebar .nav-justified a span {
  display: block;
  margin-bottom: 5px;
}

.nolist.sidebar > .nav-justified a span {
  display: inline-block;
  margin-bottom: 0;
}

.sidebar .list-group {
  margin-bottom: 0;
}

.sidebar .list-group-item {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
}

.sidebar .search-box .list-group-item {
  border-radius: 0;
}

/* sidebar v2 */

.menu-content {
  padding: 10px 0 0;
}

.menu-content li a {
  color: #ffffff;
  font-weight: normal;
  font-size: 0.9375em;
  text-decoration: none;
  margin: 0;
  cursor: pointer;
  position: relative;
  width: 100%;
  display: block;
  background: transparent;
  border: none;
  border-right: 4px solid #16b4ad;
}

.menu-content > li > a {
  line-height: 20px;
  padding: 10px 15px 6px 15px;
}

.menu-content li ul li ul li a {
  text-decoration: none;
  padding: 10px 15px;
}

.menu-content li .has-sub a {
  padding: 13px 15px 10px 15px;
  line-height: 10px;
}

.menu-content ul {
  list-style: none;
}

.menu-content li .fa,
.menu-content li .fas {
  margin-right: 5px;
}

.menu-content ul li ul {
  padding: 0 0 0 15px;
}

.menu-content > li {
  color: #ffffff;
  text-decoration: none;
  padding: 10px 0 10px 15px;
  border-left: 1px solid #72d2cd;
  display: block;
  /* height: 100%; */
  position: relative;
  cursor: pointer;
}

.menu-content > li > a::before {
  display: block;
  background: #72d2cd;
  content: "";
  height: 8px;
  width: 8px;
  border-radius: 50%;
  position: absolute;
  top: 15px;
  left: -5px;
}

.accordion li > a,
.accordion .menu-content > li > a {
  display: block;
  text-decoration: none;
}

.accordion > li > a,
.accordion .menu-content > li > a {
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
}

.accordion > li > a {
}

.accordion > li > a:hover {
  position: relative;
  z-index: 5;
}

.accordion .menu-content {
  display: none;
  padding: 0 0 0 25px;
  list-style: none;
}

.accordion > li.active:last-child > a {
  border-radius: none;
}

.accordion:first-child > li > a {
  border-bottom: 1px solid transparent;
}

.accordion .has-sub > a:after {
  content: "\f107";
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  font-size: 1.125rem;
  float: right;
  position: relative;
  top: -2px;
  transition: 0.3s all;
  transform: rotate(0deg);
}

.accordion .has-sub .has-sub > a:after {
  font-size: 0.7rem;
  content: "\f0dd";
  right: 1px;
  top: -1px;
}

.accordion .has-sub.active > a:after {
  transform: rotate(-180deg);
}

.accordion > li.active > a {
}

.accordion > li .has-sub > a {
}

@media screen and (max-width: 1000px) {
  .accordion {
    width: 100%;
  }
}

/* form */

.form-inline .form-group {
  width: 100%;
}

.form-inline .control-label {
  vertical-align: middle;
  padding-top: 0px;
  padding-right: 5px;
}

@media (min-width: 768px) {
  .form-inline .control-label {
    padding-top: 0px;
    padding-right: 5px;
    vertical-align: middle;
  }
}

.sidebar .form-group.row {
  margin: 5px 0;
}

.sidebar .form-horizontal {
}

.sidebar .form-horizontal .form-group {
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .form-horizontal .control-label {
    text-align: left;
  }
}

.sidebar .form-group.row .control {
  line-height: 40px;
  display: flex;
  align-items: center;
}

.sidebar .form-group.row .control input[type="radio"] {
  margin: 0 .375rem 0 0;
}

.sidebar .form-group.row .control label {
  margin-bottom: 0;
}

.search-box > div {
  margin-top: 15px;
}

.search-box > .btn-submit {
  margin-right: 15px;
  background: #2b5795;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}

.search-box .text-right .btn-submit {
  margin-right: 15px;
  background: #00529c;
  color: #fff;
}

.search-box .form-inline .form-control {
  width: 100%;
}

.search-box .search-title {
  background: #444;
  color: #fff;
  margin-top: 0;
  text-align: center;
}

.search-box .search-title ul {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.search-box .search-title ul li{
  flex: 0 0 50%;
  max-width: 50%;
}
.search-box .search-title ul li a{
  color: #fff;
  padding: 10px;
}

.search-box .search-title ul li.active {
  color: #000;
  background: #fff;
    padding: 10px;

}

.nolist.sidebar .search-box *:not(.control) > label {
  display: inherit;
}

.search-box .form-inline #ctl02_UpdatePanel1 .form-control {
  width: calc(45% - 23px);
  margin-right: 10px;
}

@media (max-width: 414px) {
  .controlBar .sidebar.nolist {
    padding-top: 0;
  }
}

/* result-box */

.result-box {
  clear: both;
  padding: 10px;
}


.result-box .table{
  margin-bottom: 0;
  font-size: .9375rem;
}
.result-box .table th{
  font-weight: bold;
  text-align: center;
  padding: 5px 10px;
}
.result-box .table td{
  padding: 5px 10px;
}

.search-box .divider {
  position: relative;
  margin: 10px 15px;
  color: #0755ce;
}

.search-box .divider:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

/*-------------------------------------
*             $MAIN-CONTENT
*------------------------------------*/

/* 內文 */

.main-content {
  padding: 20px;
  position: relative;
  background-color: #fff;
  border-top: #cacbcb solid 1px;
  min-height: 700px;
}

.jumbotron {
  background: #fff;
  text-align: center;
  padding: 20px 0 0;
  margin: 0;
}

.main-title {
  font: initial;
  font-size: 1.875rem;
  font-weight: 900;
  font-family: "Verdana", "Microsoft JhengHei";
  margin: 0.625rem 0;
}

.breadcrumb {
  background: transparent;
  padding: 0 15px;
  font-size: 0.875rem;
  margin: 0.5rem 0;
}

.breadcrumb > li + li:before {
  content: "\003e";
  padding: 0 5px 0 0;
}

.breadcrumb .active {
  color: #2e72c7;
  font-weight: 600;
}

/* search-area */

.searchArea {
  margin: 10px 10px 15px;
}

.searchArea .form-inline .form-group {
  width: inherit;
  vertical-align: middle;
}

/*-2019.07.29 add */

.searchArea .form-inline .form-group span.selectboxit-container .selectboxit {
  margin-right: 5px;
}

.searchArea.resume-searcharea + .table-striped.rwd-table {
  word-break: keep-all;
}

/* footer */

.footer {
  background: #25517a;
  position: relative;
  padding: 20px;
  color: #fff;
}

.accessibility {
  position: absolute;
  right: 20px;
  bottom: 20px;
}


.footer-logo {
  display: flex;
  align-items: center;
  margin: .625rem 0;
}

.footer-logo img {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-right: .5rem;
}

footer ul.title {
  margin-bottom: 0;
}

/* footer link */

.footer .link {
  background: #dff03e;
  text-align: center;
}

.footer .link ul {
  display: table;
  font-size: 1em;
  margin: auto;
  padding: 0;
}

.footer .footInfo {
  margin-bottom: 20px;
  font-size: 0.875em;
}

.footer .footInfo > a {
  display: block;
  width: 70%;
  border: #85a300 solid 1px;
  text-align: center;
  padding: 4px;
  margin: 20px auto;
  color: #596d00;
}

.footer .footInfo > a:hover {
  background: #85a300;
  color: #f4fad7;
}

.footInfo dl {
}

.footInfo dl dt {
  float: left;
  width: 25%;
  text-align: right;
  margin-right: 20px;
  color: #e6e6e6;
}

.footInfo dl dd {
  margin: 8px 0;
  color: #e6e6e6;
}

.footInfo dl dd span {
  margin-left: 30%;
  display: block;
}

.footer .row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

/* footer fix */

.footer .container{
  padding-left: 0;
  padding-right: 0;
}
.sitemap .container .row [class*="col-"]{
  width:100%;
  padding-left: 15px;
  padding-right: 15px;
}
/* @media(min-width:768px){
  .sitemap .container .row [class*="col-"] {
    width: inherit;
  }

}
@media(min-width:992px) {
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
} */
.footer ul{
  font-size: .9375rem;
  color: #fff;
  list-style: none;
  padding:0;
}
/*頁尾logo*/
.footer .title {
  color: #ffffff;
  list-style: none;
  border-bottom: none;
  margin-bottom: 0;
}

.footer ul.title li:first-child {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.footer ul.title li:nth-child(2) {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}


.footer ul.system {
  display: block;
  margin: 10px 0;
}
.footer ul.system a:has(img){
  display: block;
  padding: 0;
}

/*聯絡資訊*/
.footer ul.contact{
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.footer ul.contact li {
  padding-right: 20px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.footer [class*="col-"],
.footer ul.statement li {
  min-width: 0;
  max-width: 100%;
}

.footer ul.statement {
  font-size: 0.9375rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap:.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul.statement::before{
  display: none;
}
.footer ul.statement li{
 position: relative;
}

.footer ul.statement li a {
  /* background: rgb(38 127 85 / 62%); */
  color: #fff;
  border-radius: 0;
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
  display: block;
  padding: .375rem 1rem;
  font-size:.9375rem;
  position: relative;
  border: 1px solid #7adeff;
  box-shadow: 2px 2px 0 #8dd3ff;
  transition: all 0.3s ease;
}
.footer ul.statement li a:hover, .footer ul.statement li a:focus, .footer ul.statement li a:active{
  color: #fedc00;
  background:#0d4c86;
  transform: scale(1.05);
   transform-origin: center center;
}

.footer.fix ul.statement.nav-pill > li > a:hover {
  background:rgba(23, 89, 58, 0.62)
}

.footCooy {
  background: #000;
  text-align: center;
  padding: 15px 0;
  color: #fff;
}

.footCooy p {
  font-size:.875rem
}
@media(max-width:1024px){
  .footer .container>.row .col-lg-3:first-child{
    order:1;
  }
  .footer .container>.row .col-lg-3:last-child{
    order: 2;
  }
  .footer .container>.row .col-lg-6{
    order: 3;
  }

}
@media(max-width:991px){
  .footer .container>.row{
    margin: 0 auto;
  }
  .footer ul.statement{
    gap: .625rem;
  }
  .footer ul.statement li a{
    padding: .375rem .75rem;
  }
}
@media(max-width:768px){
  .navbar{
    background-repeat: no-repeat;
  }
  .container{
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .navbar-default>.container{
    padding-left: 15px;
        padding-right: 15px;

  }

}
@media(max-width:540px){
.footer-logo{
  margin: 0 0 .375rem 0;
}
}

@media(max-width:390px){
.footer{
  padding: 1.5rem;
}
   .footer [class*="col-"]{
    padding-left: 0;
    padding-right: 0;
   }
}


/* map style */

.map {
  position: relative;
}

.map .main-content {
  overflow: hidden;
}

.map .legend {
  position: absolute;
  right: 128px;
  bottom:15%;
  z-index: 1;
  /* display: none; */
}

.map .accessBanner {
  position: absolute;
  right: 20px;
  bottom:15%;
  background: #fff;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  width: 100px;
  height: 80px;
}

.map .accessibility {
  position: static;
}

.STATIMAP .map .legend,
.MANUFAMAP .map .legend {
  display: none;
}

.map iframe {
  display: block;
  width: 100%;
  height: 94.5vh;
}

#OMap {
  height: 100vh !important;
  width: 100% !important;
}

#OMap .hpack {
  width: 100% !important;
}

.tgMapTypeCtrl {
  margin-right: 10px;
}

.tgMapTypeCtrl > div {
  position: relative !important;
}

.map-tips {
  background: #fff;
  position: relative;
  margin: 0 10px;
}

.tips-head {
  color: #3c7fe1;
  padding: 0 0 5px 15px;
  text-align: left;
  font-weight: 600;
}

.tips-title {
  font-size: 1.125rem;
}

.tips-body {
  text-align: left;
  padding: 10px 15px;
  line-height: 25px;
  font-size: 0.875rem;
  background: #fafafa;
  border-radius: 6px;
}

.tips-body ul {
  margin-bottom: 0;
}

.icon-bad {
  display: initial;
  background: #f44336;
  border: #a32d24 solid 1px;
  color: #fff;
  padding: 0px 6px;
  border-radius: 3px;
}

.icon-fine {
  display: initial;
  background: #f0b500;
  border: #e0a900 solid 1px;
  color: #fff;
  padding: 0px 6px;
  border-radius: 3px;
}

.icon-good {
  display: initial;
  background: #4caf50;
  border: #37803a solid 1px;
  color: #fff;
  padding: 0px 6px;
  border-radius: 3px;
}

.tips-go {
  color: #fff;
  background: #999999;
  border: #999999 solid 1px;
  border-radius: 0 0 4px 4px;
  width: 100%;
  padding: 10px;
  text-align: left;
  position: relative;
}

.tips-foot {
  position: relative;
  display: none;
}

.tips-foot .fa {
  position: absolute;
  right: 15px;
  bottom: 12px;
  color: #fff;
}

/* content */

.content {
}

@media (min-width: 768px) {
  .content {
    padding-bottom: 40px;
    position: relative;
  }
}
.content  {
  line-height: 24px;
}
.content h3 {
  font-weight: bold;
  font-size: 1.25rem;
}

.content .table th {
  /* background-color: #1f89bf; */
  background:#125fb8;
  color: #fff;
  vertical-align: middle;
  text-align: center;
}

.content .table a {
  text-decoration: underline;
  color: #0f6384;
}

.content .table a:hover {
  text-decoration: none;
}

.content .panel {
  border: #ddd solid 1px;
}

.content .panel-heading {
  background-color: #444;
  color: #fff;
}

.content .panel-body {
  padding: 0;
}

.content .panel-body .table {
  margin-bottom: 0;
}

.content .table-hover > tbody > tr:hover {
  background-color: #f0faff;
}

.content .table-2col tr td:first-child {
  width: 30%;
}

.fourlayer li:nth-child(1) span {
  color: #e74c3c;
}

.fourlayer li:nth-child(2) span {
  color: #e67e22;
}

.fourlayer li:nth-child(3) span {
  color: #f1c40f;
}

.fourlayer li:nth-child(4) span {
  color: #2ecc71;
}

.fourlayer.reverse li:nth-child(1) span {
  color: #70ad47;
}

.fourlayer.reverse li:nth-child(2) span {
  color: #ffc000;
}

.fourlayer.reverse li:nth-child(3) span {
  color: #c55a11;
}

.fourlayer.reverse li:nth-child(4) span {
  color: #c00000;
}

.fivelayer li:nth-child(1) span {
  color: #e68d8d;
}

.fivelayer li:nth-child(2) span {
  color: #d56b6b;
}

.fivelayer li:nth-child(3) span {
  color: #c54a4a;
}

.fivelayer li:nth-child(4) span {
  color: #b42828;
}

.fivelayer li:nth-child(5) span {
  color: #a40707;
}

.sixlayer li:nth-child(1) span {
  color: #c65911;
}

.sixlayer li:nth-child(2) span {
  color: #f4b084;
}

.sixlayer li:nth-child(3) span {
  color: #fce4d6;
}

.sixlayer li:nth-child(4) span {
  color: #ddebf7;
}

.sixlayer li:nth-child(5) span {
  color: #9bc2e6;
}

.sixlayer li:nth-child(6) span {
  color: #2f75b5;
}

.sevenlayer li:nth-child(1) span {
  color: #c00000;
}

.sevenlayer li:nth-child(2) span {
  color: #c55a11;
}

.sevenlayer li:nth-child(3) span {
  color: #ffc000;
}

.sevenlayer li:nth-child(4) span {
  color: #70ad47;
}

.sevenlayer li:nth-child(5) span {
  color: #5b9bd5;
}

.sevenlayer li:nth-child(6) span {
  color: #3333cc;
}

.sevenlayer li:nth-child(7) span {
  color: #6600cc;
}

.sevenlayer.reverse li:nth-child(1) span {
  color: #6600cc;
}

.sevenlayer.reverse li:nth-child(2) span {
  color: #3333cc;
}

.sevenlayer.reverse li:nth-child(3) span {
  color: #5b9bd5;
}

.sevenlayer.reverse li:nth-child(4) span {
  color: #70ad47;
}

.sevenlayer.reverse li:nth-child(5) span {
  color: #ffc000;
}

.sevenlayer.reverse li:nth-child(6) span {
  color: #c55a11;
}

.sevenlayer.reverse li:nth-child(7) span {
  color: #c00000;
}

/* anchor */

.anchor {
  background: #f7f7f7;
  border: #e0e0e0 solid 1px;
}

.anchor ul {
  margin: 0 10px;
}

.anchor ul li {
  /*list-style-type: disc;*/
  display: inline;
}

.anchor ul li a {
  border: transparent solid 1px;
  border-radius: 15px;
  padding: 5px 15px;
}

.anchor ul li a:hover {
  background: #cedd33;
  color: #3f4409;
}

.target-fix {
  position: relative;
  top: -100px;
  display: block;
  height: 0;
  overflow: hidden;
  border: none;
}

/* list tab */

.main-content .tab-content {
  margin-top: 20px;
}

/* 圖表區設定 */

.chartArea {
  border-radius: 2px;
  border: 1px solid #d4d4d4;
}

.filter {
  border-top: 1px dotted #d4d4d4;
  border-bottom: 1px dotted #d4d4d4;
  margin-bottom: 20px;
  padding: 15px;
  background: #e6edf1;
}

.chartArea .filter {
  border-top: 0;
  margin: 0;
}

.filter .col-md-6 {
  padding: 0;
  margin: 0;
  color: #39a0d5;
  height: auto;
  line-height: 32px;
}

.filter .fl-left {
  color: #888888;
}

.filter .col-xs-12 {
  padding: 0;
  margin: 0;
  color: #39a0d5;
  line-height: 20px;
}

.highchart-wrap select {
  width: 128px;
  height: 32px;
  border-radius: 2px;
  border: 1px solid #d4d4d4;
  color: #888888;
}

.highchart-wrap label {
  margin-left: 3px;
  color: #888888;
  font-weight: normal;
}

label.labelPrimary {
  margin-left: 0;
  color: #39a0d5;
}

input[type="checkbox"] {
  vertical-align: sub;
  margin-right: 5px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  box-shadow: none;
  position: relative;
}

input[type="checkbox"]:after {
  content: " ";
  width: 16px;
  height: 16px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  background-color: #ffffff;
  display: inline-block;
  visibility: visible;
  position: absolute;
  top: 0;
}

input[type="checkbox"]:checked:after {
  content: "\f00c";
  font-family: FontAwesome;
  font-size: 0.75em;
  line-height: 14px;
  text-align: center;
  color: #888888;
}

input[type="radio"] {
  vertical-align: initial;
  margin-right: 5px;
  width: 13px;
  height: 13px;
  cursor: pointer;
  box-shadow: none;
  position: relative;
}

input[type="radio"]:before {
  content: " ";
  width: 18px;
  height: 18px;
  border: 1px solid #d4d4d4;
  border-radius: 100%;
  background-color: #ffffff;
  display: inline-block;
  visibility: visible;
  position: absolute;
  top: -2px;
  left: -2px;
}
input[type="radio"]:checked:before{
  border-color: #2742a5;
}
input[type="radio"]:checked:after {
  content: "\f111";
  font-size: .875rem;
  text-align: center;
  color: #2742a5;
  font-family: FontAwesome;
  position: absolute;
  left: 1px;
}

label + select,
label + input[type="text"] {
  margin-right: 5px;
}

.showCharts {
  background: url(../images/showChart_bk.png) repeat-x;
  padding: 40px 20px;
  overflow: auto;
}

.showCharts .col-xs-12 + .col-xs-12 {
  margin-top: 50px;
}

.chartsContainer {
  width: 100%;
  height: 500px;
}

/* nav-export */

.nav-export {
  display: flex;
  flex-direction: row;
  justify-content: center;
  border-bottom: #ebebeb solid 2px;
}

.nav-export li {
  display: flex;
  position: relative;
  margin-bottom: -2px;
  border-bottom: #ebebeb solid 2px;
  z-index: 1;
}

.nav-export li > a {
  border-radius: 0;
  color: #666666;
  padding: 15px 25px;
  font-size: 0.9375em;
}

.nav-export li > a:hover,
.nav-export li > a:focus {
  background: transparent;
}

.nav-export li.active {
  border-bottom: #4d4d4d solid 2px;
}

.nav-export li.active a {
  color: #000;
}

/* login-cont */

.login-item {
  width: 100%;
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
  font-size: 0.9375em;
  font-weight: 400;
  color: #000;
}

.login-item label {
  position: absolute;
  top: 8px;
  left: 0;
  /*text-transform: uppercase;*/
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  pointer-events: none;
}

.login-item:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #525252;
  opacity: 0.3;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" 30 ")";
  filter: alpha(opacity=30);
}

.login-item > input {
  border: none;
  width: 100%;
  padding: 4px 10px;
}

.login-input {
  position: relative;
  background-color: transparent !important;
  height: 40px;
  margin: 0 !important;
  margin-left: 30px !important;
  padding: 0;
  box-shadow: none !important;
  font-size: 0.9375em;
  /*color: #fff;*/
  outline: none;
  border: 0;
}

.login-input:focus ~ label,
.login-input:valid ~ label {
  /*top: -20px;*/
  font-size: 0.875em;
  /* opacity: .6; */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=" 60 ")";
  filter: alpha(opacity=60);
}

.login-input:invalid {
  font-style: italic;
}

.login-button {
  width: 100%;
  height: 50px;
  background-color: #00529c;
  padding: 5px 12px 6px;
  /*margin: 20px 0 0 0!important;*/
  text-transform: uppercase;
  text-shadow: none;
  font-size: 0.8125em;
  font-weight: 600;
  color: #fff;
  -webkit-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  border: 0;
  -webkit-transition: background-color 0.2s ease !important;
  -moz-transition: background-color 0.2s ease !important;
  -o-transition: background-color 0.2s ease !important;
  transition: background-color 0.2s ease !important;
  border-radius: 3px;
}

a.login-button {
  padding: 16px 12px 6px;
  margin: 0 !important;
}

.login-button:active,
.login-button:hover {
  -webkit-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.2);
  background-color: #000000;
  color: #fff;
}

.login-info-text {
  display: block;
  margin-top: 6px;
  font-size: 0.6875em;
  color: #000;
}

.login-info-text a {
  color: inherit;
}

.login-info-text a:hover {
  text-decoration: underline !important;
}

.userLogin-wrap .tab-content {
  margin-bottom: 30px;
  padding-top: 15px;
}

.userLogin-wrap {
  border: #d4d4d4 solid 1px;
  padding: 15px;
  border-radius: 7px;
  margin-bottom: 20px;
}

.nav-login > li > a {
  border: #337ab7 solid 1px;
  color: #337ab7;
}

.nav-login > li:first-child > a {
  border-radius: 7px 0 0 7px;
}

.nav-login > li:last-child > a {
  border-radius: 0 7px 7px 0;
}

.nav-login li a:hover,
.nav-login > li > a:focus {
  background: transparent;
  color: #337ab7;
}

/* hp content */

.title {
  font-size: 1.25em;
  padding: 10px 5px 10px;
  border-bottom: #bfbfbf solid 1px;
  margin-bottom: 15px;
}

.stoneMap-wrap .list-group-item {
  position: relative;
}

.stoneMap-wrap .list-group-item:after {
  content: "\f0da";
  font: normal normal normal 14px/1 FontAwesome;
  float: right;
  margin-top: 4px;
}

.stoneMap-wrap #OMap {
  height: 410px !important;
}

@media (min-width: 768px) {
  .stoneMap-wrap .col-sm-4 {
    padding-right: 0;
  }
}

.btn-more {
  float: right;
  margin-top: -50px;
  border-radius: 15px;
  border: #00539d solid 1px;
  background: #00539d;
  color: #fff;
  padding: 0px 12px;
}

.btn-more:hover {
  background: #fff;
  color: #00539d;
  border: #00539d solid 1px;
}

/* totalChart-wrap */

.totalChart-wrap {
}

.totalChart-wrap .list-group {
  overflow: auto;
  max-height: 400px;
}

.totalChart-wrap .list-group .active a {
  background: #3479b7;
  color: #fff;
}

.totalChart-wrap .list-group a {
  border-radius: 0;
  font-size: 0.875em;
  padding: 6px 10px;
}

/* news-wrap */

.news-wrap {
}

.news-wrap ul li {
  padding: 10px 5px;
}

.news-wrap ul li + li {
  border-top: #444 dotted 1px;
}

/* banner-wrap */

.banner-wrap {
}

.banner-wrap ul li a {
  display: block;
  padding: 13px 15px;
  margin: 15px 0;
  color: #314c0e;
  font-weight: bold;
  font-size: 1em;
  background: #81dc39;
  background: -moz-linear-gradient(90deg, #d3e62d 0%, #81dc39 100%);
  background: -webkit-gradient(
    left bottom,
    right top,
    color-stop(0%, #d3e62d),
    color-stop(100%, #81dc39)
  );
  background: -webkit-linear-gradient(#d3e62d 0%, #81dc39 100%);
  background: -o-linear-gradient(90deg, #d3e62d 0%, #81dc39 100%);
  background: -ms-linear-gradient(90deg, #d3e62d 0%, #81dc39 100%);
  background: linear-gradient(90deg, #d3e62d 0%, #81dc39 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#d3e62d', endColorstr='#81dc39', GradientType=1);
}

.banner-wrap ul li a:hover {
  background: #000;
  color: #fff;
}

/* banner-list */

.banner-header {
  background: url(../images/sub-header.png) no-repeat center;
  background-size: 100%;
  width: 100%;
  height: 90px;
}

.banner-title {
  font-weight: bold;
  font-size: 1em;
  text-align: center;
  position: relative;
  height: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.banner-wrap .banner-list li a {
  padding: 0;
  background: transparent;
  filter: progid: DXImageTransform.Microsoft.gradient(enabled=false);
  line-height: 0;
  color: #fff;
  position: relative;
}

.banner-wrap .banner-list li a span {
  font-size: 1.125rem;
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 100%;
}

.banner-wrap .banner-list li a:hover {
  background: transparent;
}

.banner-list img {
  width: 100%;
}

.banner-list img:hover {
  opacity: 0.8;
}

/* News_List */

.ListMsg {
  margin-bottom: 2.5rem;
}
.ListMsg li {
  position: relative;
  /* padding-left: 60px;
  display: block; 
  padding:0;
  margin-bottom: 0.5rem;*/
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 0 0.5rem 0;
  padding: 0.25rem 0.5rem;
}

.ListMsg li:hover,
.ListMsg li:nth-child(even):hover {
  background: #f2f2f2;
}
.ListMsg li:nth-child(even) {
  background: #f1f7f9;
  margin-top: 0;
}

.ListMsg .Item {
  position: absolute;
  left: 0;
  height: 100%;
  line-height: 2.2;
  width: 45px;
  border-right: #ffc03a solid 4px;
  font-size: 1.25rem;
  font-family: Arial;
  text-indent: 10px;
  background: #fff;
  top: 0;
  display: none;
}

.ListMsg .Date {
  /* margin-top: 5px; */
  font-size: 0.875rem;
  order: 1;
  color: #2a76ad;
}

.ListMsg .Note {
  padding: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 400;
  display: none;
}

.ListMsg .Title {
  order: 2;
}
.ListMsg .Title a {
  padding: 0.25rem 0;
  color: #212529;
  font-size: 1.125rem;
  line-height: 1.6;
  font-weight: 700;
}

.ListMsg .Title a:hover {
  text-decoration: underline;
  color: #5071bb;
}

#NewsCp h3 {
  font-size: 1.25em;
  padding-left: 15px;
  border-left: #ff0302 solid 5px;
  color: #444;
  padding-bottom: 30px;
  line-height: 30px;
  font-weight: bold;
}

#NewsCp .Date {
  margin-top: -25px;
  margin-left: 20px;
}

#NewsCp .BtnGroup {
  position: absolute;
  bottom: 50px;
  width: 100%;
  text-align: center;
}

#NewsCp {
  min-height: 100%;
  padding-bottom: 150px;
  position: relative;
}

#NewsCp .content {
  margin: 20px 10px;
}

.BtnBack {
  position: relative;
  background: #445365;
  border: #445365 solid 2px;
  color: #fff;
  padding: 15px 55px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.BtnBack::before {
  display: inline-block;
  font: normal normal normal 18px/1 FontAwesome;
  content: "\f0a5";
  margin-right: 5px;
}

.BtnBack:hover,
.BtnBack:focus {
  background: #fff;
  color: #445365;
}

#NewsCp .BtnTop {
  display: none;
}

/* modal */

@media (min-width: 768px) {
  .modal-dialog {
    width: 400px;
    transform: translateY(-40%);
  }
}

.modal-dialog {
  top: 20%;
}

.modal-content {
  border-radius: 0;
}

.modal-content .login-header {
  margin: 10px auto 30px;
  width: 88%;
}

.modal-content .login-header .title {
  float: left;
  border-bottom: 0;
  border-right: #ddd solid 1px;
  margin-right: 15px;
  padding-right: 15px;
  margin-bottom: 0;
  color: #00529c;
  font-size: 1.5em;
}

.modal-body {
  background: #f2f2f2;
}

.modal-content .login-item {
  width: 80%;
  margin: 20px auto;
  display: block;
}

.modal-content .login-button {
  width: 80%;
  margin: 30px auto 15px;
  display: block;
}

.modal-footer {
  text-align: left;
  padding: 20px 15px 25px;
}

.modal-footer ul {
  margin: auto;
  width: 70%;
}

/*大事記*/

.memorabilia .main .sidn {
  text-align: center;
  font-size: 1.5em;
  color: #025baa;
  position: relative;
  margin-top: 25px;
  background: #fff;
  z-index: 2;
}

.memorabilia .main .sidn i {
  position: relative;
}

.memorabilia .main .sidn i:after {
  content: " ";
  position: absolute;
  width: 68px;
  height: 67px;
  border: 8px solid #4489c7;
  padding: 16px 10px;
  border-radius: 50%;
  top: -20px;
  left: -21px;
  background: #fff;
  z-index: -1;
}

.memorabilia .main {
  position: relative;
}

.memorabilia .main:after {
  content: " ";
  position: absolute;
  width: 8px;
  height: 100%;
  background: #8db4d8;
  top: 43px;
  left: calc(8% / 2 - 16px);
}

.main .memorabilia-content {
  padding: 23px 19px;
  border-radius: 12px;
  width: 550px;
  position: relative;
  border: 8px solid #4489c7;
}

.main .memorabilia-content:after {
  content: " ";
  position: absolute;
  top: 13px;
  left: -29px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 22px 12px 0;
  border-color: transparent #4489c7 transparent transparent;
}

.main .memorabilia-content .time {
  color: #777;
  font-size: 1.0625em;
  display: inline-block;
  margin: 0px;
}

.main .memorabilia-content .time .date {
  font-size: 1.75em;
  letter-spacing: 1px;
  display: block;
  padding-bottom: 12px;
  color: #4489c7;
  font-weight: bold;
}

.main .memorabilia-content .time .sort {
  font-size: 0.875em;
  letter-spacing: 0.5px;
  background: #337ab7;
  color: #ffffff;
  margin-right: 10px;
  border-radius: 5px;
  padding: 3px 19px;
}

.main .memorabilia-content .btn {
  border: 1px solid #ccc;
  background: #999999;
  font-size: 0.875em;
  padding: 5px 9px;
  float: right;
  color: #fff;
  letter-spacing: 1px;
}

.main .memorabilia-content .btn i {
  padding-right: 10px;
}

.main .memorabilia-content .modal .modal-title {
  text-align: center;
  letter-spacing: 1px;
  font-size: 1.3125em;
}

/*小事紀*/

.memorabilia .minor .sidn {
  text-align: center;
  font-size: 1.5em;
  color: #5e96c7;
  position: relative;
  margin-top: 25px;
  background: #fff;
  z-index: 2;
}

.memorabilia .minor .sidn i {
  position: relative;
}

.memorabilia .minor .sidn i:after {
  content: " ";
  position: absolute;
  width: 46px;
  height: 46px;
  border: 8px solid #8db4d8;
  padding: 10px 10px;
  border-radius: 50%;
  top: -11px;
  left: -13px;
  background: #fff;
  z-index: -1;
}

.memorabilia .minor {
  position: relative;
  margin: 15px 0px;
}

.memorabilia .minor:after {
  content: " ";
  position: absolute;
  width: 8px;
  height: 100%;
  background: #8db4d8;
  top: 43px;
  left: calc(8% / 2 - 16px);
}

.minor .memorabilia-content {
  padding: 12px 19px;
  border-radius: 12px;
  width: 500px;
  position: relative;
  border: 7px solid #8db4d8;
}

.minor .memorabilia-content:after {
  content: " ";
  position: absolute;
  top: 13px;
  left: -29px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 22px 12px 0;
  border-color: transparent #8db4d8 transparent transparent;
}

.minor .memorabilia-content .flip {
  font-size: 1.125em;
  color: #5e96c7;
  font-weight: bold;
}

.minor .memorabilia-content .flip i {
  float: right;
  font-size: 1.3125em;
  color: #8db4d8;
}

.minor .memorabilia-content .panel {
  display: block;
  overflow: hidden;
  margin-bottom: 0px;
}

.minor .memorabilia-content .panel ul li {
  color: #777;
  font-size: 1em;
  display: inline-block;
  margin: 10px 0px;
}

.minor .memorabilia-content .panel ul li .date {
  font-size: 1em;
  letter-spacing: 1px;
  color: #999;
  margin-right: 10px;
}

.minor .memorabilia-content .panel ul li button {
  border: 1px solid #8db4d8;
  background: #8db4d8;
  font-size: 0.875em;
  padding: 3px 9px;
  float: right;
  color: #fff;
  letter-spacing: 1px;
  margin-left: 12px;
  margin-top: -2px;
}

.minor .memorabilia-content .panel .modal .modal-title {
  text-align: center;
  letter-spacing: 1px;
  font-size: 1.3125em;
}

.memorabilia .minor:last-child::after {
  content: " ";
  position: absolute;
  width: 0px;
  height: 100%;
  background: #8db4d8;
  top: 43px;
  left: calc(8% / 2 - 16px);
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 65%;
  }
}

#tab-total .table-bordered > thead th,
#tab-total .table-bordered > tbody td {
  width: 25%;
}

#tab-total .table-bordered > thead th:nth-child(2),
#tab-total .table-bordered > tbody td:nth-child(2) {
  width: 21%;
}

#tab-total .table {
  margin-bottom: 0;
}

.table-caption {
  border: 1px solid #ddd;
}

.table-caption .form-group.row {
  margin: 0;
}

.table-caption .form-group.row > [class*="col-"] {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-top: none;
  border-right: none;
  background: #f5f5f5;
}

.table-caption .form-group.row > .control-label {
  padding: 0.5rem;
  font-weight: bold;
}

.table-caption .form-group label {
  margin-bottom: 0;
}

.table-caption .form-group + .form-group {
  margin: 0;
}

/*footer sitemap 2019.07.03--*/
/* footer sitemap 2026.01.15修正 */
.footer .sitemap {
  padding: 0px ;
  margin: 1rem 0 0 0;
}
.footer .sitemap>.container {
  padding: 0;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  gap:1.25rem
}
.footer .sitemap>.container::before{
  display: none;
}
.footer-sitemap {
  border: 1px solid #88caf3;
   height: 100%;
  transition: height 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
  display: flex;
  flex-direction: column;
}

.footer-sitemap-title {
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  padding: .625rem 2rem .625rem 1rem;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  gap: .375rem;
  color:#fedc00;
  letter-spacing: .5px;
  border-bottom: 1px solid #88caf3;
  flex-shrink: 0;
}
.footer-sitemap-title a {
  color:#fedc00;
}
.footer-sitemap-title a:hover,
.footer-sitemap-title a:focus,
.footer-sitemap-title a:active {
  background: #00529c;
  border-color: #00529c;
}

.footer-sitemap-content{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: var(--size_08);
  padding: 0 1.25rem 1.5rem;
  overflow: hidden; /* 確保收合時內容完全隱藏 */
  flex: 1;
  opacity: 1; /* 預設可見 */
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1); /* 添加透明度過渡 */

}
.footer-sitemap-content ul {
  padding-left: 1.25rem;
  letter-spacing: 0.5px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  gap: 0.375rem;
  list-style: disc ;
  width: 100%;
  align-items: flex-start;
}
.footer-sitemap-content ul li {
  list-style: inherit;
}
.footer-sitemap-content ul li a {
 display: block;
  color: var(--color-white);
  position: relative;
  text-decoration: none;
  border: none;
  padding: .25rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
}

.footer-sitemap-content ul li a:hover {
   color: #ffe200;
}

.footer-sitemap-content ul li a span {
  position: relative;
  display: inline-block;
}

.footer-sitemap-content ul li a span::before {
  color: #002b52;
  content: "";
  position: absolute;
  display: inline-block;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #ffe200;
  transition: width 0.3s ease;
}

.footer-sitemap-content ul li a:hover span::before {
  width: 100%;
}
@media(max-width:1280px){
 .footer-sitemap-title{
  padding-right: 3rem;
 }
}
@media (max-width: 1024px) {
  .footer .sitemap>.container {
    grid-template-columns: repeat(3, 1fr);
    gap:2rem;
  }

}
@media (max-width: 991px) {
  .footer .sitemap{
    display: none;
  }
}


/*--砂石產銷履歷試辦--*/

.searchArea.resume-searcharea .form-inline .form-group {
  margin: 0.5rem 0.75rem;
  margin-left: 0;
}

.resume-tab {
}

.resume-tab ul.nav-export {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.resume-tab ul .resume-sandstone {
  display: block;
  padding: 0;
  margin: 0 5px 10px 0;
  color: #069ba2;
  display: block;
  background: #fafafa;
  padding: 10px 0.75rem;
  font-size: 0.9375em;
  width: 100%;
}

.resume-tab ul li {
  display: flex;
  flex-wrap: nowrap;
}

.resume-tab ul li a {
  display: block;
}

@media (min-width: 768px) {
  .resume-tab ul.nav-export {
    margin: 0;
    padding: 0;
    position: relative;
    justify-content: flex-start;
  }
  .resume-tab ul .resume-sandstone {
    position: absolute;
    bottom: 10px;
    right: 0;
    text-align: right;
    padding: 0;
    margin: 15px 10px 0 0;
    color: #069ba2;
    background: #fff;
  }
}

.resume-tab ul li a {
  border-radius: 0;
}

.resume-tab ul li a i {
  margin-right: 5px;
}

.resume-tab .tab-content {
  padding: 20px;
  margin: 0;
}

.resume-tab .tab-pane h4 {
  font-size: 1.125rem;
  color: #00529c;
  margin-bottom: 0.75rem;
}

/*---accordion--*/

.tab-content .panel-group {
  margin-bottom: 20px;
}

.tab-content .panel {
  border: none;
  box-shadow: none;
}

.panel-primary > .panel-heading {
  background: #00529c;
  border-color: #00529c;
}

.panel-primary > .panel-heading a {
  color: #fff;
  display: block;
}

.panel-primary > .panel-heading h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.panel-primary > .panel-body {
  margin-bottom: 1rem;
}

.resume-tab section {
  margin-bottom: 1rem;
  position: relative;
}

.resume-tab section h6 {
  font-size: 0.9375em;
  color: #fff;
  background: #1f89bf;
  padding: 0.5rem;
}

.resume-tab .tab-pane .form-group {
  margin-bottom: 0;
  width: 100%;
}

.resume-tab .tab-pane .form-group > [class*="col-"] {
  border: 1px solid #ddd;
  border-top: none;
  padding: 0.5rem 15px;
  display: flex;
  height: 36px;
}

.resume-tab .tab-pane .form-group > .control-label {
  font-weight: 600;
}

@media (min-width: 768px) {
  .resume-tab .tab-pane section {
    margin-bottom: 1rem;
  }
  .resume-tab .tab-pane .form-group > .control-label {
    border-right: none;
  }
}

.chart-area {
  display: block;
  overflow: hidden;
  margin: 0 auto 10px auto;
  padding: 0;
}

.highcharts-container {
  width: 100% !important;
  margin: 0;
}

.highcharts-container svg {
  width: 100%;
}

@media (min-width: 768px) {
  .highcharts-container:first-child {
    padding-left: 15px;
  }
  .highcharts-container:last-child {
    padding-right: 15px;
  }
}

.basicinfo .section-content {
  padding: 0;
}

.section-content {
  padding: 10px 0;
}

/*--rwdtable for table-resume --*/

.table-rwd.table-resume tbody td:before {
  content: attr(data-th);
  font-weight: 700;
  width: 8.5em;
  display: inline-block;
  border-right: 1px solid #ddd;
  padding: 0.5rem 0.5rem 0.75rem 8px;
  margin-right: 5px;
  color: #444;
}

@media (min-width: 768px) {
  .table-rwd.table-resume tbody td:before {
    display: none;
  }
}

.download-list {
  display: block;
  margin: 5px 0 0 0;
  padding: 1rem;
  background: #fafafa;
}

.download-list li {
  line-height: 1.8;
  padding: 0.3rem 0 0.2rem 0;
  display: flex;
}

.download-list li::before {
  content: "\f1c1";
  font-family: FontAwesome;
  font-weight: 400;
  color: #ff0302;
  margin-top: 3px;
}

.download-list li a {
  margin-left: 2px;
}

@media (min-width: 768px) {
  .download-list {
    display: flex;
    flex-wrap: wrap;
  }
  .download-list li {
    width: 50%;
    line-height: 1.8;
    padding: 0.3rem 0 0.2rem 0;
  }
  .download-list li::before {
    content: "\f1c1";
    font-family: FontAwesome;
    font-weight: 400;
    color: #ff0302;
    margin-left: 8px;
  }
}

/*---流向查詢---*/

.table-rwd {
  overflow: hidden;
  border: 1px solid #ddd;
}

.table-rwd thead th {
  display: none;
}

.table.table-rwd > tbody > tr > td,
.table-rwd td,
.table-rwd tbody td {
  display: block;
  padding: 0 0.5rem 0 0;
  border: none;
  border-top: 1px solid #ddd;
  word-wrap: break-word;
}

.table-rwd.table-flow tbody td:before {
  content: attr(data-th);
  font-weight: 700;
  width: 7em;
  display: inline-block;
  border-right: 1px solid #ddd;
  padding: 0.5rem 0.5rem 0.75rem 8px;
  margin-right: 5px;
  color: #444;
}

.table-rwd tbody td.text-right {
  text-align: left;
}

.table-rwd tbody td:first-child {
  color: #000;
  border-top: none !important;
}

.table-rwd tbody tr:first-child td:first-child {
  border-top: none;
}

@media (min-width: 768px) {
  .panel-flow table {
    margin: 5px 0 15px 0;
  }
  .table-rwd.table-flow tbody td:before {
    display: none;
    border: none;
  }
  .table-rwd {
    border: 1px solid #ddd;
  }
  .table-rwd thead tr:first-child th {
    display: table-cell;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid #1e89bf;
    line-height: 2;
  }
  .table.table-rwd > tbody > tr > td,
  .table-rwd td,
  .table-rwd tbody td {
    display: table-cell;
    padding: 8px;
    border: 1px solid #ddd;
  }
  .table-rwd tbody td:first-child {
    color: #000;
    border-top: none !important;
  }
  .table-rwd tbody td.text-right {
    text-align: right;
  }
}

/*--混凝土產業鏈成本分析costanalysis*/

.underline-tab {
  font-size: 1rem;
  line-height: 1.8;
  margin: 2rem 0;
}

.underline-tab .underline-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.underline-tab .underline-nav .underline-tag {
  flex-flow: row;
}

.underline-tab .underline-nav .underline-tag li a {
  position: relative;
  display: block;
  padding: 15px 10px;
  margin: 2px 0 -1px 0;
}

.underline-tab .underline-nav .underline-tag .nav-item {
  border: none;
  font-size: 0.875em;
  position: relative;
  border-bottom: 1px solid #ddd;
  width: 50%;
}

@media (min-width: 768px) {
  .underline-tab .underline-nav .underline-tag {
    position: relative;
    border-bottom: 1px solid #ddd;
    list-style: none;
    margin: 0 auto;
    padding: 0;
  }
  .underline-tab .underline-nav .underline-tag li a {
    padding: 15px 25px;
    margin: 0px 0 -1px 0;
  }
  .underline-tab .underline-nav .underline-tag .nav-item {
    border-bottom: none;
    width: auto;
  }
}

.underline-tab .underline-nav ul li a::before,
.underline-tab .underline-nav ul li a::after,
.underline-tab .underline-nav ul li .nav-link:hover::before,
.underline-tab .underline-nav ul li .nav-link:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 0;
  height: 3px;
  background-color: #000;
  transition: width 0.3s ease;
}

.underline-tab .underline-nav ul li a::before,
.underline-tab .underline-nav ul li .nav-link:hover::before {
  right: 50%;
}

.underline-tab .underline-nav ul li a::after,
.underline-tab .underline-nav ul li .nav-link:hover::after {
  left: 50%;
}

.underline-tab .underline-nav ul li a {
  color: #909090;
  display: block;
  text-decoration: none;
  padding: 10px 0px;
  text-align: center;
  transition: color 0.3s ease;
  word-break: break-all;
}

.underline-tab .underline-nav .underline-tag .nav-item .nav-link:hover {
  color: #808080;
  background: #fff;
  border: 1px solid transparent;
}

.underline-tab .underline-nav ul li.active .nav-link::after {
  left: 50%;
}

.underline-tab .underline-nav ul li.active .nav-link::before {
  right: 50%;
}

.underline-tab .underline-nav ul li.active .nav-link:after,
.underline-tab .underline-nav ul li.active .nav-link:before {
  width: 50%;
  height: 3px;
  background-color: #000;
  margin-bottom: -1px;
}

.underline-tab .underline-nav ul li .nav-link:hover::after,
.underline-tab .underline-nav ul li .nav-link:hover::before {
  width: 50%;
  height: 3px;
  background-color: #333;
  margin-bottom: -1px;
}

.underline-nav .nav-tabs > li.active > a,
.underline-nav .nav-tabs > li.active > a:focus,
.underline-nav .nav-tabs > li.active > a:hover {
  background: transparent;
  border: 1px solid transparent;
  /* border-bottom: none; */
}

.underline-tab .tab-content {
  padding: 1rem 0 0 0;
  margin: 0;
  font-size: 0.9375em;
  height: calc(100% - 145px);
}

.underline-tab .tab-pane h4 {
  font-size: 1.25rem;
  color: #00529c;
  margin-bottom: 0.75rem;
}

/* */

.text-info {
  color: #6327ee;
}

.trial-condition {
  background: #fafafa;
  padding: 1rem;
  border-radius: 4px;
}

.trial-condition .form-inline {
  margin-bottom: 10px;
}

.trial-condition .form-inline h6 {
  margin-top: 0.5rem;
}

.trial-condition .form-inline .form-group {
  margin: 0.5rem 1.25rem 0.5rem 0;
  width: inherit;
  vertical-align: middle;
}

.trial-condition .form-inline .form-group > .control-label {
  color: #555;
  font-weight: 500;
}

.trial-condition .form-inline .form-group span {
  margin-left: 5px;
  font-size: 90%;
}

.trial-condition small {
  font-size: 85%;
  margin: 10px 0 0 0;
}

.tab-content .panel-info > .panel-heading {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #00529c;
}

.tab-content .panel-info > .panel-body {
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .tab-content .panel-info > .panel-body {
    padding: 1.5rem;
  }
}

.chart-area .highcharts-container {
  padding: 0;
}

.underline-tab .panel-info > .panel-body .table-responsive {
  margin-bottom: 20px;
}

.trial-condition {
  margin-bottom: 1.5rem;
}

.trial-result {
  margin-top: 1rem;
  padding-top: 0.75rem;
}

@media (min-width: 769px) {
  .trial-result .panel-body .row {
    display: flex;
    flex-direction: row-reverse;
  }
}

.trial-result p {
  margin-bottom: 0.75rem;
}

.trial-result p > span {
  margin-left: 5px;
  margin-right: 5px;
  font-weight: bold;
}

/* tab-試算說明 */

.table-rwd.table-descr {
  font-size: 0.875em;
}

.table.table-rwd.table-descr > tbody > tr > td,
.table-rwd.table-descr td,
.table-rwd.table-descr tbody td,
.table-rwd.table-descr tbody td {
  text-align: left;
  margin: 0;
  line-height: 1.8;
  padding: 0.5rem 0.5rem 0.5rem 7em;
  position: relative;
  word-break: break-all;
  white-space: unset;
}

.table-rwd.table-descr tbody td:before {
  content: attr(data-th) " ";
  font-weight: 800;
  width: 7em;
  display: inline-block;
  position: absolute;
  text-align: left;
  left: 0;
  padding: 0rem 0.5rem 0rem 8px;
  margin-right: 5px;
  color: #888;
}

.table-rwd tbody td:first-child {
  color: #000;
  border-top: 2px solid #ddd !important;
}

.table-rwd tbody tr:first-child td:first-child {
  border-top: none;
}

.table-striped.table-descr > tbody > tr:nth-of-type(odd) {
  /* background: #fff; */
}

.table-striped.table-descr tbody td ol {
  font-size: 0.875em;
  margin: 0 0 0 25px;
}

.table-striped.table-descr tbody td ol li {
  list-style: decimal;
  line-height: 1.8;
  word-wrap: break-word;
}

.table .bg-yellow {
  background: #feffda;
}

.table .bg-green {
  background: #d4fdde;
}

.table .bg-blue {
  background: #bef7fd;
}

.table .bg-pink {
  background: #ffe4fa;
}

.table .bg-gray {
  background: #ececec;
}

@media (min-width: 768px) {
  .underline-tab .tab-content {
    padding: 1rem 0;
  }
  .table-rwd.table-descr {
    font-size: 0.9375em;
  }
  .table-rwd.table-descr tbody td:before {
    display: none;
    border: none;
    position: relative;
  }
  .table-rwd {
    border: 1px solid #ddd;
  }
  .table-rwd thead tr:first-child th {
    display: table-cell;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-top: 1px solid #1e89bf;
  }
  .table.table-rwd > tbody > tr > td,
  .table-rwd td,
  .table-rwd tbody td {
    display: table-cell;
    padding: 8px;
    border: 1px solid #ddd;
  }
  .table.table-rwd.table-descr > tbody > tr > td,
  .table-rwd.table-descr td,
  .table-rwd.table-descr tbody td,
  .table-rwd.table-descr tbody td {
    padding: 0.5rem;
    word-wrap: break-word;
  }
  .table-rwd tbody td:first-child {
    color: #000;
    border-top: none !important;
  }
  .table-striped.table-descr > tbody > tr:nth-of-type(odd) {
    background: #f9f9f9;
  }
  .table-striped.table-descr tbody td ol {
    font-size: 0.9375em;
    margin: 0 25px;
  }
  .table-rwd.table-descr tbody tr td:nth-child(-n + 2) {
    word-break: keep-all;
    white-space: nowrap;
  }
}

/*-2019.09.24修改--*/

.sidebar .form-horizontal .form-group .col-sm-9 label {
  display: none;
}

/*---2019.09.25 第一類砂石廠資訊查詢manufamap ---*/

.manufa-gis {
  margin: 0;
  padding: 0;
}

.map-tab {
  position: relative;
  background: #dadfeb;
  padding-top: 5px;
}

.map-tab ul {
  list-style: none;
  margin: 0;
  padding: 5px 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.15);
  border-bottom: none;
}

.map-tab ul li {
  margin: 5px 3px 0 3px;
  text-align: center;
}

.map-tab ul li a {
  display: block;
  padding: 10px 1.5rem;
  color: #2b2f98;
  font-weight: 600;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
  border-radius: 4px 4px 0 0;
  background: #b9defd;
  border: 1px solid #68a4d6;
  box-shadow: inset 0 -3px 3px rgba(0, 0, 0, 0.15);
}

.map-tab .nav-tabs > li > a:hover {
  border: 1px solid #7ea3e0;
}

.map-tab ul li a:hover,
.map-tab ul li.active {
  background: #7ea3e0;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
  box-shadow: none;
  border-radius: 4px 4px 0 0;
}

.map-tab .nav-tabs > li.active > a,
.map-tab .nav-tabs > li.active > a:focus,
.map-tab .nav-tabs > li.active > a:hover {
  background: #7ea3e0;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
  box-shadow: none;
  border-radius: 4px 4px 0 0;
  border: 1px solid #7ea3e0;
}

.map-con {
  border-top: 5px solid #7ea3e0;
  /* top: 45px; */
  height: calc(100vh - 105px);
  margin-top: 0;
  width: 100%;
}

.map-con .tab-pane > .inner-Content {
  width: 100%;
  /* border: 1px solid #000; */
  position: relative;
  height: calc(100vh - 45px);
}

.sidebar.list-query {
  top: 95px;
  padding-top: 0;
}

.sidebar.list-query ul {
  display: flex;
}

.sidebar.list-query .nav-tabs.nav-justified > li > a {
  padding: 10px 5px;
}

.sidebar.list-query .side-content {
  height: auto;
  margin: 1.5rem 10px 1rem 10px;
}

@media (min-width: 768px) {
  .manufa-gis {
    display: flex;
    height: calc(100vh - 45px);
  }
  .map-tab {
    width: 45px;
    padding-top: 0;
  }
  .map-tab ul {
    padding: 0 0 0 5px;
    flex-wrap: wrap;
    flex-direction: column;
    box-shadow: inset -1px 0 3px rgba(0, 0, 0, 0.15);
    height: 100%;
  }
  .map-tab ul li {
    width: 40px;
    margin: 3px 0;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
  }
  .map-tab ul li a {
    display: block;
    height: 150px;
    padding: 2rem 8px;
    color: #2b2f98;
    font-weight: 600;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.4);
    border-radius: 4px 0 0 4px;
    background: #b9defd;
    border: 1px solid #68a4d6;
    box-shadow: inset -3px 0 5px rgba(0, 0, 0, 0.15);
  }
  .map-tab .nav-tabs > li > a:hover {
    border: 1px solid #7ea3e0;
  }
  .map-tab ul li a:hover,
  .map-tab ul li.active {
    background: #7ea3e0;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    box-shadow: none;
    border-radius: 4px 0 0 4px;
  }
  .map-tab .nav-tabs > li.active > a,
  .map-tab .nav-tabs > li.active > a:focus,
  .map-tab .nav-tabs > li.active > a:hover {
    background: #7ea3e0;
    color: #fff;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
    box-shadow: none;
    border-radius: 4px 0 0 4px;
    border: none;
  }
  .map-con {
    border-left: 5px solid #7ea3e0;
    left: 45px;
    right: 0px;
    height: calc(100vh - 45px);
    margin-top: 0;
    width: 100%;
  }
  .map-con .tab-pane > .inner-Content {
    width: 100%;
    /* border: 1px solid #000; */
    position: relative;
    height: calc(100vh - 50px);
  }
  .sidebar.list-query {
    padding-top: 0;
    top: 50px;
    height: calc(100vh - 96px);
    overflow-y: auto;
  }
  .sidebar.list-query ul {
    display: block;
  }
  .sidebar.list-query .side-content {
    height: auto;
    margin: 1.5rem 10px 1rem 10px;
  }
}

.map-info {
  position: absolute;
  z-index: 9998;
}

.map-info-container {
  border: 1px solid #ccc;
  background: #fff;
  width: 460px;
  padding: 20px 10px;
  position: relative;
}



.map-info-cont {
  display: flex;
  align-items: flex-start;
  text-align: center;
}

.map-info-cont [class*="col-"] {
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center; */
  text-align: center;
  float: none;
}

.map-info-cont-left {
  width: 45%;
  padding-right: 10px;
  padding-left: 5px;
  margin: 0 auto;
}

.map-info-cont-right {
  width: 55%;
  padding-right: 5px;
  padding-left: 10px;
}

/*--土地使用-*/

.land {
  border-width: 3px;
  border-radius: 12px;
  border-style: solid;
}

.land.mining {
  border-color: #e08720;
  background: #ffefcf;
}

.land.industry {
  border-color: #0c979e;
  background: #d5f6f8;
}

.land.not-legal {
  border-color: #8a2223;
  background: #fee2e1;
}

/* .map-info-container.land.mining::after {
  border-top-color: #e08720;
}

.map-info-container.land.industry::after {
  border-top-color: #0c979e;
}

.map-info-container.land.not-legal::after {
  border-top-color: #8a2223;
} */

/*-第一類砂石場-*/

.field {
  width: 180px;
  height: 180px;
  max-width: 180px;
  border-radius: 50% 50%;
  background: #fff;
  padding: 50px 15px 15px 15px;
  border: 8px solid #ddd;
  /* filter: drop-shadow(3px 3px 0px rgba(0, 0, 0, .2)); */
}

.field.complete-regist {
  border-color: #0eb041;
  background: #ffffef;
}

.field.change-regist {
  border-color: #d17634;
  background: #ffffef;
}

.field.temporary-regist {
  border-color: #035bad;
  background: #ffffef;
}

.field.not-firstfield {
  border-color: #4c4c4c;
}

.field-cont {
  display: block;
  text-align: center;
}

.field-cont h4 {
  color: #1267b1;
  font-size: 1.125em;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

.field-cont h4 a.field-title {
  color: #1267b1;
  line-height: 1.3;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.field-cont h4 a.field-title:hover {
  text-decoration: underline;
}

.field-cont p {
  margin-bottom: 0;
}

.field-cont .county {
  font-size: 1em;
}

.field-cont .produce {
  font-size: 0.9375em;
}

/*--產能--*/

.capacity {
  position: absolute;
  bottom: -25px;
  border: 1px solid #ccc;
  background: #ccc;
  color: #fff;
  padding: 6px 1.25rem;
  margin: 0 auto;
  /*margin: 5px 10px 0 10px;
  */
  width: 60%;
  text-align: center;
  font-size: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.capacity.excess {
  border-color: #6d0402;
  background: #bf1412;
}

.capacity.normal {
  border-color: #1a770c;
  background: #2aa718;
}

.capacity.mild {
  border-color: #4a156b;
  background: #86649b;
}

/*--產銷履歷認證--*/

.icon-resume {
  position: absolute;
  top: 5px;
  left: 5%;
  width: 48px;
  height: 48px;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}

.icon-resume.certification {
  background: url("../images/ic-certification.svg") no-repeat center;
}

.icon-resume.application {
  background: url("../images/ic-application.svg") no-repeat center;
}

/*--表格--*/

.map-info-cont .table {
  background: #fff;
  border: 2px solid #c3c3c3;
  margin-bottom: 0.75rem;
  font-size: 0.875em;
}

.map-info-cont .table > thead > tr > th {
  /* width: 30%; */
  text-align: center;
  border: 1px solid #c3c3c3;
  border-bottom: 2px solid #c3c3c3;
  word-break: break-all;
}

.industry .map-info-cont .table > thead > tr > th:first-child {
  width: 38%;
}

/* .industry .map-info-cont .table>thead>tr>th:last-child {
  width: 32%
} */

.map-info-cont .table > tbody > tr > td {
  text-align: center;
  border: 1px solid #999;
  vertical-align: top;
}

.earlywarning-box {
  position: relative;
  width: 100%;
  font-size: 0.9375em;
}

.earlywarning-box ul {
  margin: 0 auto;
  display: block;
}

.earlywarning-box ul li {
  display: flex;
  position: relative;
  color: #000;
  border: 1px solid #999;
  text-align: center;
  background: #fff;
  line-height: 2;
  border-radius: 4px;
  margin-bottom: 5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* .earlywarning-box ul li+li {
  margin-top: -1px;
} */

.earlywarning-arrowleft {
  position: relative;
  background: #ddd;
  height: 40px;
  width: 65%;
  padding: 4px 0px 4px 20px;
  box-sizing: border-box;
  display: flex;
  border-radius: 4px 0 0 4px;
}

.earlywarning-arrowleft:after {
  content: "";
  position: absolute;
  top: 0;
  right: -16px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 16px;
  border-color: transparent transparent transparent #999;
  filter: drop-shadow(1px 0px 0px rgba(0, 0, 0, 0.5));
}

.earlywarning-arrowleft .warning-label,
.earlywarning-arrowleft .warning-data {
  word-break: keep-all;
  font-weight: 600;
}

.earlywarning-arrowleft .warning-data {
  font-weight: normal;
}

/*--預警管理佔比---*/

/*-無資料-*/

.earlywarning-arrowleft.nodata {
  background: #ddd;
}

.earlywarning-arrowleft.nodata:after {
  border-color: transparent transparent transparent #ddd;
}

/*-佔比0~30%-*/

.earlywarning-arrowleft.proportion-1 {
  background: #ffd5d4;
}

.earlywarning-arrowleft.proportion-1:after {
  border-color: transparent transparent transparent #ffd5d4;
}

/*-佔比30%~70%-*/

.earlywarning-arrowleft.proportion-2 {
  background: #ffeda3;
}

.earlywarning-arrowleft.proportion-2:after {
  border-color: transparent transparent transparent #ffeda3;
}

/*-佔比70%~100%-*/

.earlywarning-arrowleft.proportion-3 {
  background: #b7edad;
}

.earlywarning-arrowleft.proportion-3:after {
  border-color: transparent transparent transparent #b7edad;
}

.earlywarning-right {
  padding: 4px 10px 4px 20px;
  width: calc(100% - 65%);
}

.earlywarning-box .icon-warning {
  position: absolute;
  top: 2px;
  left: -20px;
  width: 36px;
  height: 36px;
}

.icon-warning {
  background: url("../images/ic-warning.svg") no-repeat center;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.4));
}

/*----------------- 圖例說明 -----------------*/

.gis-legend-container {
  padding: 1rem;
  position: relative;
}

.gis-legend-container h3 {
  font-weight: 600;
  font-size: 1.25em;
  color: #00529c;
  margin-bottom: 1.5em;
  margin-top: 10px;
}

.gis-legend-box {
  position: relative;
  margin: 1em 0 3em 0;
}

.gis-legend-box h4 {
  background: #fff;
  line-height: 1.6;
  padding: 0.25rem 1rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
  font-size: 1em;
  color: #2fafa3;
  border: none;
  position: absolute;
  top: -30px;
  left: 6px;
  z-index: 3;
  width: auto;
}

.legend-box-cont {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 30px 20px 20px 20px;
  font-size: 0.875em;
}

.legend-box-cont ul {
  position: relative;
  margin: 0;
  padding: 0;
}

.gis-legend-container .legend-box-cont ul li {
  margin-bottom: 10px;
  line-height: 1.8;
  display: flex;
  writing-mode: inherit;
  letter-spacing: 0;
}

.legend-box-cont ul li span {
  display: block;
}

.legend-land .legend-box-cont ul li {
  display: block;
}

.legend-box-cont .legendbox {
  position: relative;
  margin-right: 10px;
}

.legend-box-cont .legendbox.land {
  width: 100%;
  height: 36px;
}

.icon-resume.legendbox {
  position: relative;
  width: 40px;
  height: 40px;
  left: 0;
  top: 0;
}

.legend-box-cont .field.box {
  width: 30px;
  height: 30px;
  padding: 10px;
  margin-right: 10px;
}

.legend-box-cont .icon-warning.box {
  position: relative;
  top: 0;
  width: 40px;
  height: 40px;
  margin: 7px 10px 10px 0;
}

.legend-field .legend-box-cont ul li,
.legend-warning .legend-box-cont ul li {
  display: block;
}

.legend-warning .legend-box-cont ul li:first-child span ul li {
  margin-bottom: 5px;
}

.legend-warning .legend-box-cont ul li:first-child {
  margin-bottom: 1em;
}

.earlywarning-lengendbox {
  width: 100%;
  border: 1px solid #999;
  display: flex;
  margin-right: 10px;
  border-radius: 4px;
  line-height: 2;
  margin-bottom: 5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.legend-box-cont .capacity.legendbox {
  width: 100%;
  height: 44px;
  bottom: 0;
  display: block;
}

.legend-capacity .legend-box-cont ul li {
  display: block;
  margin-bottom: 10px;
}

.gis-legend-box:last-child {
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .gis-legend-box h4 {
    font-size: 1.125em;
    left: 12px;
  }
  .gis-legend-cont {
    margin: 1.5em 0 0 0;
  }
  .gis-legend-cont > [class*="col-"] {
    margin: 0;
  }
  .legend-box-cont {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 30px 20px 20px 20px;
    font-size: 0.875em;
  }
  .legend-box-cont ul li {
    align-items: center;
  }
  .legend-box-cont .legendbox {
    position: relative;
    width: 60px;
    height: 36px;
    margin-right: 10px;
  }
  .legend-land .legend-box-cont ul li {
    display: flex;
  }
  .legend-box-cont .legendbox.land {
    width: 84px;
  }
  .legend-field .legend-box-cont ul li,
  .legend-warning .legend-box-cont ul li {
    display: flex;
  }
  .legend-field .legend-box-cont ul li {
    align-items: flex-start;
  }
  .legend-warning .legend-box-cont ul li:first-child {
    display: flex;
    align-items: flex-start;
  }
  .legend-box-cont .icon-warning.box {
    margin: 12px 1em 0px 0.5em;
  }
  .earlywarning-lengendbox {
    width: 120px;
  }
  .legend-warning .legend-box-cont ul li:first-child span ul {
    margin-top: 5px;
  }
  .legend-warning .legend-box-cont ul li:first-child span ul li {
    margin-bottom: 0;
  }
  .legend-capacity .legend-box-cont ul li {
    display: flex;
  }
  .legend-box-cont .capacity.legendbox {
    width: 130px;
    height: 44px;
    bottom: 0;
    display: block;
    font-size: 0.9375em;
  }
  .legend-capacity .legend-box-cont ul li span:last-child {
    width: 60%;
  }
}

/*----- 坑洞數 -----*/

.table-rwd.table-pothole tbody td:before {
  content: attr(data-th);
  font-weight: 700;
  width: 7em;
  display: inline-block;
  border-right: 1px solid #ddd;
  padding: 0.5rem 0.5rem 0.75rem 8px;
  margin-right: 5px;
  color: #444;
}

.table-rwd.table-pothole tbody tr td {
  padding: 0 0.5rem;
}

.table-rwd tbody tr:first-child td:first-child {
  border-top: none;
}

.underline-tab .modal-dialog.modal-sm {
  max-width: 100%;
  margin: 10%;
}

.underline-tab .modal-dialog .modal-content {
  border-radius: 6px;
}

.underline-tab .modal-dialog .modal-title {
  font-size: 1.25em;
  font-weight: 600;
  margin-bottom: 0;
  color: #035bad;
  letter-spacing: 1px;
}

.underline-tab .modal-dialog .modal-body {
  background: #fff;
}

.underline-tab .modal-dialog .modal-footer {
  padding: 15px 20px;
  text-align: right;
}

@media (min-width: 768px) {
  .underline-tab.resume-tab {
    margin: 0;
  }
  .table-rwd.table-pothole tbody td:before {
    display: none;
    border: none;
  }
  .table-rwd.table-pothole tbody tr td {
    text-align: right;
    padding: 0.5rem 0.75rem;
  }
  .table-rwd.table-pothole tbody tr td:first-child {
    text-align: left;
  }
  .underline-tab .modal-dialog.modal-sm {
    max-width: 45%;
  }
  .underline-tab .modal-dialog .modal-content {
    border-radius: 6px;
  }
  .underline-tab .modal-dialog .modal-title {
    font-size: 1.25em;
    font-weight: 600;
    margin-bottom: 0;
    color: #035bad;
    letter-spacing: 1px;
  }
  .underline-tab .modal-dialog .modal-body {
    background: #fff;
  }
  .underline-tab .modal-dialog .modal-footer {
    padding: 15px 20px;
    text-align: right;
  }
  .underline-tab .modal-dialog .modal-body .table {
    margin-bottom: 0.5rem;
  }
}

.chart-achievement {
  margin-bottom: 1rem;
}

.chart-achievement h4 {
  font-size: 1.25em;
  font-weight: bold;
  margin: 5px 10px 0.75rem 10px;
  color: #00529c;
}

.chart-achievement:nth-child(2) .chart-area {
  width: 100%;
  min-height: 280px;
  max-height: 350px;
}

.panel-county .chart-area {
  width: 100%;
  height: 250px;
}

@media (min-width: 768px) {
  .chart-achievement:nth-child(2) .chart-area {
    width: 100%;
    height: 280px;
  }
  .panel-county .chart-area {
    width: 100%;
    height: 280px;
  }
}

.panel-county .panel-primary > .panel-heading {
  background: #00529c;
  border-color: #00529c;
}

.panel-county .panel-heading h4 {
  margin-bottom: 0;
}

.panel-county .panel-body {
  padding: 1.25em 0 0 0;
}

.panel-county .panel-body .panel-info > .panel-body {
  padding: 0;
}

.pothole-download {
}

.pothole-download h4 {
  font-size: 1.25rem;
  color: #00529c;
  margin-bottom: 0.75rem;
}

.pothole-download ul {
  padding: 0 5px 0 5px;
}

.pothole-download ul li {
}

.pothole-download ul li::before {
  content: "\f019";
  /* font: normal normal normal 16px Fontawesome; */
  font-family: Fontawesome;
  font-size: 1em;
  font-weight: 400;
  display: inline-block;
  text-align: center;
  margin-top: 0.15em;
  margin-right: 0.5em;
  color: #666;
}

.pothole-download ul li a:hover {
  text-decoration: underline;
  color: #035bad;
}

.lightbox {
  margin: 10px;
}

.lightbox h1,
.lightbox h3 {
  font-size: 1.5em;
  color: #00529c;
  margin-bottom: 0.5rem;
}

/*============= 後台上稿css設定=====================*/

.content ul.USE-list {
  margin: 20px 0 20px 25px;
}

.content ul.USE-list li {
  list-style: disc;
  margin: 5px 0 3px 0;
}

.user-url {
  font-size: 0.9375rem;
  color: #42a3d6;
}

.content p {
  line-height: 1.8;
}

/*-- 知識探索/ 砂石應用/砂石品質分類制度之介紹-內頁後台上稿之CSS ---*/

.img-chart {
  margin: 25px auto;
  text-align: center;
  width: 90%;
  height: 90%;
  display: block;
}

.img-chart img {
  width: 100%;
  height: 100%;
}

.table-stonestatistics {
  font-size: 0.9375em;
}

.table-stonestatistics caption {
  margin-bottom: 5px;
  font-size: 1.25em;
  font-weight: 600;
  text-align: center;
}

.table-stonestatistics tbody tr td:not(:first-child) {
  text-align: right;
}

.table-stonestatistics tbody tr td {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 0 0;
}

.table-stonestatistics tbody tr td:first-child {
  font-weight: 600;
  color: #1798d8;
  background: #e2f7ff;
}

.table-stonestatistics.rwd-table tr:nth-of-type(2n) th,
.table-stonestatistics.rwd-table tr:nth-of-type(2n) td:before {
  background: #4998c7;
}

.table-stonestatistics.rwd-table tr:nth-of-type(2n) td {
  background: #f5f5f5;
}

.table-stonestatistics.rwd-table tr:nth-of-type(2n) td:first-child {
  background: #e8e8e8;
}

.table-stonestatistics.rwd-table th,
.table-stonestatistics.rwd-table td:before {
  background: #61b3d2;
}

.table-stonestatistics.rwd-table td {
  background: #fff;
}

@media (min-width: 768px) {
  .table-stonestatistics tbody tr td:not(:first-child) {
    text-align: right;
  }
  .table-stonestatistics tbody tr td {
    display: table-cell;
    padding: 0.5em 1em;
  }
  .table-stonestatistics caption span {
    float: right;
    font-weight: normal;
    font-size: 0.875rem;
    margin-right: 10px;
    margin-top: 10px;
  }
  .table-stonestatistics tbody tr td:first-child {
    font-weight: 600;
    color: #646464;
    background: #f5f5f5;
  }
  .table-stonestatistics.rwd-table tr:nth-of-type(2n) td:first-child {
    background: #e8e8e8;
  }
}

.section-body {
  margin: 0 0 10px 16px;
}
.section-body .table-bordered,
.section-body .table-bordered th,
.section-body .table-bordered td {
  border: 1px solid #1f89bf;
}
.section-body .table-bordered th {
  background: #1f89bf;
  color: #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #1f89bf;
  border-top: 1px solid #1f89bf;
}
.section-body .table-bordered th:last-child {
  border-right: none;
}
.section-body .table-bordered tbody th {
  background: #fff;
  color: #074c6f;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid #1f89bf;
  text-align: left;
}
.section-body .table-bordered tr:nth-child(even),
.section-body .table-bordered tbody tr:nth-child(even) th {
  background: rgb(231 243 247 / 75%);
}
.section-body .table-datades td {
  color: #212529;
}
.table-datades th:last-child {
  width: 80%;
}

.section-body .p-title {
  font-size: 1.5em;
  font-weight: bold;
  border-left: 4px solid #45c547;
  padding-left: 10px;
  margin: 0.25rem 0 0.5em 0;
}

.section-body p {
  margin: 0.5em 0 1.5em 0;
  font-size: 0.9375em;
}

.section-body ol,
.section-body li {
  list-style: decimal;
}

.section-body ol {
  margin: 0px 25px;
}

.section-body ol li .li-title {
  font-weight: 800;
}

.section-body .text-info {
  color: #2a76ca;
}

.section-references {
  font-size: 0.9375em;
  background: #fafafa;
  padding: 1rem 1.25em;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  color: #666;
}

.section-references h5 {
  font-weight: 600;
}

.section-references ol,
.section-references li {
  list-style: decimal;
}

.content small {
  font-size: 0.875em;
}

.section-body ul {
  margin: 5px 0 10px 30px;
}

.section-body ul li {
  list-style: cjk-ideographic;
  margin-bottom: 1.5em;
}

.section-body ul li > ol {
  margin: 10px 0 10px 22px;
}

.section-body ul li > ol li {
  list-style: decimal;
  margin-bottom: 10px;
}

.section-body ul li span.li-title {
  font-weight: 800;
  background: #316aa5;
  color: #fff;
  margin-right: 5px;
  padding: 3px 5px;
}

.section-body ul li div.li-title {
  font-weight: 800;
  color: #000;
  background: transparent;
  padding: 0;
}

.section-body ul li > ol li .li-title {
  color: #000;
  background: transparent;
  padding: 0;
}

.section-body ul li > ol li > dl dd {
  margin-bottom: 3px;
  line-height: 1.6;
  color: #666;
}

.section-body ul li > ol li > dl dd .num:before {
  content: "(";
}

.section-body ul li > ol li > dl dd .num:after {
  content: ")";
  margin-right: 5px;
}

.section-body ul li table {
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

/*20200108芊厤_上稿_樣式調整*/

h3.p-title {
  font-size: 1.5em;
  font-weight: bold;
  border-left: 9px solid #1c99d8;
  padding-left: 10px;
  margin: 0.25rem 0 0.5em 0;
  background: #e7f2f8;
  color: #047bb6;
  margin-top: 30px;
}

.cont .cont-title,
.content .cont-title {
  font-size: 1.2em;
  margin: 0px 0;
  font-weight: 800;
  margin-bottom: 5px;
}

.section-body ul li span.li-title,
.cont ul li span.li-title,
.content ul li span.li-title {
  background: rgba(240, 248, 255, 0);
  color: #00519c;
  font-weight: bold;
}

.cont ul li,
.content ul li {
  list-style-type: disc;
}

.cont li + li,
.content li + li {
  margin-top: 3px;
}

.cont p + p {
  margin-top: 0px;
  margin-bottom: 10px;
}

div.alert {
  background:#fcfcfc;
  padding: 15px 30px;
  border: 1px solid #d6d6d6;
  border-radius: .375rem;
  margin-top: 10px;
}

.cont .hight,
.content .hight {
  background: #fffacf;
  
}

/*=======switch Button=====*/

/* containing label */

.check-switch {
  display: block;
  /* padding: 0.5rem; */
  width: 2.75rem;
  height: 1.75rem;
  position: relative;
  margin-bottom: 0;
}

.check-switch:hover {
  box-shadow: 0 0 2px 1px #2196f3;
}

/* using the before/after pseudo elements of the span to create the "switch" */
.check-switch input + span{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.check-switch input + span:before,
.check-switch input + span:after {
  border: 1px solid #565656;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* styling specific to the knob of the switch */

.check-switch input + span:after {
  background: #fff;
  border-radius: 100%;
  height: 1.5em;
  right: 1.25rem;
  transition: right 0.1825s ease-in-out;
  width: 1.5em;
}

/* styling specific to the knob "container" */

.check-switch input + span:before {
  background: #eee;
  border-radius: 1.75rem;
  height: 100%;
  right: 0;
  transition: background 0.2s ease-in-out;
  width: 100%;
}


.check-switch input[type="checkbox"] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.0001;
  width: 100%;
  height: 100%;
  margin: 0;
}

.check-switch input:not([role="button"]) {
  pointer-events: none;
}

.check-switch input:focus + span:before {
  outline: 1px solid;
}

/* change the position of the knob to indicate it has been checked*/

.check-switch input:checked + span:after {
  right: 0;
}

/* update the color of the "container" to further visually indicate state */

.check-switch input:checked + span:before {
  background: #2196f3;
}

/* 'color in' the switch knob in high contrast mode by giving it
   a large border */

@media screen and (-ms-high-contrast: active) {
  .check-switch span:after {
    background-color: windowText;
  }
}

/*-----導盲磚------*/

#Content {
  position: relative;
}

.jumbotron .accesskey {
  display: inline-block;
  position: absolute;
  left: 0%;
  top: 0%;
}

.free-notice {
  margin: 10px 20px;
}

#SitemapSet ul.freeBarrier-notice {
  margin: 15px 20px 15px 24px;
  list-style: decimal;
  font-size: 0.9375rem;
}

ul.freeBarrier-notice li {
  list-style: decimal;
}

.access-notice {
  margin: 15px 20px 15px 0px;
  font-size: 0.9375rem;
}

.access-notice li {
  list-style-type: none;
}

.mapList {
  margin: 10px 0;
}

.mapList > li {
  padding: 10px 20px 5px;
}

.mapList > li a.tab {
  display: block;
  padding: 0.5rem 1.5rem;
  background: #5f85dc;
  border-radius: 40px;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  -ms-border-radius: 40px;
  -o-border-radius: 40px;
  color: #fff;
  margin-bottom: 10px;
}

.mapList li a:hover,
.mapList li a:focus {
  background: #7f99d4;
  color: rgba(255, 255, 255, 0.8);
}

.mapList .CateList {
  margin: 5px 20px 15px 20px;
  font-size: 0.9375rem;
}

.CateList ul li a {
  display: block;
  padding: 2px 5px;
  color: #6175a0;
}

@media (min-width: 768px) {
  #SitemapSet {
    margin-right: 20px;
  }
  .jumbotron .accesskey {
    display: inline-block;
    position: absolute;
    left: 37%;
    top: 18%;
  }
  .mapList {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-items: center;
  }
  .mapList > li {
    width: 48%;
  }
}

@media (min-width: 1024px) {
  .jumbotron .accesskey {
    display: inline-block;
    position: absolute;
    left: 40%;
    top: 18%;
  }
  .mapList {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-items: center;
  }
  .mapList > li {
    width: 33%;
  }
}

@media (min-width: 1366px) {
  .jumbotron .accesskey {
    display: inline-block;
    position: absolute;
    left: 42%;
    top: 22%;
  }
  .mapList > li {
    width: 33%;
  }
}

@media (min-width: 1680px) {
  .jumbotron .accesskey {
    display: inline-block;
    position: absolute;
    left: 45%;
    top: 25%;
  }
  .mapList > li {
    width: 33%;
  }
}

/* jo-20200911fix */

.sr-only {
  position: fixed;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: fixed;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  opacity: 1;
}

input[type="file"]:focus,
input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: 1px !important;
}

.QUALMAP #navbar,
.STATIMAP #navbar,
.MANUFAMAP #navbar {
  position: relative;
  /* display: flex ;
  margin-left: auto;
  flex-direction: column; */
}

.QUALMAP #navbar .accesskey,
.STATIMAP #navbar .accesskey,
.MANUFAMAP #navbar .accesskey {
  position: absolute;
  left: 360px;
  bottom: 10px;
}

.QUALMAP .navbar,
.STATIMAP .navbar,
.MANUFAMAP .navbar,
.EVALU .navbar {
  border-top: 5px solid #000 !important;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.15);
 padding: 0 1rem ;
 position: relative;

}

#normalmap {
  width: calc(100% - 385px);
}

#normalmap.navbar-nav > li {
  float: right;
}

.nav-tabs.nav-justified > .active > a,
.nav-tabs.nav-justified > .active > a:focus,
.nav-tabs.nav-justified > .active > a:hover {
  border-top: none;
  border-left: none;
  border-right: none;
}

@media(max-width:1440px) {


  .map .navbar-header h1 {
    margin-bottom: 0;
  }
  .inner-Content{
    height: calc(100vh - 99px);
  }

}
@media(max-width:768px){
  #normalmap {
    width: auto;
  }

}
@media(max-width:540px) {

  .QUALMAP .navbar,
  .STATIMAP .navbar,
  .MANUFAMAP .navbar {
    padding: 0;
    border-top: none !important;
  }

  .map .navbar-brand {
    height: 42px;
  }

  #normalmap {
    width: 100%;
  }
#normalmap.navbar-nav>li{
  float:none;
}
.QUALMAP #navbar .accesskey,
.STATIMAP #navbar .accesskey,
.MANUFAMAP #navbar .accesskey{
  top: 0;
  left:0;
  color: #fff;
  font-size: .875rem;
}
.map.QUALMAP .navbar .navbar-nav>li>a{
  padding: 10px 1.5rem !important;
}
  .inner-Content {
    height: calc(100vh - 55px)
  }
}

.form-body {
  padding: 3rem 1.5rem 1.5rem;
}



/*===============================
        產銷資訊公開+tab
===============================*/
.tabs_nwes ul.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.tabs_nwes .nav-pills > li {
  margin: 0 0.25rem 0.5rem 0;
}
.tabs_nwes .nav-pills > li > a {
  border: 2px solid #086bbb;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: #086bbb;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  outline-offset: 2px;
}

.tabs_nwes .nav li a:hover,
.tabs_nwes .nav > li > a:focus,
.tabs_nwes .nav .open > a,
.tabs_nwes .nav .open > a:focus,
.tabs_nwes .nav .open > a:hover {
  background: #025baa;
  border: 2px solid #025baa;
  color: #fff;
  outline: 2px dashed #000;
  outline-offset: 2px;
}

.tabs_nwes .nav-pills > li.active > a,
.tabs_nwes .nav-pills > li.active > a:focus,
.tabs_nwes .nav-pills > li.active > a:hover {
  background: #025baa;
  border: 2px solid #025baa;
  color: #fff;
}

/* 無障礙：確保分頁連結聚焦時可見 */
.pagination > li > a:focus,
.pagination > li > a:focus-visible {
  outline: 2px dashed #000;
  outline-offset: 2px;
}

/* 無障礙：目前頁與停用頁仍須聚焦可見 */
.pagination > li.active > a:focus,
.pagination > li.disabled > a:focus {
  outline: 2px dashed #000;
  outline-offset: 2px;
  background-color: #025baa;
  color: #fff;
}

.pagination > li.disabled > a:focus {
  background-color: #e9ecef;
  color: #6c757d;
}
@media(max-width:768px){

}
/*==========gis地圖（市場探索）fix--2023.07.19=============*/
/*地圖紅字提示*/
.tips.text-danger {
  font-size: .875rem;
  padding: .5rem;
}
.bg-transparent {
  background:transparent;
}
.border-0 {
  border:none;
}
.rounded {
  border-radius: .25rem !important;
}
.form-row{
  display: flex;
  flex-wrap: wrap;
  margin-left: -5px;
  margin-right: -5px;
}
.form-row>.col,
.form-row>[class*=col-]{
  padding-left: 5px;
  padding-right: 5px;
}
.search-box{
  margin-bottom: 1rem;
  position: relative;
  font-size: 1rem;
}
.search-box .input-group{
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
   font-size: 1rem;
}
.search-box .input-group>.form-control{
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  margin-bottom: 0;
}

.panel-success>.panel-heading{
  font-weight: bold;
  padding: .375rem 1rem;
}
.fivelayer{
  font-size: .9375rem;
  margin-bottom: 0;
}
/* 品質探索 */
.liassembly .accordion-cont{
  padding:0
}
/* 資源地圖互動 */
.control+[class*="col-"]{
  /* padding: .375rem; */
  display: flex;
  align-items: center;
}
.form-inline .form-group.row{
  display: flex;
  align-items: center;
}
.control+[class*="col-"] .form-control{
  margin-right: 0;
}

@media(max-width:768px){
  .map .navbar-header {
    box-shadow: none;
    border-top: none;
  }
  .form-row{
    display: block;
  }
}
@media(max-width:540px) {
  .form-inline .form-group.row {
    display: block;
    align-items: center;
  }
}


.map-Content{
  top: 88px;
}

/* 無障礙焦點樣式：確保所有可聚焦元素在鍵盤操作時皆有清晰可見的外框線 */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:not([tabindex="-1"]):focus {
  outline: 2px solid #000 !important;
  outline-offset: 2px !important;
}

/* 保留 Bootstrap .form-control 的 focus 邊框/陰影，同時補上外框線 */
.form-control:focus {
  outline: 2px solid #000 !important;
  outline-offset: 2px !important;
}


/* 2026-無障礙修正 */
.cont strong,
.content strong {
 font-weight: 700; 
 color:#0d3486;
}

/* ==========================================================
   WCAG 1.4.10 流動排版
   螢幕 1280px 放大至 400%（約 320 CSS px）或字體放大時，
   內容區不得產生二維捲動（橫向 + 直向）。
   表格超出容器時由 js/script.js 的 reflowTables() 加上 .table-stack，
   轉為「每列一張卡片、欄位名稱置於數值上方」的堆疊排版。
   ========================================================== */

/* 圖片、嵌入內容隨容器縮放（CMS 內容常帶有固定 px 寬高） */
.main-content img {
  max-width: 100%;
  height: auto !important;
}

.main-content iframe,
.main-content video,
.main-content embed,
.main-content object {
  max-width: 100%;
}

/* 彈性容器內允許縮小，長字串（網址、地號）可斷行 */
.main-content [class*="col-"],
.main-content .content,
.main-content .table-responsive {
  min-width: 0;
}

.main-content .content a,
.main-content .content td,
.main-content .content th,
.main-content .content li,
.main-content .content p {
  overflow-wrap: anywhere;
}

/* CMS 表格帶有固定 px 寬度時，不得超出容器 */
.main-content table[style*="width"] {
  max-width: 100% !important;
}

.main-content table td,
.main-content table th {
  overflow-wrap: break-word;
}

/* 表單控制項不得超出容器（下拉選項過長時） */
.main-content .form-inline .form-group,
.main-content .form-inline .form-control {
  max-width: 100%;
}

.main-content select,
.main-content input,
.main-content textarea {
  max-width: 100%;
}

/* 無法堆疊的表格（無表頭或含合併儲存格）：固定欄寬並強制換行 */
.main-content table.table-fit {
  width: 100% !important;
  table-layout: fixed;
  font-size: 0.875em;
}

.main-content table.table-fit th,
.main-content table.table-fit td {
  padding: 0.25rem !important;
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal !important;
}

/* 舊式 RWD 表格（<768px 已堆疊）：長字串需可斷行，避免表格被最小內容寬度撐大 */
.table.table-rwd > tbody > tr > td,
.table.rwd-table > tbody > tr > td {
  overflow-wrap: anywhere;
}

/* Bootstrap 3 於 <768px 對 .table-responsive 內的儲存格強制不換行，改為可換行 */
.table-responsive > .table > thead > tr > th,
.table-responsive > .table > thead > tr > td,
.table-responsive > .table > tbody > tr > th,
.table-responsive > .table > tbody > tr > td,
.table-responsive > .table > tfoot > tr > th,
.table-responsive > .table > tfoot > tr > td {
  white-space: normal;
}

/* 堆疊表格 */
.main-content table.table-stack,
.main-content table.table-stack > tbody,
.main-content table.table-stack > tfoot,
.main-content table.table-stack > tbody > tr,
.main-content table.table-stack > tfoot > tr {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.main-content table.table-stack {
  border: 0 !important;
  background: transparent;
}

.main-content table.table-stack > thead {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

.main-content table.table-stack > caption {
  display: block;
}

.main-content table.table-stack > tbody > tr,
.main-content table.table-stack > tfoot > tr {
  margin: 0 0 1rem;
  border: 1px solid #ddd;
  background: #fff;
}

.main-content table.table-stack > tbody > tr:nth-of-type(odd) {
  background: #f9f9f9;
}

.main-content table.table-stack > tbody > tr > td,
.main-content table.table-stack > tbody > tr > th,
.main-content table.table-stack > tfoot > tr > td,
.main-content table.table-stack > tfoot > tr > th {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0;
  padding: 0.5rem 0.75rem !important;
  border: 0 !important;
  border-top: 1px solid #ddd !important;
  background: transparent !important;
  color: #333;
  line-height: 1.6;
  text-align: left !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
}

.main-content table.table-stack > tbody > tr > td:first-child,
.main-content table.table-stack > tbody > tr > th:first-child,
.main-content table.table-stack > tfoot > tr > td:first-child,
.main-content table.table-stack > tfoot > tr > th:first-child {
  border-top: 0 !important;
}

.main-content table.table-stack > tbody > tr > td[data-th]::before,
.main-content table.table-stack > tbody > tr > th[data-th]::before,
.main-content table.table-stack > tfoot > tr > td[data-th]::before,
.main-content table.table-stack > tfoot > tr > th[data-th]::before {
  content: attr(data-th);
  display: block;
  position: static;
  width: auto;
  margin: 0 0 0.125rem;
  padding: 0;
  border: 0;
  background: none;
  color: #0d3486;
  font-weight: 700;
  text-align: left;
}

.main-content table.table-stack > tbody > tr > td[data-th=""]::before,
.main-content table.table-stack > tbody > tr > th[data-th=""]::before {
  display: none;
}

.main-content table.table-stack > tbody > tr > td.td-empty {
  display: none !important;
}