@charset "UTF-8";
/*目前供會員註冊、會員登入後維護基本資料用*/
.step_subject {
  display: none;
}

.btn2 {
  color: #ffffff;
  line-height: 32px;
  padding: 0px 30px;
  background: #323232;
  border-radius: 3px;
  margin: 0px 2px;
  cursor: pointer;
  display: inline-block;
  float: left;
}

.btn2 a {
  color: #ffffff;
  text-decoration: none;
}

.btn2:hover {
  background: #5b5b5b;
}

.member-btn.btn1 {
  color: #ffffff;
  line-height: 32px;
  padding: 0px 30px;
  background: #5b5b5b;
  border-radius: 3px;
  margin: 0px 2px;
  cursor: pointer;
  display: inline-block;
  float: left;
}

.member-btn.btn1:hover {
  background: #323232;
}

.member-btn.btn1 a {
  color: #ffffff;
  text-decoration: none;
}

#join_form {
  width: 100%;
  max-width: 800px;
  margin: 60px auto;
  padding: 5%;
  border: #eaedf5 1px solid;
  letter-spacing: 2px;
  line-height: 1.8em;
  font-size: 14px;
  color: #888;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.join_form-title {
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 18px;
}

#join_form .form-group {
  width: 100%;
  margin-bottom: 20px;
}

#join_form .control-label {
  width: 100%;
  max-width: 120px;
  display: inline-block;
  vertical-align: top;
  color: #333;
}

.control-box {
  position: relative;
  width: 100%;
  max-width: calc(100% - 130px);
  display: inline-block;
}

/*針對後台有設定要 並排 的欄位*/
.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.d-flex > div {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 50%;
          flex: 1 1 50%;
}

@media (min-width: 768px) {
  .d-flex > div + div {
    margin-left: 5px;
  }
  #join_form .d-flex > div + div .control-label {
    text-align: right;
  }
}

@media (max-width: 767px) {
  .d-flex {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .d-flex > div {
    width: 100%;
  }
  .d-flex > div:not(:last-child) {
    margin-bottom: 20px;
  }
}

/*----------------------------*/
#join_form label {
  position: relative;
  padding: 0;
  font-weight: normal;
}

.form-radio input, .form-checkbox input {
  vertical-align: middle;
  margin-right: 10px;
}

#join_form input[type="text"], #join_form textarea {
  -webkit-appearance: none;
}

#join_form input, #join_form select, #join_form select.form-control:not([size]):not([multiple]), #join_form textarea {
  line-height: 30px;
  padding: 0 20px 0 15px;
  font-size: 13px;
  color: #666;
  letter-spacing: 1px;
  border: 1px solid #ddd;
  border-radius: 3px;
  /* -webkit-box-shadow: 0px 0px 0px rgba(0%,0%,0%,0);
    box-shadow: inset 0px 0px 0px rgba(0%,0%,0%,0); */
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transition: all .2s ease-in-out, background-position 0s linear;
  transition: all .2s ease-in-out, background-position 0s linear;
}

.form-control:-moz-placeholder {
  color: #999999;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #999999;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #999999;
}

.form-control::-webkit-input-placeholder {
  color: #999999;
}

#join_form textarea {
  line-height: 1.6;
  padding: 10px;
  min-height: 5.8em;
}

#join_form input, #join_form select, #join_form select.form-control:not([size]):not([multiple]) {
  height: 30px;
}

#join_form select.form-control {
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff url(/public/img/select_arrow.png) no-repeat right center/25px;
  padding: 0 20px 0 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#join_form select.form-control::-ms-expand {
  display: none;
}

/*組合欄位時，同一層DIV內會有多個.form-control，要間隔開*/
#join_form .form-control ~ .form-control, #join_form .d-flex ~ .form-control {
  margin-top: 10px;
}

.control-label.required:after {
  content: '*';
  display: inline-block;
  vertical-align: middle;
  color: #c0312f;
  margin: 0 0 3px 8px;
  padding-left: 0;
}

#join_form input[type="text"], #join_form textarea {
  -webkit-appearance: none;
}

#join_form input, #join_form select, #join_form select.form-control:not([size]):not([multiple]), #join_form textarea {
  /* -webkit-box-shadow: 0px 0px 0px rgba(0%,0%,0%,0);
    box-shadow: inset 0px 0px 0px rgba(0%,0%,0%,0); */
  -webkit-box-shadow: none;
          box-shadow: none;
}

#join_form input, #join_form select, #join_form select.form-control:not([size]):not([multiple]) {
  height: 30px;
  line-height: 30px;
  padding: 0 20px 0 15px;
  font-size: 13px;
  color: #666;
  letter-spacing: 1px;
  border: 1px solid #ddd;
  border-radius: 3px;
}

#join_form .form-control:focus, #join_form .form-control:hover, #join_form select.form-control:focus, #join_form select.form-control:focus:not([size]):not([multiple]), #join_form select.form-control:hover, #join_form select.form-control:hover:not([size]):not([multiple]) {
  border-color: #888;
  color: #666;
  -webkit-transition: all .2s ease-in-out, background-position 0s linear;
  transition: all .2s ease-in-out, background-position 0s linear;
}

/*欄位錯誤訊息*/
#join_form .form-control.form-error {
  border-color: #e6211a;
  color: #e6211a;
  padding-right: 32px;
  background: url(../images/form_error.svg) right 10px center/15px no-repeat;
}

.form-error-msg {
  position: relative;
  padding: 0 0 0 8px;
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #e6211a;
}

.form-error-msg::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0;
}

#join_form .form-checkbox, #join_form .form-radio {
  padding: 0 0 0 28px;
  cursor: pointer;
}

#join_form .form-radio input[type=radio], #join_form .form-checkbox input[type=checkbox] {
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0 !important;
  visibility: hidden;
  outline: 0;
  z-index: 150;
  width: 17px;
  height: 17px;
}

/* 
#join_form .form-radio:before, #join_form .form-checkbox:before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    display: inline-block;
    vertical-align: middle;
    background: 50% 0 / 100% auto no-repeat;
    width: 20px;
    height: 20px;
    transition: all .15s ease-in-out;
}
#join_form .form-radio.checked:before {
    background-image: url(../images/form_radio_.png);
}
#join_form .form-radio:before {
    background-image: url(../images/form_radio.png);
}
#join_form .form-checkbox:before {
    background-image: url(../images/form_checkbox.png);
}
#join_form .form-checkbox.checked:before {
    background-image: url(../images/form_checkbox_.png);
} */
/*改用另一個寫法*/
#join_form .form-checkbox > .ic_checkbox, #join_form .form-radio > .ic_radio {
  position: absolute;
  left: 0;
  top: 3px;
  display: inline-block;
  vertical-align: middle;
  background: 50% 0 / 100% auto no-repeat;
  width: 20px;
  height: 20px;
  -webkit-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
}

#join_form .form-checkbox > .ic_checkbox {
  background-image: url(../images/form_checkbox.png);
}

#join_form .form-checkbox > input:checked + .ic_checkbox {
  background-image: url(../images/form_checkbox_.png);
}

#join_form .form-radio > .ic_radio {
  background-image: url(../images/form_radio.png);
}

#join_form .form-radio > input:checked + .ic_radio {
  background-image: url(../images/form_radio_.png);
}

#join_form .css-scrollmemo .column_memo {
  padding: 10px;
  border: 1px solid #ddd;
  height: 200px;
  overflow-y: auto;
}

.member_phone-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

#member_phone {
  display: inline-block;
  width: 20em;
  vertical-align: middle;
  margin-right: 20px;
}

#sms_send_verify_btn {
  display: inline-block;
  background: #2f80ed;
  border: 0;
  color: #fff;
  border-radius: 3px;
  padding: 0 .75em;
  height: 30px;
  vertical-align: middle;
}

#sms_send_verify_btn:disabled {
  pointer-events: none;
  opacity: 0.3;
}

#sms_send_verify_inputcode {
  display: none;
  width: 20em;
  vertical-align: middle;
  height: 30px;
  margin-top: 10px;
}

.VERIFYOK {
  margin-left: 5px;
  color: green;
  font-size: 14px;
}

.member_phone_container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/*檔案上傳*/
.cust_upload::after {
  display: none;
}

.cust_upload_btn {
  display: inline-block;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  margin: 0 15px 0 0;
  background: #999;
  color: #fff;
  padding: 0.5em 1.3em;
}

.no-touch .cust_upload_btn:hover {
  background: #222;
}

.cust_filelist {
  padding: 0 0 15px 0;
  font-size: 0;
  /*為了消除inline-block間距*/
  letter-spacing: 0;
}

.cust_file {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin: 8px 15px 8px 0px;
  width: 180px;
  border: #efefef 1px solid;
  border-radius: 3px;
  overflow: hidden;
  background: #efefef;
  font-size: 14px;
  text-align: center;
  -webkit-transition: all .2s;
  transition: all .2s;
}

.cust_file[data-filetype=pic] {
  /*檔案是圖片時最寬50%*/
  max-width: calc(50% - 15px);
}

.cust_file.error {
  color: inherit;
}

.no-touch .cust_file:hover {
  background: #fff;
}

/*添加::before顯示檔案類型：不是圖片或圖片有錯*/
.cust_file:not([data-filetype=pic])::before, .cust_file[data-filetype=pic].error::before {
  content: attr(data-filetype);
  padding: .34em 1em;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: #ccc;
  border-radius: .8em;
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  left: 50%;
  bottom: 55%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.cust_filelink {
  position: relative;
  display: block;
  border: 0;
  text-decoration: none;
}

.cust_fileimg {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.cust_file:hover .cust_fileimg {
  opacity: .8;
}

.cust_filename {
  position: absolute;
  top: 52%;
  display: block;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  width: 100%;
  padding: 0 1em;
  line-height: 1.5;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.cust_fileimg + .cust_filename {
  /*有圖片時 就隱藏檔名*/
  display: none;
}

.cust_file.newfile .cust_fileimg + .cust_filename {
  /*新上傳的圖片，依然要顯示檔名*/
  position: relative;
  display: block;
  top: 0;
}

.cust_file:not([data-filetype=pic]) .cust_filelink::before {
  content: "";
  display: block;
  padding-top: 61.8%;
  min-height: 8em;
  /*檔名最多2行3em*/
}

/*呈上，準備上傳的新檔案，還沒有檔案連結可以撐高，所以要給他高度*/
.newfile.cust_file:not([data-filetype=pic]), .newfile.cust_file[data-filetype=pic].error {
  height: 8em;
}

.cust_errormsg {
  position: absolute;
  color: #fff;
  background: red;
  border-radius: 3px;
  /* margin: 0.25em 0 0 6px; */
  padding: .34em .5em;
  font-size: .857em;
  line-height: 1;
}

/*刪除按鈕*/
.cust_filedel {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
  padding: .95em 1em;
  background: #aaa;
  color: #fff;
  outline: 0;
  border: 0;
  white-space: nowrap;
  font-size: .875em;
  line-height: 1;
  text-decoration: none;
  z-index: 2;
  opacity: 1;
  -webkit-transition: all .25s;
  transition: all .25s;
}

/*準備上傳的新檔案，按鈕會是"取消"，必須一直存在*/
.newfile .cust_filedel, .no-touch .newfile .cust_filedel {
  opacity: 1;
}

.no-touch .cust_filedel {
  /*桌機時按鈕小一點*/
  padding: .4em .7em;
  opacity: 0;
}

.no-touch .cust_filedel:hover {
  background: red;
}

.no-touch .cust_file:hover .cust_filedel {
  opacity: 1;
}

@media (max-width: 767px) {
  .newfile.cust_file:not([data-filetype=pic]), .newfile.cust_file[data-filetype=pic].error {
    height: auto;
  }
  .cust_file:not([data-filetype=pic]) {
    width: auto;
  }
  .cust_file:not([data-filetype=pic]):not(.newfile) {
    padding: 0 4em 0 0;
  }
  .cust_file:not([data-filetype=pic]) .cust_errormsg {
    position: relative;
  }
  .cust_filename {
    position: relative;
    top: 0;
    padding: .5em 1em;
    text-align: left;
  }
  .cust_file:not([data-filetype=pic])::before {
    display: none !important;
  }
  .cust_file:not([data-filetype=pic]) .cust_filelink::before {
    display: none;
  }
}

.privacy_area {
  margin: 70px 0 40px;
  color: #333;
}

.privacy_area span {
  display: inline-block;
}

.privacy_area .web-member {
  text-decoration: underline;
  color: #333;
}

.privacy_area .web-member:hover {
  color: #222;
  text-decoration: underline;
}

.privacy_area .form-checkbox + .form-checkbox {
  margin-top: 15px;
}

.notice_desc {
  overflow-y: auto;
  height: 200px;
  padding: 10px;
  border: 1px solid #ddd;
}

/*.join_form_social_btns 在新會員區是用來放社群綁定按鈕*/
.join_form_social_btns {
  position: relative;
  margin: 20px 0 0 0;
}

.join_form_social_btns .btngoogle, .join_form_social_btns .btnfb, .join_form_social_btns .btnline {
  display: inline-block;
  margin: 5px 15px 5px 0;
  padding: .75em 1em;
  background: #efefef;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 1px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.no-touch .join_form_social_btns .btngoogle:hover, .no-touch .join_form_social_btns .btnfb:hover, .no-touch .join_form_social_btns .btnline:hover {
  background: #222;
  color: #fff;
}

.join_form_btns {
  margin-top: 40px;
}

#join_form .btn {
  font-size: 15px;
  padding: 13px 60px;
}

#join_form .btn-primary {
  background: #666;
  color: #fff;
  border: 0;
}

#join_form .btn-primary:hover {
  background: #222;
  color: #fff;
}

#join_form .btn-link, #join_form .btn-link a {
  color: #333;
  background-color: white;
}

#join_form .btn-link:hover, #join_form .btn-link a:hover {
  color: #222;
}

/*lity燈箱*/
html.lity-active {
  overflow: hidden;
}

#lightbox-mamber {
  background-color: white;
}

.lity #lightbox-mamber {
  display: block !important;
  position: relative;
  line-height: 1.8em;
  background: #fff;
  padding: 0;
  letter-spacing: 2px;
  height: 540px;
  overflow: hidden;
}

.lightbox {
  overflow: auto;
  background: #fff;
  padding: 0;
  width: 800px;
  max-width: 100%;
  border-radius: 6px;
  font-size: 14px;
}

.lightbox .box-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-size: 24px;
  color: #fff;
  background: #414141;
  text-align: center;
  padding: 20px 15px;
  letter-spacing: 5px;
  height: 65px;
}

.lightbox .mamber-box {
  padding: 30px;
  width: 100%;
  position: absolute;
  right: 0;
  left: 0;
  top: 65px;
  bottom: 0;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.lightbox .mamber-box::-webkit-scrollbar, #join_form textarea::-webkit-scrollbar, #join_form .css-scrollmemo .column_memo::-webkit-scrollbar {
  width: 7px;
  height: 5px;
}

.lightbox .mamber-box::-webkit-scrollbar-thumb, #join_form textarea::-webkit-scrollbar-thumb, #join_form .css-scrollmemo .column_memo::-webkit-scrollbar-thumb {
  background-color: #a6a6a6;
  border-radius: 3px;
}

.lightbox .mamber-box::-webkit-scrollbar-track, #join_form textarea::-webkit-scrollbar-track, #join_form .css-scrollmemo .column_memo::-webkit-scrollbar-track {
  background-color: rgba(166, 166, 166, 0.2);
}

.lity-close, .fixed-close {
  z-index: 9994;
  width: 35px;
  height: 35px;
  position: absolute;
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  color: #fff;
  font-style: normal;
  font-size: 35px;
  font-family: Arial, Baskerville, monospace;
  line-height: 35px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  border: 0;
  background: none;
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.fixed-close {
  top: 13px;
  right: 25px;
}

.lity .fixed-close {
  top: 16px;
  right: 30px;
}

.lity .lity-close {
  display: none;
}

.fixedbg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  z-index: -1;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

body.slidefixed .fixedbg {
  z-index: 102;
  background: rgba(0, 0, 0, 0.5);
}

/*燈箱彈出時z-index要提高，避開go2top*/
body.slidefixed .main {
  z-index: 100;
}

.slidefixed-btn {
  display: none;
}

#waitmsg {
  position: relative;
  display: none;
}

#waitmsg #maskmsg {
  left: 50%;
  margin-left: -25%;
  top: 40%;
  width: 50%;
  height: 120px;
  position: fixed;
  display: block;
  text-align: center;
  padding-top: 10px;
  -moz-opacity: 1;
  opacity: 1;
  font-weight: bold;
  color: #000;
  font-size: 16px;
  line-height: 230%;
  z-index: 9999;
  background: #fff url(../../../images/loading.gif) center center scroll no-repeat;
}

#waitmsg #maskcover {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 900px;
  position: fixed;
  display: block;
  background: #000;
  filter: Alpha(Opacity=80, FinishOpacity=80, Style=2);
  -moz-opacity: 0.5;
  opacity: 0.5;
  z-index: 9998;
}

@media (max-width: 768px) {
  #join_form {
    border: 0;
  }
  /*lity燈箱 改成slide*/
  .slidefixed-btn {
    display: inline-block;
  }
  .lity-btn {
    display: none;
  }
  .lity #lightbox-mamber {
    height: 90%;
    top: 10%;
  }
  .lightbox {
    width: 100%;
  }
  .lightbox .box-title {
    font-size: 18px;
    padding: 10px 15px;
    letter-spacing: 5px;
    height: 43px;
  }
  .lightbox .mamber-box {
    top: 45px;
  }
  .fixed-close {
    top: 4px;
  }
  body.slidefixed {
    overflow: hidden;
  }
  body.slidefixed .cd-main-content {
    -webkit-transform: none;
            transform: none;
    will-change: auto;
  }
  #lightbox-mamber {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 120;
    height: inherit;
    width: 100%;
    top: 100%;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
  }
  #lightbox-mamber.slidein {
    top: 18%;
    -webkit-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
  }
}

@media (max-width: 575px) {
  .member_phone-group {
    border: 0;
    padding-bottom: 10px;
  }
  #member_phone {
    width: 100%;
  }
  #sms_send_verify_btn {
    margin-top: 15px;
  }
  .member_phone_container {
    display: block;
  }
  #sms_send_verify_inputcode {
    width: 100%;
  }
  #join_form {
    font-size: 13px;
    letter-spacing: 1px;
  }
  #join_form .control-label {
    max-width: 100%;
  }
  .control-box {
    max-width: 100%;
  }
  .join_form-title {
    border: 0;
    font-weight: 800;
    color: #333;
  }
  #join_form .btn {
    width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
  }
  #join_form input, #join_form select, #join_form select.form-control:not([size]):not([multiple]) {
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    font-size: 15px;
    padding: 0 12px;
  }
}
