/*************************************/
:root {
  --hover: #ff6a00;
  --hover2: #ffeb00;
}
/*************************************/
html {
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 1em;
  min-height: 100%;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  cursor: default !important;
}

.ui-widget {
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif !important;
}

._left {
  text-align: left;
}

._right {
  text-align: right;
}

._center {
  text-align: center;
}

._verticalalign_top {
  vertical-align: top;
}

._displaynone {
  display: none;
}

._displayblock {
  display: block;
}

._nowrap {
  white-space: nowrap;
}

._wrap {
  white-space: unset !important;
}

._relative {
  position: relative;
}

._inlineblock {
  display: inline-block;
}

a {
  position: relative;
}

  a:link,
  a:visited,
  a:hover {
    text-decoration: none;
  }

._hovertext {
  color: #06f;
  text-decoration: none;
  cursor: pointer;
}

  ._hovertext:hover {
    color: #f60;
    background-color: #ffefda;
  }

.justify {
  text-align: justify;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

  *:focus:not(input[type="radio"]) {
    outline: 3px solid var(--hover);
  }

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #666;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #666;
}

ol ul {
  list-style: disc;
}

/*************************************/
._noscript {
  color: #f00;
  text-align: center;
  padding: 5px;
}
/*************************************/
._w5p {
  width: 5%;
}

._w10p {
  width: 10%;
}

._w15p {
  width: 15%;
}
._w50p {
  width: 50% !important;
}

._w100p {
  width: 100%;
}

._w10 {
  width: 10px;
}

._w20 {
  width: 20px;
}

._w30 {
  width: 30px;
}

._w40 {
  width: 40px;
}

._w50 {
  width: 50px;
}

._w60 {
  width: 60px;
}

._w65 {
  width: 65px;
}

._w70 {
  width: 70px;
}

._w80 {
  width: 80px;
}

._w100 {
  width: 100px;
}

._w120 {
  width: 120px;
}

._w150 {
  width: 150px;
}

._w180 {
  width: 180px;
}

._w200 {
  width: 200px;
}

._w250 {
  width: 250px;
}

._w300 {
  width: 300px;
}

._w350 {
  width: 350px;
}

._w400 {
  width: 400px;
}

._w450 {
  width: 450px;
}

._w500 {
  width: 500px;
}

._w600 {
  width: 600px;
}

._w650 {
  width: 650px;
}

._w700 {
  width: 700px;
}

._w100p-3em {
  width: calc(100% - 3.7em);
}

._w100p-4em {
  width: calc(100% - 4.7em);
}

._w100p-5em {
  width: calc(100% - 5.7em);
}

._w100p-7em {
  width: calc(100% - 7.7em);
}

._w100p-10em {
  width: calc(100% - 10em);
}

._w100p-11em {
  width: calc(100% - 11em);
}

._w100p-12em {
  width: calc(100% - 12em);
}

._w100p-13em {
  width: calc(100% - 13em);
}

._w100p-14em {
  width: calc(100% - 14em);
}

._w100p-15em {
  width: calc(100% - 15em);
}

._w100p-20em {
  width: calc(100% - 22.4em);
}

._maxw500 {
  max-width: 500px;
}

._maxw600 {
  max-width: 600px;
}

._maxw700 {
  max-width: 700px;
}

._maxw800 {
  max-width: 800px;
}

._maxw900 {
  max-width: 900px;
}

._maxw1000 {
  max-width: 1000px;
}

._maxw1100 {
  max-width: 1100px;
}

._maxw1200 {
  max-width: 1200px;
}

._maxw1300 {
  max-width: 1300px;
}

._maxw1400 {
  max-width: 1400px;
}

._maxw1680 {
  max-width: 1680px;
}
/***/
._minw150 {
  min-width: 150px;
}

._minw400 {
  min-width: 400px;
}

._minw500 {
  min-width: 500px;
}

._minw600 {
  min-width: 600px;
}

._minw700 {
  min-width: 700px;
}
._minw800 {
  min-width: 800px;
}

._minw900 {
  min-width: 900px;
}

._minw1000 {
  min-width: 1000px;
}

._minw1100 {
  min-width: 1100px;
}

._minw1200 {
  min-width: 1200px;
}
._minw1210 {
  min-width: 1210px;
}
._minw1300 {
  min-width: 1300px;
}

._minw1400 {
  min-width: 1400px;
}

._minw1500 {
  min-width: 1500px;
}

._minw1600 {
  min-width: 1600px;
}

._minw1700 {
  min-width: 1700px;
}

._minw1800 {
  min-width: 1800px;
}
/*******************************************/
._mb3 {
  margin-bottom: 3px !important;
}

._mb5 {
  margin-bottom: 5px !important;
}

._mb10 {
  margin-bottom: 10px !important;
}

._mb20 {
  margin-bottom: 20px !important;
}

._mb30 {
  margin-bottom: 30px !important;
}

._mb40 {
  margin-bottom: 40px !important;
}

._mb50 {
  margin-bottom: 50px !important;
}

._mb60 {
  margin-bottom: 60px !important;
}

._ml5 {
  margin-left: 5px !important;
}

._ml10 {
  margin-left: 10px !important;
}

._ml20 {
  margin-left: 20px !important;
}

._ml25 {
  margin-left: 25px !important;
}

._ml50 {
  margin-left: 50px !important;
}

._ml66 {
  margin-left: 66px !important;
}

._ml160 {
  margin-left: 160px !important;
}

._margin_lr_auto {
  margin-left: auto;
  margin-right: auto;
}

._m0 {
  margin: 0;
}

._px5 {
  padding: 0 5px;
}

._px10 {
  padding: 0 10px;
}

._py5 {
  padding: 5px 0;
}

._py10 {
  padding: 10px 0;
}

._pl20 {
  padding-left: 20px !important;
}

._pl25 {
  padding-left: 25px !important;
}

._p0 {
  padding: 0;
}

._top0 {
  top: 0 !important;
}

._border_bottom_none {
  border-bottom: none !important;
}
._font_blue {
  color: #06f;
}

._font_red{
  color: #c00;
}

._font_green {
  color: #009925;
}


._font_gray {
  color: #666;
}

._font_999 {
  color: #999;
}

._hover_orang:hover {
  color: var(--hover);
}

._font_required {
  color: #F70302;
}

._required {
  /*border-right: 4px solid #F70302;*/
}

  ._required::after {
    content: "*";
    color: #F00;
  }

._font_size_096em {
  font-size: 0.96em;
}

._font_size_12em {
  font-size: 1.2em;
}

._font_size_14em {
  font-size: 1.4em;
}

._font_blod {
  font-weight: bold;
}

._bg_lightblue {
  background-color: #9be7ff !important;
}

._bg_lightblue2 {
  background-color: #d2fcff !important;
}

._bg_lightyellow {
  background-color: #fff775 !important;
}

._bg_lightgreen {
  background-color: #dcffce !important;
}

._bg_lightred {
  background-color: #ffeeee !important;
}

._bg_white {
  background-color: #ffffff !important;
}

._bg_lightgray {
  background-color: #f0f0f0 !important;
}
._cursor_pointer {
  cursor: pointer;
}
/*******************************************/
._api_statusMsg,
._search_statusMsg {
  color: #c00;
  margin: 0 0 5px 0;
  font-size: smaller;
}

  ._api_statusMsg a,
  ._search_statusMsg a {
    color: #c00;
    border-bottom: 1px solid #c00;
  }

._desc_img {
  position: relative;
  top: 2px;
}

._desc_icon {
  position: relative;
  top: -1px;
  background-color: #ff5729;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.80em;
  text-align: center;
  display: inline-block;
  margin: 0;
}

  ._desc_icon.cube {
    background-color: #0061bc;
    color: #fff;
    border-radius: 3px;
  }

._desc_div {
  border: 1px solid #999;
  padding: 10px;
  border-radius: 5px;
  background-color: #fff8cd;
}
/*******************************************/
._maskedInput {
  -webkit-text-security: disc; /* 這行在某些瀏覽器有效 */
}
/*******************************************/
.remsg {
  color: #c00;
  text-align: left;
  width: 100%;
  display: block;
}
/*******************************************/
header {
  clear: both;
  width: 100%;
  /*min-width: 1120px;*/
  margin: 0 auto;
  background-size: cover;
  background-position: center;
}

  header.type_Org {
    background-image: url(../img/bg_header_Org.png);
  }
  header.type_CCA {
    background-image: url(../img/bg_header_CCA.png);
  }
  header.type_PUB {
    background-image: url(../img/bg_header_PUB.jpg);
  }

.header_column {
  clear: both;
  width: 100%;
  height: 110px;
  min-width: 1120px;
  max-width: 1200px;
  margin: 0 auto;
}

  .header_column .logo {
    position: relative;
    float: left;
    z-index: 1;
    height: 80px;
    top: 35px;
    left: 10px;
    /*cursor: pointer;*/
  }

.log_column {
  width: fit-content;
  display: inline-block;
  vertical-align: top;
}

  .log_column .box {
    display: inline-block;
    width: 56px;
    height: 56px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

    .log_column .box.logo1 {
      background-image: url('../img/MOENV_LOGO.png');
    }

    .log_column .box.logo2 {
      background-image: url('../img/CCA_LOGO.png');
    }

    .log_column .box a {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 3px solid #ffffff;
    }

      .log_column .box a span {
        font-size: 0em;
        color: transparent;
        line-height: 0;
      }

      .log_column .box a:hover {
        outline: 3px solid var(--hover);
      }

    .log_column .box img {
      width: 100%;
    }
/***/
.title_column {
  width: fit-content;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

  .title_column .sys_title {
    font-size: 1.1em;
    font-weight: bold;
  }

    .title_column .sys_title .box {
      display: inline-block;
      margin: 0 0 0 5px;
    }

      .title_column .sys_title .box a {
        color: #000;
      }

        .title_column .sys_title .box a:hover {
          color: var(--hover);
        }
  /***/
  .title_column .app_title {
    font-size: 1.6em;
    font-weight: bold;
  }

    .title_column .app_title .box {
      display: inline-block;
      margin: 0 0 0 5px;
    }

    .menu.type_CCA .title_column .app_title .box,
    .menu.type_PUB .title_column .app_title .box{
      margin: 0.45em 0 0 5px;
    }

      .title_column .app_title .box a {
        color: #000;
      }

        .title_column .app_title .box a:hover {
          color: var(--hover);
        }

.header_column .option_column {
  position: relative;
  float: right;
  top: 5px;
  right: 150px;
  font-size: 0.9em;
}

  .header_column .option_column .message {
    display: inline-block;
    margin: 0 10px 0 0;
  }

    .header_column .option_column .message .user_name {
      background-image: url('../img/icon_user.svg');
      background-repeat: no-repeat;
      background-size: 14px;
      background-position: 0 3px;
      padding: 0 0 0 18px;
    }

  .header_column .option_column .button_logout {
    display: inline-block;
  }

    .header_column .option_column .button_logout span {
      background-image: url('../img/icon_logout.svg');
      background-repeat: no-repeat;
      background-size: 14px;
      background-position: 5px 6px;
      background-color: #566800;
      color: #fff;
      font-weight: bold;
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      padding: 2px 6px 3px 24px;
      transition: all 0.2s ease-in;
      -webkit-transition: all 0.2s ease-in;
      cursor: pointer;
    }
      .header_column .option_column .button_logout span._CCA {
        background-color: #0049a7;
      }

      .header_column .option_column .button_logout span:hover {
        background-color: var(--hover);
      }

      .header_column .option_column .button_logout span i {
        transform: rotate(0deg);
        transition: all 0.2s ease-in;
        -webkit-transition: all 0.2s ease-in;
      }

      .header_column .option_column .button_logout span:hover i {
        transform: rotate(-90deg);
      }

@media screen and (max-width:1380px) {
  .header_column .option_column {
    position: absolute;
    right: 240px;
  }
}
/*************************************/
/*******************************************/
nav.menu {
  clear: both;
  position: static;
  left: 0;
  width: 100%;
  min-width: 1120px;
  height: 45px;
  background: #566800;
  z-index: 2;
}
  nav.menu.type_CCA {
    background: #0049a7;
  }
  nav.menu.type_PUB {
    background: #2479b8;
  }

.menu ul.step_1 {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 45px;
  text-align: center;
  letter-spacing: -4px;
}

  .menu ul.step_1 li.option_1 {
    position: relative;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 0px;
  }

    .menu ul.step_1 li.option_1 span {
      padding: 0 20px;
      color: #fff;
      font-size: 1.1em;
      font-weight: bold;
      line-height: 45px;
      transition: all 0.2s ease-in;
      -webkit-transition: all 0.2s ease-in;
      cursor: pointer;
      display: inline-block;
    }

      .menu ul.step_1 li.option_1 span:hover {
        background: rgba(0,0,0,0.2);
      }

      .menu ul.step_1 li.option_1 span.icon {
        background-repeat: no-repeat;
        background-position: 20px 13px;
        background-size: 20px;
        padding: 0 20px 0 44px;
      }

      .menu ul.step_1 li.option_1 span.icon_login {
        background-image: url('../img/icon_menu_login.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_register {
        background-image: url('../img/icon_menu_register.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_forgetpwd {
        background-image: url('../img/icon_menu_forgetpwd.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_儀表板 {
        background-image: url('../img/icon_menu_dashboard.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_功能清單 {
        background-image: url('../img/icon_admin_menu.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_查驗申請,
      .menu ul.step_1 li.option_1 span.icon_查驗申請管理 {
        background-image: url('../img/icon_menu_qms.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_許可資料 {
        background-image: url('../img/icon_menu_qmd.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_個人憑證 {
        background-image: url('../img/icon_menu_gdp.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_查驗機構 {
        background-image: url('../img/icon_menu_doc.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_帳號資料修改 {
        background-image: url('../img/icon_menu_user.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_變更密碼 {
        background-image: url('../img/icon_menu_forgetpwd.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_log,
      .menu ul.step_1 li.option_1 span.icon_系統管理 {
        background-image: url('../img/icon_menu_log.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_帳號管理 {
        background-image: url('../img/icon_menu_accountmanagement.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_年度成果管理 {
        background-image: url('../img/icon_menu_schedule.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_統計報表 {
        background-image: url('../img/icon_menu_statlist.svg');
      }

      .menu ul.step_1 li.option_1 span.icon_報表查詢 {
        background-image: url('../img/icon_menu_query.svg');
      }


    .menu ul.step_1 li.option_1 ul.step_2 {
      opacity: 0;
      position: absolute;
      top: 45px;
      width: fit-content;
      width: -moz-fit-content;
      min-width:100%;
      margin: 0;
      padding: 0;
      background: #f2f2f2;
      list-style: none;
      text-align: left;
      z-index: 1;
      transition: all 0.2s ease;
      -webkit-transition: all 0.2s ease;
      -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.4);
      -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.4);
      box-shadow: 0 2px 5px rgba(0,0,0,0.4);
    }

      .menu ul.step_1 li.option_1 ul.step_2 li.option_2 {
        border-bottom: 1px dashed #ccc;
        white-space: nowrap;
      }

        .menu ul.step_1 li.option_1 ul.step_2 li.option_2:last-child {
          border-bottom: none;
        }

        .menu ul.step_1 li.option_1 ul.step_2 li.option_2 span {
          width: 100%;
          color: #000;
          font-size: 1em;
          line-height: 1.2em;
          padding: 10px 20px;
        }

    .menu ul.step_1 li.option_1:hover ul.step_2 {
      display: block !important;
      opacity: 1 !important;
      z-index: 9;
    }
/*******************************************/
/*******************************************/
.site_navigation {
  clear: both;
  display: block;
  width: 100%;
  margin: 0 auto;
  font-size: 0.9em;
  padding: 10px 12px;
  background-color: #e2e2e2;
}

  .site_navigation span {
    cursor: pointer;
  }

    .site_navigation span:last-child {
      cursor: unset;
    }

    .site_navigation span.nav {
      position: relative;
      top: 2px;
      display: inline-block;
      width: 15px;
      height: 15px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: 15px;
      padding: 0 0 0 17px;
      background-image: url('../img/icon_nav.svg');
    }

    .site_navigation span.home {
      color: #000;
      background-repeat: no-repeat;
      background-position: 0 4px;
      background-size: 12px;
      padding: 0 0 0 17px;
      background-image: url('../img/icon_nav_home.svg');
    }

    .site_navigation span:hover {
      color: var(--hover);
    }

    .site_navigation span:last-child:hover {
      color: unset;
    }
/*******************************************/
/*******************************************/
article {
  position: relative;
  z-index: 2;
  /*min-width: 1120px;*/
  background-color: #ffffff;
}

section {
  clear: both;
  display: block;
  width: 100%;
  padding: 15px;
  margin: 0 auto;
}
/*******************************************/
footer {
  position: relative;
  width: 100%;
  margin: 0;
  z-index: 1;
}
/*column_copyright*/
.column_copyright {
  position: relative;
  clear: both;
  width: 100%;
  padding: 2em 2em;
  margin: 0 auto;
  color: #fff;
  background: #566800;
}
  .column_copyright._CCA {
    background: #00224e;
  }

  .column_copyright._PUB {
    background: #094d81;
  }

  .column_copyright .column {
    border-top: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
/***/
.copyright_column_grid {
  display: grid;
  gap: 0px 20px;
  width: 100%;
  margin: 20px auto 20px auto;
  grid-template-columns: repeat(2,1fr);
}

@media screen and (max-width:1024px) {
  .copyright_column_grid {
    width: fit-content;
    margin: 0 auto;
    grid-template-columns: repeat(1, 1fr);
  }
}

.column_copyright .column .column_info {
  margin: 0 auto;
  display: block;
  text-align: left;
  margin: 0px auto;
  width: 100%;
}
  /***/
  .column_copyright .column .column_info .row_info {
    display: block;
    width: 100%;
    margin-bottom: 0.5em;
  }

    .column_copyright .column .column_info .row_info .row {
      display: -webkit-flex;
      display: flex;
      flex-direction: row;
    }

      .column_copyright .column .column_info .row_info .row .title {
        white-space: nowrap;
      }

      .column_copyright .column .column_info .row_info .row .info {
      }

        .column_copyright .column .column_info .row_info .row .info.address img {
          width: 1.2em;
          vertical-align: bottom;
          margin-left: 0.2em;
        }

        .column_copyright .column .column_info .row_info .row .info a {
          color: #ffffff;
        }

          .column_copyright .column .column_info .row_info .row .info a:hover {
            color: var(--hover2);
          }
/***/
.column_copyright .log_column {
  width: fit-content;
  display: inline-block;
  vertical-align: top;
}

  .column_copyright .log_column .box {
    display: inline-block;
    width: 26px;
    height: 26px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

    .column_copyright .log_column .box.logo1 {
      background-image: url('../img/MOENV_LOGO.png');
    }

    .column_copyright .log_column .box.logo2 {
      background-image: url('../img/CCA_LOGO.png');
    }

    .column_copyright .log_column .box.home {
      background-image: url('../img/icon_home.svg');
    }

    .column_copyright .log_column .box a {
      display: block;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      border: 2px solid #ffffff;
    }

      .column_copyright .log_column .box a span {
        font-size: 0em;
        color: transparent;
        line-height: 0;
      }

      .column_copyright .log_column .box a:hover {
        outline: 2px solid var(--hover);
      }

    .column_copyright .log_column .box img {
      width: 100%;
    }
/***/
.column_copyright .title_column {
  width: fit-content;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}

  .column_copyright .title_column .sys_title {
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 0.2em;
  }

    .column_copyright .title_column .sys_title .box {
      display: inline-block;
      margin: 0 0 0 5px;
    }

      .column_copyright .title_column .sys_title .box a {
        color: #fff;
      }

        .column_copyright .title_column .sys_title .box a:hover {
          color: var(--hover2);
        }
/***/
.column_pages {
  position: relative;
  clear: both;
  width: 100%;
  padding: 1em 2em;
  margin: 0 auto;
  color: #fff;
  background: #242b00;
}
  .column_pages._CCA {
    background: #000000;
  }

  .column_pages._PUB {
    background: #000000;
  }

  .column_pages .column {
    border-top: none;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
  }

    .column_pages .column .left_column {
      -webkit-flex: 6;
      flex: 6;
    }

    .column_pages .column .right_column {
      text-align: right;
      -webkit-flex: 2;
      flex: 2;
    }

@media screen and (max-width:1024px) {
  .column_pages .column {
    flex-direction: column;
  }

    .column_pages .column .left_column,
    .column_pages .column .right_column {
      margin-bottom: 1em;
      text-align: center;
    }
}
/***/
.column_pages .column .box {
  display: inline-block;
  padding-right: 1em;
  margin-right: 1em;
  border-right: 1px solid #ffffff;
}

@media screen and (max-width:1024px) {
  .column_pages .column .box {
    padding-right: 0.5em;
    margin-right: 0.5em;
    border-right: none;
  }
}

.column_pages .column .box:last-child {
  border: none;
}

.column_pages .column .box a {
  color: #ffffff;
}

  .column_pages .column .box a:hover {
    color: var(--hover2);
  }

  .column_pages .column .box a.icon_facebook {
    display: block;
    width: 20px;
    height: 20px;
    background-image: url('../img/icon_fb.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

    .column_pages .column .box a.icon_facebook span {
      color: transparent;
      font-size: 0;
    }
/*************************************/
/*******************************************/
/**彈出活動框 **/
.popupwindow {
  position: fixed;
  top: 0%;
  width: 100%;
  text-align: center;
  z-index: 999;
  transform: scale(0);
}

.popupwindow_open {
  animation: effect_popupwindow_open 0.3s 1 alternate forwards;
  -webkit-animation: effect_popupwindow_open 0.3s 1 alternate forwards;
}

.popupwindow_close {
  animation: effect_popupwindow_close 0.3s 1 alternate forwards;
  -webkit-animation: effect_popupwindow_close 0.3s 1 alternate forwards;
  transform: scale(1);
}

.popupwindow .popup_content {
  position: relative;
  display: inline-block;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.6);
  -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.6);
  box-shadow: 0 1px 5px rgba(0,0,0,0.6);
  background: #fff;
  padding: 20px 20px 40px 20px;
  width: calc(100% - 40px);
  max-width: 500px;
  max-height: 700px;
  overflow: auto;
}

  .popupwindow .popup_content .popup_msg {
    margin: 0 0 10px 0;
  }

@-webkit-keyframes effect_popupwindow_open {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes effect_popupwindow_open {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@-webkit-keyframes effect_popupwindow_close {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes effect_popupwindow_close {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

.popupwindow .popup_content .popup_icon {
  margin: 0 auto;
  display: block;
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
  background-size: contain;
}
  /*icon_warning 要在前面才會被覆蓋*/
  .popupwindow .popup_content .popup_icon.icon_warning {
    background-image: url('../img/icon_warning.svg');
  }

  .popupwindow .popup_content .popup_icon.icon_success {
    background-image: url('../img/icon_success.svg');
  }

  .popupwindow .popup_content .popup_icon.icon_error {
    background-image: url('../img/icon_error.svg');
  }

  .popupwindow .popup_content .popup_icon.icon_remarks {
    background-image: url('../img/icon_remarks.svg');
  }

.popupwindow .popup_content h2.popup_title {
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  margin: 10px 0;
  padding: 0 0 5px 0;
}

  .popupwindow .popup_content h2.popup_title .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    position: relative;
    top: 3px;
    margin: 0 6px 0 0;
  }

    .popupwindow .popup_content h2.popup_title .icon.icon_success {
      background-image: url('../img/icon_success.svg');
    }

    .popupwindow .popup_content h2.popup_title .icon.icon_error {
      background-image: url('../img/icon_error.svg');
    }
/*******************************************/
/*******************************************/
#mask {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99;
  transition: background-color 2s;
  -webkit-transition: background-color 2s;
  background-color: rgba(0, 0, 0, 0.2);
}

#loading {
  display: none;
  position: fixed;
  width: 200px;
  height: 60px;
  padding-bottom: 100px;
  top: calc(33% - 30px);
  left: calc(50% - 100px);
  border-radius: 15px;
  z-index: 9999;
  transition: background-color 2s;
  -webkit-transition: background-color 2s;
  background-color: #ffffffdd;
  background-image: url(../img/preloader.gif);
  background-repeat: no-repeat;
  background-position: 50% 5px;
  background-size: 80px;
}

  #loading::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff00;
    z-index: 0;
  }

  #loading::after {
    content: "資料處理中...";
    text-align: center;
    display: block;
    width: 100%;
    color: #999;
    font-weight: bold;
    position: absolute;
    bottom: 5px;
    z-index: 1;
  }
/*******************************************/
/*******************************************/
select.custom {
  position: relative;
  top: 2px;
  padding: 3px 24px 3px 6px;
  margin: 0 0 3px 0;
  background-color: #fff;
  border-radius: 5px;
  border: #aaa 1px solid;
  color: #000;
  font-size: 1em;
  text-shadow: rgba(255,255,255,.6) 0 1px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
}

  select.custom::-ms-expand {
    display: none;
  }

  select.custom option:checked {
    background-color: #ececec;
  }

@media(max-width:1280px) {
  select.custom {
    max-width: 500px;
  }
}

button {
  background-color: #999;
  padding: 6px 20px;
  border-radius: 5px;
  border: none;
  color: #fff;
  margin: 0 2px 0 3px;
  font-size: 1.1em;
  text-shadow: rgba(255,255,255,.6) 0 0px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari 和 Chrome */
  cursor: pointer;
  vertical-align: middle;
}

  button.button_s {
    font-size: 1em;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  button.button_s_for_th {
    font-size: 1em;
    padding-top: 2px;
    padding-bottom: 2px;
    vertical-align: middle;
  }

.form_option_column button {
  margin: 0;
}

button.submit,
button.popup_submit,
button.popup_nextstep {
  background-color: #345c86;
  margin-bottom:3px;
}

button.save {
  background-color: #4288be;
}

button.goback,
button.popup_goback {
  background-color: #999;
  margin-bottom: 3px;
}

button.cancel {
  background-color: #999;
}

button.caseclosed {
  font-size: 1em;
  padding: 5px 5px;
  margin: 0;
  min-width: 150px;
  background-color: #ff0076;
}

button.bg_red {
  background-color: #ff0076;
}

button.bg_red2 {
  background-color: #9c044a;
}

button.bg_green {
  background-color: #34867b;
}

button.bg_blue {
  background-color: #4288be;
}

button.importfile {
  background-color: #34867b;
  background-image: url('../img/icon_import.svg');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: 15px center;
  padding-left: 40px;
  margin-bottom: 3px;
}

button.exportfile {
  background-color: #185977;
  background-image: url('../img/icon_export.svg');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: 15px center;
  padding-left: 40px;
  margin-bottom: 3px;
}

button.download {
  background-color: #D0441D;
  background-image: url('../img/icon_download_white.svg');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: 15px center;
  padding-left: 40px;
  margin-bottom: 3px;
}

button.add {
  font-size: 1em;
  background-color: #34867b;
  margin: 0;
}

  button.add:disabled {
    background-color: #ccc;
  }

button.fileupload {
  position: relative;
  top: 1px;
  font-size: 1em;
  background-color: #34867b;
  padding: 5px 15px 5px 15px;
  vertical-align: top;
}

button.filedelete {
  position: relative;
  top: 1px;
  font-size: 1em;
  background-color: #b92a2a;
  padding: 5px 15px 6px 15px;
}

button.getcaptcha {
  position: relative;
  top: 0px;
  font-size: 1em;
  background-color: #34867b;
  padding: 3px 15px 4px 15px;
}

button.type_change {
  position: relative;
  font-size: 0.96em;
  background-color: #aaa;
  color: #fff;
  padding: 5px 15px 6px 15px;
}

button.type_popup_s {
  position: relative;
  top: -0.5px;
  font-size: 1em;
  background-color: #34867b;
  padding: 4px 15px 4px 15px;
}

  button.type_popup_s.cancel {
    background-color: #999;
  }

  button.type_popup_s.red {
    background-color: #ff0076;
  }

button.type_popup {
  margin: 0 5px;
}

button.type_option {
  position: relative;
  font-size: 1em;
  background-color: #185977;
  padding: 4px 15px 3px 15px;
  margin: 0 2px 0 1px;
  vertical-align: middle;
}

button.type_cancel,
button.type_cancel_for,
button.type_goback {
  position: relative;
  font-size: 1em;
  background-color: #999;
  padding: 4px 15px 4px 15px;
  margin: 0 2px 0 1px;
  vertical-align: middle;
}

button.type_exportexcel {
  position: relative;
  font-size: 1em;
  background-color: #34867b;
  padding: 4px 15px 4px 15px;
  margin: 0 2px 0 1px;
  vertical-align: middle;
}

button.type_atx {
  position: relative;
  font-size: 1em;
  background-color: #34867b;
  padding: 5px 15px 6px 15px;
  margin: 0 2px 0 1px;
  vertical-align: middle;
}

button.assignType {
  position: relative;
  font-size: 1em;
  background-color: #185977;
  padding: 4px 15px 4px 15px;
  margin: 0 2px 0 1px;
  vertical-align: middle;
}

button._green {
  background-color: #34867b;
}

button._gray {
  background-color: #555;
}

button._checked {
  background-color: #34867b;
  /*background-color: #007eff;*/
}

button:hover {
  background-color: var(--hover);
  -webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.55);
  -moz-box-shadow: 0 1px 5px rgba(0,0,0,0.55);
  box-shadow: 0 1px 5px rgba(0,0,0,0.55);
}

button.disable,
button:disabled {
  font-size: 1em;
  background-color: #ccc;
  color: #555;
}

  button.disable:hover {
    background-color: #ccc;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
  }

button.change_ok {
  background-color: #345c86;
}

label {
  vertical-align: middle;
}

input[type="radio"] {
  position: relative;
  top: 2px;
  background-color: #fff;
  border-radius: 10px;
  border: #aaa 1px solid;
  height: 20px;
  width: 20px;
  margin: 0;
  vertical-align: text-top;
}

@media print {
  input[type="radio"] {
    border: #ddd 1px solid;
  }

    input[type="radio"]:checked {
      border: #0075FF 10px solid;
    }
}

input[type="checkbox"] {
  background-color: #fff;
  border-radius: 3px;
  border: #aaa 1px solid;
  height: 20px;
  width: 20px;
  vertical-align: middle;
  margin-left: 0;
}

  input[type="checkbox"]:disabled {
    background: #ddd;
    border: #aaa 1px solid;
  }

input[type="text"],
input[type="password"],
input[type="number"] {
  position: relative;
  top: 2px;
  padding: 3px 6px;
  background-color: #fff;
  border-radius: 5px;
  border: #aaa 1px solid;
  color: #000;
  font-size: 1em;
  margin: 0 0 3px 0;
  text-shadow: rgba(255,255,255,.6) 0 1px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari 和 Chrome */
}

input[type="number"] {
  padding: 3px 6px;
  background-color: #fff;
  border-radius: 5px;
  border: #aaa 1px solid;
  color: #000;
  font-size: 1em;
  margin: 0 0 3px 0;
  text-shadow: rgba(255,255,255,.6) 0 1px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari 和 Chrome */
}

input[type="file"] {
  padding: 2px 2px;
  background-color: #fff;
  border-radius: 5px;
  border: #aaa 1px solid;
  color: #000;
  font-size: 1em;
  margin: 0 0 3px 0;
  text-shadow: rgba(255,255,255,.6) 0 1px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari 和 Chrome */
}

textarea.custom {
  width: 100%;
  /*max-width: 750px;*/
  /*float: left;*/
  padding: 3px 6px;
  background-color: #fff;
  border-radius: 5px;
  border: #aaa 1px solid;
  color: #000;
  font-size: 1em;
  margin: 0 0 3px 0;
  text-shadow: rgba(255,255,255,.6) 0 1px 0;
  font-family: Microsoft JhengHei, simhei, Arial;
  -moz-appearance: none; /* Firefox */
  -webkit-appearance: none; /* Safari 和 Chrome */
  vertical-align: inherit;
}

input:disabled,
select:disabled,
textarea:disabled {
  opacity: 1;
  background-color: #f2f2f2;
}
/*******************************************/
.option_row {
  overflow: hidden;
  display: block;
  clear: both;
  padding: 10px;
  margin: 0 0 15px 0;
  background: #efe2b6;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  text-align: center;
}

  .option_row:nth-child(even) {
    background: #dedede;
  }

  .option_row .group {
    display: inline-block;
    margin: 0 8px 0px 8px;
    vertical-align: middle;
  }

    .option_row .group .title {
      display: inline-block;
      font-weight: bold;
      vertical-align: middle;
    }

    .option_row .group .list_inline {
      display: inline-block;
      margin-right: 10px;
    }

  .option_row .column_flex {
    display: -webkit-flex;
    display: flex;
  }

    .option_row .column_flex .flex1 {
      -webkit-flex: initial;
      flex: initial;
      min-width: 420px;
    }

    .option_row .column_flex .flex2 {
      -webkit-flex: initial;
      flex: initial;
      min-width: 560px;
    }

    .option_row .column_flex .flex3 {
      -webkit-flex: initial;
      flex: initial;
      width: 70%;
    }

    .option_row .column_flex .flex .group {
      display: block;
    }

      .option_row .column_flex .flex .group .title {
        width: 160px;
        text-align: right;
      }

      .option_row .column_flex .flex .group .title_w110 {
        width: 100px;
      }

      .option_row .column_flex .flex .group .title_w130 {
        width: 130px;
      }

      .option_row .column_flex .flex .group .title_w0 {
        width: unset;
        text-align: left;
      }

  .option_row .grid2 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2,1fr);
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 auto 1em auto;
  }

@media screen and (max-width:1460px) {
  .option_row .grid2 {
    grid-template-columns: repeat(1,1fr);
  }
}

.option_row .grid2 fieldset {
  border: 1px solid #B2A574;
}

.option_row .grid2 .group {
  width: 100%;
  display: block;
  text-align: left;
}

  .option_row .grid2 .group .title {
    width: 100px;
    text-align: right;
  }

  .option_row .grid2 .group .title_long {
    width: 290px;
  }

  .option_row .grid2 .group .title_long2 {
    width: 410px;
  }

.checkbox_column {
  width: 100%;
  max-width: 500px;
  display: inline-block;
  text-align: left;
  background: rgba(0,0,0,0.08);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 5px 10px;
}

.checkbox_column_title {
  display: block;
  font-weight: bold;
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px dashed rgba(0,0,0,0.2);
}

.checkbox_column_title2 {
  display: inline-block;
  font-weight: bold;
  margin: 0 10px;
}

.checkbox_list {
  display: inline-block;
  text-align: left;
  margin: 0 4px 0 0;
}
/*******************************************/
/*PAGE*/
.page_container {
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 0.86em;
  margin: 20px 0;
}

.page_container_top {
  position: relative;
  display: block;
  margin: 5px auto;
  padding: 3px 2px;
  overflow: hidden;
}

  .page_container_top .form_option_column {
    display: inline-block;
  }

  .page_container_top .form_option_column2 {
    position: absolute;
    top: 0px;
    right: 0;
    margin: 0 0 8px 0;
  }

.page_block {
  display: inline-block;
  padding: 0;
  width: 100%;
  text-align: center;
}

.page_container_top .page_block {
  text-align: left;
  width: fit-content;
  width: -moz-fit-content;
  float: left;
  position: relative;
  top: 3px;
}

  .page_container_top .page_block._top15 {
    top: 15px;
  }

.page_container_bottom .page_block {
  width: 100%;
  text-align: center;
}

.page_block .pageurl {
  color: #000;
  display: inline-block;
  padding: 4px 8px;
  margin: 0 2px 3px 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #d5dcde;
  cursor: pointer;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

  .page_block .pageurl:hover {
    background: #c5e4ff;
  }

.page_block .page {
  padding: 0 7px 0 7px;
  margin: 0 -3px 0 0;
}

.page_block .page_prev {
  cursor: pointer;
}

.page_block .page_next {
  cursor: pointer;
}

.page_container_prev_next {
  width: 100%;
  text-align: center;
  color: #ce6800;
  padding: 20px 0 0 0;
  margin: 0 0 20px 0;
}

.page_block .page_block_see {
  display: inline-block;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 5px;
  color: #f60;
  min-width: unset;
  background: unset;
}

.page_block_info {
  display: inline-block;
  color: #000;
  padding: 0 2px;
}

  .page_block_info select {
    position: relative;
    top: 0px;
    font-size: unset;
    margin: 0;
  }

.page_container_prev_next .page_block span {
  margin: 0 10px 0 10px;
  color: #999;
}

.page_block .jump {
  cursor: pointer;
}
/*******************************************/
.option_container {
  /*float:right;*/
  text-align: right;
}

  .option_container._center {
    float: unset;
    text-align: center;
  }

  .option_container button {
    margin: 2px 0 0 0;
  }

  .option_container .samplefile {
    display: inline-block;
    width: fit-content;
    width: -moz-fit-content;
    vertical-align: bottom;
    font-size: 1.1em;
  }

    .option_container .samplefile a,
    .option_container .samplefile .link {
      display: block;
      background-color: #ffffff;
      padding: 3px 10px 3.5px 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      color: #0075FF;
      cursor: pointer;
    }

.link .downloadfile {
  color: #0075FF;
}

  .option_container .samplefile a:hover,
  .option_container .samplefile *:hover,
  .link .downloadfile:hover {
    color: var(--hover);
    cursor: pointer;
  }

.option_container .group {
  display: inline-block;
  width: fit-content;
  width: -moz-fit-content;
  vertical-align: bottom;
  background-color: #ffffff;
  padding: 2px 10px 2.5px 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1.1em;
}

  .option_container .group:hover {
    color: var(--hover);
  }

/*******************************************/
.title_alreadyfile {
  position: relative;
  top: -1px;
  display: inline-block;
  background-color: #dae7ea;
  color: #0e0e0e;
  font-size: 0em;
  padding: 1px 6px 3px 6px;
  border-radius: 20px 10px 10px 20px;
}

  .title_alreadyfile::after {
    content: "已上傳 :";
    padding: 0 0 0 0px;
    position: relative;
    top: -1px;
  }

.downloadfile {
  display: inline-block;
  padding: 0 0 0 20px;
  margin: 2px 0;
  background-repeat: no-repeat;
  background-size: 17px 21px;
  background-position: top left;
}

  .downloadfile .samplefile {
    cursor: pointer;
  }

    .downloadfile .samplefile:hover {
      color: var(--hover);
    }

    .downloadfile .samplefile::before {
      /*content: "範本下載：";*/
    }

  .downloadfile.icon_file_xls {
    background-image: url('../img/icon_file_xls.svg');
  }

  .downloadfile.icon_file_doc {
    background-image: url('../img/icon_file_doc.svg');
  }

  .downloadfile.icon_file_pdf {
    background-image: url('../img/icon_file_pdf.svg');
  }

  .downloadfile.icon_file_odt {
    background-image: url('../img/icon_file_odt.svg');
  }

  .downloadfile.icon_file_other {
    background-image: url('../img/icon_file_other.svg');
  }

  .downloadfile.icon_file_ai {
    background-image: url('../img/icon_file_ai.svg');
  }

  .downloadfile a {
    color: #666;
  }

    .downloadfile a:hover,
    .downloadfile a .autofill:hover {
      color: var(--hover) !important;
    }
/*****************************************************/
/*20250208-特殊處理:因更新 jquery-ui 導致 MonthPicker 按鈕圖案無法產生,改用 css 代處理 start*/
#MonthPicker_ .month-picker-previous a::after {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  background-image: url(images/ui-icons_444444_256x240.png);
  background-repeat: no-repeat;
  background-position: -80px -192px;
  width: 16px;
  height: 16px;
}

#MonthPicker_ .month-picker-next a::after {
  content: "";
  display: block;
  position: absolute;
  left: calc(50% - 8px);
  background-image: url(images/ui-icons_444444_256x240.png);
  background-repeat: no-repeat;
  background-position: -48px -192px;
  width: 16px;
  height: 16px;
}
/*****************************************************/