﻿@charset "utf-8";
/* CSS Document */

td,
th {
  vertical-align: middle !important;
}

td a {
  border: none;
  font-weight: 500;
}

a {
  color: #d9534f;
  text-decoration: none;
}

a:hover {
  color: rgb(26,115,232);
  text-decoration: none;
}

.more .btn-danger,
.more .btn-danger:active {
  color: #fff;
  border-color: #fff;
}

.class-row-wrap {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
  width: 80%;
  margin: 10px auto;
}

.wrap {
  padding: 10px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
  margin: 0 auto 10%;
}

.class-row-wrap img {
  border-radius: 10px;
  /* margin: 5px; */
}

.title {
  text-transform: uppercase;
  font: 20px/46px 微軟正黑體, "Microsoft JhengHei", MingLiU, sans-serif;
  text-align: center;
  margin: 3% auto 5% auto;
}

.title-h4 {
  color: rgb(252, 78, 51);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: .5em;
}

.price h5 {
  font-size: 1em;
}

.testimonial_wrapper {
  text-align: center;
}

.testimonial-name {
  border-bottom: 1px solid #ccc;
  color: #ed4e4e;
  padding: 5px;
  text-align: center;
  margin-bottom: 10px;
}

.testimonial-name h4 {
  text-align: center;
  color: #000;
  font-weight: 600;
  font-size: 2em;
}

.testimonial-name h5 {
  text-align: center;
  color: #fd8332;
  font-weight: 600;
  font-size: 1.5em;
}

.testimonial-name h3 {

  color: #333240 !important;

  font-weight: 600;
}

.caption {
  padding: 0 !important;
}

.analysis ul li {
  display: block;
  text-align: center;
}

.analysis {
  text-align: center;
  margin: 10px 0;
}

.mbr-navbar__item a,
.plan a {
  font-size: 16px;
  font-family: 微軟正黑體, "Microsoft JhengHei", MingLiU, sans-serif;
  border: 1px solid #fff;
  color: #fff;
}

.home-top .navbar.navbar-light-light .navbar-nav > li > a {
  color: #fff !important;
}

.navbarToggleDrop {
  padding: 0;
}

.section-wrap {
  padding: 2%;
}

.section-wrap h3 {
  color: #333;
  display: block;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 1.5px;
  line-height: 35px;
  margin: 1% auto 2%;
  text-align: center;
}

.section-wrap h4 {
  color: #000;
  font-size: 1.2em;
  font-weight: 600;
  /* letter-spacing: 1px; */
  line-height: 25px;
}

.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #fff !important;
  height: 4px;
  -webkit-transition-property: right;
  -moz-transition-property: right;
  -o-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: .3s;
  -moz-transition-duration: .3s;
  -o-transition-duration: .3s;
  transition-duration: .3s;
  -webkit-transition-timing-function: ease-out;
  -moz-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

.panel h4 {
  margin: 0;
}

.panel-card {
  height: 520px;
}

.panel-card td {
  font-size: 16px;
}

.panel-heading {
  font-family: 微軟正黑體, "Microsoft JhengHei", MingLiU, sans-serif;
  font-size: 21px;
  padding: 5px 15px;
}

.mbr-navbar__item {
  padding: 5px;
}

.navbar-brand {
  float: left;
  padding: 2px;
  font-size: 18px;
}

.brand-name {
  color: #fff !important;
  display: inline-block;
  font-size: 1em;
}

.navbar-brand img {
  display: inline-block;
  padding: 5px 15px;
  vertical-align: middle;
  max-width: 58px;
}

.icon {
  width: 32px;
  height: 32px;
  margin-right: 10px;
}

.class-row p {
  color: #000;
  padding: 10px;
  font-size: 1em;
  letter-spacing: 1.2;
  text-align: center;
}

.box-contain {
  min-height: 160px;
}

.box {
  color: rgb(255, 255, 255);
  font-size: 16px;
  line-height: 26px;
  text-align: left;
  min-height: 182px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  border-style: solid;
  border-color: rgb(237, 237, 237);
  -moz-border-image: initial;
  -o-border-image: initial;
  -webkit-border-image: initial;
  border-image: initial;
  padding: 15px 15px 15px 10%;
}

section p {
  font-size: 18px;
  font-family: 微軟正黑體, "Microsoft JhengHei", MingLiU, sans-serif;
  padding: 5px;
  margin-bottom: 0;
}

section ol li,
section ul li {
  font-size: 0.9em;
  /* font-family: 微軟正黑體, "Microsoft JhengHei", MingLiU, sans-serif; */
  text-align: left;
  /* padding: 5px; */
  margin-bottom: 0;
}

.tip {
  margin: 15px 0;
}

.tip a {
  background-color: #1a89e7 !important;
  border: none;
  text-align: center;
  display: block;
  width: 220px;
  padding: 4px;
  margin: 10px auto;
}

.tip img {
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  width: 90px;
  height: 90px;
}

.dashed-border {
  border-bottom: 1px dashed #ccc;
}

.form-control {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.42857143;
  color: #373737;
  background-color: #f6f6f6;
  background-image: none;
  border: 2px solid #dddddd;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.heading-center {
  text-align: center;
}

.padding0 {
  padding: 0 !important;
}

.heading h2 {
  color: #201917;
  font-size: 2.1em;
  font-weight: 600;
  /* margin: 2% auto; */
  /* padding: 3% 0 0; */
}

.heading h2 img {
  padding-bottom: 10px;
}

.heading p {
  font-size: 18px;
  margin: 1rem auto;
  text-align: left;
  width: 90%;
}

.section-wrap .image {
  text-align: center;
}

.section-wrap a {
  border: none;
  font-size: 18px;
  margin: 2px;
}

.color-white {
  color: rgb(255, 255, 255) !important;
}

.hero_text {
  color: rgb(252, 78, 51);
  font-size: 42px;
  font-weight: 600;
  margin: 10px 0;
}

.mbr-hero h3 {
  color: #333;
  margin: 5px 0;
  font-size: 21px;
}

.mbr-hero p {
  color: #333;
  width: 80%;
  margin: 5px 0;
  font-size: 18px;
}

.more {
  text-align: center;

}

.panel-body .more,
.panel-body .more a {
  margin: 0;
}

.more a {
  font-size: 1.2em;
  margin: 2% auto;
}

.more button {
  font-size: 18px;
  margin: 10px 15px;
}

.marginbottom25 {
  margin-bottom: 25px;
}

.map a {
  color: #fff;
  font-size: 12px;
}

.card-box p {
  padding-bottom: 5%;
  font-size: 1.25em;
}

.card-box img {
  display: block;
  width: 100%;
  /* height: 105px; */
  text-align: center;
  margin: 0 auto;
  /* padding: 0 2%; */
  border: none;
}

.class-row {
  margin: 0;
  padding: 0;
}

.class-row img {
  width: 100%;
}

.class-column {
  -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
}

.class-info {
  padding: 10px 30px;
  background: #fff;
  margin: 0 auto 20px;
  text-align: left;
}

.media-info {
  /* padding: 0px; */
  background: #fff;
  position: relative;
  top: 10px;
  text-align: center;
  /* margin: 0px; */
}

.class-info-box {
  padding: 0 10px;
  background: #fff;
  margin: 0 auto;
  text-align: center;
  min-height: 165px;
}

.class-info-box h4 {
  color: #ff515d;
}

.class-info h4 {
  color: #ff515d;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 55px;
  letter-spacing: 1.2;
}

.media-info h4 {
  color: #ed4e4e;
  font-size: 21px;
  font-weight: 600;
  padding: 10px;
  /* line-height: 55px; */
  letter-spacing: 1.2;
}

.class-info b {
  font-size: 18px;
}

.class-info ul {

  background: #f5f5f5;
  text-align: left;
  margin: 0;
  padding: 10px;
}

.class-info li {
  list-style-type: '√';
}

.about-info img {
  padding: 20px;
  background: #fff;
}

.width90 {
  width: 90%;
}

.width100 {
  width: 100%;
}

.icon-fa {
  border-radius: 50%;
  cursor: pointer;
  font-size: 1em;
  padding: 8px;
  width: 30px;
  height: 30px;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

/*自適應RWD*/
@media only screen and ( min-width:1680px) and (max-width :1921px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 600px;
  }

  .container {
    /*width: 100%;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

}
@media only screen and ( min-width:1680px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 600px;
  }

  .container {

    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

}
@media only screen and ( min-width:1279px) and (max-width :1679px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 600px;
  }

  .container {
    /*width: 100%;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-nav {
    float: right;
    margin: 0;
  }
}
@media only screen and ( min-width:960px) and (max-width :1278px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 400px;
  }

  .container {
    /*width: 100%;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-nav {
    float: right;
    margin: 0;
  }
}
@media only screen and ( min-width:768px) and (max-width :959px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 400px;
  }

  .container {
    /*width: 100%;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  /*導覽列*/
  .navbar-inverse .navbar-toggle {
    border-color: #333333;
    background: #fff;
    position: absolute;
    left: 90%;
    float: left;
  }

  .navbar-inverse .navbar-toggle:hover {
    background: #f4f4f4;
  }

  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form {
    background: #fff;
  }

  .navbar-inverse .navbar-nav > li > a {
    color: #1a89e7;
  }

  .mbr-navbar__item a,
  .plan a {
    border-color: #afdaff;
    background: #fff;
    color: #1a89e7;
  }

  .navbar-inverse .navbar-nav > li > a:hover {
    color: #000;
  }

  .navbar-inverse .navbar-toggle {
    border-color: #333333;
    background: #fff;
  }

  .navbar-inverse .navbar-nav > li {
    border-bottom: #ccc;
    display: none;
    /*暫時隱藏，項目太多*/
  }

  .navbar-nav {
    float: right;
    margin: 0;
    padding-top: 15px;
    right: 0;
  }

  /*禮物卡*/
  .gift-card {
    background: #e74c3c;
  }
}
@media only screen and ( min-width:481px) and (max-width :767px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 400px;
  }

  .container {
    /*width: 100%;*/
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  /*導覽列*/
  .navbar-inverse .navbar-toggle {
    border-color: #333333;
    background: #fff;
    position: absolute;
    left: 90%;
    float: left;
  }

  .navbar-inverse .navbar-toggle:hover {
    background: #f4f4f4;
  }

  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form {
    background: #fff;
  }

  .navbar-inverse .navbar-nav > li > a {
    color: #1a89e7;
  }

  .mbr-navbar__item a,
  .plan a {
    border-color: #afdaff;
    background: #fff;
    color: #1a89e7;
  }

  .navbar-inverse .navbar-nav > li > a:hover {
    color: #000;
  }

  .navbar-inverse .navbar-nav > li {
    border-bottom: #ccc;
  }

  /*主視覺*/

  .view_pic {
    background-image: none;
    background: #e74c3c;
  }
  /*禮物卡*/
  .gift-card {
    background: #e74c3c;
  }

  .btn-nav a {
    text-align: left;
    font-size: 1.2em !important;
  }
}
@media only screen and ( min-width:321px) and (max-width :480px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 400px;
  }

  .container {
    margin-right: auto;
    margin-left: auto;
  }
  /*導覽列*/

  .navbar-inverse .navbar-toggle {
    border-color: #333333;
    background: #fff;
    position: absolute;
    left: 80%;
    float: left;
  }

  .navbar-inverse .navbar-toggle:hover {
    background: #f4f4f4;
  }

  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form {
    background: #fff;
  }

  .navbar-inverse .navbar-nav > li > a {
    color: #1a89e7;
  }

  .mbr-navbar__item a,
  .plan a {
    border-color: #afdaff;
    background: #fff;
    color: #1a89e7;
  }

  .navbar-inverse .navbar-nav > li > a:hover {
    color: #000;
  }

  .navbar-inverse .navbar-nav > li {
    border-bottom: #ccc;
  }

  .hero_text {
    /* color: rgb(0, 0, 0); */
    font-size: 28px;
    font-weight: bold;
    left: -2px;
    letter-spacing: 1px;
    line-height: 40px;
    padding-bottom: 8px;
    position: relative;
    top: 8px;
    text-transform: uppercase;
    margin: 5px 0;
  }

  .view_pic {
    background-image: none;
    background: #e74c3c;
  }
  /*禮物卡*/

  #section-2 .box {
    width: 300px;
  }

  .gift-card {
    background: #e74c3c;
  }

  .heading h2 {
    font-size: 2em;
    /* margin-bottom: 3%; */
  }

  #section-3 h2 {
    color: #fff;
    font-size: 28px;
    height: 60px;
  }

  .mbr-hero {
    padding-left: 25px;
    /* min-height: 200px; */
    position: relative;
  }

  .btn-nav a {
    text-align: left;
    font-size: 1.2em !important;
  }
}
@media only screen and ( max-width:320px) {
  .banner {
    height: 100%;
    margin-top: 10%;
    display: block;
    min-height: 400px;
  }

  /*導覽列*/

  .navbar-inverse .navbar-toggle {
    border-color: #333333;
    background: #fff;
    position: absolute;
    left: 80%;
    float: left;
  }

  .navbar-inverse .navbar-toggle:hover {
    background: #f4f4f4;
  }

  .navbar-inverse .navbar-collapse,
  .navbar-inverse .navbar-form {
    background: #fff;
  }

  .navbar-inverse .navbar-nav > li > a {
    color: #1a89e7;
  }

  .mbr-navbar__item a,
  .plan a {
    border-color: #afdaff;
    background: #fff;
    color: #1a89e7;
  }

  .navbar-inverse .navbar-nav > li > a:hover {
    color: #000;
  }

  .navbar-inverse .navbar-nav > li {
    border-bottom: #ccc;
  }

  .hero_text {
    /* color: rgb(0, 0, 0); */
    font-size: 1.6em;
    font-weight: bold;
    left: -2px;
    letter-spacing: 0;
    line-height: 40px;
    padding-bottom: 5px;
    position: relative;
    top: 8px;
    text-transform: uppercase;
    /* margin: 5px 0px; */
  }

  .view_pic {
    background-image: none;
    background: #e74c3c;
  }
  /*禮物卡*/
  .gift-card {
    background: #e74c3c;
  }

  #section-2 .box {
    width: 250px;
  }

  .heading h2 {
    font-size: 1.5em;
  }

  #section-3 h2 {
    color: #fff;
    font-size: 28px;
    height: 60px;
  }

  .mbr-hero {
    padding: 25px;
    /* min-height: 200px; */
    position: relative;
  }

  .width90 {
    width: 90%;
  }

  .btn-nav a {
    text-align: left;
    font-size: 1.2em !important;
  }

  .section-wrap a {
    font-size: 12px !important;
  }
}

/*cover bootstrap*/
@media (min-width: 768px) {
  .modal-dialog {
    width: 800px;
    /*調整尺寸*/
    margin: 30px auto;
  }
}
@media (max-width: 768px) {
  .testimonial-image {
    margin-top: 10px !important;
  }

  h3.hero_text {
    /* top: 80px; */
    padding-top: 130px;
  }

  .mbr-hero p {
    color: #333;
    width: 100%;
    margin: 30px 0;
    font-size: 18px;
  }

  .mbr-hero {
    padding: 5px 0;
  }
}

.fix-button-box {
  position: fixed;
  bottom: 4px;
  display: grid;
  right: 10px;
  z-index: 999;
  padding: 4px;
}

.fix-button-box a {
  padding: 0 !important;
  border: none;
  -moz-border-radius: unset;
  -webkit-border-radius: unset;
  border-radius: unset;
  margin-bottom: 10px;
}

.fix-button-box img {
  width: 45px;
  height: 45px;
}

.fix-button-box img:hover {
  opacity: .6;
}

.youtube-row {
  display: block;
  text-align: center;
}

.top-banner {
  width: 100%;
}
@media only screen and ( min-width:960px) and (max-width :1278px) {
  .top-banner {
    position: relative;
    /*margin-top: 30px;*/
    overflow: hidden;
  }
}
@media only screen and ( min-width:481px) and (max-width :959px) {
  .top-banner {
    position: relative;
    /*margin-top: 30px;*/
    overflow: hidden;
  }
}
@media only screen and ( min-width:321px) and (max-width :480px) {
  .top-banner {
    position: relative;
    /*margin-top: 30px;*/
    overflow: hidden;
  }

  .class-row {
    margin: 0;
    padding: 0;
  }
}
@media only screen and ( max-width:320px) {
  .top-banner {
    position: relative;
    /*margin-top: 30px;*/
    overflow: hidden;
  }

  .class-row {
    margin: 0;
    padding: 0;
  }
}

#gotop {
  bottom: 30px;
  background: rgba(1,1,1,.5);
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  font-size: 1em;
  font-family: arial;
  position: fixed;
  padding: 12px;
  width: 40px;
  height: 40px;
  right: 30px;
  z-index: 99;
}

hr {
  margin-top: 5px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}

.panel-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  color: inherit;
  display: inline-block;
}

.modal-body {
  position: relative;
  padding: 15px;
  min-height: 100px;
}

.modal-body h5 {
  font-size: 21px;
  color: #ff515d;
}

.modal-body p {
  color: #333;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 800px;
    margin: 30px auto;
  }
}
@media only screen and ( min-width:768px) {
  #carousel-example {
    margin: 3% auto;
    /* width: 912px; */
  }
}
@media (min-width: 768px) {
  .td-width42 {
    width: 42%;
  }

  .box-img {
    padding: 20px 0;
    text-align: center;
    min-height: 300px;
    margin-bottom: 10px;
  }

  .exam {
    padding: 3%;
    text-align: center;
    background: #fff;
    border-radius: 5%;

  }

  .carousel-control.left,
  .carousel-control.right {
    background-image: none !important;
    color: #333;
    text-shadow: none;
    width: 1px;
  }

  header {
    margin-top: 50px;

  }
}
@media (max-width: 768px) {
  .td-width42 {
    width: 32%;
  }

  .index-bg {

    background-repeat: no-repeat;
    background-size: 100%;
  }

  .box-img {
    padding: 20px 0;
    text-align: center;
    min-height: 300px;
    margin-bottom: 10px;
  }

  .exam {
    text-align: center;
    background: #fff;
  }

  .carousel-control.left,
  .carousel-control.right {
    background-image: none !important;
    color: #333;
    text-shadow: none;

  }

}

.exam .info {
  margin-bottom: 0px;
}

.table-fill img {
  width: 32px;
}

.table-fill h5 {
  font-size: 1em;
}

.table-fill p {
  font-size: 13px;
  color: #333;
  font-weight: 600;
}



.info h5 {
  color: #e74944;
  font-size: 1.2em;
  font-weight: 600;
  padding: 5px;
  background-color: #fffbe6;
}

.info-box {
  display: block;
  /* text-align: left; */
  text-align: justify;
}

.info-box li {
  list-style-type: circle;
}

.info-text {
  /* float: right; */
  /* line-height: 35px; */
  color: #337ab7;
  font-size: 14px;
  padding: 0 !important;
}

.buy-box {
  /* background: rgb(229 229 229 / 60%); */
  border-radius: 5px;
  /* border: 1px solid #ccc; */
  margin: 1%;
  padding: 1%;
  text-align: center;
}

.buy-box h3 {
  color: #1a89e7;
  font-size: 1.5em;
  /* padding-top: 2%; */
  margin: 0 0 10px;
}

.buy-box a,
.buy-box p {
  font-size: 18px;
  /* margin: 0 auto 10px auto; */
}

.buy-box a,
.buy-box a:active,
.buy-box a:hover,
.buy-box a:visited {
  border: 1px solid #fff;
}

.student-card {
  padding: 2%;
  margin: 5px auto;
  background: #fff;
  display: block;
  border-radius: 5px;
  box-shadow: 0 2px 4px 0 rgb(0 0 0 / 16%), 0 2px 10px 0 rgb(0 0 0 / 12%) !important;
  /* text-align: justify; */
}

.student-card img {
  display: block;
  margin: 2% auto 0;
}

.student-card p {
  font-size: 16px;
  line-height: 25px;
  padding: 5%;
}

.testimonial-name h5 {
  text-align: center;
  color: #333;
  font-weight: 500;
  font-size: 16px;
}
@media (min-width: 768px) {
  .info-box {
    min-height: 295px;
    padding: 5px;
  }

}
@media (max-width: 768px) {
  .info-box {
    min-height: inherit;
  }

}

.buy-box-item {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  margin: 5px;
  padding: 2%;
}

.info h2 {
  margin: 10px auto 0;
  font-size: 21px;
}

.info p {
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  padding: 2px;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
  position: absolute;
  /* top: 60%; */
  z-index: 5;
  display: inline-block;
  margin-top: -10px;
}


@media (min-width: 768px) {


  .exam p {
    color: rgb(212 51 102);
    line-height: 20px;
    font-weight: 500;
 font-size: 1em;
    padding: 0;
    margin: 0 5%;
    word-break: keep-all;
}
  #video-sec .previewVideoIframe {
    width: 100%;
    min-height: 480px;
    margin: 0 auto;
    text-align: center;
  }

}
@media (max-width: 768px) {


  .heading p {
    font-size: 18px;
    margin: 1rem auto;
    text-align: justify;
    width: 100%;
}

section ol li, section ul li {
    font-size: 1em;
    text-align: left;
    margin-bottom: 0;
}

.exam p {
    color: rgb(212 51 102);
    line-height: 20px;
    font-weight: 500;
 font-size: 1.2em;
    padding: 0;
    margin: 0 5%;
    word-break: keep-all;
}

  .previewVideoIframe {

    margin: 0 auto;
    text-align: center;
    width: 100%;
    height: 315px;

  }

  .carousel-indicators {
    position: relative;
  }

  .exam-eight {
    padding: 5%;
  }

}

.carousel {
  margin: 2% auto;
}

.item h3 {
  display: block;
  font-size: 32px;
  line-height: 40px;
  margin: 10px auto 20px;
  text-align: center;
}

.exam,
.exam-info {
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12) !important;
  margin: 5px auto;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  min-height: 225px;
}

.exam h3,
.exam-info h3 {
  color: #48474d;
  font-size: 1.4em;
  font-weight: 600;
  margin: 0 auto;
}

.exam .info,
.exam-info .info {
  font-size: 15px;
  line-height: 20px;
  min-height: 70px;
  text-align: left;
}

.info p::before {
  content: '．';
  line-height: 20px;
  text-align: left;
}

.exam a,
.exam-info a {
  border: none;
  font-size: 1em;
}

.exam p,
.exam-info p {
  /* color: rgb(212 51 102); */
  /* line-height: 20px; */
  /* font-weight: 500; */
  /* font-size: 14px; */
  /* padding: 0; */
  /* margin: 0 5%; */
  /* word-break: keep-all; */
}

p {}

.info p {
  color: #333;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
  position: absolute;
  z-index: 5;
  display: inline-block;
  margin-top: -10px;
}

.video-wrapper {
  margin: 2% auto 0;
  text-align: center;
}

blockquote p {
  font-size: 12px;
  text-align: center;
}

.carousel-inner h3 {
  text-align: center;
  font-size: 1.5em;
}

.exam-eight {
  border-radius: 10px;
  background: #fff;
  box-shadow: rgb(89 89 89 / 50%) 0 0 5px 0;
  margin-bottom: 5px;
  text-align: center;
  overflow: hidden;
}

.exam-eight h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0;
}

.eight ul {
  font-size: 16px;
  padding-left: 25px;
  padding-right: 5px;
  min-height: 120px;
}

.eight li {
  line-height: 25px;
}

.my-view img {
  text-align: center;
  margin: 5px auto;
}

#line-all tr th {
  font-size: 1.2em;
}

#line-all td > a > img {
  padding: 10%;
  width: 60px;
}

#line-all tr td {
  font-size: 15px;
  padding: 2px;
}

.bg-light {
  background-color: #fff !important;
}

.bg-sec {
  background-color: #e4efe9 !important;
}

.btn-danger {
  color: #fff;
  background-color: #c46071;
  border-color: #933257;
}

.btn-danger:active,
.btn-danger:hover {
  color: #fff;
  background-color: #d2527b;
  border-color: #c83c71;
  opacity: .8;
}

.hvr-float {
  display: block !important;
}

.time img {
  width: 80px;
}


.btn-success{
      color: #fff;
      background-color: #26908a;
      border-color: #1b6561;
}

.exam .btn-warning{
      color: #fff;
      background-color: #df882b;
      border-color: #b8732a;
}

.student-card .btn-info{
      color: #fff;
      background-color: #53c2ee;
      border-color: #8acbe7;
}

.exam img{
  width: 60px;
}

.card-box a{
  text-align: center;
  /* margin: 2% auto; */
  display: block;
}

.card-box .btn{

display: block;

width: 100px;

margin: 2% auto;
}





/* CTA 按鈕區 */
.action-buttons {
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    gap: 14px;
    margin: 28px auto;
}

/* 共用按鈕 */
.action-buttons .action-btn {
    min-width: 150px;
    height: 46px;

    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;

    padding: 0 24px;

    border: 0;
    border-radius: 50px;

    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;

    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

/* 電話 */
.action-btn-phone {
    background: linear-gradient(135deg, #1689d8 0%, #0873bd 100%);
}

/* LINE */
.action-btn-line {
    background: linear-gradient(135deg, #20c879 0%, #08a95d 100%);
}

/* icon */
.action-buttons .action-btn i {
    font-size: 18px;
    transition: transform .25s ease;
}

/* Hover */
.action-buttons .action-btn:hover,
.action-buttons .action-btn:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
    filter: brightness(1.06);
}

.action-buttons .action-btn:hover i {
    transform: scale(1.15);
}

/* 點擊效果 */
.action-buttons .action-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}

/* 手機 */
@media (max-width: 576px) {
    .action-buttons {
        gap: 10px;
        padding: 0 18px;
    }

    .action-buttons .action-btn {
        flex: 1;
        min-width: 0;
        max-width: 180px;
        height: 44px;
        padding: 0 16px;
        font-size: 15px;
    }
}


.action-buttons .action-btn {
    position: relative;
    overflow: hidden;
    margin: 1%;
}

.action-buttons .action-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.28),
        transparent
    );
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.action-buttons .action-btn:hover::before {
    left: 130%;
}



/* CTA區塊 */
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 25px 0;
}

/* 共用按鈕 */
.cta-buttons .cta-btn {
    min-width: 120px;
    height: 35px;
    padding: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: none !important;
    border-radius: 50px !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
    position: relative;
    overflow: hidden;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
}

/* 立即來電 */
.cta-buttons .cta-phone {
    background: linear-gradient(
        135deg,
        #29a8ef 0%,
        #168bd3 50%,
        #0873ba 100%
    ) !important;
}

/* LINE */
.cta-buttons .cta-line {
    background: linear-gradient(
        135deg,
        #39d98a 0%,
        #19bf6c 50%,
        #08a95a 100%
    ) !important;
}

/* icon */
.cta-buttons .cta-btn i {
    font-size: 18px;
    transition: transform .25s ease;
}

/* hover */
.cta-buttons .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.2);
    filter: brightness(1.06);
}

.cta-buttons .cta-btn:hover i {
    transform: scale(1.15);
}

/* 點擊 */
.cta-buttons .cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

/* 光澤掃過效果 */
.cta-buttons .cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.3),
        transparent
    );

    transform: skewX(-20deg);
    transition: left .55s ease;
}

.cta-buttons .cta-btn:hover::before {
    left: 130%;
}

/* 手機 */
@media (max-width: 576px) {

    .cta-buttons {
        gap: 10px;
        padding: 0 15px;
    }

    .cta-buttons .cta-btn {
        min-width: 140px;
        height: 46px;
        padding: 0 20px;
        font-size: 15px;
    }
}