/*fb側欄外掛*/
.fbbox{background: url("https://s3-ap-northeast-1.amazonaws.com/static.iyp.tw/23008/files/f2c6ae52-f42d-4e0c-ac25-a5617834ebbe.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 290px;z-index: 99999;position:fixed;right:-250px;top:10%;}
.fbbox div{border:none;position:relative;display:block;}
.fbbox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.fbbox span a{color: #808080;text-decoration:none;}
.fbbox span a:hover{text-decoration:underline;}
/*fb側欄外掛*/

.phone{position:fixed;right:1%;top:30%;z-index:1000}
.fb{position:fixed;right:1%;top:45%;z-index:1000}
.line-1{position:fixed;right:1%;top:60%;z-index:1000}
.shopping-1{position:fixed;right:1%;top:75%;z-index:1000}

.line{
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;
}

.design3 img{
	height: 250px;
	width: 100%;
  border: 1px solid #D5D5D5;
  margin-left: auto; margin-right: auto;
}

.design2 img{
   background-color: #F0F0F0;
   padding: 4px;
   border: 1px solid #D5D5D5;
   margin-left: auto; margin-right: auto;
}

.design1 img{
	height: 150px;
	width: 120px;
	border: 1px solid #D5D5D5;
    object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
}

.topnavbar .container {
  text-align: center;
}

.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important;
}


@media only screen and (min-width: 768px){
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(0,0,0,0);透明*/
    position: relative;/*頁籤&banner分開不重疊*/
    padding: 0;/*頁籤間距*/
}

/* 文字放大*/
.container {
    font-size:16px;
  line-height:30px;
    
}
  
#foot-nav {
    font-size:13px;
     color:#fff;
}

.text_word {
  -webkit-writing-mode: vertical-rl;
  text-align: center;
}
}

/*首頁各層編輯欄設定*/
#bodyinhome .fcol.fcol-1{
   width: 100%;
   border-bottom: 1px solid #ddd;/*表格細線*/
}/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}
#bodyinhome .fcol.fcol-3 {
    display: none;
}/*隱藏首頁fcol.fcol-3編輯欄*/
#bodyinhome .fcol.fcol-4 {
    background-color: #f7a733;
}

#bodyinhome .fcol.fcol-5 {
   width: 100%;
   background: url(https://static.iyp.tw/23008/files/69c8ae16-4add-4676-b8c8-7e8d9e4de8bc.png) no-repeat scroll center top transparent; 
   position: relative;
}

#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   padding: 0px;
}

#nav .subnav {
    background-color: #fff;
}

#nav ul li a {
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    display: block;
    color: #000;
    padding: 8px 13px;
    line-height: 1.3;
    transition: .3s;
   font-size:20px;
   font-weight:bold;    
}
#nav ul li a:hover {
    color: #ff0000;
}
#nav ul li.current a {
    color: #ff0000;
 } 
#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    max-width: 400px;/*次頁籤背景最大寬度*/
}
#nav .subnav .has-subnav span{
    max-width: 400px;/*次頁籤文字背景最大寬度*/
}

#nav li.has-subnav ul li.has-subnav>div a::after, #nav>ul>li.has-subnav>a::after {
    padding-left: 2px;/*下拉選單箭頭距離*/
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: inherit;
    color: #000;
}

#side ul li a:hover {
    color: #ff0000;
}

#side ul li a {
    color: #080808;
   font-size:20px;
   font-weight:bold;
}

#side ul li.current>div a {
    color: #c92c29;
}

.product-list-div h2 {
    text-shadow: 0 0px 0 #333;
}

ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #464646;
}
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;

    line-height: 1.5;
    color: #7a7a7a;
    overflow: hidden;
    padding: 0 16px;
}


/*響應欄表格col-4 col-5 col-6 col-7 手機版強制2欄 寬度50%*/
@media only screen and (max-width: 576px){
.serve-item .col-2 { max-width: 50%;}
.serve-item .col-4 { max-width: 50%;}
.serve-item .col-5 { max-width: 50%;}
.serve-item .col-6 { max-width: 50%;}
.serve-item .col-7 { max-width: 50%;}
}




/*圖文特效按鈕-圖縮放大標題在上*/
.snip1374 {
  position: relative;
  overflow: hidden;
  margin: 0 auto 0;
  min-width: 160px;
  max-width: 100%;
  width: 100%;
  max-height: 300px;
  min-height: 160px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  text-align: center;
  background-color: #000000;
  text-shadow: 2px 2px 5px #000000;/*文字陰影*/
}
.snip1374 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
 -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.snip1374 h2{
  font-family: 'Noto Sans TC', sans-serif;
  text-transform: uppercase;/*文字大寫*/
  color:#ffffff;/*文字顏色*/
  font-size: 2.5rem;/*文字大小*/
  font-weight: 600;/*文字粗細*/
  line-height: 1.5;/*文字行距*/
  letter-spacing: 0.5rem;　/* 設定文字間距 */
}
.snip1374 img {
  object-fit: cover;  /*cover圖片剪裁不拉伸壓縮 ; contain不拉伸壓縮.等比縮放)*/
  width: 100%;
  max-height: 300px;
  min-height: 160px;
  vertical-align: top;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-transform: scale(1);
  transform: scale(1);
}



.snip1374:hover img,
.snip1374.hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  opacity: 0.5;
}
.snip1374 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/*表格按鈕-文字底色變化特效*/
button1 {
    margin: 0px 20px;
}
.btn-1 {
    /*border-radius: 10px;/*表格按鈕框線圓角*/
    border: 2px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*首頁產品圖文按鈕特效*/
.snip1423 {
  position: relative;
  margin: 0 auto 0;
  min-width: 230px;
  max-width: 315px;
  width: 100%;
  background: #ffffff;
  text-align: center;
  color: #000000;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  font-size: 16px;
  padding: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.snip1423 * {
  -webkit-box-sizing: padding-box;
  box-sizing: padding-box;
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.snip1423 img {
  opacity: 2;
  width: 100%;
   object-fit: cover; 
  height: 350px; /*高度*/
}
.snip1423 figcaption {
  padding: 20px 15px;
}
.snip1423 h3,
.snip1423 p {
  margin: 0;
}
.snip1423 h3 {
  font-size: 1.3em;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.snip1423 p {
  font-size: 0.9em;
  letter-spacing: 1px;
  font-weight: 400;
  text-align: left;
}
.snip1423 i {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: #F9A825;
  color: #ffffff;
  font-size: 1.6em;
  border: 3px solid #ffffff;
}
.snip1423 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.snip1423:hover,
.snip1423.hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
}
.snip1423:hover i,
.snip1423.hover i {
  background-color: #FF6D00;
}
/*手機版漢堡選單*/
.navbar .container {
    background-color: #105397; /*導覽列背景顏色樣式*/
}
.navbar-icon-bar {
  width: 28px; /* 三變大*/
  height: 4px; 
  background-color: #fff; /* 填入想要的三條線顏色-中線 */

}
.navbar-icon-bar:before, .navbar-icon-bar:after {
    background-color: #fff;/* 填入想要的三條線顏色 */
}
.navbar .rwd-navbar-toggle .label {
    left: 45px;
    font-size: 1.0rem; /*導覽列文字尺寸*/
    color: #fff; /*導覽列文字顏色樣式*/
    background-color: #3c86c7;/*導覽列底色*/
    border-radius: 3px;
    padding: 4px;
}
.rwd-navbar-toggle {width: 100%;}/*導覽列寬度*/

.navbar .rwd-navbar-toggle:before {
    background-color: rgba(255,255,255,0);/*導覽列展開底色*/
}

@media only screen and (max-width: 767px){
.rwd-side.menu-open {
    background-color: #0c3a6a;/* 展開選單底色 */
}
.rwd-side .nav li {
    border-bottom: 1px #ccc dashed; /* 展開連結文字底虛線 */
}
.rwd-side .nav span {
    color: #fff; /* 展開連結文字顏色 */
}}
