/*整體文字調整*/
body {
    color: #333;
    font-size: 15px;
    margin: 0;
}
a {
    color: #4682b4;
    text-decoration: none;
}
a:hover {
    color: #4db8b2;
}

@media(max-width:767px){
.mobile-br:before { 
    content: ' '; 
    display: block;
 }
}


/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(600 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
  background-position:center center;
}

.swiper-slide {
  width: 100% !important;
}


/*回首頁*/
.navbar-nav > li > a {
 color: #fff;
}
.topnavbar {
 background-color: #fff;
 top:0px;
 position: relative;
 z-index:100;
 width:100%;
 padding: 0;
 border-top: 8px solid #4682b4;
}
.topnavbar .container {
 text-align: justify;
 font-size: 0;
 padding-top: 0px;
 padding-bottom: 0px;
}
.topnavbar .container::after {
 /*content: "";*/
 display: inline-block;
 width: 100%;
}


/*nav*/
#nav ul li a {
 white-space: nowrap;
 color: #333;
 line-height: 1.3;
 padding: 10px 18px;
 font-size: 100%;
}
#nav ul li a:hover{
 background-color: #3f98e1;
 color: #fff;
 border-radius: 25px 5px 25px 5px;
}
#nav ul li.current a {
 background-color: #3f98e1;
 color: #fff;
 border-radius: 25px 5px 25px 5px;
}
#nav ul li .subnav {
 background-color: #fff;
}
#nav ul li .subnav a {
 background-color: #fff;
 color: #333;
}
#nav ul li .subnav a:hover {
 color: #fff;
 background-color: #3f98e1;
}


/*h1*/
.h1title {
    color: #4682b4;
    font-size: 2rem;
    font-weight: normal;
    border-bottom:1px #4682b4 solid;
}


/*產品格描述隱藏語法*/
ul.product-list li .desc {
    display: none;
}  
.productdetail .detail-desc b {
   display: none;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #333;
    overflow: hidden;
    padding: 0 16px;
}


/*改產品格名稱顏色*/
ul.product-list div.img {
    background: #FBFBFB;
}


/*產品格背景*/
ul.product-list li a {
 border:0px solid #ddd;
 border-radius:0px;
   background-color:transparent;
}


/*產品框線*/
ul.product-list li a.focus,ul.product-list li a:hover {
 color:#000;
 border:0px solid #333;
 box-shadow:0 0px 0px 0px rgba(0,0,0,0.08)
}

/*產品格詳細介紹的產品格背景*/
.productdetail .detail-img a {
    outline: none;
    position: relative;
    height: 0;
    padding-bottom: 100%;
    display: block;
    background: #333;
    line-height: 0;
}
ul.product-list li a { 
border: 1px solid #ddd; 
}


/*產品格去框線-1調成0*/
.productdetail .detail-img .main-image-area a {
    display: block;
    position: relative;
    height: 0;
    padding-bottom: 100%;
    background: #fff;
    line-height: 0;
 /* display: none;*/
}

.productdetail .detail-spec {
  width:55%;
  display:inline-block;
  vertical-align:text-top;
 /* display: none;*/
 }


/*最新消息改顏色*/
.news .fcol .news-list li h3, .news .news.main-content li h3, #news-heading h3 {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.5;
    color: #4682b4;
}
.news .fcol .news-list li .ico, .news .news.main-content li .ico, #news-heading .ico {
   display: none;
}


/*footer*/
#footer {
    color: #fff;
    background-color: #4682b4;
}
#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #444;
    display: none;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
}
#contact-info ul li span {
    color: #fff;
}
#footer a {
    color: #fff;
}
.contact-row h5 {
    color: #fff;
    padding: .5em 0 1em;
    width: 100%;
}



/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/42190/files/135b7080-66d5-457f-8cf3-b2febe0f760a.jpg)no-repeat;
  background-position:left center;
  background-size:cover;
  background-attachment:fixed;
  min-height:400px;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2 {
  background: url(https://static.iyp.tw/42190/files/b07091b9-dfcb-4d25-90bb-0b91589d2643.jpg)no-repeat;
  background-position: center top;
  /*padding-bottom: 25px;*/
  min-height: 300px;
}

@media (max-width:414px) {
  #bodyinhome .fcol.fcol-2 {
    background-size: cover;
    /*min-height: 300px;*/
  }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/42190/files/dafd9791-0116-4903-8004-c73773a82314.jpg)no-repeat;
  background-position:left center;
  background-size:cover;
  background-attachment:fixed;
}


/*Index_4~6*/
#bodyinhome .fcol.fcol-4, #bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6{display:none;}


/*最下層空白處去掉*/
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*文字滑過變色方塊*/
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background:  #2ca9e1;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 25px 5px 25px 5px; 

}
.serveimg:hover {
     display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #4169e1;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 25px 5px 25px 5px; 
}


/*Index3_服務項目*/
.service_img{
	position:relative;   
	}
.service_img:hover{ filter:blur(1px);}

.service_text{
	position: absolute;
    display: table-cell;
    z-index: 999;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    color: #fff;
   top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 15px 15px 15px;
	background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
	}
.service_text:hover{
	position: absolute;
    display: table-cell;
    z-index: 999;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    height: 100%;
    color: #fff;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 15px 15px 15px;
    background-color:rgba(0,0,0,0.55);
    transition:0.5s
	}
.service_text div{
	font-size: 24px;
    line-height: 0;
    position: relative;
    top: 50%;
  font-weight:bold;
	}
@media (max-width: 768px){
.service_text div {
    font-size: 25px;
    line-height: 0;
    position: relative;
    top: 50%;
 }
}


