@charset "utf-8";

/* 為了避免 Bootstrap 設置的全局盒模型所帶來的影響，可以重置單個頁面元素或覆蓋整個區域的盒模型。 */
.reset-box-sizing,
.reset-box-sizing *,
.reset-box-sizing *:before,
.reset-box-sizing *:after {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

/*顏色名參考 https://htmlcolorcodes.com/zh/yanse-ming */
/*常用顏色*/
:root {
  --logo-blue: #10aabf;
  --logo-darkBlue: #097091;
  --logo-pink: #d99c9d;
  --logo-yellow: #e5c541;
  --logo-green: #a2ac4c;
  --logo-gray: #595656;

  --blue-light: #dbf2f5;
}





/* --------------------------------------------
   全域樣式
-------------------------------------------- */

a {
  outline: none;
  text-decoration: none;
}

img {
  max-width: 100%;
  width: 100%;
}

/* 暗錨 */
.target-fix {
  position: relative;
  top: -85px;
  display: block;
  height: 0;
  overflow: hidden;
}


/* --------------------------------------------
   共用樣式
-------------------------------------------- */
/* ul預設 */
ul.ulset {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 無資訊 */
.no-data {
  font-size: 18px;
  color: #888;
  text-align: center;
  min-height: 200px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hidden */
.txt-hidden {
  overflow: hidden;
}

/* section */
section {
  margin-top: 10px;
  margin-bottom: 30px;
}

/*影片rwd*/
.youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.youtube iframe,
.youtube object,
.youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/*TECH emi logo*/
.emi-logo{
  width: 200px;
  display:inline-block;
  margin: 0 10px;

}

/*回到置頂*/
#scroll {
  position: fixed;
  right: 10px;
  bottom: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  background-color: var(--logo-yellow);
  text-indent: -9999px;
  display: none;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
  border-radius: 60px;
  z-index: 99;
}

#scroll span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -12px;
  height: 0;
  width: 0;
  border: 8px solid transparent;
  border-bottom-color: #ffffff;
}

#scroll:hover {
  background-color: #e74c3c;
  opacity: 1;
  filter: "alpha(opacity=100)";
  -ms-filter: "alpha(opacity=100)";
}

/* --------------------------------------------
   頁面架構
   -------------------------------------------- */
.wrapper {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}


/* --------------------------------------------
 上方menu
   -------------------------------------------- */

.logo {
  float: left;
  margin-top: 5px;
  max-width: 230px;
}

@media (max-width: 710px) {
  .logo {
    float: none;
    /* margin: 5px auto 0 auto; */
    max-width: 150px;
  }

}


.header {
  background: #fff;
  -webkit-box-shadow: 0px 5px 5px -3px rgba(83, 83, 83, 0.4);
  box-shadow: 0px 5px 5px -3px rgba(83, 83, 83, 0.4);

  position: fixed;
  top: 0;
  z-index: 1000;
  padding: 5px 10px;
  width: 100%;
  max-width: 1920px;

}

.header .pc-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 15px 5px 0;
  width: 100%;
}

.header .pc-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;
}

.header .pc-nav li {
  margin: 0 5px;
}

.pc-nav .course-box .btn {
  color: var(--logo-gray);
  font-weight: bold;
  padding: 7px 20px;
  border-radius: 30px;
  border: 3px solid var(--logo-blue);
  width: 100%;
  position: relative;
  display: inline-block;
  font-size: 120%;
  transition: 0.3s;
}


.pc-nav .course-box .btn:hover {
  color: #ffffff;
  background-color: var(--logo-darkBlue);
}

.pc-nav .course-box .btn:hover .icon {
  color: #ffffff;
}

.pc-nav .course-box .btn .icon {
  color: var(--logo-yellow);
  float: right;
  margin-left: 5px;
}

.pc-nav .search-box {
  display: flex;
}

.pc-nav .search-box .search-bar {
  position: relative;
  display: table;
  font-size: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.pc-nav .search-box .search-bar .icon {
  left: 11px;
  top: 10px;
  position: relative;
  display: inline-block;
  color: var(--logo-blue);
  float: left;
  z-index: 2;
  position: absolute;

}

.pc-nav .search-box .search-bar .input {
  position: relative;
}

.pc-nav .search-box .search-bar .input-style {
  background-color: #dbf2f5;
  padding: 10px 5px 10px 35px;
  color: var(--logo-gray);
  float: left;
  border: 3px solid var(--logo-blue);
  border-radius: 30px 0 0 30px;
  -moz-border-radius: 30px 0 0 30px;
  -webkit-border-radius: 30px 0 0 30px;
  -o-border-radius: 30px 0 0 30px;
}

.pc-nav .search-box .search-bar .input-style {
  background-color: #dbf2f5;
  padding: 10px 5px 10px 35px;
  color: var(--logo-gray);
  float: left;
  border: 3px solid var(--logo-blue);
  border-radius: 30px 0 0 30px;
  -moz-border-radius: 30px 0 0 30px;
  -webkit-border-radius: 30px 0 0 30px;
  -o-border-radius: 30px 0 0 30px;
}

.pc-nav .search-box .btn {
  font-size: 14px;
  background-color: var(--logo-blue);
  color: #ffffff;
  outline: none;
  border: none;
  cursor: pointer;
  /* position: absolute; */
  top: 0;
  right: 0;
  border-radius: 0 30px 30px 0;
  -moz-border-radius: 0 30px 30px 0;
  -webkit-border-radius: 0 30px 30px 0;
  -o-border-radius: 0 30px 30px 0;
  padding: 13px 10px;
}

.pc-nav .search-box .btn:hover {
  background-color: var(--logo-darkBlue);
}

.pc-nav .member-box {
  position: absolute;
  right: 50px;
}

.pc-nav .member-box .btn {
  color: var(--logo-gray);
  font-weight: normal;
  padding: 8px 20px;
  min-height: 45px;
  border-radius: 30px;
  border: 3px solid var(--logo-blue);
  width: 100%;
  position: relative;
  display: inline-block;
  font-size: 100%;
  transition: 0.3s;

}

.pc-nav .member-box .btn:hover {
  color: #ffffff;
  background-color: var(--logo-darkBlue);
}






/*手機板選單*/
.menu-hamburger {
  display: none;
  position: fixed;
  right: 30px;
  top: 10px;
  z-index: 9999;
  font-size: 30px;
}



.menu-hamburger a {
  text-decoration: none;
}

.menu-hamburger-open:after {
  color: var(--logo-blue);
  content: "\f0c9";
  font-family: "FontAwesome";
  transition-property: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
}

.menu-hamburger-open:hover:after {
  color: var(--logo-blue);
}

.menu-hamburger-close:after {
  color: var(--logo-blue);
  content: "\f00d";
  font-family: "FontAwesome";
  transition-property: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
}

.menu-hamburger-close:hover:after {
  color: var(--logo-darkBlue);
}

@media only screen and (max-width: 1200px) {
  .pc-nav .member-box {
    display: none;
  }

  .header .pc-nav {
    display: none;
  }

  .menu-hamburger {
    display: block;
  }
}

/*overlay*/
.overlay {
  display: none;
  position: fixed;
  top: 0;
  height: 100%;
  width: 100%;
  background: #333;
  overflow: auto;
  z-index: 9998;
}

.overlay .wrap {
  color: #e9e9e9;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

.overlay .wrap .wrap-nav {
  border-bottom: 1px solid #575757;
  text-transform: capitalize;
  padding: 150px 0px 100px;

}

.overlay .wrap-nav li {
  font-size: 22px;
  display: inline-block;
  vertical-align: top;
  width: 24%;
  position: relative;
}

.overlay .wrap-nav li a {
  color: var(--logo-yellow);
  display: block;
  padding: 8px 0;
  text-decoration: none;
  transition-property: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
}


.overlay .wrap-nav li a:hover {
  color: #f0f0f0;
}

.overlay .wrap-nav ul {
  padding: 20px 0;
}

.overlay .wrap-nav ul li {
  display: block;
  font-size: 16px;
  font-weight: normal;
  width: 100%;
  color: #e9e9e9;
}

.overlay .wrap-nav ul li a {
  color: #f0f0f0;
}

.overlay .wrap-nav ul li a:hover {
  color: var(--logo-blue);
  font-size: 110%;
}


.overlay .wrap-nav-other {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  text-decoration: none;
  list-style: none;

}

.overlay .wrap-nav-other li {
  display: inline-block;
  margin: 10px 5px;


}

.overlay .wrap-nav-other .other-btn {
  background: #e9e9e9;
  color: var(--logo-gray);
  display: inline-block;
  transition-property: all .2s linear 0s;
  -moz-transition: all .2s linear 0s;
  -webkit-transition: all .2s linear 0s;
  -o-transition: all .2s linear 0s;
  border: 3px solid var(--logo-blue);
  border-radius: 30px;
  padding: 11px 30px;
  min-height: 45px;
  width: 200px;
  background-color: #dbf2f5;

}

.overlay .wrap-nav-other .other-btn:hover {
  background-color: var(--logo-darkBlue);
  color: white;
}

.overlay .wrap-nav-other .search-box {
  display: flex;
}

.overlay .wrap-nav-other .search-box .search-bar {
  position: relative;
  display: table;
  font-size: 20px;
  vertical-align: middle;
  margin-right: 5px;
}

.overlay .wrap-nav-other .search-box .search-bar .icon {
  left: 11px;
  top: 10px;
  position: relative;
  display: inline-block;
  color: var(--logo-blue);
  float: left;
  z-index: 2;
  position: absolute;
}

.overlay .wrap-nav-other .search-box .search-bar .input {
  position: relative;
}

.overlay .wrap-nav-other .search-box .search-bar .input-style {
  background-color: #dbf2f5;
  padding: 10px 5px 10px 35px;
  color: var(--logo-gray);
  float: left;
  border: 3px solid var(--logo-blue);
  border-radius: 30px 0 0 30px;
  -moz-border-radius: 30px 0 0 30px;
  -webkit-border-radius: 30px 0 0 30px;
  -o-border-radius: 30px 0 0 30px;

}

.overlay .wrap-nav-other .search-box .search-bar .input-style {
  background-color: #dbf2f5;
  padding: 10px 5px 10px 35px;
  color: var(--logo-gray);
  float: left;
  border: 3px solid var(--logo-blue);
  border-radius: 30px 0 0 30px;
  -moz-border-radius: 30px 0 0 30px;
  -webkit-border-radius: 30px 0 0 30px;
  -o-border-radius: 30px 0 0 30px;
}

.overlay .wrap-nav-other .search-box .btn {
  font-size: 14px;
  background-color: var(--logo-blue);
  color: #ffffff;
  outline: none;
  border: none;
  cursor: pointer;
  /* position: absolute; */
  top: 0;
  right: 0;
  border-radius: 0 30px 30px 0;
  -moz-border-radius: 0 30px 30px 0;
  -webkit-border-radius: 0 30px 30px 0;
  -o-border-radius: 0 30px 30px 0;
  padding: 13px 10px;
}

.overlay .wrap-nav-other .search-box .btn:hover {
  background-color: var(--logo-darkBlue);
}

.overlay .nav-footer {
  padding: 15px 5px;
}

.overlay .nav-footer p {
  margin: 0;
  font-size: 12px;
}

.overlay .nav-footer p a {
  color: var(--logo-blue);
  text-decoration: none;
  margin: 0;
  padding: 0;
}




@media only screen and (max-width: 998px) {
  .wrap ul.wrap-nav>li {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #575757;
  }

  .overlay .wrap .wrap-nav {
    padding: 30px 0px 0px;
  }

  .overlay .wrap-nav-footer .footer-btn {
    width: 100%;
    display: block;
    margin: 5px 0;
  }
}

@media only screen and (max-width: 768px) {
  .overlay .wrap-nav-other {
    display: inline-block;

  }

  .overlay .wrap-nav-other li {
    display: block;
  }

  .overlay .wrap-nav-other .other-btn {
    width: 100%;
  }

}





/* --------------------------------------------
一頁式menu
-------------------------------------------- */
.nav_bg::after {
  content: '';
  display: block;
  position: absolute;
  width: 9900px;
  height: 40px;
  padding-bottom: 10%;
  background: url(../images/wave_pagemenu.png) repeat-x left bottom;
  left: 0;
  bottom: -2px;
  animation: wave 20s linear infinite;
  -moz-animation: wave 20s linear infinite;
  -webkit-animation: wave 20s linear infinite;
  z-index: 2;
}

@keyframes wave {
  from {
    left: 0
  }

  to {
    left: -990px
  }
}

@-moz-keyframes wave {
  from {
    left: 0
  }

  to {
    left: -990px
  }
}

@-webkit-keyframes wave {
  from {
    left: 0
  }

  to {
    left: -990px
  }
}

.nav_bg {
  width: 100%;
  background: url(../images/nav_bg.jpg);
  color: #fff;
  background-size: cover;
  text-align: center;
  padding-bottom: 5%;
  z-index: 1;
  position: relative;
  margin-top: -7px;
  overflow: hidden;
}

.navHeader {
  padding: 22px 5px;
  width: 100%;
  background-color: rgba(0, 93, 139, 0.6);
  align-items: center;
  justify-content: center;
}

.navHeader .titleBox {
  display: inline-block;
  position: relative;
  z-index: 2;
}

.navHeader .titleBox h1 {
  font-weight: 400;
  letter-spacing: 2px;
}

.navHeader .titleBox h2 {
  font-weight: 400;
  letter-spacing: 2px;
}

.navHeader .socialBtn {
  position: relative;
  float: right;
  z-index: 3;
  bottom: 0px;
}

.navHeader .socialBtn li {
  display: inline-block;
  padding-left: 10px;
}

.navHeader .socialBtn li a {
  color: rgba(225, 225, 225, 0.85);
  font-size: 30px;
  transition: 0.3s;
}

.navHeader .socialBtn li a:hover {
  color: rgba(225, 225, 225, 1);
}

.pageMenu {
  width: 100%;
  margin: 0px auto;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 999;
}

.pageMenu ul {
  list-style: none;
  text-align: center;
  overflow: hidden;
  margin: 10px auto;
  z-index: 999;
}

.pageMenu ul li {
  display: inline-block;
  margin: 0 4px;
  padding: 25px 0;
  z-index: 999;
}

.pageMenu ul li a {
  padding: 20px 20px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid #fff;
  font-size: 22px;
  z-index: 999;
}

.pageMenu ul li a:hover,
.pageMenu ul li a.active {
  background: #343434;
}

@media screen and (max-width:918px) {
  .pageMenu ul {
    margin: 5px auto;
  }

  .pageMenu ul li {
    padding: 15px 0;
  }

  .pageMenu ul li a {
    padding: 10px;
    font-size: 17px;
  }
}

/*右側快速選單*/
.cd-img-replace {
  /* replace text with a background-image */
  display: inline-block;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}

.cd-nav-trigger {
  display: none;
}

.no-touch #cd-vertical-nav {
  position: fixed;
  right: 10px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 999;
}

.no-touch #cd-vertical-nav li {
  text-align: right;
}

.no-touch #cd-vertical-nav a {
  display: inline-block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.no-touch #cd-vertical-nav a:after {
  content: "";
  display: table;
  clear: both;
}

.no-touch #cd-vertical-nav a span {
  float: right;
  display: inline-block;
  -webkit-transform: scale(0.6);
  -moz-transform: scale(0.6);
  -ms-transform: scale(0.6);
  -o-transform: scale(0.6);
  transform: scale(0.6);
}

.no-touch #cd-vertical-nav a:hover span {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.no-touch #cd-vertical-nav a:hover .cd-label {
  opacity: 1;
}

.no-touch #cd-vertical-nav a.is-selected .cd-dot {
  background-color: var(--logo-blue);
}

.no-touch #cd-vertical-nav .cd-dot {
  position: relative;
  top: 8px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: #84dbff;
  -webkit-transition: -webkit-transform 0.2s, background-color 0.5s;
  -moz-transition: -moz-transform 0.2s, background-color 0.5s;
  transition: transform 0.2s, background-color 0.5s;
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
}

.no-touch #cd-vertical-nav .cd-label {
  position: relative;
  margin-right: 10px;
  padding: .3em .5em;
  color: var(--logo-darkBlue);
  font-size: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s;
  -moz-transition: -moz-transform 0.2s, opacity 0.2s;
  transition: transform 0.2s, opacity 0.2s;
  opacity: 0;
  -webkit-transform-origin: 100% 50%;
  -moz-transform-origin: 100% 50%;
  -ms-transform-origin: 100% 50%;
  -o-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
}

/* Touch devices手機版選單 */
.touch .cd-nav-trigger {
  display: block;
  z-index: 5;
  position: fixed;
  bottom: 70px;
  right: 18px;
  height: 44px;
  width: 44px;
  border-radius: 0.25em;
  background: #099152;
  opacity: .9;
}

.touch .cd-nav-trigger span {
  position: absolute;
  height: 4px;
  width: 4px;
  background-color: #fff;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.touch .cd-nav-trigger span::before,
.touch .cd-nav-trigger span::after {
  content: '';
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
}

.touch .cd-nav-trigger span::before {
  top: -9px;
}

.touch .cd-nav-trigger span::after {
  bottom: -9px;
}

.touch #cd-vertical-nav {
  position: fixed;
  z-index: 5;
  right: 5%;
  bottom: 30px;
  width: 90%;
  max-width: 400px;
  max-height: 90%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -webkit-transform-origin: right bottom;
  -moz-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  -o-transform-origin: right bottom;
  transform-origin: right bottom;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.2s;
  -moz-transition-duration: 0.2s;
  transition-duration: 0.2s;
  border-radius: 0.25em;
  background-color: rgba(255, 255, 255, 0.9);
  color: #317dc3;
}

.touch #cd-vertical-nav a {
  display: block;
  padding: 1em;
  border-bottom: 1px solid rgba(62, 57, 71, 0.1);
}

.touch #cd-vertical-nav a span:first-child {
  display: none;
}

.touch #cd-vertical-nav a.is-selected span:last-child {
  color: #099152;
}

.touch #cd-vertical-nav.open {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}

.touch #cd-vertical-nav.open+.cd-nav-trigger {
  background-color: transparent;
}

.touch #cd-vertical-nav.open+.cd-nav-trigger span {
  background-color: rgba(62, 57, 71, 0);
}

.touch #cd-vertical-nav.open+.cd-nav-trigger span::before,
.touch #cd-vertical-nav.open+.cd-nav-trigger span::after {
  background-color: #099152;
  height: 3px;
  width: 20px;
  border-radius: 0;
  left: -8px;
  z-index: 10;
}

.touch #cd-vertical-nav.open+.cd-nav-trigger span::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 1px;
}

.touch #cd-vertical-nav.open+.cd-nav-trigger span::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
  bottom: 0;
}

.touch #cd-vertical-nav li:last-child a {
  border-bottom: none;
}

@media only screen and (min-width: 768px) {

  .touch .cd-nav-trigger,
  .touch #cd-vertical-nav {
    bottom: 40px;
  }
}



/* --------------------------------------------
index .section1
-------------------------------------------- */
.section1 {
  position: relative;
  display: inline-block;
  min-height: 150px;
  width: 100%;

}



/* .section1 .img {
  position: relative;
  right: -47%;
  display: block;
} 

.section1 .img img {
  border-radius: 30px;
}

.section1 .txt {
  min-height: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  text-align: center;
  margin: 0 auto;
}

.section1 .txt .stroke-text {
  font-size: 68px;
}*/

/*文字邊框效果*/
.stroke-text {
  white-space: nowrap;
  color: #ffd200;
  line-height: 1;
  letter-spacing: 2px;
  font-weight: bolder;
  margin-bottom: 10px;
  margin: 0 8px;
}

.stroke-text::before {
  content: attr(data-storke);
  position: absolute;
  color: #ffd200;
  letter-spacing: 2px;
  -webkit-text-stroke: 4px #c1b475;
  z-index: -1;
}

.section1 .index-banner{
  height:553px;
  z-index: 1;
  position: relative;
  background-image: url(../images/web_banner.jpg);
            background-repeat: no-repeat;
        
            background-position: top right;
            background-size: cover;  


}

@media only screen and (max-width:768px) {
  .section1 .index-banner{
      background-position: center right -70px;
  }
}

.section1 .index-banner .btn{
  /* position: absolute; */
  z-index: 2;
  right: 0;
}


.join-btn { 
  z-index: 2;
  bottom:17%;
  right: 20%;
  display: inline-block;
  padding: 5px 30px;
  margin: 20px auto;
  border-radius: 50px;
  background-color: #4d9eff;
  box-shadow: 0px 7px 0px 0px #3C93D5;
  text-align: center;
  position: absolute;
}

.join-btn:hover {
  background-color: #6FC6FF;
}

.join-btn .btn {
  font-size: 26px;
  line-height: 1;
  color: #ffffff;
  position: relative;
  z-index: 1;
  font-weight: bold;

}

.join-btn .icon {
  display: block;
  position: absolute;
  /* position: relative; */
  z-index: 2;
  width: 40px;
  right: 0px;
  top: 35px;
  animation: mouse-click 1.5s infinite;
  animation-delay: 2s;
}

@keyframes mouse-click {
  from {
    right: -40px;
    top: 50px;
  }

  to {
    right: 0px;
    top: 35px;
  }
}

@media only screen and (max-width:768px) {
  .section1 .img {
    display: none;
  }

  .section1 .txt {
    position: relative;
    /* top: 0;              */
    left: 0;

    transform: translateY(-50%);
    text-align: center;
    margin: 0 auto;
  }

}

/* --------------------------------------------
index .section2
-------------------------------------------- */
.section2 {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.section2 .container {
  max-width: 1000px;
  display: table;
  margin: 0 auto;
}

.section2 .item {
  text-align: center;
  margin: 20px auto;
}

.section2 .img {
  max-width: 170px;
  margin: 15px auto;
}

.section2 .txt .ti {
  font-size: 36px;
  color: #333;
  font-weight: bold;
  letter-spacing: 1px;
}

.section2 .txt .stroke-text {
  white-space: nowrap;
  font-size: 28px;
  display: inline-block;
}

.section2 .txt .stroke-text::before {}

.section2 .txt .info {
  font-size: 22px;
  line-height: 2;
  color: var(--logo-gray);
  display: inline-block;
}



/* --------------------------------------------
index .section3
-------------------------------------------- */
.section3 {
  background-color: #f3edde;
  padding: 20px 0;
}

.section3 .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  /* white-space: nowrap; */
}

.section3 .big-title {
  margin: 40px auto;
  font-weight: bold;
  font-size: 38px;
}



.section3 .container .row {
  padding: 0px;
}

.section3 .item {
  width: 33.3%;
  display: inline-block;
  margin: 10px 0;
  transition: 0.3s;
  bottom: 0px;
  position: relative;
}

.section3 .item:hover {
  position: relative;
  bottom: 10px;
  cursor: pointer;
}

.section3 .card {
  display: inline-block;
  position: relative;
  background: #FFFFFF;
  color: #283D3B;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto;
  text-align: center;
  padding: 40px 15px;

}

.section3 .card h2 {
  margin: 0;
  width: 100%;
  font-size: 28px;
  line-height: 1.5;
  /* background: #C44536; */
  color: #333;
  padding: 20px 0;
  font-weight: bold;
}

.section3 .card h2 span {
  font-size: 20px;
  display: block;
  color: #666;
  font-weight: normal;
}

.section3 .card h3 {
  margin: 20px 0;
  font-size: 40px;
  text-shadow: 3px 2px 2px #283d3b38;
  font-weight: bold;
}

.section3 .card h3 span {
  font-size: 18px;
  display: inline-block;

}

.section3 .card h4 {
  white-space: pre-wrap;
  color: #666;
  margin: 0 10px 30px 10px;
  font-size: 18px;
}

.section3 .card h5 {
  white-space: pre-wrap;
  margin: -10px 10px 30px 10px;
  font-size: 18px;
  text-align: left;
}

.section3 .card ul {
  text-align: left;
  padding: 0 10px;
  margin: 0;
}

.section3 .card ul li {
  display: flex;
  border-top: 2px solid #eee;
  padding: 8px 0;
  white-space: normal;
  align-items: center !important;
  width: 100%;
}

.section3 .card ul li span {
  align-items: center !important;
}

.section3 .card ul li:not(:last-child) {
  margin-bottom: 10px;
}

.section3 .card ul li.aval .icon {
  font-weight: 900;
  font-size: 20px;
  color: #0055d1;
  margin-right: 8px;
}

.section3 .card ul li.unaval .icon {
  font-weight: 900;
  font-size: 20px;
  color: #C44536;
  margin-right: 8px;

}

.section3 .card-1,
.card-3 {
  position: relative;
  transform: scale(0.9);
}

.section3 .card-1 {
  left: 30px;

  z-index: 0;
}

.section3 .card-2 {
  z-index: 1;
  border: 3px solid #0055d1;
  padding-bottom: 70px;
}

.section3 .card-3 {
  left: -30px;
  z-index: 0;
}

@media only screen and (max-width:1078px) {

  .section3 .big-title {
    margin: 15px auto;
  }

  .section3 .container .row {
    padding: 10px 50px;
  }

  .section3 .item {
    width: 100%;
    margin: 10px auto;
  }

  .section3 .card-1,
  .section3 .card-3 {
    position: relative;
    transform: none;
    left: 0px;
  }


}

.section3 .hot-badge::after {
  content: "HOT";
  position: absolute;
  background: linear-gradient(to right, #ffd400, #ffbc00);
  padding: 5px 54px;
  box-shadow: 0 0 5px 3px #715e006e;
  top: 17px;
  right: -46px;
  color: #5d4d00;
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  transform: rotateZ(45deg);
}

.section3 .creator-link:link,
.section3 .creator-link:visited {
  text-decoration: none;
  color: #d8d8d8;
  background: #2d2d2d;
  text-shadow: 0 1px 3px black;
  position: fixed;
  bottom: 40px;
  right: -54px;
  padding: 5px 0px;
  margin: 0 auto;
  width: 230px;
  text-align: center;
  display: block;
  font-size: 20px;
  font-family: "Nunito", sans-serif;
  margin-top: 50px;
  transform: rotateZ(-45deg);
  z-index: 10;
  transition: 150ms;
}

.section3 .creator-link:hover {
  background: #56251f;
  color: white;
}

.section3 .imgBox {
  background-color: #82bff0;
  padding: 10px;
  border-radius: 12px;
  max-width: 550px;
  box-sizing: content-box;
  width: 48%;
  float: left;
}

.section3 .imgBox .con {
  background-color: #fff;
  border: 10px solid #317dc3;
  border-radius: 10px;
}

.section3 .infoBox {
  float: left;
  padding: 25px;
  width: 47%;
  justify-content: center;
  align-items: center;
  margin: 50px 20px;
}

@media only screen and (max-width: 1200px) {
  .section3 .imgBox {
    width: 100%;
    float: none;
    margin: 0 auto;
  }

  .section3 .infoBox {
    display: table;
    width: 100%;
    float: none;
    margin: 0 auto;
  }
}

/* --------------------------------------------
index .section4
-------------------------------------------- */

.section4 {}

.section4 .tabs {
  display: flex;
  flex-wrap: wrap;
}

.section4 .tabs label {
  width: 50%;
  order: 1;
  display: block;
  padding: 10px 0;
  text-align: center;
  cursor: pointer;
  border-bottom: 2px solid #999;
  font-weight: 700;
  font-size: 24px;
  transition: .2s
}

.section4 .tabs .tab {
  order: 99;
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;

}

.section4 .tabs input[type="radio"] {
  display: none
}

.section4 .tabs input[type="radio"]:checked+label {
  /* background: #92B6D5 */
  color: var(--logo-blue);
  font-size: 36px;
  border-bottom: 4px solid var(--logo-blue);
}

.section4 .tabs input[type="radio"]:checked+label+.tab {
  display: block
}

.section4 .swiper-container {
  width: 50%;
  height: 300px
}

.section4 .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center
}

.section4 .item {
  text-align: center;
}


.section4 .item .img {
  max-width: 250px;
  margin: 10px auto;
}

.section4 .item h3 {
  min-height: 80px;
  font-weight: bold;

}

.section4 .item h6 {
  line-height: 1.5;
}



.section4 .student .info {
  vertical-align: middle;
  height: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

}

.section4 .tab-title {
  color: var(--logo-blue);
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 5px auto;
  letter-spacing: 2px;
}


/* --------------------------------------------
footer
-------------------------------------------- */
.footer {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  text-align: center;
}

.footer .info {
  margin: 0 auto;
  display: table;
  float: both;
  font-size: 15px;
  text-align: center;
  font-weight: 300;
}

.footer .info li {
  width: 100%;
}

.footer .info li span {
  display: inline-block;
  padding-right: 15px;
}

/* --------------------------------------------
banner
-------------------------------------------- */
.page-banner {
  position: relative;
  width: 100%;
  height: 100px;
  text-align: center;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.page-banner>* {
  position: relative;
}

.page-banner::before {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: " ";
  background: repeating-linear-gradient(-60deg,
      #edf9fb 0 5px,
      #f1fdff 0 10px)
}

.page-banner span {
  color: var(--logo-darkBlue);
  font-size: 32px;
  font-weight: bold;

}



/* --------------------------------------------
課程頁 .course
-------------------------------------------- */
.course {
  position: relative;
  padding: 20px;
  display: inline-block;
  width: 100%;
}

.course-menu {
  float: left;
  width: 100%;
  max-width: 300px;
  display: block;
  border: 2px solid var(--logo-blue);
  background-color: var(--blue-light);
  display: block;
  border-radius: 20px;
  vertical-align: top;
}

.course-menu .head {
  background-color: var(--logo-blue);
  border-radius: 17px 17px 0 0;
  text-align: center;
  color: white;
  padding: 15px;
  font-size: 24px;
  font-weight: bold;
}

.course-menu .category {
  padding: 30px 20px;

}

.course-menu .category .group {
  margin-bottom: 15px;
}

.course-menu .category .ti {
  color: #333333;
  font-size: 20px;
  font-weight: bold;
}

.course-menu .category .group {
  border-bottom: 2px solid white;
}

.course-menu .category .subcategory {
  padding: 10px;
  font-weight: normal;
  font-size: 18px;
}

.course-menu .category .subcategory li {
  display: block;
  padding: 5px;

}

.course-menu .category .subcategory li:before {
  content: "\f0da";
  font-family: "FontAwesome";
  color: var(--logo-blue);
  padding-right: 10px;

}

.course-menu .category .subcategory li:hover span {}

.course-menu .category .subcategory li.active span {
  color: var(--logo-darkBlue);
  text-decoration: underline;
}

.course-menu .category .subcategory li:hover,
.course-menu .category .subcategory li.active,
.course-menu .category .subcategory li:hover:before,
.course-menu .category .subcategory li.active:before {
  color: var(--logo-darkBlue);
}



.course-content {
  width: calc(100% - 300px - 10px);
  margin: 0 5px;
  vertical-align: top;
  float: left;
  display: block;
}

@media only screen and (max-width: 1200px) {
  .course-menu {
    display: none;
  }

  .course-content {
    width: calc(100% - 10px);
  }
}

/*課程列表頁*/

.course-caption {
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  background-color: #f1fdff;
  border: 2px solid var(--logo-blue);
}

.course-list {
  width: 100%;
  position: relative;
}

.course-item {
  width: 100%;
  position: relative;
  margin-top: 10px;
  margin-bottom: 25px;
}

.course-list .course-item .title {
  text-align: center;
  border-bottom: 3px solid #e5e5e5;
  color: #333;
  font-size: 26px;
  line-height: 1.5;
  padding-bottom: 8px;
  font-weight: bold;
  letter-spacing: 2px;
}

.course-list .course-item .list ul {
  margin: 0 auto;
  padding: 0 10px;

}

.course-list .course-item .list li {
  text-align: left;
  display: block;
  margin-bottom: 15px;
}

.course-list .course-item .list li a {
  display: inline-block;
  width: 100%;
  font-size: 18px;
  transition: 0.3;
  color: #333;
}

.course-list .course-item .list li a.course-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.course-list .course-item .list li a.course-link:hover {
  color: var(--logo-darkBlue);
  text-decoration: underline;
}

.course-list .course-btn {
  border: 3px solid #e5e5e5;
  border-radius: 20px;
  padding: 35px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.8s;
  overflow: hidden;
  margin: 10px;
}

.course-list .course-btn:hover {
  border: 3px solid var(--logo-blue);
  background-color: var(--logo-blue);
}

.course-list .course-btn .title {
  z-index: 2;
  color: #333;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 26px;
  text-align: center;
  transition: 0.3s;
}

.course-list .course-btn:hover .title {
  color: white;
}

.course-list .course-btn .icon:after {
  color: var(--blue-light);
  content: "\f054";
  font-family: "FontAwesome";
  float: right;
  position: absolute;
  top: 28%;
  right: 10%;
  z-index: 1;
  transition: 0.1s all ease-out;
  font-size: 250%;
}

.course-list .course-btn:hover .icon:after {
  color: var(--blue-light);
  opacity: 0.3;
  font-size: 250%;
  padding-right: 5px;
}




/*課程內頁*/
.course-view {
  position: relative;
  display: block;
}

.course-view .page-title {
  color: var(--logo-darkBlue);
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.course-view .tag-list {
  position: relative;
  display: block;
  margin: 15px 0;
}

.course-view .tag-list li {
  display: inline-block;
  margin-right: 3px;
}

.course-view .tag-list .tag {
  display: inline-block;
  font-size: 15px;
  border: 1px solid var(--logo-blue);
  color: var(--logo-blue);
  padding: 5px 12px;
  border-radius: 20px;
}

.course-view .tag-list .tag:before {
  content: "\f292";
  font-family: "FontAwesome";
  padding-right: 3px;
  font-size: 13px;
  font-weight: lighter;
}

.course-view .counter {
  font-size: 14px;
  color: #898989;
  padding: 5px;
}

.course-view .join-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

}
@media only screen and (max-width: 767px) {

  .course-view .join-btn {
    right:0%;
    position: relative;
  }

}


.course-view .info {
  position: relative;
  padding: 20px 0;
}

.course-view .info .tabs {
  display: flex;
  flex-wrap: wrap;
}

.course-view .tabs {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.course-view .tabs>label {
  -webkit-box-ordinal-group: 2;
  order: 1;
  display: block;
  padding: 1rem 2rem;
  margin: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 24px;
  background: #f0f0f0;
  font-weight: normal;
  -webkit-transition: background ease 0.2s;
  transition: background ease 0.2s;
  border-top: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
  border-left: 8px solid #cccccc;
  position: relative;
}

.course-view .tabs .tab {
  -webkit-box-ordinal-group: 100;
  order: 99;
  -webkit-box-flex: 1;
  flex-grow: 1;
  width: 100%;
  display: none;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #cccccc;
  padding: 20px;
}

.course-view .tabs>input[type="radio"] {
  display: none;
}

.course-view .tabs>input[type="radio"]:checked+label {
  background: #fff;
  font-size: 24px;
  border-left: 8px solid #4d9eff;
  font-weight: bold;
  outline: 2px solid white;

}

.course-view .tabs>input[type="radio"]:checked+label+.tab {
  display: block;
}

@media (max-width: 45em) {

  .course-view .tabs .tab,
  .course-view .tabs>label {
    -webkit-box-ordinal-group: initial;
    order: initial;
  }

  .course-view .tabs>label {
    width: 100%;
    margin-right: 0;
    margin-top: 0.2rem;
  }
}




/*五星評分*/

.star-rating {
  margin: 0 auto;
  text-align: center;
}

.star-rating .total {
  align-items: center;
  font-size: 40px;
  font-weight: 400;
  margin: 5px auto;
  padding: 10px;
  border-radius: 5px;
  display: table;
}

.star-rating fieldset {
  margin-right: 4px;
  border-radius: 30px;
  padding: 10px 25px 5px 25px;
  box-shadow: 7px 7px 20px rgba(198, 206, 237, 0.7), -7px -7px 25px rgba(255, 255, 255, 0.7), inset 0px 0px 4px rgba(255, 255, 255, 0.9), inset 5px 5px 10px rgba(198, 206, 237, 0.8);
}


.star-ratings-css {
  display: block;
  unicode-bidi: bidi-override;
  color: #c5c5c5;
  position: relative;
  text-shadow: 0 1px 0 #a2a2a2;
  font-size: 3em;
  top:-5px;
  
} 
.star-ratings-css::before { 
  content: '★★★★★';
  opacity: .3;
  overflow: hidden;
  font-family: "FontAwesome";
}

.star-ratings-css i {
  left: 0;
  position: absolute;
  overflow: hidden;

}
.star-ratings-css i::after {
  font-style: normal;
  color: gold;
  content: '★★★★★';
  text-shadow: 0 1px 0 #ab5414;
  z-index: 1;
  font-family: "FontAwesome";
  display: inline-block;
}

.future-css::after {
  font-style: normal;
  color: gold;
  content: '★★★★★';
  text-shadow: 0 1px 0 #ab5414;
  z-index: 1;
  overflow: hidden;
  position: absolute;
  left: 0;
  width: attr(data-width percentage);
  font-family: "FontAwesome";
  display: inline-block;
}

.course-view .reason {
  text-align: center;
  font-size: 22px;
  padding: 10px;
  margin: 50px auto 10px auto;
  position: relative;
  z-index: 1;
}

.course-view .reason span {
  color: var(--logo-darkBlue);
  font-size: 120%;
}

.course-view .reason:before {
  content: "";
  height: 14px;
  width: 100%;
  background-color: #ace9ee;
  position: absolute;
  bottom: 5px;
  left: -5px;
  z-index: -1;
}

/*輪播*/
.course-view .mySwiper {
  margin: 10px auto;
}

.course-view .mySwiper .item {
  gap: 100px;
  padding: 10px 80px;
  position: relative;
}


.course-view .mySwiper .item .img-box {
  /* width: 200px;
  min-width:200px;  */
  /* position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); */
  text-align: center;
  margin: 5px auto;
  display: block;
}

.course-view .mySwiper .item .img-box img {
  vertical-align: middle;
}

@media only screen and (max-width: 768px) {
  .course-view .mySwiper .item {
    padding: 10px 10px;
  }

  .course-view .mySwiper .item .img-box {
    position: relative;
  }

}


.course-view .mySwiper .item .text-box {
  position: relative;
  padding: 10px;

}

.course-view .mySwiper .item .sp {
  min-height: 100px;
}

.course-view .mySwiper .item .sp:before {
  position: absolute;
  content: "“";
  left: -10%;
  top: -20px;
  color: #c9c9c9;
  font-size: 70px;
  z-index: -1;
}


.course-view .mySwiper .item .sp::after {
  position: absolute;
  content: "”";
  right: -8%;
  font-size: 70px;
  bottom: -50px;
  color: #c9c9c9;
  z-index: -1;
}

.course-view .mySwiper .item .teacher-name {
  text-align: center;
  margin: 20px auto 5px auto;

  color: #666;
  font-size: 20px;
  border: 1px solid #c9c9c9;
  ;
  border-bottom: 3px solid #c9c9c9;
  padding: 5px 10px;
  display: table;
}



/*表格 - 共用*/
.list-tb {
  width: 100%;
}
.list-tb thead {
  position: relative;
  clip: auto;
  height: auto;
  width: auto;
  overflow: auto;
}
.list-tb tr {
  display: table-row;
}
.list-tb th,
.list-tb td {
  display: table-cell;
}
.list-tb tbody {
  display: table-row-group;
}
.list-tb tbody tr {
  display: table-row;
}

/* 樣式 */
.list-tb thead {
  border-bottom: #333 solid 1px;
}
.list-tb thead th {
  padding: 0 15px 8px;
  font-weight: normal;
  text-align: center;
  vertical-align: top;
}

.list-tb tbody th,
.list-tb tbody td {
  padding: 5px 15px;
  border-bottom: #ccc solid 1px;
}

.list-tb tbody th {
  font-weight: normal;
  letter-spacing: 1px;
  text-align: left;
}

.list-tb tbody td:first-child,.list-tb tbody td:last-child{
  text-align: center;
}
.list-tb tbody td {
  text-align: left;
}

.list-tb tbody tr:hover td{ background-color: #f8f8f8;}

@media only screen and (max-width: 997px) {
  .list-tb thead {
    display: none;
  }

  .list-tb tbody td:first-child,.list-tb tbody td:last-child{
    text-align: left;
  }

  .list-tb tbody,
  .list-tb tbody tr,
  .list-tb tr,
  .list-tb td {
    display: block;
  }
  .list-tb tbody tr {
    margin-bottom: 15px;
    background-color: #ffffff;
    border: #ccc solid 1px;
  }
  .list-tb tbody tr:last-child {
    margin-bottom: 0;
  }
  .list-tb tbody th,
  .list-tb tbody td {
    padding: 7px 8px;
    width: 100%;
    text-align: left;
    word-break: break-all;
  }
  .list-tb tbody th[data-title]:before,
  .list-tb tbody td[data-title]:before {
    display: block;
    content: attr(data-title);
    margin-right: 10px;
    float: left;
    width: 80px;
    font-family: '微軟正黑體', 'Microsoft JhengHei';
    color: #333;
    font-weight: bold;
    vertical-align: top;
  }

  .list-tb tbody td {
    display: block;
    line-height: 22px;
  }
}
@media only screen and (min-width: 998px) {
  .list-tb thead th:nth-child(1) {
    width: 80px;
  }
  .list-tb thead th:nth-child(2) {
    width: 120px;
  }
  .list-tb thead th:last-child {
    width:100px;
  }
  .list-tb tbody td > div {
    position: relative;
  }
  .list-tb tbody td > div:before {
    display: inline-block;
    content: "";
    margin: -4px 8px 0 4px;
    width: 4px;
    height: 4px;
    vertical-align: middle;
    border-radius: 50px;
    background-color: var(--logo-blue);
    list-style-position: outside;
    
  }

}

.search-course .link-btn{
  color: var(--logo-blue);

 display: inline-block;

}

.search-course .link-btn:after{
  content: "\f35d";
  font-family: "FontAwesome";
  margin-left: 5px;
  font-size: 12px;
}

.search-course .link-btn:hover{
  color:var(--logo-darkBlue);
  text-decoration: underline;
}


