/**
* Template Name: iPortfolio - v3.8.1
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #272829;
}

h1,
h2,
h3,
h5,
h6 {
  font-family: "Raleway", sans-serif;
}

h4{
  background-color:#abc2f1;  /* 背景顏色  */
  color:brown;   /* 文字的顏色  */
  text-shadow:3px 3px 3px black;    /* 文字的陰影  */
  text-align: left;  /* 文字靠左 */
}

p{
  font-size: 22px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #149ddd;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2eafec;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  position: fixed; 
  top: 0;
  left: 0;
  bottom: 0;
  width: 300px;
  /* transition: all ease-in-out 0.5s; */
  /* z-index: 9997;  */
  /* transition: all 0.5s; */
  padding: 0 5px;
  background: #040b14;
  color:white;
  overflow-y: auto;
  font-size: 24px;
}

#header .profile img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid #2c2f3f;
}

#header .profile h1 {
  font-size: 24px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  -moz-text-align-last: center;
  text-align-last: center;
  font-family: "Poppins", sans-serif;
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .profile .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #212431;
  color: white;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  /*  height: 36px;   */
  transition: 0.3s;
}

#header .profile .social-links a:hover {
  /*  background: #149ddd;  */
  color: white;
  text-decoration: none;
}

#main {
  margin-left: 300px;
}

@media (max-width: 1199px) {
  #header {
    left: -300px;
  }

  #main {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding: 30px 0 0 0;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 0px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 18px;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
  padding-right: 8px;
  color: #6f7180;
}


.nav-menu .active,
.nav-menu .active:focus {
  text-decoration: none;
  color: #149ddd;
}

.nav-menu a:hover,
.nav-menu a:hover i,
.nav-menu li:hover>a i 
.nav-menu li:hover>a{
  color: red;
}

.nav-menu .active i,
.nav-menu .active:focus i{
  color: #149ddd;
}

ul{
  list-style-type: none;   /* 移除導覽列的前置符號 */ 
  padding: 10px 10px 10px 10px;   /* 上左 距離 */
  /* margin: 30px 10px 20px 10px;  */
}

a {
  color: rgb(204, 204, 160);
  font-size: 22px;
  text-decoration: none;
  
}

a:hover{
  color:red;
}


/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  background-color: #149ddd;
  color: #fff;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50px;
  cursor: pointer;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}


/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background:url(bv10234.jpg) top center;   /* 背景圖片 置中 fixed使圖片不會動 */
  background-size: cover;   /* 涵蓋整張圖片  */
  margin:0px;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
.facts {
  padding-bottom: 30px;
}

.facts .count-box {
  padding: 30px;
  width: 100%;
}

.facts .count-box i {
  display: block;
  font-size: 44px;
  color: #149ddd;
  float: left;
  line-height: 0;
}

.facts .count-box span {
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  color: #050d18;
  margin-left: 60px;
}

.facts .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #122f57;
}

.facts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #122f57;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.facts .count-box a:hover {
  color: #1f5297;
}

.facts p{
  font-size: 22px;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #050d18;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #149ddd;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  padding: 15px;
  color: #f4f6fd;
  font-size: 14px;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 300px;
  z-index: 9999;
  background: #040b14;
}

#footer .copyright {
  text-align: center;
}

#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #eaebf0;
}

@media (max-width: 1199px) {
  #footer {
    position: static;
    width: auto;
    padding-right: 20px 15px;
  }
}

.panel-title{
  margin-top:0;margin-bottom:0;font-size:16px;color:inherit;
}

panel{
  margin-bottom:20px;background-color:#fff; 
  border:1px solid transparent;
  border-radius:4px;
  -webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);
  box-shadow:0 1px 1px rgba(0,0,0,.05);
}
.panel-body{
  padding:15px;
}

.panel-heading{
  padding:10px 15px;
  border-bottom:1px solid transparent;
  border-top-left-radius:3px;
  border-top-right-radius:3px;
}

.panel-title{
  margin-top:0;
  margin-bottom:0;
  font-size:16px;
  color:white;
}

.panel- {
  padding:10px 15px;
  background-color:#f5f5f5;
  border-top:1px solid #ddd;
  border-bottom-right-radius:3px;
  border-bottom-left-radius:3px;
  }


.profile li a:link{
  color:yellow;  /* 文字顏色  */
  /* text-decoration: none;  /* 超連結字 不會有底線 */ 
  font-size: 16px;
  }

.profile li a:hover{   /* 游標停留時變的顏色 */
  color:white;
  background-color:red;  /* 超連結字加框 外表像按鈕 框的顏色 */
  /*  transition: 1.5s; */ /* 變色時間拉長 */  
  }

/* 手機版樣式 */
@media (max-width: 768px) {
  /* 設定字體大小 */
  body {
    font-size: 18px;
  }
}

/* 平板版樣式 */
@media (min-width: 768px) and (max-width: 1024px) {
  /* 設定字體大小 */
  body {
    font-size: 20px;
  }
}



