@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto|Barlow+Condensed|Abril+Fatface|Arimo');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC&display=swap');

/* antibiotic */
html,
body {
  font-family: 'Open Sans', 'Noto Sans TC', sans-serif;
  font-size: 16px;
  color: #666;
}

html {
  height: 100%;
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  position: relative;
  /* padding-bottom: 109px; */
}

.body-bg-old {
  background-image: url(images/header.svg);
  background-image: url(images/overlay.png), url(images/header.svg), -moz-linear-gradient(75deg, #FF7088 15%, #F2B69D 55%);
  background-image: url(images/overlay.png), url(images/header.svg), -webkit-linear-gradient(75deg, #FF7088 15%, #F2B69D 55%);
  background-image: url(images/overlay.png), url(images/header.svg), -ms-linear-gradient(75deg, #FF7088 15%, #F2B69D 55%);
  background-image: url(images/overlay.png), url(images/header.svg), linear-gradient(75deg, #FF7088 15%, #F2B69D 55%);
  background-color: #f08c89;
  background-size: 100% 620%;
  background-size: 128px 128px, 100% 620%, auto;
  /* background-repeat: repeat, no-repeat, no-repeat; */
}

.body-bg-old-2 {
  background-color: #0c1a2d;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(30, 143, 255, 0.15) 0%, transparent 50%), 
    radial-gradient(circle at 75% 75%, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #0f2247 0%, #1a3a6e 50%, #0c2456 100%);
  background-attachment: fixed;
  position: relative;
  /* background-repeat: repeat, no-repeat, no-repeat; */
}

.body-bg {
  background-color: #0c1a2d;
  background-image: 
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%230a4b9e' fill-opacity='0.15'%3E%3Cpath opacity='.5' d='M96 95h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-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm9-10v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-10 0v-9h-9v9h9zm-9-10h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9zm10 0h9v-9h-9v9z'/%3E%3Cpath d='M6 5V0H5v5H0v1h5v94h1V6h94V5H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 15% 15%, rgba(30, 143, 255, 0.15) 0%, transparent 50%), 
    radial-gradient(circle at 85% 85%, rgba(46, 204, 113, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #091d3b 0%, #0f3574 50%, #061c4a 100%);
  background-attachment: fixed;
  position: relative;
  box-shadow: inset 0 0 100px rgba(0, 153, 255, 0.1);
}

.logo a {
  display: block;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(77, 213, 255, 0.8), 0px 0px 20px rgba(77, 213, 255, 0.5);
  font-size: 1.2em;
  color: #fff;
  padding: 0.6em 10px;
  text-decoration: none;
  font-weight: 700;
  border: 0;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  letter-spacing: 1px;
}

.logo a:hover {
  color: #8ff7ff;
}

#footer {
  right: 0;
  bottom: 0;
  left: 0;
  margin-top: 2em;
  padding: 2em;
  text-align: center;
  line-height: 1.8em;
  background-color: rgba(9, 24, 51, 0.9);
  border-top: 1px solid rgba(86, 204, 255, 0.2);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

#footer a {
  padding: 8px 12px;
  text-decoration: none;
  color: rgba(150, 220, 255, 0.9);
  border-radius: 4px;
  transition: all 0.3s ease;
}

#footer a:hover {
  color: #ffffff;
  background: rgba(30, 144, 255, 0.2);
  box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
}

.logo {
  position: relative;
}

.logo>.tools {
  position: absolute;
  right: 6px;
  bottom: 8px;
}

a.ws-heading {
  background-color: #08204b;
  color: rgba(91, 209, 242, 1);
  padding: 10px 15px;
  line-height: 1.2em;
  display: block;
  width: 100%;
  text-decoration: none;
  transition: all ease 250ms;
  background-image: linear-gradient(to right, rgba(11, 36, 82, 1), rgba(28, 69, 135, 0.5));
  background-size: cover;
  background-position: left top;
  position: relative;
  border-left: 3px solid rgba(0, 195, 255, 0.8);
  box-shadow: inset 0 0 15px rgba(0, 183, 255, 0.15);
}

.ws-heading-bg {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}

.remain-days {
  font-size: 22px;
  color: deepskyblue;
}

.ws-holddate {
  color: rgba(91, 209, 215, 1);
  display: inline;
  background-color: rgba(52, 132, 152, 0.1);
  padding: 0px 8px;
  z-index: 95;
  position: relative;
}

.ws-fullname {
  min-height: 3.35em;
  color: rgb(247, 247, 247);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 95;
  position: relative;
}

.ws-holddate:hover {
  text-decoration: none;
}

.trow {
  opacity: 1;
  transition: opacity 400ms, transform 450ms;
  transform: translateX(100%);
}

.trow-slideIn {
  opacity: 1;
  transform: translateX(0);
}

.text-ellipsis {
  height: 100%;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.box-camera {
  perspective-origin: center center;
  -moz-perspective-origin: center center;
  -webkit-perspective-origin: center center;
  perspective: 1200px;
  -moz-perspective: 1200px;
  -webkit-perspective: 1200px;
}

.box-space {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.ws-box {
  transition: transform 400ms ease-in-out, opacity 100ms ease, box-shadow 0.3s ease;
  background-color: rgba(16, 29, 58, 0.85);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(86, 204, 255, 0.2);
  border-radius: 10px;
  /*	border: solid 4px #F06868;*/
  height: auto;
  overflow: hidden;
  opacity: 0;
  transform: rotateX(90deg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ws-box:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(86, 204, 255, 0.4), 0 0 15px rgba(86, 204, 255, 0.3);
}

.rotate3DIn {
  transform-origin: center center;
  transform: rotateX(0deg);
  opacity: 1;
}

.ws-box:hover a.ws-heading>.ws-fullname {
  text-decoration: underline;
  color: rgb(243, 250, 184);
}

.ws-box:hover .ws-heading-bg {
  background-color: rgba(53, 202, 251, 0.34);
}

.ws-info {
  padding: 12px 20px;
  background-color: rgba(10, 20, 45, 0.9);
  height: auto;
  position: relative;
  color: rgba(220, 240, 255, 0.9);
  border-top: 1px solid rgba(86, 204, 255, 0.15);
}

.reg-num {
  /*	font-size: 1em;*/
  color: red;
  font-weight: bold;
}

.pay-fee {
  display: inline-block;
  padding: 0 3px;
  color: #2e6bf5;
  font-size: 20px;
}

.ws-col {
  margin-left: 102px;
  padding-bottom: 8px;
  line-height: 1.65em;
}

.ws-col:last-child {
  margin-left: 0;
  padding: 12px 0;
}

.ws-col:before {
  content: attr(data-hd);
  position: absolute;
  display: inline-block;
  left: 8px;
  color: #FF7E67;
  display: inline-block;
  font-weight: 600;
  text-align: right;
  width: 98px;
}

.ws-go-reg {
  margin: 1em 0 1.5em;
}

.reg-zone {
  border: solid 1px rgba(6, 44, 61, 0.3);
  border-radius: 12px;
  background-color: rgba(14, 22, 45, 0.8);
  padding: 15px;
  margin-bottom: 2em;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
              inset 0 1px 1px rgba(255, 255, 255, 0.1),
              0 0 20px rgba(86, 204, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  /* animation: borderGlow 4s infinite alternate; */
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                inset 0 1px 1px rgba(255, 255, 255, 0.1),
                0 0 20px rgba(86, 204, 255, 0.2);
    border-color: rgba(6, 44, 61, 0.3);
  }
  100% {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 
                inset 0 1px 1px rgba(255, 255, 255, 0.2),
                0 0 25px rgba(86, 204, 255, 0.4);
    border-color: rgba(86, 204, 255, 0.4);
  }
}

.reg-zone:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(135deg, rgba(86, 204, 255, 0.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(86, 204, 255, 0.05) 25%, transparent 25%),
    linear-gradient(315deg, rgba(86, 204, 255, 0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(86, 204, 255, 0.05) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
  z-index: -1;
  /* animation: patternMove 20s linear infinite; */
  opacity: 0.6;
}

@keyframes patternMove {
  0% {
    background-position: 0 0, 10px 0, 10px -10px, 0px 10px;
  }
  100% {
    background-position: 100px 100px, 110px 100px, 110px 90px, 100px 110px;
  }
}

.post-bg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .05) 100%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}

.camera1 {
  perspective-origin: center center;
  -moz-perspective-origin: center center;
  -webkit-perspective-origin: center center;
  perspective: 1000px;
  -moz-perspective: 1000px;
  -webkit-perspective: 1000px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}

.slideEffect {
  position: relative;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.slideEffect:after {
  clear: both;
}

.reg-hd {
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.reg-hd a {
  color: #fff;
  text-shadow: 0 0 3 rgba(0, 0, 0, 1);
}

.reg-hd a:hover {
  color: rgb(243, 250, 184);
}

.ws-holdloc {
  text-align: center;
  color: #777;
}

.ws-holdloc-rr2018 {
  text-align: center;
  color: #777;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
  max-width: 75%;
  padding: 4px 2px;
}

.heavy-line {
  background-color: #FFC7C7;
  height: 4px;
}

.reg-form,
.prev-form {
  padding: 15px 10px;
  margin-bottom: 2%;
  width: 100%;
  transition: transform 0.9s, opacity 0.1s;
  background-color: white;
}

.reg-form {
  transform-origin: 0 0;
  -webkit-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
  transition: transform 0.4s, opacity 0.4s;
}

.prev-form {
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.45s, opacity 0.4s;
  -webkit-transform: rotateY(90deg);
  -ms-transform: rotateY(90deg);
  -o-transform: rotateY(90deg);
  transform: rotateY(90deg);
  opacity: 0;
  transform-origin: 50% 50%;
}

.rotateShow {
  transition: transform 0.45s, opacity 0.4s;
  opacity: 1;
  -webkit-transform: rotateY(0deg);
  -ms-transform: rotateY(0deg);
  -o-transform: rotateY(0deg);
  transform: rotateY(0deg);
}

.rotateHide {
  opacity: 0;
}

.slideOutL {
  left: -150%;
  opacity: 0;
}

.slideOutL {
  left: -150%;
  opacity: 0;
}

.slideIn {
  left: 0;
  opacity: 1;
}

.fill-input {
  display: block;
  padding: .375rem .75rem;
  color: #2e6bf5;
}

._404head {
  font-family: Arimo, sans-serif;
  font-size: 7em;
  font-weight: 600;
  text-align: center;
  text-shadow: 4px 4px 2px #666;
  color: cyan;
  padding: 50px 0 0px;
  line-height: 1em;
}

.small-note {
  text-align: center;
  font-size: 3em;
  color: lightslategray;
  margin-bottom: 30px;
}

@media screen and (min-width: 960px) {

  .reg-form,
  .prev-form {
    padding: 15px 15%;
  }
}

.camera {
  width: 200px;
  height: 200px;
  perspective-origin: center center;
  -moz-perspective-origin: center center;
  -webkit-perspective-origin: center center;
  perspective: 100px;
  -moz-perspective: 100px;
  -webkit-perspective: 100px;
}

.space {
  width: 100%;
  height: 100%;
  border: 1px dashed #000;
  transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}

.box {
  width: 100px;
  height: 100px;
  background: #F7FBFC;
  transform: translateX(50px) translateY(50px) rotateY(60deg);
  -moz-transform: translateX(50px) translateY(50px) rotateY(60deg);
  -webkit-transform: translateX(50px) translateY(50px) rotateY(60deg);
}

.dine-date {
  display: inline-block;
  padding: 7px 12px;
}

input[type='radio'] {
  width: 16px;
  height: 16px;
  padding-top: 2px;
  padding-right: 10px;
}

input[type=text].form-control,
input[type=email].form-control
{
  color: #1b4bbb;
}

.pdca .list1{
  text-indent: -2em;
  margin-bottom: 0.45em;
}

.loading-bg{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background-color: rgba(5, 15, 40, 0.85);
  display: none;  
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none; /* 允許滑鼠事件穿透 */
}
.loading-bg img{
  display: block;  
}

/* 添加一個現代化的載入動畫 */
.loading-bg .spinner-border {
  box-shadow: 0 0 25px rgba(86, 204, 255, 0.8);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  0% { box-shadow: 0 0 15px rgba(86, 204, 255, 0.6); }
  100% { box-shadow: 0 0 30px rgba(86, 204, 255, 0.9); }
}

.login-wrap {
  width: 380px;
  margin: 0 auto;
}

/* for online course */

.navCnt {
  background: #fff;
  border-width: 1px;
  border-style: solid;
  border-color: transparent #ddd #ddd #ddd;
  border-radius: 0 0 2px 2px;
  padding: 20px 35px;
  margin-bottom: 30px;
}

.cntx-section {
  margin-bottom: 1.5em;
  padding: 4px 8px;
}

.btn-play {
  font-size: 28px;
  padding: 6px 18px;
  border-radius: 4px;
  display: inline-block;
}

.btn-play:hover {
  background: rgb(255, 255, 255);
}

.pdca .list1 {
  line-height: 1.8em;
  text-indent: -2em;
  margin-bottom: 5px;
}

.sub-class{
  display: none;
}

.sub-class.shown{
  display: table-row;
}

.blocked-bg{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 366;
  background-color: rgba(0, 0, 0, 0.1);
}

.blocked-bg.showed{
  display: block;
}


.tbl-sticky .stiy {
  position: sticky;
  left: 0;
  z-index: 2;
}

.move-to-show{
  display: none;
}
@media screen and (max-width: 768px){
  .move-to-show{
    display: block;
  }
}