.home-title a {
  color: #003e80;
  font-weight: bold;
}

.home-title a:hover {
  text-decoration: underline;
}
#bim-cate .home-title{
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}
#bim-cate .home-title img{
  margin-right: 10px;
}
#bim-cate .home-title a h2{
  font-size: 28px!important;
  color: #000;
  font-weight: bold;
}
.home-title a span{
  color: #454545;
  font-weight: 400;
  font-size: 16px;
}
#bim-cate{
  padding: 2rem 0;
}
#bim-cate .row{
  position: relative;
}

/*******************
banner輪播
******************/
section.banner{
  /* background-color: #fcfcfc; */
}

.swiper {
  width: 100%;
  height: auto;
  padding-bottom: 2rem;
}

.swiper-scrollbar {
  display: none;
}

.banner button.btn-default {
  background-color: #114780;
  border-color: #114780;
  padding: 10px 24px;
  color: #fff;
  width: 70%;
  height: auto;
  border-radius: 5px;
}
.banner .swiper-slide {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
  background-color: #f7f7f7;
}
.slide-content{
  padding: 3%;
}
.banner .swiper-slide a{
  display: block;
  text-align: center;
}
.banner .swiper-slide .pc{
  display: block;
}
.banner .swiper-slide .mb{
  display: none;
}
@media(max-width:992px){
  .banner .swiper-slide .pc{
    display: none;
  }
  .banner .swiper-slide .mb{
    display: block;
  }
}
.banner .swiper-pagination {
  position: absolute;
  bottom: 0% !important;
  left: 50% !important;
  transform: translate(-50%) !important;
  width: auto !important;
  margin: 0;
  display: flex;

}

.banner .swiper-pagination-bullet {
  align-items: center;
  padding: 0px 10px;
  border-radius: 0;
  width: 10px;
  height: 1px;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
  color: #114780;
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
}

.banner .swiper-pagination-bullet-active {
  color: #114780;
  background: transparent;
  border-bottom: 3px solid #114780;
  width: 20px;
  height: 3px;
}

.banner .swiper-button-next,
.banner .swiper-button-prev {
  color: #4d4d4d;
}
.banner-title,.banner-content,.banner-button{
  text-align: center;
}
.banner-title{
  font-weight: 600;
}
.banner .swiper-slide .row div{
  text-align: center;
  position: relative;
}
.banner .swiper-slide .row div img{
  z-index: 9;
}
.banner .swiper-slide .row div.overlay-bg{
  background-color: #ffe4d0b6;
  border-radius: 4px;
  width: 300px;
  height: 150px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate( -50% , 0%);
  z-index: -1;
}
@media(min-width:992px){
.swiper-button-next, .swiper-rtl .swiper-button-prev {
  left: 45%;
  right: auto;
}
.banner .swiper-slide{
  min-height: 445px;
}
.banner .swiper-slide .row{
  align-items: center;
  width: 100%;
}
}
@media(max-width:991px){
  .banner .swiper-slide{
    min-height: 592px;
  }
  .banner .slide-img img{
    height: 250px;
  }
  .banner .swiper-slide .row div.overlay-bg{
    top: 40%;
  }
  .banner button.btn-default {
    width: 90%;
  }
  .banner .swiper-pagination-bullet{
    padding: 0 7px;
  }
}

/* .banner .cate-content a{
  display: block;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #b90000;
  color: #000;
  background-color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 2.5px;
} */
.banner .cate-content a img.mr-1{
  margin-right: 0.5rem;
}


/****************
元件分類
****************/
#bim-cate {
  background-color: /* #d1e2f2b5 */#f7f7f7;
}
.section-bg-cate
.home-title {
  text-align: left;
  font-weight: bold;
}

.cate-swiper {
  /* width: 90%; */
 /*  margin: 2rem auto; */
}

@media(min-width:768px) {
  .cate-swiper {
    width: 95%;
    /* margin: 2rem auto; */
  }
}

.cate-name {
  width: fit-content;
  word-break: keep-all;
  overflow: visible;
  padding: 10px;
}

.cate-content {
  margin-right: 15px;
  background: #fff;
  border-radius: 5px;
  /* box-shadow: 0px 0px 0px 1px #65656540;
  padding: 10px; */
  text-align: center;
  min-width: 150px;
}

.cate-name a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-size: 18px;
  box-shadow: 0px 0px 3px -1px #00000087;
}
.cate-name a:hover {
  border: 2px solid #829eaa;
  padding: 8px;
  border-radius: 4px;
}

.cate-name img {
  margin-right: 15px;
  width: 35px;
  height: 35px;
  border-radius: 3px;
}

.cate-button-next,
.cate-button-prev {
  color: #000;
  top: 68%;
}

.cate-button-next::after,
.cate-button-prev::after {
  font-size: 20px;
}

.cate-button-next {
  right: -5px;
  left: auto;
}

.cate-button-prev {
  left: -5px;
  right: auto;
}

.cate-pagination .swiper-pagination-bullet {
  background-color: #cfcfcf;
  height: 0px;
}

.cate-pagination .swiper-pagination-bullet-active {
  border: 0;
}

/*--------------------------------------------------------------
# 合作廠商logo
--------------------------------------------------------------*/
#logo{
  padding: 70px 0 30px;
  background-color: #fff;
}
#logo .row,#logo1 .row{
  margin-top: 2rem;
}
#logo1{
  padding: 70px 0;
  background-color: #fff;
}
.logo-swiper .swiper-slide,.logo-swiper1 .swiper-slide{
  text-align: center;
}
 .swiper-slide, .logo-swiper .swiper-slide{
  height: calc((100% - 40px) / 2) !important;
}
@media(max-width: 992px){
  .logo-swiper1 .swiper-wrapper,.logo-swiper .swiper-wrapper{
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# 元件動態
--------------------------------------------------------------*/
#featured-services{
  background-color: #d1e2f2b5;
  padding: 70px 0 70px;
}
#featured-services .row{
  margin-top: 2rem;
}
.featured-services .icon-box {
  padding: 10px;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 3px 10px 2px rgb(95, 95, 95, 40%);
  transition: all 0.3s ease-in-out;
  border-radius: 8px;
  z-index: 1;
}

.featured-services .icon-box::before {
  content: "";
  position: absolute;
  background: #d1d1d1;
  right: 0;
  left: 0;
  bottom: 100%;
  top: 0;
  transition: all 0.3s;
  z-index: -1;
}

.featured-services .icon-box:hover::before {
  background: #f7f7f7;
  bottom: 0;
  border-radius: 0px;
}
.featured-services .icon-box a{
  justify-content: center;
  display: flex;
}
.featured-services .icon-box a img{
  text-align: center;
}

.featured-services .icon {
  margin-bottom: 15px;
}

.featured-services .icon i {
  font-size: 48px;
  line-height: 1;
  color: #0c482f;
  transition: all 0.3s ease-in-out;
}

.featured-services .title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  margin-top: 1rem;

}

.featured-services .title a {
  color: #333;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.featured-services .icon-box p{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-services .description {
  font-size: 15px;
  line-height: 28px;
  margin-bottom: 0;
}

.featured-services .icon-box:hover .title a,
.featured-services .icon-box:hover .description {
  color: #333;
}

.featured-services .icon-box:hover .icon i {
  color: #fff;
}

.count span {
  font-size: 14px;
}

/*--------------------------------------------------------------
# 最新BIM元件
--------------------------------------------------------------*/
#products{
  background-color: #d1e2f2b5;
}

.products-content a {
  display: block;
}
.products-content a.cate-link{
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: bold;
  margin: 0.5rem 0;
}
.products-content a.product-title{
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 0.5rem;
}
.products-content img{
  width: 100%;
}
.products-content button, .icon-box button{
  color: #fff;
  background-color: #114780;
  border: 1px solid #114780;
  border-radius: 4px;
}
.products_block{
  display: flex;
  flex-wrap: wrap;
}
.products_block .products-content{
  padding: 0 10px;
  margin-bottom: 2rem;
  flex-basis: calc( 100% / 6 );
}
@media(max-width:1300px){
  .products_block .products-content{
    flex-basis: calc( 100% / 5 );
  }
}
@media(max-width:992px){
  .products_block .products-content{
    flex-basis: calc( 100% / 4 );
  }
}
@media(max-width:768px){
  .products_block .products-content{
    flex-basis: calc( 100% / 2 );
  }
}
/*--------------------------------------------------------------
# BIM場景
--------------------------------------------------------------*/
#products-2{
  background-color: #d1e2f2b5;
  padding: 0 0 70px;
}
#products-2 .row{
  margin-top: 1.5rem;
}
.product-cate{
  display: flex;
  justify-content: space-between;
}

.p-cate-bimg{
  overflow: hidden;
  flex: 0 65%;
}
.p-cate-simg{
  flex: 0 30%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.p-cate-bimg img{
  width: 100%;
  height: auto;
}
.p-cate-simg img{
  width: 100%;
  height: auto;
}
.p-cate-title{
  margin: 1rem 0;
  font-size: 16px;
}
@media(max-width:500px){
  .product-cate{
    justify-content: space-evenly;
  }

.p-cate-title {
    margin: 0.5rem 0 1rem 5px;
}
}

/*--------------------------------------------------------------
  # 首頁簡介
  --------------------------------------------------------------*/
.section-title h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
}