#top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  background: rgba(0, 158, 150, 0.6);
  width: 50px;
  height: 50px;
  display: block;
  text-decoration: none;
  border-radius: 35px;
  display: none;
  transition: all 0.3s ease; }
  #top img {
    color: #fff;
    margin: 0;
    position: relative;
    left: 11.5px;
    top: 13px;
    font-size: 19px;
    width: 25px;
    transition: all 0.3s ease; }
    #top:hover img {
      top: 11px; }


/* ==== 立即報名 Side Btn ==== */
.sideBtn {
  display: none;
  background-color: #00a19b;
  color: #ffffff;
  width: 96px;
  height: 96px;
  position: fixed;
  z-index: 99999;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  text-decoration: none;
  display: flex;
}
.sideBtn .enroll {
  margin-top: 18px;
  margin-left: 24px;
  text-align: center;
}
.sideBtn  p {
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
}

.header {
  position: fixed;
  z-index: 99999;
  top: 0px; 
  box-shadow: inset lightgrey 0 0 0, 0 1px 1px 0 rgba(0,0,0, 0.05);
}
  .header ul{
    z-index: 5;
  }
.header ul.navbar-nav{
  z-index: 4;
  box-shadow: inset lightgrey 0 0 0, 0 1px 1px 0 rgba(0,0,0, 0.05);
}
.navbar-nav {
  display: flex;
  justify-content: flex-end;
  height: 70px;
  align-items: center; }
  .navbar-nav b {
    color: #848484;
    margin: 0px; }
  .navbar-nav hr {
    display: none;
    border: 0px;
    border-bottom: 1px solid #fff;
    width: 70%;
    margin: 0 auto; }

.nav-link {
  padding: 0px 16px;
  color: #1c1c1c;
  text-decoration: none; 
  font-size: 18px;
}
.nav-link:hover {
  color: #00a19b;
}

.nav-item {
  height: 40px;
  display: flex;
  align-items: center; }

.header ul {
  max-width: 1400px; }

.hamburger {
  display: none;
  cursor: pointer; }

.fancybox-container {
  z-index: 100000; }

.overview {
  background: #00a19b;
  color: #fff;
  padding: 2px;
  border-radius: 4px;
  margin: 0 16px;
}
.overview .nav-link {
  color: #fff;
}
.overview .nav-link a:hover {
  color: #fff;
}
.overview .nav-link:active{
  color: #fff;
}

@media (max-width: 1024px) {
  .nav-link {
    padding: 0px 8px;
    color: #1c1c1c;
    text-decoration: none; 
    font-size: 16px;
  }
  .overview {
    margin-right: 0;
  }
}
@media (max-width: 768px) {
  .sideBtn {
    width: 80px;
    height: 80px;
  }
  .sideBtn .enroll {
    margin-top: 14px;
    margin-left: 21px;
  }
  .sideBtn  p {
    font-size: 20px;
  }
  .header ul {
    width: 100%;
    margin: 0px;
    z-index: 7; }

  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 70px;
    justify-content: center;
    padding-right: 12px; }
    .hamburger .bar {
      width: 26px;
      height: 2px;
      margin: 3.5px;
      background-color: #009e96;
      transition: 0.2s; }
    .hamburger.active .bar:nth-child(1) {
      transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform-origin: left;
      -ms-transform-origin: left;
      -moz-transform-origin: left;
      -webkit-transform-origin: left;
      -o-transform-origin: left;
    }
    
    .hamburger.active .bar:nth-child(2) {
      width: 0%;
      opacity: 0;
      transition: .1s;
    }
    
    .hamburger.active .bar:nth-child(3) {
      transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      transform-origin: left;
      -ms-transform-origin: left;
      -moz-transform-origin: left;
      -webkit-transform-origin: left;
      -o-transform-origin: left;
    }
  .nav-item {
    height: 30px;
    justify-content: center; }
  .navbar-nav {
    visibility: hidden;
    flex-direction: column;
    justify-content: initial;
    align-items: center;
    background-color: #FFF;
    height: auto; }
  .navbar-nav.active {
    visibility: visible;
  }
  .nav-item {
    padding: 10px 0px; } 
  .overview {
    width: 160px;
    margin-bottom: 16px;
  }
}
@media (max-width: 375px) {
  .sideBtn {
    width: 72px;
    height: 72px;
  }
  .sideBtn .enroll {
    margin-top: 13px;
    margin-left: 18px;
  }
  .sideBtn  p {
    font-size: 18px;
  }
}
