@charset "utf-8";

/*theme-bg 背景色*/
.theme-bg {
  background: #f2f7f9;
  /* background-image: url(../img/bg.jpg); */
}

/*模組背景色*/
div#main_top,
.breadcrumb,
div#left,
div#middle,
div#main_right,
div#main_bottom {
  background: #f2f7f9;
}
.center-module-bg {
  background: #f2f7f9;
}
div#main_top .module,
div#left .module,
div#middle .module,
div#main_right .module,
div#main_bottom .module,
.module {
  /* background: #f2f7f9; */
  background: #fff;
  border-radius: 8px;
}

:not(.module-content).module-padding,
.module {
  /* box-shadow: 0 0 5px #d8d8d8; */
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  margin: 5px;
}
/**************************************************
= header 上方登入選單
********************/
header {
  background: rgba(255, 255, 255, 0.7);
}
header,
header a,
header button,
header .dropdown-content a {
  color: #545454;
}
header > a,
header > div {
  color: #13438D;
}
header .fontsize button {
  color: #ffffff;
  background-color: #13438D;
}
header .fontsize button:hover {
  color: #ffffff;
  background-color: #00ad8f;
}
header .dropdown svg {
  fill: #545454;
}
header a:hover,
header > div:hover {
  background: none;
  color: #00ad8f;
}
header .dropdown:hover svg {
  fill: #00ad8f;
}
header .dropdown-content {
  background: #d8d8d8;
}
header .dropdown-content a {
  color: #545454;
}
header .dropdown-content a:hover {
  background-color: #13438D;
  color: #fff;
}
.login .top-space header {
  margin-top: 45px;
}

@media screen and (max-width: 767px) {
  .login .top-space header {
    margin-top: 0px;
  }
  header {
    border: 0;
    border-bottom: 1px solid #dadada;
  }
}

/**************************************************
= theme 上方主圖
********************/
.logo,
.logo a {
  font-size: 2rem;
  color: #545454;
}

h1 strong {
  position: absolute;
  top: 15px;
  left: 25px;
}
h1 strong.picshow {
  position: absolute;
  top: -100px;
}

@media (max-width: 520px) {
  .theme {
    height: 90px;
  }
  .logo {
    height: 90px;
  }
  .logo h1 {
    margin: 0;
  }
}

/**************************************************
= navbar 橫式選單模組
********************/
.navbar {
  background-color: #13438D;
}
.navbar ul {
  max-width: 1500px;
}
.navbar li a {
  color: #fff;
  padding: 10px 15px;
}
.navbar li:hover a {
  color: #05BCE9;
}
.navbar li:hover .navbar-svg {
  fill: #00ad8f;
}
.navbar li:hover ul a {
  background-color: #fff;
  color: #313131;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  padding: 5px 20px;
}
.navbar ul li a:focus + .navrwd + .menuhidden {
  color: #313131;
}
.navbar li:hover ul a:hover {
  /* background-color: #05BCE9; */
  /* color: #ffffff; */
  color: #13438D;
}
.navbar li:hover ul a:hover::before {
  opacity: 1;
}
.navbar li .menuhidden.navbar-menu a {
  background-color: #fff;
  color: #313131;
}
.navbar li .menuhidden.navbar-menu a:hover {
  background-color: #05BCE9;
  color: #ffffff;
}
.navbar li ul li + li {
  border-top: 1px solid #13438D;
}
.navbar li ul li a {
  min-width: max-content;
  position: relative;
}
.navbar li ul li a::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 100%;
  background-color: #13438D;
  top: 0;
  left: 0;
  opacity: 0;
  transition: 0.3s;
}
.navrwd-svg {
  fill: #05BCE9;
}

@media screen and (min-width: 768px) {
  .navbar ul {
    padding: 5px 15px;
    justify-content: center;
  }
  .navbar ul li ul {
    padding: 5px 0 0;
  }
}
@media screen and (min-width: 992px) {
  .navbar > ul > li {
    padding: 0 15px;
  }
}
@media (max-width: 991px) and (min-width: 768px) {
  .navbar > ul > li {
    padding: 0 20px;
  }
}
@media screen and (max-width: 767px) {
  .menuhidden {
    max-width: none !important;
    width: 100% !important;
  }
  .navbar ul li,
  .navbar li a {
    background: #13438D;
    color: #fff;
  }
  .navbar li:hover a {
    color: #05BCE9;
  }
  .navbar ul li + li {
    border-top: 1px solid #13438D;
  }
  .navbar .show-menu {
    padding: 4px 8px;
    color: #0d56a6;
    background: initial;
  }
  .navbar .show-menu .ct-hamburger svg {
    fill: #fff;
    transform: translateY(-3px);
  }
  .navbar li:hover ul a {
    background: #ffffff;
    /* color: #05BCE9; */
  }
  .navbar li:hover ul a:hover {
    background-color: #05BCE9;
  }
  .navrwd-svg {
    background: #13438D;
    border: none;
  }
  .navrwd-svg svg {
    fill: #a4a4a4;
  }
  .navbar li ul li {
    border: 0;
  }
  .navbar li .menuhidden.navbar-menu a {
    background-color: #fff;
  }
}

/**************************************************
= breadcrumb 麵包屑
********************/
.breadcrumb-item + .breadcrumb-item::before {
  border-left: 8px solid #13438D;
}
.breadcrumb-item.active {
  color: #13438D;
}
.breadcrumb a {
  color: #545454;
}
.breadcrumb a:hover {
  color: #13438D;
  font-weight: 700;
}

/**************************************************
= footer 最下方聯絡資訊
********************/
.footerbg {
  position: relative;
  /* background-image: url(../img/footerbg.png); */
  /* background-color: inherit; */
  /* background-position: top left; */
  /* background-repeat: no-repeat; */
  color: #ffffff;
  background-color: #10335B;
  margin-top: 100px;
}
.footerbg a {
  color: #ffffff;
}
.connect-links,
.connect .text.connect-explorer {
  color: #ffffff;
}
.connect-links:hover {
  text-decoration: none;
  color: #13438D;
}
.copyright {
  background-color: #13438D;
  color: #565656;
}

@media (max-width: 1400px) {
  .footerbg {
    /* background-image: url(../img/footerbg-s.png); */
  }
}

@media (max-width: 767px) {
  .footerbg {
    /* background-image: url(../img/footerbg-xs.png); */
  }
}

/**************************************************
= module title 模組標題
********************/
.module-title {
  color: #3167a6;
  width: 100%;
  border-bottom: 2px solid;
  text-align: left;
  padding-left: 40px;
  background-position: 10px center;
  background-size: 20px;
  background-repeat: no-repeat;
}
/* .module-title::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0;
  left: 0;
  background: #bababa;
}
.module-title::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 5px;
  background: #13438D;
  bottom: 0;
  left: 0px;
} */

/**************************************************
= color
********************/

/* tab頁簽 ********************/
.nav-tabs {
  border-bottom-color: #ffffff;
}
.nav-tabs .nav-item a {
  background: #d8d8d8;
  color: #545454;
  border-color: #d8d8d8;
}
.nav-pills .nav-item a {
  background: #d8d8d8;
  color: #545454;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  background: #13438D;
  color: #fff;
  border-color: #13438D;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background: #13438D;
  color: #fff;
  border-color: #13438D;
}
.nav-pills .nav-link:focus,
.nav-pills .nav-link:hover {
  background: #13438D;
  color: #fff;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background: #13438D;
  color: #fff;
}
.nav-tabs .nav-link.disabled,
.nav-pills .nav-link.disabled {
  color: #c9c9c9;
  border-bottom-color: #ffffff;
}
.ct-dropdown-menu {
  background-color: #fff;
  border: 1px solid #777777;
}
.ct-dropdown-item {
  color: #3a92e9;
}
.nav-tabs .nav-item .ct-dropdown-menu a {
  background: #ffffff;
  color: #545454;
}
.nav-tabs .nav-item .ct-dropdown-menu :focus,
.nav-tabs .nav-item .ct-dropdown-menu :hover {
  background-color: #f1f2f2;
}

/* table表格 ********************/
.ct-table th,
.ct-table td {
  border-top-color: #ccc;
}
.ct-table tbody + tbody {
  border-top-color: #ccc;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f3f3f4;
}
.ct-table .thead-light th {
  color: #13438D;
  background-color: #ffffff;
  border-top: none;
  border-bottom: 1px solid #13438D;
}
.ct-table .thead-dark th {
  color: #ffffff;
  background-color: #13438D;
  border-color: #13438D;
}
.table-bordered {
  border-color: #e9ecef;
}
.table-bordered th,
.table-bordered td {
  border-color: #ccc;
}
.table-hover tbody tr:hover {
  background-color: rgba(19, 67, 141, 0.1);

@media only screen and (max-width: 575px) {
  .table-responsive .ct-table td:before,
  .table-responsive .ct-table th:before {
    color: #13438D;
  }
}

/* nav-Vertical 直式選單 ********************/
.nav-Vertical ul li .sub-menu-item {
  background: #f2f7f9;
  color: #13438D;
  border-bottom-color: #d3dcdf;
}
.nav-Vertical ul li .sub-menu-item:hover {
  background: #13438D;
  color: #fff;
}
.nav-Vertical ul li .sub-menu-item:hover .menu-arrow svg {
  fill: #fff;
}
.nav-Vertical ul li .sub-menu-item a {
  color: #333;
}
.nav-Vertical ul li .sub-menu-item a:hover,
.nav-Vertical ul li .sub-menu-item a:focus,
.nav-Vertical ul li .sub-menu-item a:active,
.nav-Vertical ul li .sub-menu-item .active,
.nav-Vertical ul li .sub-menu-item:hover a {
  color: #545454;
}
.nav-Vertical ul li .menu-arrow svg {
  fill: #545454;
}
.nav-Vertical ul li ul li .sub-menu-item {
  background: #ffffff;
}
.nav-Vertical ul li ul li ul li .sub-menu-item {
  background: #eefefd;
}
.nav-Vertical ul li ul li .sub-menu-item:hover,
.nav-Vertical ul li ul li ul li .sub-menu-item:hover {
  background: #fafafa;
  color: #545454;
  border-left-color: #13438D;
}
.nav-Vertical ul li ul li .sub-menu-item:hover a {
  color: #13438D;
}
.vertical-hamburger {
  background: #ffffff;
}
.vertical-hamburger svg {
  fill: #13438D;
}

/* sitemap 導覽頁 ********************/
.ct-sitemap {
  background: #ffffff;
}
.sitemap-title {
  background: #13438D;
  color: #ffffff;
}
.sitemap-block {
  background: #ffffff;
}
.sitemap-item {
  border: 1px solid #afafaf;
}
.sitemap-item a {
  color: #545454;
  border-left-color: #b5b5b5;
  background: #f0f0f0;
}
.sitemap-item a:hover,
.sitemap-item a:focus {
  background: #ffe4bf;
  border-left-color: #13438D;
}
.sitemap-icon svg {
  fill: #ffffff;
}

/*上方無障礙 ********************/
.focusable {
  opacity: 0;
}
a.focusable:focus {
  opacity: 1;
}

/**************************************************
= hotkeyicon 快捷列 ********************/
.gd-xxs6,
.gd-xxs12 {
  float: left;
}
.hotkeyicon {
  color: #545454;
  font-size: 1.1rem;
  font-weight: 600;
  width: 100%;
  background-color: #ffffff;
  margin: 20px 0 0;
  padding: 15px;
}
.hotkeyicon .icon-1,
.hotkeyicon .icon-2,
.hotkeyicon .icon-3,
.hotkeyicon .icon-4,
.hotkeyicon .icon-5,
.hotkeyicon .icon-6 {
  position: relative;
  cursor: pointer;
  height: auto;
  max-width: 100%;
  margin: 5px;
  padding: 10px;
  background: #f5f5f5;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  top: 0px;
}
.hotkeyicon .icon-1:hover,
.hotkeyicon .icon-2:hover,
.hotkeyicon .icon-3:hover,
.hotkeyicon .icon-4:hover,
.hotkeyicon .icon-5:hover,
.hotkeyicon .icon-6:hover {
  top: 5px;
}
.hotkeyicon .icon-svg1,
.hotkeyicon .icon-svg2,
.hotkeyicon .icon-svg3,
.hotkeyicon .icon-svg4,
.hotkeyicon .icon-svg5,
.hotkeyicon .icon-svg6 {
  margin: 0 auto;
  width: 90px;
  height: 80px;
  max-width: 100%;
  background-repeat: no-repeat;
}
.hotkeyicon .icon-svg1 img,
.hotkeyicon .icon-svg2 img,
.hotkeyicon .icon-svg3 img,
.hotkeyicon .icon-svg4 img,
.hotkeyicon .icon-svg5 img,
.hotkeyicon .icon-svg6 img {
  width: 90px;
  height: 80px;
  max-width: 100%;
}

/*舊版hotkeyicon圖片固定式*/
.hotkeyicon .icon-svg1-1,
.hotkeyicon .icon-svg2-1,
.hotkeyicon .icon-svg3-1,
.hotkeyicon .icon-svg4-1,
.hotkeyicon .icon-svg5-1,
.hotkeyicon .icon-svg6-1 {
  margin: 0 auto;
  width: 90px;
  height: 80px;
  max-width: 100%;
  background-repeat: no-repeat !important;
}
.hotkeyicon .icon-svg1-1 {
  background: url(../img/hoticon1.svg);
}
.hotkeyicon .icon-svg2-1 {
  background: url(../img/hoticon2.svg);
}
.hotkeyicon .icon-svg3-1 {
  background: url(../img/hoticon3.svg);
}
.hotkeyicon .icon-svg4-1 {
  background: url(../img/hoticon4.svg);
}
.hotkeyicon .icon-svg5-1 {
  background: url(../img/hoticon5.svg);
}
.hotkeyicon .icon-svg6-1 {
  background: url(../img/hoticon6.svg);
}

.hotkeyicon .icon-title,
.hotkeyicon .icon-title a {
  text-align: center;
  color: #545454;
  margin-top: 10px;
}
.hotkeyicon .button {
  position: relative;
  width: 100%;
  padding: 15px;
  background: #e25f5f;
  color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.hotkeyicon .button:hover {
  background: #d83737;
  padding-left: 25px;
}
.hotkeyicon .button::after {
  content: "";
  position: absolute;
  background-image: url(../img/cnter-btn-icon.svg);
  width: 25px;
  height: 25px;
  right: 10px;
}
.button-block .button-link {
  display: block;
}
.button-block .button-link + .button-link {
  margin-top: 12px;
}
@media only screen and (max-width: 1400px) {
  .hotkeyicon {
    padding: 15px 5px;
    font-size: 1rem;
  }
  .hotkeyicon .button::after {
    width: 20px;
    height: 20px;
    right: 5px;
  }
}
@media only screen and (max-width: 992px) {
  .hotkeyicon .icon-1,
  .hotkeyicon .icon-2,
  .hotkeyicon .icon-3,
  .hotkeyicon .icon-4,
  .hotkeyicon .icon-5,
  .hotkeyicon .icon-6 {
    margin: 5px;
    padding: 8px;
  }
}
@media only screen and (max-width: 520px) {
  .hotkeyicon .icon-svg1,
  .hotkeyicon .icon-svg2,
  .hotkeyicon .icon-svg3,
  .hotkeyicon .icon-svg4,
  .hotkeyicon .icon-svg5,
  .hotkeyicon .icon-svg6 {
    width: 70px;
    height: 60px;
  }
  .hotkeyicon .icon-title,
  .hotkeyicon .icon-title a {
    margin-top: 5px;
  }
}

/**************************************************
= siconbtn fb及相簿按鈕 ********************/
.siconbtn {
  position: relative;
  margin: 5px;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
}
.siconbtn:hover {
  color: #ff6c00;
}
.siconbtn.btn1 {
  background: #13438D;
}
.siconbtn.btn2 {
  background: #00af8d;
}
.siconbtn.btn1:hover {
  background: #da6e00;
}
.siconbtn.btn2:hover {
  background: #00987a;
}
.siconbtn .sicontitle {
  position: relative;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  display: table;
  margin: 0 auto;
  padding-left: 25px;
}
.siconbtn .sicontitle::before {
  content: "";
  position: absolute;
  left: -15px;
  top: -5px;
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
}
.siconbtn.btn1 .sicontitle::before {
  background-image: url(../img/sicon1.svg);
}
.siconbtn.btn2 .sicontitle::before {
  background-image: url(../img/sicon2.svg);
}

/******模組************************************/
/*span-color-ga003*/
.span-color-ga003,
a.span-color-ga003 {
  color: #13438D;
}
a.span-color-ga003:hover,
a.span-color-ga003:focus {
  color: #545454;
}

/*span-color-ga007*/
.span-color-ga007,
a.span-color-ga007 {
  color: #13438D;
}
a.span-color-ga007:hover,
a.span-color-ga007:focus {
  color: #545454;
}

/*GA002 公告彙整*/
.btn-tabs {
  margin-top: -1px;
  margin-bottom: 5.5px;
}
/*線上報修button-ga009********************/
.repair-basicset .btn-primary {
  color: #545454;
  background-color: #13438D;
  border-color: #13438D;
  fill: #545454;
}
.repair-basicset .btn-primary:hover,
.repair-basicset .btn-primary:focus,
.repair-basicset .btn-primary:active,
.repair-basicset .btn-primary.active,
.repair-basicset .open .ct-dropdown-toggle.btn-primary,
.repair-basicset .btn-primary:active:focus,
.repair-basicset .btn-primary:active:hover,
.repair-basicset .btn-primary.active:hover,
.repair-basicset .btn-primary.active:focus {
  background: #13438D;
  color: #ffffff;
}
.repair-basicset .btn-primary.active.focus,
.repair-basicset .btn-primary.active:focus,
.repair-basicset .btn-primary.active:hover,
.repair-basicset .btn-primary:active.focus,
.repair-basicset .btn-primary:active:focus,
.repair-basicset .btn-primary:active:hover,
.repair-basicset .open > .ct-dropdown-toggle.btn-primary.focus,
.repair-basicset .open > .ct-dropdown-toggle.btn-primary:focus,
.repair-basicset .open > .ct-dropdown-toggle.btn-primary:hover {
  background: #13438D;
  color: #ffffff;
}
.repair-basicset .btn-svg svg {
  fill: #545454;
}
.repair-basicset .ct-btn:hover .btn-svg svg {
  fill: #ffffff;
}

/* CGA001 圖文公告換色 ********************/
.ct-focusslider .focus-content .textblock {
  background: #b8efe4;
  color: #545454;
  border-bottom: 4px solid #49d6bb;
}
.ct-focusslider .focus-content a:nth-child(odd) .textblock {
  background: #fff5b1;
  color: #545454;
  border-bottom: 4px solid #13438D;
}
.ct-focusslider .focus-content .textblock.notice-color {
  background: #f5f5f5;
  color: #545454;
  border-bottom: 4px solid #49d6bb;
}
.ct-focusslider .focus-content a:nth-child(odd) .textblock.notice-color {
  background: #f5f5f5;
  color: #545454;
  border-bottom: 4px solid #13438D;
}
/*CGA001 圖文公告箭頭顏色*/
.ct-focusslider .focus-controls .focus-arrow {
  fill: #13438D;
}
.ct-focusslider .focus-controls .focus-arrow:hover {
  fill: #545454;
}
.ct-focusslider .focus-controls .focus-arrow.focus-end {
  fill: rgba(175, 175, 175, 1);
}

/* GA017 全文檢索*******************/
.cmgch-google .btn-all {
  color: #ffffff;
  background-color: #7f7f7f;
  border-color: #7f7f7f;
  fill: #ffffff;
}
.cmgch-google .btn-all:hover,
.cmgch-google .btn-all:focus,
.cmgch-google .btn-all:active,
.cmgch-google .btn-all.active,
.cmgch-google .btn-all:active:focus,
.cmgch-google .btn-all:active:hover,
.cmgch-google .btn-all.active:hover,
.cmgch-google .btn-all.active:focus {
  color: #545454;
  background-color: #13438D;
  border-color: #13438D;
  fill: #545454;
}
.cmgch-google .btn-advanced {
  color: #ffffff;
  background-color: #797979;
  border-color: #797979;
  fill: #ffffff;
}
.cmgch-google .btn-advanced:hover,
.cmgch-google .btn-advanced:focus,
.cmgch-google .btn-advanced:active,
.cmgch-google .btn-advanced.active,
.cmgch-google .btn-advanced:active:focus,
.cmgch-google .btn-advanced:active:hover,
.cmgch-google .btn-advanced.active:hover,
.cmgch-google .btn-advanced.active:focus {
  color: #ffffff;
  background-color: #676767;
  border-color: #676767;
  fill: #ffffff;
}
.cmgch-google .form-group-m input {
  caret-color: #13438D;
}
.cmgch-google .form-group-m .bar::before {
  background: #13438D;
}

/* GA013 文字連結模組 ********************/
.ga013_title:before {
  color: #13438D;
}

/*ALT+C 導盲磚 *******************/
#center {
  color: #757474;
}

/*freeze btn overflow *******************/
#noticeview_to_print .ct-btn {
  white-space: normal;
}

/*權限scrollbar *******************/
.select-menu-container.select-visible .select-menu {
  overflow-y: auto;
  height: 150px;
}


/* icon */
.icon * {
  box-sizing: border-box;
}
.icon {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.icon_item {
  width: calc(100% / 6);
  padding: 0 10px;
  height: 100%;
}
.icon_item a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  background-color: rgba(19, 67, 128, 0.1);
  padding: 20px;
  text-decoration: none;
  transition: 0.3s;
  height: 100%;
}
.icon_item a:hover {
  background-color: rgba(106, 184, 2, 0.1);

}
.icon_item img {
  width: 100px;
}
.icon_item span {
  display: block;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #13438D;
}
@media screen and (max-width: 991px) {
    .icon_item {
        width: calc(100% / 3);
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 767px) {
    .icon_item {
        width: calc(100% / 2);
        margin-bottom: 30px;
    }
}