﻿/*************************************/
#header {
  display: block;
  width: 100%;
  background-color: #fff;
  border-bottom: 1px solid #999;
  padding: 1em 2em;
  text-align: center;
}
/***/
.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;
    }

    ._CCA .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);
        }
/*************************************/
article.login {
  position: relative;
  display: block;
  width: 100%;
  padding: 2em;
}

  article.login .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg_login.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
  }
    article.login .bg._CCA {
      background-image: url('../img/bg_login_CCA.jpg');
    }

    article.login .bg._PUB {
      background-image: url('../img/bg_login_PUB.jpg');
    }

.login_column {
  display: block;
  max-width: 420px;
  margin: 40px auto;
  padding: 30px 0 40px 0;
  border-radius: 3px;
  box-shadow: 0 1px 20px rgba(0,0,0,0.4);
  background: rgba(255,255,255,1);
  overflow: hidden;
}
.logintest_column {
  display: block;
  max-width: 800px;
  padding:20px;
}
.box_CerLogin {
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 10px;
}
  /*************************************/
  .user_type_column {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

  .user_type_column .logo {
    display: inline-block;
    clear: both;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: #2479b8;
    overflow: hidden;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
  }
    .user_type_column .logo.CCA {
      background-color: #0049a7;
    }

    .user_type_column .logo.type_login {
      display: block;
      clear: both;
      margin: 0 auto;
      background-image: url('../img/icon_menu_login.svg');
      background-position: center;
      background-repeat: no-repeat;
      background-size: 62%;
    }

    .user_type_column .logo.type_pwd {
      background-image: url(../img/icon_menu_forgetpwd.svg);
    }

    .user_type_column .logo img {
      max-width: 100%;
      vertical-align: top;
      margin: 6px;
      width: 28px;
      height: 28px;
    }

  .user_type_column .text {
    display: inline-block;
    width: 100%;
    clear: both;
    vertical-align: top;
    position: relative;
    top: 2px;
    font-size: 1.9em;
    font-weight: bold;
  }
.logintest_column .user_type_column .type_CerLogin {
  margin-bottom: 0.25em;
  font-size: 1.5em;
}
/*************************************/
/***form_column***/
.form_column {
  width: 95%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0px 10px;
}

  .form_column.width_full {
    max-width: 100%;
  }

  .form_column .row {
    margin: 0 0 10px 0;
  }

    .form_column .row .info.relative {
      position: relative;
    }

      .form_column .row .info.relative .icon {
        position: absolute;
        width: 25px;
        height: 25px;
        top: 12.5px;
        left: 12.5px;
        opacity: 0.5;
        z-index: 2;
      }

      .form_column .row .info.relative .icon_eye_closed {
        position: absolute;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-image: url("../img/icon_eye_closed.svg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: 22px;
        top: 12.5px;
        right: 12.5px;
        opacity: 1;
        z-index: 2;
        cursor: pointer;
      }

      .form_column .row .info.relative .icon_eye_open {
        background-image: url("../img/icon_eye_open.svg");
      }

    .form_column .row .info .radio_box {
      display: inline-block;
      margin: 0 15px 15px 0;
      font-weight: bold;
    }

    .form_column .row .info label {
      cursor: pointer;
    }

    .form_column .row .info img {
      max-width: 100%;
    }

    .form_column .row .info .authcode {
      vertical-align: middle;
      width: 50%;
      padding: 0 0 0 5px;
      float: right;
      text-align: center;
      position: relative;
      top: 2px;
      border-radius: 3px;
      overflow: hidden;
    }

      .form_column .row .info .authcode .button_refresh {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
        z-index: 1;
      }

        .form_column .row .info .authcode .button_refresh::after {
          content: "";
          position: absolute;
          top: 0;
          right: 0;
          width: 22px;
          height: 22px;
          background-image: url('../img/icon_refresh.svg');
          background-size: 80%;
          background-position: center;
          background-repeat: no-repeat;
          z-index: 2;
          transition: all 0.3s;
          -webkit-transition: all 0.3s;
        }

        .form_column .row .info .authcode .button_refresh:hover::after {
          transform: rotate(90deg); /* 旋轉90度 */
        }

      .form_column .row .info .authcode img {
        height: 45px;
        border-radius: 3px;
        cursor: pointer;
      }

    .form_column .row .info .change {
      display: inline-block;
      margin: 0 0 0 10px;
      cursor: pointer;
      border-bottom: 1px dashed #000;
      color: #000;
      font-size: 11pt;
    }

    .form_column .row .info a {
      text-decoration: underline;
    }

      .form_column .row .info a:hover {
        color: var(--hover);
      }

    .form_column .row .desc {
      font-size: 9pt;
      color: #666;
    }

    .form_column .row .note {
      color: #3C70FF;
      margin: 10px;
    }

    .form_column .row .info.register {
      margin: 0 auto;
      padding: 8px 16px 4px 16px;
      width: fit-content;
      -webkit-border-radius: 50px;
      -moz-border-radius: 50px;
      border-radius: 50px;
      color: #fff;
      text-decoration: unset;
      font-weight: bold;
      font-size: 14pt;
      cursor: pointer;
    }

      .form_column .row .info.register img.icon_register {
        width: 32px;
        height: 32px;
        vertical-align: middle;
        margin: 0 6px 0 0;
      }

  .form_column .row_button {
    width: 100%;
    padding: 5px 0;
    margin: 10px 0;
    text-align: center;
  }

    .form_column .row_button .form_button {
      position: relative;
      top: 0;
      color: #fff;
      font-weight: bold;
      display: inline-block;
      padding: 10px;
      font-size: 14pt;
      transition: all 0.1s linear;
      -webkit-transition: all 0.1s linear;
      width: 100%;
      max-width: 330px;
      font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
      -webkit-appearance: none;
      background-color: #2479b8;
      cursor: pointer;
    }
      .form_column .row_button .form_button.CCA {
        background-color: #0049a7;
      }

      .form_column .row_button .form_button:hover {
        top: 3px;
        background: var(--hover) !important;
        box-shadow: inset 0px 15px 10px -15px rgba(0,0,0,0.33);
        -webkit-box-shadow: inset 0px 15px 10px -15px rgba(0,0,0,0.33);
        -moz-box-shadow: inset 0px 15px 10px -15px rgba(0,0,0,0.33);
      }



.option_button {
  display: inline-block;
  margin: 10px 5px 0 5px;
  cursor: pointer;
  font-weight: bold;
}

  .option_button .link {
    border-bottom: 1px solid rgba(0,0,0,0.66);
    color: rgba(0,0,0,0.66);
  }

    .option_button .link:hover {
      border-bottom: 1px solid var(--hover);
      color: var(--hover);
    }

button[type="button"],
button[type="submit"],
button[type="reset"] {
  color: #fff;
  display: inline-block;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  padding: 5px;
  margin: 0 0 3px 0;
  background: #ddd;
  font-size: 11pt;
  transition: all 0.2s linear;
  -webkit-transition: all 0.2s linear;
  width: 100%;
  max-width: 80px;
  border: none;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -webkit-appearance: none;
  background-color: rgba(0,0,0, 0.4);
  cursor: pointer;
}

  button[type="button"].search_button {
    max-width: 50px;
  }

  button[type="button"]:hover,
  button[type="submit"]:hover,
  button[type="reset"]:hover,
  .form_button:hover {
    background-color: rgba(255,102,0, 1);
  }
/*input物件*/
.my-table td input[type="text"],
input[type="password"],
.my-table input.t_bb,
#search_k .t_b {
  padding: 4px 9px;
  margin: 0 0 5px 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-size: 11pt;
  border: #aaa 1px solid;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.my-table input.t_bb {
  min-width: 120px;
  background-color: #AADFE4;
}

input.inputtext {
  width: 100%;
  font-size: 13pt;
  border: rgba(0,0,0,0.33) 2px solid;
  margin: 5px 0;
  padding: 10px;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

input.inputtext_id {
  width: 100%;
  font-size: 13pt;
  border: rgba(0,0,0,0.33) 1px solid;
  margin: 2px 0;
  padding: 10px 10px 10px 45px;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

input.inputtext_pwd {
  width: 100%;
  font-size: 13pt;
  border: rgba(0,0,0,0.33) 1px solid;
  margin: 2px 0;
  padding: 10px 45px 10px 45px;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

input.inputtext_auth {
  width: 100%;
  font-size: 13pt;
  border: rgba(0,0,0,0.33) 1px solid;
  margin: 2px 0;
  padding: 10px 10px 10px 45px;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

select {
  background: url(icon-arrow-dwn.png) center right no-repeat;
  padding: 4px 35px 4px 10px;
  background-color: #eee;
  border-radius: 5px;
  border: #999 1px solid;
  font-size: 13pt;
  line-height: 20px;
  margin: 0 0 3px 0;
  font-family: "Microsoft JhengHei", "Times New Roman", Times, serif;
  -moz-appearance: none;
  -webkit-appearance: none;
}

  select::-ms-expand {
    display: none;
  }

input[type="radio"] {
  position: relative;
  top: 3px;
  background-color: #ddd;
  border-radius: 10px;
  border: #aaa 1px solid;
  height: 20px;
  width: 20px;
  margin: 0 3px 0 10px;
  cursor: pointer;
}

  input[type="radio"]:checked {
    border: #000 1px solid;
  }

input[type="checkbox"] {
  background-color: #ddd;
  border-radius: 3px;
  border: #aaa 1px solid;
  height: 20px;
  width: 20px;
  margin: 0 3px 0 10px;
  vertical-align: text-bottom;
  cursor: pointer;
}

  input[type="checkbox"]:checked {
    border: #000 1px solid;
  }
/*************************************/
/*************************************/
/*************************************/
/*******************************************/
.login_method {
  max-width: 340px;
  padding: 0;
  margin: 0 auto 0.5em;
}

  .login_method .desc {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.5em;
    margin-bottom: 0.5em;
  }

  .login_method .box {
    font-weight: bold;
    display: block;
    width: 100%;
    text-align: left;
  }
._center {
  text-align: center;
}
/*******************************************/
html {
  background-color: #242b00;
}
html._CCA {
  background-color: #000000;
}
/*******************************************/
.column_grid {
  display: grid;
  gap: 5px;
  margin: 0;
}

.column_grid_2,
.column_grid_2b {
  grid-template-columns: repeat(2,1fr);
}

@media(max-width:960px) {
  .column_grid_2 {
    grid-template-columns: repeat(1,1fr);
  }
}

@media(max-width:640px) {
  .column_grid_2b {
    grid-template-columns: repeat(1,1fr);
  }
}