.phone{position:fixed;right:1%;top:20%;z-index:1000;}
.line-1{position:fixed;right:1%;top:35%;z-index:1000;}
.mail-1{position:fixed;right:1%;top:50%;z-index:1000;}

/*手機版-側欄浮動按鈕-縮小*/
@media (max-width: 414px){ 
  .phone, .fb, .line-1, .mail-1, .map { 
    transform: scale(0.8);
    right:0;
  }
}


body {
    background-color: #fff;/*背景底色*/
    font-family: 'Noto Sans TC', sans-serif;/*套用google font字型Noto Sans TC黑體*/
}

/*LOGO語法*/
.topnavbar .container {
  text-align: justify;
  background-color: #27327c;  
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}



/*banner*/
.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750/ 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}


/*按鈕背影*/
@media only screen and (min-width: 768px){
.topnavbar {
    background-color: #27327c;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    height: 120px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}}

body[data-type="fullpage"] #nav {
    font-size: 15px;/*頁籤文字大小*/
}

#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #fff;/*頁籤文字顏色*/
    padding: 5px 20px 5px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    border-left: #cccccc 1px solid;/*頁籤文字間隔虛線*/
}

#nav ul li a:hover  {
    color: #fff;/*頁籤滑過文字顏色*/
    border-bottom-width: 1px;/*下邊框*/
    border-bottom-style: solid;/*下邊框樣式(solid實線;dashed虛線;double雙線)*/
    border-bottom-color: #fff;/*下邊框顏色*/
}
#nav ul li.current a {
    color: #a9d4fc;/*頁籤按下後文字顏色*/
    border-bottom-width: 1px;/*下邊框*/
    border-bottom-style: solid;/*下邊框樣式(solid實線;dashed虛線;double雙線)*/
    border-bottom-color: #a9d4fc;/*下邊框顏色*/  
}

#nav .subnav {
    background-color: #3748a0;/*次頁籤底色*/
}

ul.product-list li a {
    color: #fff;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #fff;/*產品格滑過文字顏色*/
}




/*首頁編輯欄*/

#bodyinhome .fcol.fcol-2 {
     background-repeat: no-repeat;
   background-position: 50% 50%;
   background-size: cover;/*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
   background-image: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 10% ,rgba(0,0,0, 0.4) 100%) , url(https://static.iyp.tw/409975/files/007e866b-2612-4ced-82d1-720922f1fb3f.jpg);
   padding: 2rem 0;
} 


#bodyinhome .fcol.fcol-2 .container {  
  background-color: rgba(255,255,255,0.7);   
  border-radius: 10px; 
   padding:2em;
}

#bodyinhome .fcol.fcol-4 {
     background-image: -webkit-linear-gradient(90deg,#273268 100% ,#273268  60.1%);
   padding: 2rem 0;
} 

#bodyinhome .fcol.fcol-6 {
   background:linear-gradient(360deg, #474f77 0%, #474f77 55%, #fff 50%, #fff 100%);
}

body.contact-us .fcol.fcol-1 {
   background:linear-gradient(360deg, #474f77 0%, #474f77 55%, #fff 50%, #fff 100%);
}  
  
/*title文字顏色*/
.h1title {
    text-align: center;
    color: #fff;
    border-bottom: 0px solid #fff;
    
}

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:#49352e;
    overflow: hidden;
    padding: 0 16px;
}


/*內頁編輯欄*/
.fcol.fcol-header {
    background: linear-gradient(-45deg, transparent 25%, #27327c 0)left;
   /* background-repeat: no-repeat;*/
}




/*圖文特效-服務範圍*/
.snip1518 {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 2px 2px ;
  min-width: 250px;
  max-width: 310px;
  width: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  text-wrap: pretty;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.snip1518 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1518 img {
  max-width: 100%;
  vertical-align: top;
  position: relative;
}

.snip1518 figcaption {
  padding: 10%;
  padding-bottom: calc(25%);
  background-color: #ffffff;
}

.snip1518 h3 {
  font-family: 'Oswald';
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
}

.snip1518 h5 {
  font-weight: 400;
  margin: 0;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}



.snip1518 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}

/*產品介紹圖文特效*/
@import url(https://fonts.googleapis.com/css?family=Roboto);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);
.snip1532 {
  overflow: hidden;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  color: #000000;
  display:inline-block;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  margin: 10px 0.5%;
  max-width: 340px;
  min-width: 280px;
  position: relative;
  text-align: center;
  width: 100%;
  background-color: #ffffff;
}

.snip1532 *,
.snip1532 *:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
}

.snip1532 img {
  max-width: 100%;
  vertical-align: top;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.snip1532 figcaption {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}

.snip1532 h3 {
  font-size: 20px;
  margin: 0;
  padding: 0 20px;
  text-transform: uppercase;
}

.snip1532 i {
  font-size: 40px;
  position: absolute;
  bottom: 0%;
  right: -1px;
  -webkit-transform: translate(0%, 100%);
  transform: translate(0%, 100%);
  opacity: 0;
  line-height: 60px;
  width: 60px;
  color: #fff;
  background-color: #000000;
}

.snip1532 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.snip1532:hover figcaption,
.snip1532.hover figcaption {
  opacity: 1;
}

.snip1532:hover img,
.snip1532.hover img {
  opacity: 0.2;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.snip1532:hover i,
.snip1532.hover i {
  -webkit-transform: translate(0%, 0%);
  transform: translate(0%, 0%);
  opacity: 1;
}




/* 消除空白*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}

