.line{position:fixed;right:0%;top:40%;z-index:1000}
/*phone icon*/
.phone{position:fixed;right:0%;top:30%;z-index:1000}
/*line-1 icon*/
#bodyinhome .fcol.fcol-2{
   background-image: url("https://static.iyp.tw/22388/files/63226a3d-d259-4697-9b73-fb82fa127407.jpg");
   background-repeat:no-repeat;
}
.topnavbar .container {
  text-align: justify;
}

.topnavbar .container::after {
  display: inline-block;
  width: 100%;
}

body {
    background-color: #fff;/*背景底色*/
}

/*編輯欄設定*/
.fcol p{
    font-size: 18px;/*文字大小*/
    color: #000000;/*文字顏色*/
    line-height: 1.6;
}
@media only screen and (max-width: 768px){
.fcol p{
    font-size: 16px;/*螢幕寬度768px內文字大小*/
}}

body[data-type="fullpage"] #product-header.main {
      min-height: auto;/*產品-編輯框不設定高*/
}
/*編輯欄設定*/

@media only screen and (min-width: 768px){
.topnavbar {
    background-color: #fff;/*頁籤底圖顏色;background-color: rgba(255,255,255,0);透明Transparent*/
    position: relative;/*relative 頁籤&banner分開不重疊;頂置 fixed;*/
    min-height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}}


#nav ul li a {
    font-size: 1.0rem;/*頁籤文字大小*/
    color: #333333;/*頁籤文字顏色*/
    padding: 10px 20px;/*頁籤文字間隔;padding:2px 16px 2px 16px;*/
    line-height: 1.3;
    transition: .3s;
    /*border-left: #999 1px dotted;/*頁籤文字間隔虛線*/
}

#nav ul li a:hover  {
    color: #295580;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #295580;/*頁籤按下後文字顏色*/
}

#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;/*下拉選單箭頭距離*/
}

ul.product-list li a {
    color: #2276d2;/*產品格文字顏色*/
    background-color: #ddd;/*產品格底色*/
}
ul.product-list li a:hover {
    color: #2276d2;/*產品格滑過文字顏色*/
}


/*title文字顏色*/
.h1title {
    color: #333333;
}

a {
    color: #00b7ee;/*連結顏色*/
    text-decoration: none;
}

.swiper-container {
  height: auto !important; /* 將容器預設的高拿掉 */
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(750 / 1920 * 100%); /* 自定響應式圖片高度 */
}

.swiper-slide {
  width: 100% !important; /* 強制圖片寬度隨容器變更 */
}

/* 首頁各層編輯欄背景*/
#bodyinhome .fcol.fcol-1, #bodyinhome .fcol.fcol-2, #bodyinhome .fcol.fcol-3{
    background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
    background-repeat: no-repeat;
    background-position:center;
    background-image: url(https://static.iyp.tw/5872/files/3e000a84-aa84-4b49-ac14-7ef91d9e6b93.jpg);
}
#bodyinhome .fcol.fcol-4 {
   width: 100%;
   background-color: #cfcfcf;
}
#bodyinhome .fcol.fcol-5, #bodyinhome .fcol.fcol-6{
    background-attachment: fixed; /*fixed固定背景; scroll捲動背景*/
    background-repeat: no-repeat;
    background-position:center;
    background-image: url(https://static.iyp.tw/5872/files/c346d464-1028-4ab9-b8d6-4fba0a044ae4.jpg);
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*水平線漸淡樣式*/
.zi_hr_01 {
  height: 1px;
  border-width: 0;
  background-image: linear-gradient(90deg,transparent 0%,#fff 100%);
}/*左淡右深*/
.zi_hr_02 {
  height: 1px;
  border-width: 0;
  background-image: linear-gradient(90deg,#fff 0%,transparent 100%);
}/*左深右淡*/
/*水平線漸淡樣式*/

/*表格按鈕-文字底色變化特效*/
button1 {
    margin: 0px;
}
.btn-1 {
    border: 1px solid #efefef;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px;
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 25px;
    font-weight: 500;
    background: #ccc;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*圖文特效*/
.snip1585 {
  color: #fff;
  display: inline-block;
  font-size: 24px;
  margin: 0 auto 0;
  max-width: 100%;
  min-width: 230px;
  overflow: hidden;
  position: relative;
  text-align: center;
  width: 100%;
}

.snip1585 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.45s ease;
  transition: all 0.45s ease;
}

.snip1585:before,
.snip1585:after {
  background-color: rgba(46, 52, 64,  0.5);
  border-top: 50px solid rgba(46, 52, 64, 0.5);
  border-bottom: 50px solid rgba(46, 52, 64, 0.5);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: '';
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  z-index: 1;
  opacity: 0;
}

.snip1585:before {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585:after {
  -webkit-transform: scaleY(2);
  transform: scaleY(2);
}

.snip1585 img {
  vertical-align: top;
  max-width: 100%;
  backface-visibility: hidden;
}

.snip1585 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  align-items: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1em;
  opacity: 0;
  z-index: 2;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}

.snip1585 h3 {
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0;
  color:#FFF;
  text-transform: uppercase;
}

.snip1585 h3 span {
  display: block;
  margin: 10px auto 0;
  font-weight: 400;
  font-size: 14px;
  border: #999 1px solid;
  width: 100px;
}

.snip1585 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
}

.snip1585:hover > img,
.snip1585.hover > img {
  opacity: 0.7;
}

.snip1585:hover:before,
.snip1585.hover:before,
.snip1585:hover:after,
.snip1585.hover:after {
  -webkit-transform: scale(1);
  transform: scale(1);
  opacity: 1;
}

.snip1585:hover figcaption,
.snip1585.hover figcaption {
  opacity: 1;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
/*圖文特效*/
