/* ↓↓↓add bootstrap new style↓↓↓ */

.text-primary {
  color: #007bff !important;
}

.text-secondary {
  color: #6c757d !important;
}

.text-success {
  color: #28a745 !important;
}

.text-danger {
  color: #dc3545 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-info {
  color: #17a2b8 !important;
}

.text-light {
  color: #f8f9fa !important;
}

.text-dark {
  color: #343a40 !important;
}

.text-muted {
  color: #6c757d !important;
}

.text-white {
  color: #fff !important;
}

.text-black-50 {
  color: rgba(0, 0, 0, .5) !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, .5) !important;
}

.border {
  border: 1px solid #dee2e6 !important;
}

.border-primary {
  border-color: #007bff !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

.border-success {
  border-color: #28a745 !important;
}

.border-danger {
  border-color: #dc3545 !important;
}

.border-warning {
  border-color: #ffc107 !important;
}

.border-info {
  border-color: #17a2b8 !important;
}

.border-light {
  border-color: #f8f9fa !important;
}

.border-dark {
  border-color: #343a40 !important;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

.badge-light {
  color: #212529;
  background-color: #f8f9fa;
}

.badge-dark {
  color: #fff;
  background-color: #343a40;
}

.badge-secondary {
  color: #fff;
  background-color: #dadada;
}

.bg-primary {
  background-color: #007bff !important;
}

.bg-secondary {
  background-color: #6c757d !important;
}

.bg-success {
  background-color: #28a745 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.bg-warning {
  background-color: #ffc107 !important;
}

.bg-info {
  background-color: #17a2b8 !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.bg-dark {
  background-color: #343a40 !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-blue {
  background-color: #395d75 !important;
}

.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-radius: .25rem;
  line-height: 2.5em;
}

.alert-primary {
  color: #004085;
  background-color: #cce5ff;
  border-color: #b8daff;
}

.alert-secondary {
  color: #383d41;
  background-color: #e2e3e5;
  border-color: #d6d8db;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.alert-light {
  color: #818182;
  background-color: #fefefe;
  border-color: #fdfdfe;
}

.alert-dark {
  color: #1b1e21;
  background-color: #d6d8d9;
  border-color: #c6c8ca;
}

.card-body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}

.card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.card-img {
  width: 100%;
  border-radius: calc(.25rem - 1px);
}

.card-title {
  margin-bottom: .75rem;
}

/* ↑↑↑add bootstrap new style↑↑↑ */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  padding-top: 160px;
  background-color: #ecf0f1;
  font-family: helvetica, arial, sans-serif;
  font-size: 16px;
  -moz-transition: padding-top 0.5s ease;
  -o-transition: padding-top 0.5s ease;
  -webkit-transition: padding-top 0.5s ease;
  transition: padding-top 0.5s ease;
}

.back-to-top {
  visibility: hidden;
  background-color: rgba(7, 70, 115, 0.8);
  color: #fff;
  width: 42px;
  height: 42px;
  text-align: center;
  line-height: 38px;
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 90;
  cursor: pointer;
  opacity: 0;
  border-radius: 3px;
  -webkit-transform: translateZ(0);
  transition: all .4s;
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
}

.back-to-top:hover {
  background-color: rgba(7, 70, 115, 1);
  color: #fff;
  opacity: 1;
}

.for-page {
  width: 100%;
  height: 160px;
  position: relative;
  position: fixed;
  top: 0;
  overflow: hidden;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.photo-01 {
  background: url(../images/photo-insidepage-01.jpg) no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  height: 120px;
}

.for-page .menu {
  min-height: 40px;
  border-top: 0px solid rgba(255, 255, 255, 0.8);
  border-bottom: 0px solid rgba(5, 8, 53, 0.8);
}

.for-page .menu nav {
  line-height: 40px;
  text-align: right;
}

.for-page .menu nav a {
  padding: 0px 5px;
  font-size: 15px;
}

.for-page .logo {
  width: 300px;
  display: block;
  position: absolute;
  left: 0;
  bottom: 20px;
  margin-left: 0;
  width: 250px;
  z-index: 1000;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .for-page .logo {
    bottom: 0px;
    width: 80px;
  }
  .for-page .logo img {
    width: 80px;
  }
}

.banner {
  background-position-x: center;
  background-position-y: top;
  background-repeat: no-repeat;
  /* height: 550px; */
}

.logo {
  position: absolute;
  left: 50%;
  bottom: 85px;
  margin-left: -100px;
  width: 250px;
  z-index: 1000;
}

/* 頁尾資訊內容 */

.f-info {
  background-color: #395d75;
  color: rgba(255, 255, 255, 0.7);
  font-family: 微軟正黑體;
  padding: 2em 0.5em 0.5em 0.5em;
  font-size: 15px;
}

.f-info nav ul {
  padding-left: 0;
}

.f-info nav ul li {
  display: inline-block;
  list-style-type: none;
  margin: 0 .2em;
}

.f-info nav a {
  color: #fff;
}

.f-info .social-link a {
  margin: 2em 0.5em;
  background-color: #fff;
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: inline-block;
  border: none;
  color: #fff;
  text-align: center;
  position: relative;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.11);
  transition: transform 0.5s ease-in-out;
}

.f-info .social-link a:hover {
  transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg);
}

.f-info .row .col-md-6:nth-child(2) {
  text-align: right;
}

@media (max-width: 767.98px) {
  .f-info {
    text-align: center;
  }
  .f-info .row .col-md-6:nth-child(2) {
    text-align: center;
  }
}

.social-link .modal {
  color: black;
}

.f-copyright {
  background-color: #091e3d;
  padding: 0.5em 0;
  font-size: 13px;
  color: #63AEC7;
}

/* 文字樣式區 */

h2 {
  font-size: 34px;
  text-transform: uppercase;
  font-weight: 100;
  line-height: 2;
  color: #2c3e50;
}

p {
  margin-bottom: 0.5em;
  color: #7f8c8d;
}

.word-A1 {
  font-size: 25px;
  font-family: 微軟正黑體;
}

.word-A2 {
  font-size: 13px;
  line-height: 5px;
  color: #fff;
}

.text-blue {
  color: #395d75;
}

/* 背景樣式 */

.bg-01 {
  background: url(../images/04_bg_01.jpg) no-repeat;
  background-position: top;
  background-size: cover;
  z-index: 1;
  padding: 4em 0;
}

.bg-02 {
  background: url(../images/04_bg_02.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
  padding: 4em 0;
}

.bg-03 {
  background: url(../images/04_bg_03.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 1;
  padding: 4em 0;
}

.bg-inside {
  background: url(../images/bg-inside.png);
  color: #414141;
}

.bg-inside p {
  color: #414141;
}

/* 上頭選單--Sticky Header Style */

/* ---------------------------------------- */

body.sticky-header {
  padding-top: 200px;
}

body.sticky-header header {
  height: 80px;
}

body.sticky-header header h1 {
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -webkit-transform: scale(0, 0);
  transform: scale(0, 0);
}

/* banner設定 */

@media (max-width: 767.98px) {
  body {
    padding-top: 60px;
  }
  .for-page {
    height: 60px;
  }
  .photo-01 {
    height: 60px;
  }
}

/* 手機板的小選單 */

#nav-menu {
  position: fixed;
  top: 0px;
  right: 0;
  z-index: 2;
  background-color: rgba(7, 70, 115, 0.8);
  padding: 0px 20px;
  width: 100%;
}

#nav-menu .btn {
  background-color: transparent;
  color: #fff;
  float: right;
  margin-top: 10px;
}

#nav-menu .btn.focus, #nav-menu .btn:focus {
  outline: 0;
  -webkit-box-shadow: 0 0 0 2px transparent;
  box-shadow: 0 0 0 2px transparent;
}

#nav-menu .dropdown-menu {
  left: inherit;
  right: 0px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 20px;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 200px;
  padding: 5px 0;
  margin: 2px .5em 0 0;
  list-style: none;
}

.dropdown-menu>li>a {
  display: block;
  padding: 3px 20px;
  clear: both;
  line-height: 1.428571429;
  color: #0a2749;
  white-space: nowrap;
  font-size: 20px;
  font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.dropdown-menu>li>a:hover, .dropdown-menu>li>a:focus {
  color: #fff;
  text-decoration: none;
  background-color: #428bca;
}

.dropdown-menu .divider {
  height: 1px;
  margin: 9px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}

/* 電腦/平板大選單 */

.menu {
  position: absolute;
  min-height: 80px;
  bottom: 0;
  width: 100%;
  background-color: rgba(7, 70, 115, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(5, 8, 53, 0.8);
  box-shadow: 0px -5px 10px #00000042;
}

.menu nav {
  text-align: center;
  line-height: 80px;
}

.menu nav a {
  color: #fff;
  display: inline-block;
  padding: 0px 10px;
  line-height: 1;
  text-decoration: none;
  vertical-align: middle;
}

.menu nav a:hover {
  color: yellow;
  text-decoration: none;
}

@media (min-width: 1200px) {
  .menu nav a {
    padding: 0px 25px;
  }
}

@media (max-width: 991.98px) {
  .menu nav a {
    padding: 0px 5px;
  }
}

@media (min-width: 768px) {
  #nav-menu {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  body.sticky-header .for-index {
    height: 60px;
  }
}

#insidepage {
  padding: 2em 0;
}

.title-a {
  font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
  position: relative;
}

.title-a i, .title-a span {
  color: #074574;
}

.title-a i {
  font-size: 50px;
}

.title-a p {
  position: absolute;
  font-size: 30px;
  top: 0px;
  left: 70px;
  color: black;
  font-weight: bolder;
  border-bottom: 2px solid #074574;
}

.title-a span {
  position: absolute;
  font-size: 13px;
  top: 2.8em;
  left: 70px;
  padding-top: 2px;
}

/* 
.consultant-list {
  margin-left: -40px;
  position: relative;
}

.consultant-list li {
  list-style-type: none;
  background-color: #E6E6E6;
  border-left: 5px solid #074574;
  padding:1em;
  color:#074574;
  margin: 1em 0;
  transition: transform 0.2s linear;
}
.consultant-list li span {
  font-family: 微軟正黑體;
  font-size: 20px;
  font-weight: bolder;
  color:#074574;
}
.consultant-list li p {
  margin-bottom: 0;
  font-size:13px;
  color:#074574;
}

.consultant-list li[class="active"] {
  list-style-type: none;
  background-color: #0b63a7;
  padding:1em;
  transition: transform 0.2s linear;
}
.consultant-list li:hover {
  background-color: #8bb7d8;
  transform: translatex(5px);
}
.consultant-list li[class="active"]:hover {
  background-color: #0b63a7;
  transform: translatex(5px);
}
.consultant-list li[class="active"]::after {
  color:#fff;
  content: "»";
  position: absolute;
  right:10px;
  top: 28px;
}
.consultant-list li[class="active"] p , .consultant-list li[class="active"] span {
  color:#fff;
}

.consultant-list a {
  text-decoration:none;
} */

.consultant li {
  list-style: none;
  display: inline-block;
}

.consultant .card {
  margin-bottom: 1em;
}

.consultant .card-body {
  padding: 1em;
  text-overflow: ellipsis;
}

.consultant .title {
  color: #004381;
  font-size: 0.7em;
}

.consultant .title::before {
  content: " / ";
}

.consultant .info {
  height: 4.5em;
  text-overflow: ellipsis;
  overflow: hidden;
  position: relative;
}

.consultant .info::after {
  content: "...　";
  display: inline-block;
  background: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 0 0 1px;
}

.c-list {
  background: #fff;
  padding: 1em;
  margin-bottom: 1em;
}

/* 師資介紹---介紹個人內頁 */

.Teacher .jumbotron {
  padding: 1rem 0.5rem;
  margin-bottom: 1rem;
  background-color: #ffffff;
  border-radius: 1rem;
}

/* .Teacher .alert .btn {
} */

.Teacher .Editor h4.SubTitle {
  font-size: 1.25em;
  font-weight: bold;
  color: #00a0e9;
  line-height: 1.3;
  margin: 1.5em 0;
  padding-left: 12px;
  position: relative;
  left: -13px;
}

.Teacher .Editor h4.SubTitle::before {
  content: "";
  width: 5px;
  background: #00a0e9;
  height: 18px;
  position: absolute;
  left: 0;
  top: 3px;
  z-index: 1;
}

/* 課程清單 */

.course_subject {
  border: solid 3px #074574;
  padding: 1em 0;
  margin-bottom: 1em;
  background-color: #fff;
  min-height: 505px;
  opacity: 1;
  transition: transform 0.2s ease-in-out 0;
}

.course_subject:hover {
  transform: scale(1.025);
  opacity: 0.9;
}

.course_subject img {
  width: 100%;
  margin: 1em 0;
}

.course_subject .course-title {
  font-family: 微軟正黑體;
  font-weight: bolder;
  color: #0a292c;
  font-size: 20px;
}

.course_subject hr {
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 1em;
  margin-right: 1em;
}

.course_subject p {
  margin-bottom: 1em;
}

.course_subject .btn {
  padding: 0.1rem .5rem;
  font-size: 0.8rem;
  border-radius: 0;
}

.course_subject .btn-primary {
  background-color: #074574;
  border-color: #074574;
}

.course_subject .course_outline {
  font-family: 微軟正黑體;
  font-weight: bolder;
  color: #074574;
  font-size: 15px;
  margin-left: 1em;
}

.course_subject ul li {
  list-style-type: square;
}

.course_subject .listnumber {
  margin-left: -1.5em;
  font-size: 13px;
}

.course_subject .listnumber li {
  list-style-type: decimal;
}

.course h4.SubTitle {
  font-size: 1.25em;
  font-weight: bold;
  color: #00a0e9;
  margin: 1em 0 .5em 0;
  padding-left: 12px;
  position: relative;
  left: -13px;
}

/* .course h4.SubTitle::before {
  content: "";
  width: 8px;
  background: #00a0e9;
  height: 8px;
  position: absolute;
  left: 0;
  top: 8px;
  z-index: 1;
  border-radius: 5px;
} */

.course p.Paragraph {
  margin-bottom: 2em;
  line-height: 2em;
}

/* 學院課程_課程介紹頁面 */

.class_banner {
  background-image: url(../images/bg-insidepage-02.jpg);
  height: 350px;
  background-size: cover;
  background-position: center;
}

.class_banner .coverbg {
  background-color: rgba(0, 0, 0, .5);
  width: 100%;
  height: 100%;
}

.class_title {
  color: #fff;
  padding-top: 50px;
  padding-bottom: 25px;
  text-shadow: 4px 4px 4px #000;
  font-weight: 400;
  font-size: 1.8em;
}

.active_info_block {
  margin-top: -200px;
  background: #fff;
  box-shadow: 2px 2px 10px #525252;
}

.active_info_content {
  padding-left: 18px;
  color: #757575;
  font-size: 0.8rem;
}

.price {
  color: #d9534f;
  font-size: 28px;
  font-weight: bolder;
}

.price_nt {
  color: #d9534f;
  font-size: 16px;
}

.offer .price, .offer .price_nt {
  color: #00c2fd;
}

/* .list_number{
  list-style: none; 
  counter-reset: li ;
}
.list_number li::before {
  content: counter(li); 
  display: inline-block; 
  width: 1em;
  margin-left: -1em;
  margin-left: -1.5em;
  margin-right: 0.5em; 
  text-align: right; 
  direction: rtl;
}
.list_number  li {
  counter-increment: li;
} */

.list_number {
  list-style: decimal;
}

/*-----滑鼠游標-------*/

.cursor_zoom-in {
  cursor: zoom-in;
}

/* -----輪播圖 圖片照比例自適應縮放----- */

.carousel-pic .carousel-item {
  height: 400px;
}

.carousel-pic .carousel-item img {
  min-height: 400px;
  max-height: 500px;
  object-fit: cover;
}

.page-events .nav-tabs, .course-info .nav-tabs {
  border-bottom: 0;
}

.page-events .nav-tabs .nav-item, .course-info .nav-tabs .nav-item {
  margin-bottom: -4px;
  margin-left: 5px;
  margin-right: 5px;
}

.page-events .nav-tabs .nav-item .nav-link, .page-events .nav-tabs .nav-link:focus, .page-events .nav-tabs .nav-link:hover, .course-info .nav-tabs .nav-item .nav-link, .course-info .nav-tabs .nav-link:focus, .course-info .nav-tabs .nav-link:hover {
  padding: 1rem 1rem;
  border-color: #dadada #dcdcdc #dcdcdc;
  font-size: 19px;
  color: #757575;
  background: #e7e7e7;
}

.page-events .tab-content, .course-info .tab-content {
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
  background-color: #FFF;
  box-shadow: 0px 5px 7px 0px rgba(0, 0, 0, 0.04);
  margin: 0 5px;
  padding: 10px;
}
.course-info .tab-content #tab01 ,
.course-info .tab-content #tab02 ,
.course-info .tab-content #tab03 ,
.course-info .tab-content #tab05 {
  padding: 1rem;
}
.course-info .tab-content #tab04 {
  padding: 0;
}

.googleform {
  width: 100%;
  min-height: 1050px;
  height: auto;
}

.page-events .nav-tabs .nav-link.active, .course-info .nav-tabs .nav-link.active {
  background: #FFF;
  border-top-width: 5px;
  border-color: #074673cc #faf6fb #FFF;
  color: #074673cc;
}

.page-events .card {
  margin-bottom: 1.5rem;
}

.page-events .card-columns, .course-info .card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 1.25rem;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
}

@media (max-width: 575.98px) {
  .page-events .carousel-item {
    height: 400px;
  }
  .page-events .carousel-item img {
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
  }
  .page-events .card-columns, .course-info .card-columns {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
    -webkit-column-gap: 1rem;
    -moz-column-gap: 1rem;
    column-gap: 1rem;
  }
  .page-events .card-columns .card {
    margin-bottom: 1rem;
  }
  .page-events .tab-content, .course-info .tab-content {
    padding: 1rem;
  }
  .googleform {
    min-height: 1480px;
    height: auto;
  }
}


