html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, select {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

:root {
  --green-g-200: #E4F0EF;
  --block-title-b-900: #12171A;
  --green: #017F7B;
}

body {
  background: var(--green-g-200, #E4F0EF);
  color: var(--block-title-b-900, #12171A);
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
}

header {
  padding: 10px 24px;
  background: var(--green);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.logo {
  width: 120px;
}

a {
  color: #009891;
  text-decoration: none;
}

.wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.top-banner {
  background-size: 720px auto;
  background-position: center top;
  background-repeat: no-repeat;
  background-image: url("../img/banner-bg.jpg");
  height: 250px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  -webkit-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
          box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.25);
  z-index: 2;
  position: relative;
}

.banner-text {
  z-index: 3;
  position: relative;
  top: -24px;
  margin: 0 20px 2px 20px;
  border-radius: 35px;
  background: #FFF;
  -webkit-filter: drop-shadow(0px 7px 7px rgba(0, 128, 122, 0.1));
          filter: drop-shadow(0px 7px 7px rgba(0, 128, 122, 0.1));
  padding: 12px 20px 12px 20px;
  color: #12171A;
  text-align: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}
.banner-text span {
  color: #FF5441;
  margin-top: 2px;
  font-size: 20px;
}

.form-inputs {
  border-radius: 12px 0px;
  background: #FFF;
  -webkit-box-shadow: 0px 4px 20px 0px rgba(0, 128, 121, 0.15);
          box-shadow: 0px 4px 20px 0px rgba(0, 128, 121, 0.15);
  margin: 0 12px;
  padding: 24px 16px;
}
.form-inputs .btn-main {
  margin-top: 16px;
}
.form-inputs .title {
  margin-bottom: 16px;
}
.form-inputs .form-description {
  color: var(--block-b-900-title, #12171A);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 16px;
}

.title {
  color: var(--block-title-b-900, #12171A);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  padding-left: 12px;
  position: relative;
}
.title:before {
  content: "";
  position: absolute;
  top: 5%;
  left: 0px;
  height: 90%;
  width: 4px;
  background-image: url(../img/titile-icon.png);
  background-size: 4px 100%;
  background-repeat: no-repeat;
}

.form-group {
  position: relative;
  margin-bottom: 16px;
}
.form-group .input-box-note {
  color: #36444D;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 8px;
}
.form-group.checkbox-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.form-group.checkbox-box .custom-checkbox {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 24px;
          flex: 0 0 24px;
  max-width: 24px;
  margin-right: 8px;
}
.form-group.checkbox-box .checkbox-description {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  color: var(--block-b-600-body, #36444D);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
.form-group.checkbox-box .checkbox-description span {
  color: #009891;
  font-weight: 600;
}
.form-group.input-box {
  position: relative;
}
.form-group.input-box label {
  color: var(--block-body-b-600, #36444D);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  position: absolute;
  top: 15px;
  left: 8px;
}
.form-group.input-box input[type=text], .form-group.input-box input[type=date], .form-group.input-box input[type=number] {
  border-radius: 6px;
  border: 1px solid #E3E3E3;
  background: #FAFAFA;
  padding-left: 110px;
  width: 100%;
  height: 48px;
  font-size: 16px;
}
.form-group.input-box input[type=date] {
  width: 100%;
  min-width: calc(100% - 18px);
  color: #12171A;
  z-index: 2;
}
.form-group.input-box input[type=date]::-webkit-calendar-picker-indicator {
  margin-right: 10px;
  margin-left: 0px;
}
.form-group.input-box input[type=date]::-webkit-date-and-time-value {
  text-align: left;
  padding-left: 100px;
}
.form-group .date-icon {
  width: 20px;
  height: 18px;
  background-image: url("../img/date.png");
  background-size: 20px 18px;
  background-repeat: no-repeat;
  position: absolute;
  z-index: 3;
  right: 10px;
  top: 15px;
  display: block;
}
.form-group .date-placeholder {
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0px;
  padding-left: 110px;
  height: 48px;
  color: #bbb;
  line-height: 48px;
  font-size: 16px;
}
.form-group .date-placeholder.hide {
  display: none;
}
.form-group .error-msg {
  margin-top: 8px;
  color: #FF5441;
  font-size: 15px;
  font-weight: 400;
  line-height: 16px;
  display: none;
}
.form-group .error-msg img {
  width: 16px;
  height: 16px;
  margin-right: 3px;
  top: 2px;
  position: relative;
}
.form-group.error.input-box input[type=text] {
  border-color: #FF5441;
}
.form-group.error.input-box input[type=number] {
  border-color: #FF5441;
}
.form-group.error.input-box input[type=date] {
  border-color: #FF5441;
}
.form-group.error .error-msg {
  display: block;
}

.custom-checkbox input {
  display: none;
}
.custom-checkbox span {
  width: 24px;
  height: 24px;
  background: #FFFFFF;
  border: 1px solid #C0C0C0;
  border-radius: 6px;
  display: inline-block;
}
.custom-checkbox input:checked + span {
  background-image: url("../img/checkbox-check.png");
  background-size: 24px 24px;
  border: none;
}

.btn {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #FFFFFF;
  padding: 12px 16px;
  border-radius: 6px;
  -webkit-appearance: none;
  border: none;
  -webkit-box-shadow: none;
          box-shadow: none;
}
.btn.btn-main {
  background: #009891;
}
.btn.btn-main:disabled {
  background: #C0C0C0;
}

.btn-block {
  display: block;
  width: 100%;
}

.text-center {
  text-align: center !important;
}

.event-note {
  margin: 16px 0 24px 0;
  color: #36444D;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.event-note a {
  font-weight: 600;
}

.event-bottom-note {
  color: #687E7D;
  font-size: 13px;
  font-weight: 400;
  line-height: 20px;
  margin: 20px 12px 22px 12px;
}
.event-bottom-note p {
  margin-bottom: 0px;
}
.event-bottom-note ol, .event-bottom-note ul {
  padding-left: 20px;
}
.event-bottom-note ol li, .event-bottom-note ul li {
  list-style: decimal;
}

.modal {
  position: fixed;
  top: 50%;
  left: 20px;
  margin-top: -300px;
  width: calc(100vw - 40px);
  height: 500px;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 2px 4px rgba(0, 128, 122, 0.2), 0px 4px 20px rgba(0, 128, 121, 0.15);
          box-shadow: 0px 2px 4px rgba(0, 128, 122, 0.2), 0px 4px 20px rgba(0, 128, 121, 0.15);
  border-radius: 12px;
  z-index: 99;
  padding: 44px 0px 0px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  opacity: 1;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.modal.hide {
  opacity: 0;
  display: none;
}
.modal .modal-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin-bottom: 16px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 56px;
          flex: 0 0 56px;
  max-height: 56px;
  padding: 0 24px;
}
.modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
}
.modal .modal-close img {
  width: 24px;
  height: 24px;
}
.modal .modal-float-button {
  display: block;
  width: 200px;
  position: absolute;
  bottom: 100px;
  left: 50%;
  margin-left: -100px;
  color: #009891;
  font-size: 17px;
  font-weight: 600;
  line-height: 36px;
  background: #EFFFFE;
  border: 2px solid #C9EBE9;
  border-radius: 100px;
  z-index: 100;
  text-align: center;
  height: 40px;
  opacity: 1;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.modal .modal-float-button.hide {
  opacity: 0;
}
.modal .modal-float-button img {
  width: 16px;
  height: 16px;
}
.modal .modal-content {
  overflow-y: scroll;
  padding: 16px 24px 24px 24px;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.modal .modal-content p {
  color: #36444D;
  font-size: 17px;
  font-weight: 400;
  line-height: 23.8px;
  margin-bottom: 16px;
}
.modal .modal-content h3 {
  color: #12171A;
  font-size: 17px;
  font-weight: 600;
  line-height: 23.8px;
  margin-bottom: 8px;
}
.modal .modal-content ul, .modal .modal-content ol {
  padding-left: 20px;
}
.modal .modal-content ul li, .modal .modal-content ol li {
  color: #36444D;
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 2px;
  list-style: disc;
}
.modal .modal-footer {
  padding: 16px 16px 24px 16px;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 88px;
          flex: 0 0 88px;
  max-height: 88px;
  position: relative;
}
.modal .modal-footer:after {
  height: 12px;
  width: 100%;
  position: absolute;
  top: -12px;
  left: 0px;
  content: "";
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(0, 0, 0, 0.08)));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.08) 100%);
}

.modal-bg {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 98;
  display: none;
  opacity: 0;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

body.modal-on {
  overflow-y: hidden;
}
body.modal-on .modal-bg {
  display: block;
  opacity: 1;
}

.error-body {
  background: rgb(251, 253, 253);
  background: -webkit-gradient(linear, left bottom, left top, from(rgb(251, 253, 253)), to(rgb(228, 240, 239)));
  background: linear-gradient(0deg, rgb(251, 253, 253) 0%, rgb(228, 240, 239) 100%);
  min-height: 100vh;
}

.error-wrapper {
  background-image: url("../img/errorbg.png");
  background-size: 423px auto;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 500px;
  padding-top: 196px;
}
.error-wrapper .error-box {
  background: #FFFFFF;
  -webkit-box-shadow: 0px 4px 20px rgba(0, 128, 121, 0.15);
          box-shadow: 0px 4px 20px rgba(0, 128, 121, 0.15);
  border-radius: 12px 0px;
  color: #12171A;
  margin: 0px 12px 0 12px;
  padding: 24px 16px;
  text-align: center;
  position: relative;
}
.error-wrapper .error-box:after {
  width: 41px;
  height: 21px;
  background-image: url("../img/wing.png");
  background-size: 41px 21px;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -55px;
  top: -10px;
  z-index: 3;
}
.error-wrapper .error-box h3 {
  color: #12171A;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  margin-bottom: 16px;
}
.error-wrapper .error-box p {
  color: #12171A;
  font-size: 17px;
  font-weight: 400;
  line-height: 23.8px;
}
.error-wrapper .error-box p b {
  font-weight: 600;
}

.success-box, .alert-box {
  text-align: center;
  background: #FFFFFF;
  /* Card Shadow */
  -webkit-box-shadow: 0px 4px 20px rgba(0, 128, 121, 0.15);
          box-shadow: 0px 4px 20px rgba(0, 128, 121, 0.15);
  border-radius: 12px 0px;
  padding: 24px 16px;
  margin: 0 12px;
}
.success-box img, .alert-box img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}
.success-box h3, .alert-box h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #12171A;
  margin-bottom: 16px;
}
.success-box p, .alert-box p {
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  line-height: 24px;
  margin-bottom: 16px;
}
.success-box a, .alert-box a {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  text-align: center;
  color: #FFFFFF;
}

.error-wrapper .error-box {
  max-width: 720px;
  margin: 0 auto;
  width: calc(100vw - 30px);
}

.alert-box {
  position: fixed;
  z-index: 99;
  margin: 0 12px;
  left: 50%;
  margin-left: -175px;
  top: 217px;
  width: 350px;
}
.alert-box img {
  width: 80px;
  height: 80px;
}

@-webkit-keyframes rotate-center {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes rotate-center {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
.loading-bg {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 98;
  display: none;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.loading-bg.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.loading-bg img {
  width: 37px;
  height: 37px;
  -webkit-animation: rotate-center 500ms linear infinite;
          animation: rotate-center 500ms linear infinite;
  -webkit-transform-origin: center;
          transform-origin: center;
}

.ui-datepicker {
  background: #fff;
  font-size: 14px;
  font-weight: 400;
  -webkit-box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.2);
  width: calc(100vw - 60px);
  max-width: 440px;
}
.ui-datepicker table {
  width: 100%;
}

.ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
  width: 100px;
  border: 1px solid #ddd;
  margin: 0 10px;
  border-radius: 5px;
  font-size: 13px;
  color: #333;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
  text-align: center;
  color: #000;
  padding: 7px 1px;
  font-family: "Noto Sans TC", sans-serif;
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state {
  border: 1px solid #009891;
  background: #fff;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
  background: #009891;
  border: #009891 1px solid;
  color: #fff;
}

.ui-widget-header {
  background: #009891;
  border: none;
}

@media (min-width: 450px) {
  .form-group.input-box input[type=text], .form-group.input-box input[type=date], .form-group.input-box input[type=number] {
    max-width: 440px;
    width: 440px;
    min-width: 440px;
  }
  .form-group .date-icon {
    right: initial;
    left: 410px;
    display: block;
  }
  .modal {
    width: 500px;
    left: 50%;
    margin-left: -250px;
    height: 500px;
    margin-top: -250px;
  }
}
@media (min-width: 721px) {
  header {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .header-container {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 720px;
            flex: 0 0 720px;
    max-width: 720px;
  }
}

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.overlay.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}