/* ↓↓↓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;
}


.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;
}


.btn-light {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}



.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;
}




.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;
}



/* ↑↑↑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: 550px;
  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-index {
  width: 100%;
  height: 550px;
  background-color: #3498db;
  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;
}
.for-index h1 {
  font-size: 42px;
  color: #fff;
  line-height: 230px;
  text-transform: uppercase;
  font-weight: 100;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.for-page {
  width: 100%;
  height: 160px;
  background-color: #3498db;
  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 10px;
}

.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: 2rem;
  line-height: 2;
  color: #7f8c8d;
}
.word-A1{
  font-size:25px;
  font-family:微軟正黑體;
}
.word-A2{
  font-size:13px; 
  line-height:5px;
  color:#fff;
}

/* 背景樣式 */
.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;
}


.bg-blue {
  background-color: #395d75 !important;
}

/* 上頭選單--Sticky Header Style */
/* ---------------------------------------- */
body.sticky-header {
  padding-top: 200px;
}
body.sticky-header header {
  height: 80px;
  background-color: rgba(52, 152, 219, 0.9);
  background-position: center center;
}
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輪播圖設定 */
.swiper-container {
  width: 100%;
  height: 550px;
  max-height: 100%;
  margin-left: auto;
  margin-right: auto;
  background: #eee;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
}
.swiper-slide:nth-child(1) {background-image:url(../images/banner/index_banner_07.jpg);}
.swiper-slide:nth-child(2) {background-image:url(../images/banner/people_01.jpg);}
.swiper-slide:nth-child(3) {background-image:url(../images/banner/index_banner_09.jpg);}
.swiper-slide:nth-child(4) {background-image:url(../images/banner/people_02.jpg);}
.swiper-slide:nth-child(5) {background-image:url(../images/banner/index_banner_08.jpg);}
.swiper-slide:nth-child(6) {background-image:url(../images/banner/people_03.jpg);}


@media (max-width: 767.98px) {
  body {
    padding-top: 280px;
  }
  .for-index {
    height: 280px;
  }
  .for-index .banner {
    margin-top: 60px;
  }
  .bg-01{
    padding: 2em 0;
  }
  .swiper-container{
    height: 220px;
  }
  .swiper-slide:nth-child(1),
  .swiper-slide:nth-child(3),
  .swiper-slide:nth-child(5) {
    background-size:auto 300px;
    background-position-x: center;
    background-position-y: top;
  }
  .swiper-slide:nth-child(2), 
  .swiper-slide:nth-child(4), 
  .swiper-slide:nth-child(6) {
    background-size:auto 250px;
    background-position-x: -140px;
    background-position-y: top;
  }
  

  .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 8px;
  line-height: 1;
  text-decoration: none;
  vertical-align:middle;
}
.menu nav a:hover {
    color:yellow;
    text-decoration:none;
}

.menu .nav-link.disabled {
  color: #b1b1b1;
}

@media (min-width: 1200px) {
  .menu nav a {
    padding: 0px 18px;
  }
}
@media (max-width: 991.98px) {
  .menu nav a {
    padding: 0px 3px;
  }
}

@media (min-width: 768px) {
  #nav-menu {
    display: none !important;
  }

}
@media (max-width: 767.98px) {
  body.sticky-header .for-index {
    height: 60px;
  }
}




/* 首頁服務項目按鈕 */
.btn:not(:disabled):not(.disabled) {
  cursor: pointer;
}
.btn-blue {
  color: #fff;
  background-color: #395D75;
  border-color: #000000af;
  margin: 0.5em 0;
}
.btn-blue:hover {
  color: #fff;
  background-color: #0d2c4d;
  border-color: #000000;

}
.btn:focus, .btn:hover {
    text-decoration: none;
}

@media (max-width: 575.98px) {
  .btn-blue {
    margin: 1em 0;
  }

 }









/* 首頁的課程清單 */
.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;

}



/* History年份歷程 */
ul.step-bar {
  width: 90%;
  position: relative;
  background-size: 25px 25px;
  background-color: #ececec;
  border-radius: 10px;
  height: 10px;
  margin: 80px auto 180px auto;
  padding: 0;

}
ul.step-bar li {
  display: inline-block;
  width: 24%;
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 99999;
  color: #E0E0E0;
}
ul.step-bar li:before {
  background: #ddd;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  left: 45%;
  top: -30px;
  /* line-height: 30px; */
  height: 25px;
  position: absolute;
  text-align: center;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
  width: 25px;
  z-index: 999;
}
ul.step-bar li:nth-child(1):before {
  content: "";
}
ul.step-bar li:nth-child(2):before {
  content: "";
}
ul.step-bar li:nth-child(3):before {
  content: "";
}
ul.step-bar li:nth-child(4):before {
  content: "";
}

ul.step-bar p {
  margin-top: -125px;
  padding-top: 1.5em ;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 30px;
  color: #fff;
}

.step-indicator h2 {
  color:#fff; 
  font-size: 35px;
  font-family: 微軟正黑體;
  text-align: center;
  margin-top:3em;
  font-weight: 700;
}


#progress *, #progress *:after, #progress *:before { margin:0; padding:0; }
#progress { 
  padding: 15px; 
  font-family: Helvetica, sans-serif;
}
#progress .node {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    display:inline-block;
}
#progress .divider {
    height: 60px;
    width: 2px;
    margin-left: 6px;
    margin-top: -10px;
    margin-bottom: -20px;
    line-height: 0;
}
#progress li p {
    display:inline-block;
    margin-left: 10px;
    top:50px;
    color:#fff;
    line-height: 1.2;
}
#progress li {
    list-style: none;
}
.grey { background-color: rgba(201, 201, 201, 1); }

@media (max-width: 575.98px) {
  ul.step-bar p {
    font-size: 13px;
  }

}
 @media (min-width: 768px) {
  body.sticky-header .for-index {
    height: 80px;
  }
}
@media (max-width: 767.98px) {
  .step-indicator h2 {
    font-size: 26px;
  }
}




.carousel-pic .carousel-item {
  height: 400px;
}

.carousel-pic .carousel-item img {
  min-height: 400px;
  max-height: 500px;
  object-fit: cover;
}


.tooltip .tooltip-inner{
  margin: 10px 0;
}

.tooltip .tooltip-inner::before {
  top: 5px;
  left: 50%;
  margin-left: -5px;
  content: "";
  border-width: 0 5px 5px;
  border-bottom-color: #000;
}




html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #eee;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #000;
  margin: 0;
  padding: 0;
}

/* swiper-container {
  width: 100%;
  height: 100%;

}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */
