.topnavbar .container {
  text-align: center;
}

.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;*/
    height: 100px;/*頁籤底圖高度*/
    padding: 0;/*頁籤間距*/
}}

#nav ul li a:hover  {
    color: #0061a1;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #0061a1;/*頁籤按下後文字顏色*/
}

#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;
    text-align: center;
    border-bottom: #999 1px dotted;/*間隔虛線*/
}

a {
    color: #000;/*連結顏色*/
    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-5 {
    background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
    background-repeat: no-repeat;
    background-position:right top;
    background-image: url(https://static.iyp.tw/41783/files/236d8ad5-dcd3-4aa7-8498-60fdfc69f969.png);
   background-color: #efefef;
}
#bodyinhome .fcol.fcol-6 .container {
   width: 100%;
   background-color: #efefef;
   margin-bottom: -4px;
   padding: 0px;
}/*拉寬編輯欄設定*/

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}
/*首頁各層編輯欄設定*/


/*表格按鈕-文字底色變化特效*/
button1 {
    margin: 20px 0px;
}
.btn-1 {
    border: 2px solid #000;/*表格按鈕框線樣式*/
    color: #000;
    font-size: 14px; 
}
.btn-1:hover{
    background-color: #333; /* 當滑鼠經過時按鈕表格底色變化 */
    color: #fff;/* 當滑鼠經過時按鈕表格文字變化 */
}
.custom-btn {
    padding: 5px 20px;
    font-family: Arial,微軟正黑體; 
    font-weight: 500;
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}/*表格按鈕-文字底色變化特效*/

/*首頁圖文按鈕特效*/
figure.snip1340 {
  position: relative;
  overflow: hidden;
  min-width: 230px;
  max-width: 315px;
  max-height: 220px;
  margin: 0px auto 0px;
  width: 100%;
  color: #000000;
  text-align: center;
}
figure.snip1340 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
}
figure.snip1340 img {
  opacity: 1;
  width: 100%;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}
figure.snip1340:after {
  background: #ffffff;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  content: '';
  opacity: 0.75;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
figure.snip1340 figcaption {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}
figure.snip1340 h2,
figure.snip1340 p {
  margin: 0;
  width: 100%;
  opacity: 0;
}
figure.snip1340 h2 {
  color:#000;
  padding: 0 30px;
  font-weight: 400;
  text-transform: uppercase;
}
figure.snip1340 p {
  padding: 0 50px;
  font-size: 0.8em;
  font-weight: 500;
}
figure.snip1340 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}
figure.snip1340:hover img,
figure.snip1340.hover img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
figure.snip1340:hover:after,
figure.snip1340.hover:after {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
figure.snip1340:hover figcaption h2,
figure.snip1340.hover figcaption h2,
figure.snip1340:hover figcaption p,
figure.snip1340.hover figcaption p {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
figure.snip1340:hover figcaption h2,
figure.snip1340.hover figcaption h2 {
  opacity: 1;
}
figure.snip1340:hover figcaption p,
figure.snip1340.hover figcaption p {
  opacity: 0.7;
}
/*首頁圖文按鈕特效*/