body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

  background: #fff;
  color: #111827;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
}

.full_height {
  flex: 1;
}

a {
  color: #111827;
  transition: 0.5s;
}
a:hover,
a:active,
a:focus {
  outline: none;
  text-decoration: none;
}
a:hover {
  color: #2e79ae;
}

button {
  background: transparent;
  border: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: 700;
  margin:0;
  padding: 0;
}

.btn-radius {
  border-radius: 30px;
  padding: 15px 60px;
}

.btn-search {
  color: #111827 !important;
  background-color: #F6F7F9;
  border-bottom: 1px solid #E6E6E6;
  border-top-right-radius: 12px !important;
  border-bottom-right-radius: 12px !important;
}

.btn-search:hover {
  color: #111827 !important;
  background-color: #F6F7F9;
  border-color: #F6F7F9;
}

.border-radius {
  border-radius: 50%;
}

.btn-150 {
  width: 150px;
}

.bg-pay, .bg-pay:hover {
  background: #2e7d32;
  color:#fff;
  padding: 10px 30px;
}

.bg-nopay, .bg-nopay:hover {
  color: #111827;
  padding: 10px 30px;
  border: 1px solid #111827;
}

.text-blue {
  color: #428FC5 !important;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.mt30 {
  margin-top: 30px;
}
.mt72 { 
  margin-top: 72px;
}
.mt112 { 
  margin-top: 112px; /**72+40**/
}
.ml-32 {
  margin-left: 10px !important;
}

@media (min-width: 576px) {
  .ml-md-32 {
    margin-left: 10px !important;
  }
}

@media (max-width: 991px) {
  .mt72 { 
    margin-top: 70px;
  }
  .mt112 { 
    margin-top: 90px; /**70+20**/
  }
}
.mb30 {
  margin-bottom: 30px;
}
.mb10 {
  margin-bottom: 10px;
}
.flexcenter {
  display: flex;
  align-items: center;
  height: 100%;
}
.flexcenter2 {
  display: flex;
  align-items: center;
}
.height100 {
  height: 100%;
}
.top50 {
  position: relative; top: 50%; transform: translateY(-50%);
}
.fonts18 {
  font-size: 18px;
  color: #6B7280;
}
.fonts16 {
  font-size: 16px;
  color: #6B7280;
}
.fonts14 {
  font-size: 14px;
  color: #6B7280;
}
.fonts14 strong {
  color: #111827
}
.fonts12 {
  font-size: 12px;
}
.w600 {
  margin: 0 auto;
  width: 100%;
  max-width: 600px;
}
.lineheight2 {
  line-height: 2;
}
.add_acpadding {
  padding: 24px 48px 48px 48px !important;
}
.hr {
  border-top: 1px solid #E6E6E6;
}
.hr2 {
  border-top: 2px solid #E6E6E6;
}

@media (max-width: 991px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .add_acpadding{
    padding: 24px 24px 24px 24px !important;
  }
}

@media (max-width: 575px) {
  .section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .add_acpadding{
    padding: 24px 12px 12px 12px !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 72px;
  transition: all 0.5s;
  z-index: 997;
  /* padding: 16px 0; */
  background-color: #fff;
  border-bottom: 1px solid #E6E6E6;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
  
  display: flex;
  align-items: center;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/
#intro {
  position: relative;
  width: 100%;
  padding: 80px;
   /**1440x726**/
  /* height: 50.42vw; */
  background: #eee;
  text-align: center;
}

#intro h1 {
  font-size: 60px;
}
#intro p {
  color: #6B7280;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul {
  display: flex;
  height: 100%;
  align-items: center;
}

.main-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #4B5563;
  padding: 0 15px;
  transition: 0.3s;
  font-size: 16px;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: #428FC5;
  text-decoration: none;
}

.main-nav a.btn-radius {
  padding: 10px 30px;
}

.main-nav a .badge {
  color: #fff;
  background-color: #428FC5;
  padding: 3px 5px;
}
.account_img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* .main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% - 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #065e77;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #428FC5;
}

.main-nav .drop-down > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down > a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
} */

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 998;
  overflow-y: auto;
  left: -100%;
  width: 100%;
  padding-top: 18px;
  background: #428FC5;
  transition: 0.4s;
  text-align: center;
}

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

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #fff;
  text-decoration: none;
}
/* 
.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: FontAwesome;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
} */

.mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 999;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  margin: 23px 10px 0 0;
  color: #428FC5;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 997;
  top: 0;
  left: 0;
  position: fixed;
  overflow: hidden;
  display: none;
}

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

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

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}
.mobile-nav .btn-radius {
  border-radius: 0;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header h3 {
  font-size: 36px;
  color: #4B5563;
  text-align: center;
  font-weight: 700;
  position: relative;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: 60px;
  color: #535074;
  width: 50%;
}

/* Section with background
--------------------------------*/

/* .section-bg {
  background: #f5f8fd;
} */

/* About Us Section
--------------------------------*/

#about {
  padding: 80px 0;
}

#about .about-content {
  padding-top: 40px;
}

#about .about-content h2 {
  color: #4B5563;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: 700;
}

#about .about-content h3 {
  color: #696592;
  font-weight: 400;
  font-size: 22px;
  font-style: italic;
}

#about .about-content ul {
  list-style: none;
  padding: 0;
}

#about .about-content ul li {
  padding-bottom: 10px;
}

#about .about-content ul li i {
  font-size: 20px;
  padding-right: 4px;
  color: #428FC5;
}

#about .about-img {
  position: relative;
  margin: 30px 30px 30px 30px;
}

#about .about-img img {
  width: 100%;
  border: 8px solid #fff;
  transition: .5s;
}

#about .about-img img:hover {
  width: 100%;
  -webkit-transform: scale(1.03);
  transform: scale(1.03);
}

#about .about-img::before {
  position: absolute;
  left: -31px;
  top: -30px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background-color: #ebf1fa;
  transition: .5s;
}

#about .about-img::after {
  position: absolute;
  right: -31px;
  bottom: -30px;
  width: 90%;
  height: 92%;
  z-index: -1;
  content: '';
  background-color: #ebf1fa;
  transition: .5s;
}

/* Services Section
--------------------------------*/

#services {
  padding: 60px 0 40px 0;
}

#services .box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 0 10px 40px 10px;
  background: #fff;
  box-shadow: 0 10px 29px 0 rgba(68, 88, 144, 0.1);
  transition: all 0.3s ease-in-out;
  text-align: center;
}

#services .box:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

#services .icon {
  margin: 0 auto 15px auto;
  padding-top: 12px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

#services .icon i {
  font-size: 36px;
  line-height: 1;
}

#services .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

#services .title a {
  color: #111;
}

#services .box:hover .title a {
  color: #428FC5;
}

#services .description {
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 0;
  text-align: left;
}

/* Why Us Section
--------------------------------*/

#why-us {
  padding: 60px 0;
}

#why-us .why-us-content .features {
  margin: 0 0 15px 0;
  padding: 0;
  transition: 0.3s ease-in-out;
}

#why-us .why-us-content .features i {
  font-size: 36px;
  float: left;
}

#why-us .why-us-content .features h4 {
  font-size: 24px;
  font-weight: 600;
  margin-left: 56px;
  color: #4B5563;
  margin-bottom: 5px;
}

#why-us .why-us-content .features p {
  font-size: 16px;
  margin-left: 56px;
  color: #555186;
}

#why-us .counters {
  padding-top: 40px;
}

#why-us .counters span {
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: bold;
  font-size: 48px;
  display: block;
  color: #555186;
}

#why-us .counters p {
  padding: 0;
  margin: 0 0 20px 0;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-size: 14px;
  color: #8a87b6;
}

/* Call To Action Section
--------------------------------*/

#call-to-action {
  background: #2d2b46;
  background-size: cover;
  padding: 40px 0;
}

#call-to-action .cta-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

#call-to-action .cta-text {
  color: #fff;
}

#call-to-action .cta-btn {
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 26px;
  border-radius: 3px;
  transition: 0.5s;
  margin: 10px;
  border: 3px solid #fff;
  color: #fff;
}

#call-to-action .cta-btn:hover {
  background: #428FC5;
  border: 3px solid #428FC5;
}

/* Features Section
--------------------------------*/

#features {
  padding: 80px 0;
}

#features h4 {
  font-weight: 600;
  font-size: 24px;
}

/* Portfolio Section
--------------------------------*/

#portfolio {
  padding: 60px 0;
}

#portfolio #portfolio-flters {
  padding: 0;
  margin: 5px 0 35px 0;
  list-style: none;
  text-align: center;
}

#portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 15px 15px 15px 0;
  display: inline-block;
  padding: 6px 10px;
  font-size: 16px;
  line-height: 20px;
  color: #4B5563;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

#portfolio #portfolio-flters li:hover,
#portfolio #portfolio-flters li.filter-active {
  color: #428FC5;
}

#portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

#portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

#portfolio .portfolio-item .portfolio-wrap {
  overflow: hidden;
  position: relative;
  margin: 0;
}

#portfolio .portfolio-item .portfolio-wrap:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  opacity: 0;
  transition: 0.2s linear;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 {
  font-size: 22px;
  line-height: 1px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 0;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a {
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info h4 a:hover {
  color: #428FC5;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info p {
  padding: 0;
  margin: 0;
  color: #f8fcff;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details {
  display: inline-block;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #428FC5;
  border-radius: 50%;
  margin: 10px 4px 0 4px;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover {
  background: #42c3e8;
}

#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-preview:hover i,
#portfolio .portfolio-item .portfolio-wrap .portfolio-info .link-details:hover i {
  color: #fff;
}

#portfolio .portfolio-item .portfolio-wrap:hover {
  background: #282646;
}

#portfolio .portfolio-item .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* Testimonials Section
--------------------------------*/

#testimonials {
  padding: 60px 0;
}

#testimonials .section-header {
  margin-bottom: 40px;
}

#testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid #fff;
  float: left;
}

#testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
  margin-left: 140px;
}

#testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 15px 0;
  margin-left: 140px;
}

#testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 140px;
}

#testimonials .owl-nav,
#testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#testimonials .owl-dot.active {
  background-color: #428FC5;
}

/* Team Section
--------------------------------*/

#team {
  padding: 60px 0;
}

#team .member {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

#team .member .member-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
  padding: 15px 0;
  background: rgba(29, 28, 41, 0.6);
}

#team .member .member-info-content {
  transition: margin 0.2s;
  height: 40px;
  transition: height 0.4s;
}

#team .member:hover .member-info {
  transition: 0.4s;
}

#team .member:hover .member-info-content {
  height: 80px;
}

#team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
  color: #fff;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #fff;
}

#team .member .social {
  margin-top: 15px;
}

#team .member .social a {
  transition: none;
  color: #fff;
}

#team .member .social a:hover {
  color: #428FC5;
}

#team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/* Clients Section
--------------------------------*/

#clients {
  padding: 60px 0;
}

#clients img {
  max-width: 80%;
  opacity: 0.5;
  transition: 0.3s;
  padding: 15px 0;
}

#clients img:hover {
  opacity: 1;
}

#clients .owl-nav,
#clients .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#clients .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
}

#clients .owl-dot.active {
  background-color: #428FC5;
}

/* Pricing Section
--------------------------------*/

#pricing {
  padding: 80px 0;
}

#pricing .card {
  border: 0;
  border-radius: 0px;
  box-shadow: 0 3px 0px 0 rgba(65, 62, 102, 0.08);
  transition: all .3s ease-in-out;
  padding: 36px 0;
  position: relative;
}

#pricing .card:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 5px;
  background-color: #428FC5;
  transition: 0.5s;
}

#pricing .card:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.08);
}

#pricing .card:hover:after {
  width: 100%;
}

#pricing .card .card-header {
  background-color: white;
  border-bottom: 0px;
  -moz-text-align-last: center;
  text-align-last: center;
}

#pricing .card .card-title {
  margin-bottom: 16px;
  color: #535074;
}

#pricing .card .card-block {
  padding-top: 0;
  text-align: center;
}

#pricing .card .list-group-item {
  border: 0px;
  padding: 6px;
  color: #4B5563;
  font-weight: 300;
}

#pricing .card h3 {
  font-size: 64px;
  margin-bottom: 0px;
  color: #535074;
}

#pricing .card h3 .currency {
  font-size: 30px;
  position: relative;
  font-weight: 400;
  top: -30px;
  letter-spacing: 0px;
}

#pricing .card h3 .period {
  font-size: 16px;
  color: #6c67a3;
  letter-spacing: 0px;
}

#pricing .card .list-group {
  margin-bottom: 15px;
}

#pricing .card .btn {
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  color: #5f5b96;
  border-radius: 0;
  padding: 10px 24px;
  letter-spacing: 1px;
  border-radius: 3px;
  display: inline-block;
  background: #428FC5;
  color: #fff;
}

#pricing .card .btn:hover {
  background: #0a98c0;
}

/* Frequently Asked Questions Section
--------------------------------*/

#faq {
  padding: 60px 0;
  overflow: hidden;
}

#faq #faq-list {
  padding: 0;
  list-style: none;
}

#faq #faq-list li {
  border-bottom: 1px solid #ebebeb;
}

#faq #faq-list a {
  padding: 22px 0;
  display: block;
  position: relative;
  font-family: "Roboto", "Noto Sans TC", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  padding-right: 20px;
}

#faq #faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 20px;
}

#faq #faq-list p {
  margin-bottom: 20px;
}

#faq #faq-list a.collapse {
  color: #428FC5;
}

#faq #faq-list a.collapsed {
  color: #000;
}

#faq #faq-list a.collapsed i::before {
  content: "\f2c7" !important;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  min-width: 320px;
  padding: 48px 0 48px 0;
  font-size: 16px;
  background: #21272A;
  color: #fff;
}
#footer a {
  color: #fff;
}
.copyright {
  color: #6B7280;
  text-align: center;
}
@media (max-width: 575px) {
  #footer,
  #footer .container .text-right {
    text-align: center !important;
  }
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 991px) {
  #call-to-action .cta-btn-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media (min-width: 992px) {
  #intro .intro-info {
    padding-top: 80px;
  }

  #testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #topbar {
    display: none;
  }

  #header {
    height: 70px;
    padding: 15px 0;
  }

  /* #header .logo h1 {
    font-size: 28px;
    padding: 8px 0;
  } */

  #why-us .why-us-content {
    padding-top: 30px;
  }

  #pricing {
    padding-bottom: 30px;
  }

  #pricing .card {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }

  #faq #faq-list a {
    font-size: 18px;
  }

  #faq #faq-list i {
    top: 13px;
  }
}

@media (max-width: 767px) {
  #intro {
    height: auto;
    padding: 80px 0 60px 0;
  }

  #intro .container {
    height: auto !important;
  }

  #intro .intro-img {
    width: 80%;
  }

  #intro .intro-info {
    text-align: center;
    padding-top: 40px;
  }

  #intro .intro-info h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .section-header p {
    width: 100%;
  }

  #testimonials .testimonial-item {
    text-align: center;
  }

  #testimonials .testimonial-item .testimonial-img {
    float: none;
    margin: auto;
  }

  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    margin-left: 0;
  }
}

/*--------------------------------------------------------------
# nav-tabs
--------------------------------------------------------------*/
.nav-tabs {
  border-bottom: 1px solid transparent;
  /* margin-bottom: 15px;
  margin-top: 15px; */
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.nav-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: #6B7280;
}

.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  border-color: transparent;
  color: #428FC5;
}

.nav-tabs .nav-link.disabled {
  color: #6c757d;
  background-color: transparent;
  border-color: transparent;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  position: relative;
  color: #428FC5;
  background-color: #fff;
  border-color: transparent;
}

.nav-tabs .nav-link.active::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  height: 4px;
  width: 100%;
  background-color: #428FC5;
}

/*--------------------------------------------------------------
# card
--------------------------------------------------------------*/
.card {
  border-radius: 12px;
}
.card h5 {
  font-size: 18px;
}

.card .list-unstyled {
  margin-top: 10px;
  color:#111827;
  line-height: 1.5;
}
.card .list-unstyled i {
  display: inline-block;
  width: 20px;
  margin-right: 5px;
  text-align: center;
  color:#b6b6b6 !important;
}
.card-img {
  border-radius: 11px;
}
.card-img-top {
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

.check_li {
  padding-left: 0;
  list-style: none;
}
.check_li i {
  width: 25px;
  color: #428FC5;
}


/*--------------------------------------------------------------
# login
--------------------------------------------------------------*/
.background-radial-gradient {
  background: url('/assets/img/login_bg.jpg') #EEEFF1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left -342px bottom 0px;
  width:100%;
  overflow:hidden;
}
.bg-glass {
  background-color: #FFFFFF !important;
}
.bg-cancel {
  background: #f6f7f9;
  padding: 30px;
  border-radius: 12px;
  margin: 20px auto 20px auto;
}
.bg-rating {
  background: rgba(246, 247, 249, 1);
  color: rgba(17, 24, 39, 1);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(230, 230, 230, 1);
}
@media (max-width: 767px) {
  .background-radial-gradient {
    background-position: center center;
  }
}

/*--------------------------------------------------------------
# product
--------------------------------------------------------------*/
.product_list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  padding:0;
}
.product_list li {
  text-align: left;
  width: calc(20% - 20px);
  margin: 0 10px 20px 10px;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.product_list li img {
  width: 100%;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}
.product_list li h6 {
  margin: 20px 15px 10px 15px;
  min-height: 72px; /* 增加高度以容納3行文字 */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 允許顯示3行 */
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: break-word; /* 使用 break-word 更好的斷字 */
  flex-shrink: 0;
  line-height: 1.5;
  font-size: 14px;
}
.product_list li span {
  display: block;
  margin: 0px 15px 20px 15px;
}
.product_list li span::before {
  position: relative;
  content: "";
  padding-right: 0px;
}

/* 商品價格區塊 - 固定高度對齊 */
.product_list .price-section {
  padding: 0 15px 20px 15px;
  height: 50px; /* 固定高度確保對齊 */
  display: flex;
  align-items: center;
}

/* 價格行 - 售價左、原價右 */
.product_list .price-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline; /* 使用 baseline 確保文字底部對齊 */
}

/* 售價 - 置左 */
.product_list .price-current {
  font-size: 18px;
  font-weight: 600;
  color: #e74c3c;
  line-height: 1;
}

/* 原價 - 置右 */
.product_list .price-original {
  font-size: 18px; /* 改為與售價相同大小 */
  color: #999;
  text-decoration: line-through;
  line-height: 1;
}

.product_list2 {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.product_list2 li {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .product_list2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  .product_list li {
    width: calc(33.333333% - 20px);
    display: flex;
    flex-direction: column;
  }
  .product_list2 li {
    width: calc(50% - 20px);
  }
  
  /* 平板尺寸價格顯示調整 */
  .product_list li h6 {
    min-height: 65px; /* 增加高度以容納3行 */
  }
  
  .product_list .price-section {
    height: 45px;
  }
  
  .product_list .price-current {
    font-size: 16px;
  }
  
  .product_list .price-original {
    font-size: 16px; /* 相同大小 */
  }
}
@media (max-width: 575px) {
  .product_list li {
    width: calc(50% - 10px);
    margin: 0 5px 10px 5px;
    display: flex;
    flex-direction: column;
  }
  
  /* 手機尺寸價格文字大小調整 */
  .product_list li h6 {
    margin: 15px 10px 8px 10px;
    font-size: 13px;
    min-height: 60px; /* 增加高度以容納3行 */
    -webkit-line-clamp: 2;
  }
  
  .product_list .price-section {
    padding: 0 10px 15px 10px;
    height: 40px;
  }
  
  .product_list .price-current {
    font-size: 14px;
  }
  
  .product_list .price-original {
    font-size: 14px; /* 相同大小 */
  }

  .see_all {
    display: block;
    width: 100%;
    border: 1px solid #eee;
    margin-top: 10px;
    padding: 6px 10px;
    text-align: center;
    border-radius: 30px;
  }
}

.sub_type  {
	display: flex;
  margin: 5px 0 10px 0;
}
.item {
  margin: 5px 0 10px 0;
}
.item span {
  color: #6B7280;
  font-size: 14px;
}
.btnCustom {
  margin: 5px 0 0 0;
	padding: 5px 10px;
	border-radius: 30px;
  border: 1px solid rgba(66, 143, 197 , .2);
	color: #111827;
}

/* 分類圖片樣式 */
.category-icon {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
}
.btnCustom2 {
  font-size: 13px;
  border-radius: 5px;
  border: 1px solid #F6F7F9;
  background-color: #F6F7F9;
	color: #000;
}
.btnCustom2:not(:first-child) {
  margin-left: 10px;
}
.btnCustom.active {
	background: #428FC5;
	color:#fff;
	outline: none;
	box-shadow: none;
}

.product_price {
  background: #F6F7F9;
  padding: 10px 12px;
  margin-top: 5px;
  margin-bottom: 15px;
}
.product_price span {
  font-size: 24px;
  color: #428FC5;
  font-weight: 500;
}
.product_price span::before {
  position: relative;
  content: "$";
  padding-right: 5px;
}
.ori_price {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  text-decoration: line-through;
}
.spec_price {
  font-size: 48px;
  font-weight: 700;
  color: #111827;
}
.qty {
  display: inline-flex;
  border: 1px solid #6B7280;
  /* padding: 0.375rem 0.75rem; */
  padding: 5px 10px;
  border-radius: 10px;
  vertical-align: middle;
}
.qty input {
  max-width: 50px;
  text-align: center;
  border: none;
}
.btn-minus,
.btn-plus {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.product_info {
  list-style: none;
  margin:0;
  padding:0;
}
.product_info li:first-child {
  font-weight: 700;
}
@media (max-width: 575px) {
  .qty {
    width: 100%;
  }
  .qty input {
    max-width: 100%;
    width: 100%;
  }
  .btn-minus,
  .btn-plus {
    width: 30px !important;
  }
  .product_add button {
    display: block;
    width: 100%;
  }
}

.product_tag {
  list-style: none;
  margin:0;
  padding:0;
  margin-bottom: 15px;
}
.product_tag li {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(66, 143, 197, 0.2);
  color: #111827;
}


/*--------------------------------------------------------------
# cart
--------------------------------------------------------------*/
.cart_frame {
  margin: 10px auto;
  padding: 12px;
  border: 1px solid #E6E6E6;
  border-radius: 12px;
  color: #111827;
}
.cart_frame .custom-radio {
  color: #4B5563;
}
.cart_frameline {
  border-left: 2px solid #D9D9D9;
  padding-left: 10px;
}

.cart_list {
  height: 60px;
  font-size: 14px !important;
  color: #111827 !important;
}
.cart_list img {
  width: 60px;
  height: 60px;
}
.cart_list:first-child {
  margin-top: 10px;
}
.cart_list:last-child {
  margin-bottom: 10px;
}
.cart_list:not(:first-child) {
  margin-top: 20px;
}
.cart_list:not(:last-child) {
  margin-bottom: 20px;
}
.cart_list .media-body span {
  display: block;
}
.cart_name {
  font-weight: 400;
  font-size: 14px;
  height: 18px;
  line-height: 18px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
  word-break: break-all;
}
.cart_price::before {
  position: relative;
  content: "$";
  padding-right: 5px;
}
.cart_price {
  font-weight: 600;
}
.cart_color {
  display: block;
  color: #6B7280;
  font-size: 12px;
}
.order_ing {
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(66, 143, 197, 0.2);
  color: #111827;
}
.order_statusok {
  padding: 8px 12px;
  border-radius: 4px;
  background-color: rgba(230, 230, 230, .8);
  color: #111827;
}
@media (max-width: 575.98px) {
  .cart_list {
    height: auto;
  }
  .cart_list2 img {
    width: 100%;
    height: 100%;
  }
  
}

/*--------------------------------------------------------------
# page num
--------------------------------------------------------------*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.pagination ul li {
  display: flex;
}
.pagination ul li a {
  color: #2A2F3B;
  padding: 5px 12px;
}
.pagination ul li a:hover {
  color:#428FC5;
}
.pagination ul li a.active,
.pagination ul li a:hover.active {
  color:#428FC5;
  font-weight: 700;
  cursor: default;
}
.pagination ul li a.disabled,
.pagination ul li a:hover.disabled {
  color:rgba(17, 24, 39, .2);
  font-weight: 700;
  cursor: default;
}

/*--------------------------------------------------------------
# member
--------------------------------------------------------------*/
.member_left {
  list-style: none;
}
.member_left li:not(:last-child) {
  border-bottom: 1px solid #D9D9D9;
  padding-bottom: 12px;
}
.member_left li:not(:first-child) {
  padding-top: 12px;
}
.member_left li ul {
  margin: 10px 0;
  padding:0;
}
.member_left li ul li::before {
  content:"-";
  padding-right: 5px;
}
.member_left li ul li {
  list-style: none;
  border-bottom: none !important;
  padding-bottom: 0px !important;
  padding-left: 20px;
}
.member_blank {
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.preview {
	display: block;
	width: 100px;
	height: 100px;
	margin: 20px 0;
	border-radius: 50%;
}

.page_title::before {
  position: relative;
  content: "";
  background: url(../img/arrow_left.png) no-repeat left center;
  width: 20px;
  height: 20px;
  padding-right: 30px;
}
.page_title {
  font-size: 24px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .preview {
    margin: 20px auto;
  }
}

/*--------------------------------------------------------------
# carousel
--------------------------------------------------------------*/
.ad_gallery {
  min-width: 320px;
  position: relative;
  overflow: hidden;
}

/* 強制輪播動畫生效 */
.carousel-item {
  transition: transform 0.6s ease-in-out !important;
}

/* 確保輪播控制按鈕可見 */
.carousel-control-prev,
.carousel-control-next {
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 0.5;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 0.9 !important;
}

/* 輪播指示器樣式優化 */
.carousel-indicators {
  margin-bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.7);
  width: 40px;
  height: 4px;
  margin: 0 5px;
  border-radius: 2px;
  border: none;
}

.carousel-indicators .active {
  background-color: #fff;
}

/* 響應式圖片 */
.ad_gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.check {
  display: block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.check input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.checkmark {
  position: absolute;
  top: 3px;
  left: 0;
  height: 17px;
  width: 17px;
  background-color: #fff;
  border: 1px solid #4B5563;
  border-radius: 3px; transition: 0.5s;
}
.checkmark2 {
  top: -5px;
}
.check:hover input ~ .checkmark {
  background-color: #4B5563;
}
.check input:checked ~ .checkmark {
  background-color: #4B5563;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.check input:checked ~ .checkmark:after {
  display: block;
}
.check .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 1px 1px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}


/*--------------------------------------------------------------
# space member
--------------------------------------------------------------*/
.qrcode {
  display: block;
  text-align: center;
  margin: 40px auto;
  max-width: 190px;
}
.holdac_list {
  border-bottom: 1px solid #D9D9D9;
  margin-top: 20px;
  margin-bottom: 10px;
}
.holdac_list .media {
  height: 116px;
}
.holdac_list .media .media-body span {
  display: block;
  color: #6B7280;
}
.holdac_list .media .fa-ellipsis-v {
  width: 30px;
}
@media (max-width: 575.98px) {
  .holdac_list .media {
    height: auto;
    margin-bottom: 20px;
  }
}

.acstatus_list {
  margin-top: 10px;
  margin-bottom: 10px;

  background:rgba(246, 247, 249, 1);
  border-radius: 12px;
}
.acstatus_list .media {
  height: 80px;
}
.acstatus_list .media .media-body span {
  display: block;
  color: #6B7280;
}
.acstatus_list .media .fa-ellipsis-v {
  width: 30px;
}
@media (max-width: 575.98px) {
  .acstatus_list .media {
    height: auto;
    margin-bottom: 20px;
    padding: 10px;
  }
}

.comment_form form textarea, textarea {
	width: 100%;
	color: #000;
	padding-left: 20px;
	padding-top: 12px;
	height: 110px;
	
	resize: none;

  background-color: rgba(246, 247, 249, 1);
  border: 1px solid rgba(230, 230, 230, 1);
  border-radius: 12px;
}
/* .comment_form form textarea:focus, textarea:focus {
	color: #495057;
	background-color: #fff;
	border-color: #80bdff;
	outline: 0;
	border:1px solid #88cccb;
} */


.tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-bottom: 1px solid rgba(230, 230, 230, 1);
  border-radius: 12px;
  min-height: 56px;
  background-color: rgba(246, 247, 249, 1);
}

.tag {
  display: inline-flex;
  align-items: center;
  background-color: rgba(66, 143, 197, 0.2);
  color: rgba(17, 24, 39, 1);
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
}

/* .tag button {
  background: none;
  border: none;
  color: white;
  margin-left: 6px;
  cursor: pointer;
  font-weight: bold;
} */

#tagInput {
  border: none;
  outline: none;
  background: rgba(246, 247, 249, 1);
  flex: 1;
  min-width: 100px;
  font-size: 14px;
}

#preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.custom-file-upload {
  display: inline-block;
  width: 150px;
  height: 150px;
  line-height: 150px;
  text-align: center;
  border-bottom: 1px solid rgba(230, 230, 230, 1);
  border-radius: 12px;
  font-size: 24px;
  color: rgba(17, 24, 39, 1);
  cursor: pointer;
  background-color: rgba(246, 247, 249, 1);
  overflow: hidden;
}
#preview input[type="file"] {
  display: none;
}
.preview-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
}

/*--------------------------------------------------------------
# Style Star Rating Widget
--------------------------------------------------------------*/
.rating_click { 
	border: none;
	float: left;
}
.rating_click > input {
  display: none;
} 
.rating_click > label:before { 
	/* margin: 0 5px; */
	font-size: 24px;
  line-height: 1;
	font-family: FontAwesome;
	display: inline-block;
	content: "\f005";
}
  
.rating_click > .half:before { 
	content: "\f089";
	position: absolute;
}
  
.rating_click > label {
	color: #b7b7b7;
  float: right;
	cursor: pointer;
}

/***** CSS Magic to Highlight Stars on Hover *****/
.rating_click > input:checked ~ label, /* show gold star when clicked */
.rating_click:not(:checked) > label:hover, /* hover current star */
.rating_click:not(:checked) > label:hover ~ label {
  color: rgba(66, 143, 197, 1);
} /* hover previous stars in list */
  
.rating_click > input:checked + label:hover, /* hover current star when changing rating */
.rating_click > input:checked ~ label:hover,
.rating_click > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating_click > input:checked ~ label:hover ~ label {
  color: rgba(66, 143, 197, 1);
}

.ratings {
  position: relative;
  display: inline-block;
  color: #b7b7b7;
  margin-bottom: 8px;
}
.full-stars {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  overflow: hidden;
  color: rgba(66, 143, 197, 1);
}
.empty-stars:before,
.full-stars:before {
  padding-top: -30px;
  font-family: FontAwesome;
  content:"\f005\f005\f005\f005\f005";
  font-size: 24px;
  line-height: 1;
}
.empty-stars:before {
  -webkit-text-stroke: 0px #b7b7b7;
}
.full-stars:before {
  -webkit-text-stroke: 0px rgba(66, 143, 197, 1);
}
/* Webkit-text-stroke is not supported on firefox or IE */
/* Firefox */
@-moz-document url-prefix() {
  .full-stars {
      color: rgba(66, 143, 197, 1);
  }
}
/* IE */
<!--[if IE]> .full-stars {
  color: rgba(66, 143, 197, 1);
}
<![endif]-->

/* Cart Badge Animations */
.cart-count-badge {
  position: absolute;
  top: -8px;
  right: -12px;
  background: #ff4444;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  transition: all 0.3s ease;
}

.cart-updated {
  animation: cartBounce 0.3s ease;
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

.cart-pulse {
  animation: cartPulse 0.3s ease;
}

@keyframes cartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.flying-cart {
  pointer-events: none;
  transition: none !important;
}

/* Ensure cart icon container is positioned */
.main-nav ul li {
  position: relative;
}

.fa-shopping-cart {
  position: relative;
  font-size: 1.5em;
}