@charset "UTF-8";

[v-cloak] {
  display: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans TC", sans-serif, serif;
}

p,
a,
input,
label,
textarea,
span,
ul,
li {
  font-family: "Noto Serif TC", sans-serif, serif;
}

.w-40 {
  width: 40% !important;
}

.jumbotron {
  padding: 2rem;
  margin: 1rem 0;
  background-color: var(--bs-light);
  border-radius: 0.3rem;
}

.fs-7 {
  font-size: 0.8rem !important;
}

.fs-8 {
  font-size: 0.6rem !important;
}

.pointer {
  cursor: pointer;
}

::-webkit-scrollbar {
  display: none;
}

body {
  background: linear-gradient(145deg, #7995f0 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, #7995f0 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, #7995f0 25%, transparent 25%),
    linear-gradient(35deg, #7995f0 25%, transparent 25%);
  background-size: 100px 100px;
  background-color: #eee;
}

header {
  background-color: #f8f8f6;
  opacity: 0.9;
}

header nav a.navbar-brand {
  min-height: 70px;
}

header nav img {
  height: 40px;
}

header li {
  margin: 0 10px;
}

header .navbar-nav li a {
  text-shadow: 1px 0 #ddd;
  color: #1b4df1;
}

header .navbar-nav li a:hover {
  color: #7995f0;
}

header .navbar-nav li a:focus {
  color: #f32147;
}

footer {
  background-color: #f8f8f6;
  padding: 25px 0;
  margin-top: 16px;
}

footer a {
  text-decoration: none;
  color: #221111;
}

footer a:hover {
  color: #221111;
  text-decoration: underline;
}

footer ul {
  list-style-type: none;
  float: left;
  margin-right: 10px;
  padding: 0;
}

footer ul li {
  margin: 10px;
}

footer aside {
  padding: 5px 0 0 20px;
}

footer aside p {
  line-height: 12px;
}

.content {
  padding-top: 120px;
}

.page {
  background-color: #fff;
  min-height: 633px;
  margin-top: -20px;
  padding: 20px 10px;
}

.order-box {
  position: relative;
  width: 100%;
  min-height: 600px;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

.order-steps {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  height: 100%;
}

.order-step-box {
  all: initial;
}

.accordion-button.collapsed {
  background-color: #ddd;
  border: solid #fff 1px;
}

.form-inline {
  display: inline-block;
  width: auto;
  vertical-align: middle;
}

@media (max-width: 540px) {
}

.envelope {
  position: relative;
  width: 94%;
  height: 220px;
  margin: 0 auto;
  background-color: #a7141a;
  opacity: 0.9;
  font-size: 12px;
}

.envelope-img-box {
  width: 18%;
  float: left;
  margin-right: 10px;
}

.envelope-img-box img {
  width: 100%;
}

.envelope ul {
  list-style-type: none;
  padding: 0;
  clear: left;
}

.envelope ul li {
  font-family: SweiGothicCJKtc-Regular !important;
}

.envelope-box {
  float: left;
  margin-top: 10px;
}

.envelope-addr-box li {
  float: left;
  line-height: 0.9rem;
}

.envelope-family {
  position: absolute;
  font-size: 28px;
  right: 20px;
  top: calc(50% - 14px);
}

.envelope-firstname-box {
  position: absolute;
  right: 20px;
  top: 10px;
}

.envelope-firstname-box li {
  font-size: 16px;
}

.isUpl {
  background-image: url("/assets/images/ceditor/icons_uploading.png");
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  background-repeat: no-repeat;
  background-position: center;
  animation: 1.5s ease 0s infinite beat;
}

@keyframes beat {
  0%,
  50%,
  100% {
    transform: scale(1, 1);
  }
  30%,
  80% {
    transform: scale(0.92, 0.95);
  }
}

.photoAlert {
  display: inline-block;
  font-size: 16px;
  color: red;
  position: relative;
  text-align: center;
  top: 50%;
  left: 50%;
  -webkit-text-stroke: 4px #ffffff;
  paint-order: stroke fill;
  animation: blink-animation 1s step-start 0s infinite;
  background: #ffffff66;
  padding: 6px;
}

@keyframes blink-animation {
  50% {
    opacity: 0;
  }
}

/* css 動畫測試 */
.newly-added {
  animation: flyin 1.2s ease forwards;
  opacity: 0;
  transform: scale(10);
  filter: blur(4px);
}

@keyframes flyin {
  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

@font-face {
  font-family: SweiGothicCJKtc-Regular;
  src: url(https://cdn.jsdelivr.net/gh/max32002/swei-gothic@2.129/WebFont/CJK%20TC/SweiGothicCJKtc-Regular.woff2)
      format("woff2"),
    url(https://cdn.jsdelivr.net/gh/max32002/swei-gothic@2.129/WebFont/CJK%20TC/SweiGothicCJKtc-Regular.woff)
      format("woff");
}

.terms * {
  font-family: "Courier New", Courier, "Lucida Console", Monaco, Consolas,
    "Liberation Mono", "DejaVu Sans Mono", monospace;
}

#dp-input-wdtime::placeholder {
  color: #333;
}
