/*
  Theme Name: NewBiz
  Theme URL: https://bootstrapmade.com/newbiz-bootstrap-business-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+TC');
body {
  background: #fff;
  color: #444;
  font-family: 'Noto Sans TC', sans-serif;

}

.padding-y{
  padding: 3rem 0;
}

.padding-t{
  padding-top: 3rem 0;
}

.bg-2867{
  background-color: #002867;
}

a {
  color: #007bff;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #0b6bd3;
  outline: none;
  text-decoration: none;
}


/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
} */

.text-center{
  text-align: center;
}

.taxt1{
  font-size: 36px;
  color: #283d50;
  font-weight: 500;
}

.taxt3{
  font-size: 20px;
  color: #556877;
}

.taxt2{
  font-size: 25px;
  color: #283d50;
  font-weight: 500;
}


/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #007bff;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}




.linefd-btn{
  position: fixed;
  display: none;
  background-image: url(../img/round-default-large.png);
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 70px;
  z-index: 11;
}









/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 20px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled,
#header.header-pages {
  height: 60px;
  padding: 10px 0;
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #00366f;
  text-decoration: none;
}

#header .logo img {
  width: 135px;
  float: left;
}



.main-pages {
  margin-top: 60px;
}

.navline{
  position: absolute;
  bottom: 20px;
  left: -10px
}
.navline img{
  width: 30px;
  height: auto;
}




/*--------------------------------------------------------------
# section1 Section
--------------------------------------------------------------*/

#section1 {
  width: 100%;
  height: auto;
  padding: 60px 0 0 0;
  /* min-height: 216px;
  position: relative;
  background: url("../img/banner-1920x714.jpg") center no-repeat;
  background-size: cover;
  top: 60px; */
}

#section1 .banner2{
  display: none;
}

#section1 .banner3{
  display: none;
}









/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */

.main-nav {
  /* Drop Down */
  /* Deep Drop Down */
}

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

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

.main-nav a {
  display: block;
  position: relative;
  color: #004289;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

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

.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: 13px;
  color: #004289;
}

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

.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: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: rgba(19, 39, 57, 0.8);
  transition: 0.4s;
}

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

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

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #74b5fc;
  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: 9998;
  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: 18px 18px 0 0;
  color: #004289;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(19, 39, 57, 0.8);
  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;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section{
  padding-top: 50px;
}










/* section2
--------------------------------*/


#section2 .heading .heading-inner  {
  margin-bottom: 3rem
}

#section2 .heading .taxt1{
  color: #00366f;
}

#section2 .heading  span{
  font-size: 36px;
  padding: 0.2rem 0.8rem;
  margin: 0.5rem;
  color: #00366f;
  border: #00458f 2px solid;
  border-radius: 150px;
}

#section2 .heading  span:hover{
  color: #ffffff;
  background-color: #00458f;
}













/* section3
--------------------------------*/



  .introimg{
    margin-bottom: 3rem;
  }

  .introimg1{
    display: block;
  }

  .introimg2{
    display: none;
  }

  .introimg3{
    display: none;
  }







/* section4
--------------------------------*/
#section4 {
  background: url("../img/secbg.jpg") center bottom no-repeat;
  background-size: cover;
}

.box{
  display: inline-block;
  padding: 1rem 3rem;
  border: #ffc107 1px solid;
  border-radius: 20px;
  margin: 1rem 0;

}





/* section5
--------------------------------*/

/* #section5{
  padding: 80px 0;
} */

#section5 .box{
  display: inline-block;
  padding: 1rem 3rem;
  border: #ffc107 1px solid;
  border-radius: 20px;
  margin: 1rem 3rem;
}

.arrow_box {
  position: relative;
  background: #ffffff;
  border: 1px solid #caeaff;
  border-radius: 20px;
}

.arrow_box:after,
.arrow_box:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;.
}

.arrow_box:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffff;
  border-width: 20px;
  margin-left: -20px;
}

.arrow_box:before {
  border-color: rgba(202, 234, 255, 0);
  border-top-color: #caeaff;
  border-width: 21px;
  margin-left: -21px;
}

#section5 .card-body img{
  width: 300px;

}


/* -------------------------------------------------------- */


.popovers{
  position: fixed;
  right: 20px;
  bottom: 85px;
  z-index: 11;
  display: none;
}

.popovers-move {
    -webkit-animation: mover 0.25s infinite  alternate;
    animation: mover 0.25s infinite  alternate;
}
.popovers-move {
    -webkit-animation: mover 0.25s infinite  alternate;
    animation: mover 0.25s infinite  alternate;
}
@-webkit-keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}
@keyframes mover {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.popovers .arrow_box {
  position: relative;
  background: #ffffffcc;
  border: 1px solid #136499;
  border-radius: 5px;
  width: 35px;

}

.popovers .arrow_box p{
  font-size: 0.9rem;
  display: inline-block;
  padding: 0.5rem;
  margin: 0;
}

.popovers .arrow_box:after,
.popovers .arrow_box:before {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.popovers .arrow_box:after {
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffffcc;
  border-width: 10px;
  margin-left: -10px;
}

.popovers .arrow_box:before {
  border-color: rgba(202, 234, 255, 0);
  border-top-color: #136499;
  border-width: 11px;
  margin-left: -11px;
}








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

@media (min-width: 992px) {
  #testimonials .testimonial-item p {
    width: 80%;
  }

    .navline{
display: none;
}

}

@media (max-width: 991px) {
  #header {
    height: 60px;
    padding: 10px 0;
  }

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

  #header .logo img {
  width: 125px;
  }

  #why-us .card {
    margin: 0;
  }

  #section1 .banner1{
    display: none;
  }
  #section1 .banner2{
    display: block;
  }
  #section1 .banner3{
    display: none;
  }

  .introimg1{
    display: none;
  }

  .introimg2{
    display: block;
  }

  .introimg3{
    display: none;
  }









}

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

  .taxt1{
  font-size: 30px;
}

.taxt3{
  font-size: 18px;

}

.taxt2{
  font-size: 20px;
}

.padding-y{
  padding: 2rem 0;
}

.padding-t{
  padding-top: 2rem 0;
}





}



@media (max-width: 767px) {

  .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;
  }

  .introimg{
    margin-bottom: 1rem;
  }

  #section5 .card-body img{
  width: 180px;

}




}

@media (max-width: 574px){

  #section1 .banner1{
    display: none;
  }
  #section1 .banner2{
    display: none;
  }
  #section1 .banner3{
    display: block;
  }

  #section2 .heading .heading-inner  {
  margin-bottom: 1rem;
}

  .introimg1{
    display: none;
  }

  .introimg2{
    display: none;
  }

  .introimg3{
    display: block;
  }

  .taxt1{
    font-size: 23px;

  }

  .taxt3{
    font-size: 16px;

  }

  .taxt2{
    font-size: 18px;
  }

  #section5 .box{
    padding: 0.5rem 1.5rem;
    border: #ffc107 1px solid;
    border-radius: 10px;
    margin: 0.5rem 0;
}

#section2 .heading  span{
    font-size: 28px;
    padding: 0.2rem 0.6rem;
    margin: 0.3rem;
    border: 1px solid;
}

.padding-y{
  padding: 1.5rem 0;
}

.padding-t{
  padding-top: 1.5rem 0;
}


  
  
}