.topnavbar .container {
  text-align: justify;
  padding: 10px 0 0 0;
}

.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;
}

#nav ul li a:hover  {
    color: #1565C0;/*頁籤滑過文字顏色*/
}
#nav ul li.current a {
    color: #1565C0;/*頁籤按下後文字顏色*/
}

#nav .subnav {
    background-color: #fff;/*次頁籤底色*/
    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-5 {
   width: 100%;
   background-attachment: scroll; /*fixed固定背景; scroll捲動背景*/
   background-repeat: no-repeat;
   background-position:left top;
   background-image: url(https://static.iyp.tw/37943/files/56bf6f08-9925-4108-980a-99984b86b74a.jpg); 
   background-color: #1565C0;
}
#bodyinhome .fcol.fcol-6 {
   width: 100%;
   background-color: #1565C0;
}
body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

/*圖片樣式剪裁*/
.pic1 {
   max-width: 300px;
   min-width: 160px;
   height:150px;
   overflow:hidden;
   border:1px solid #ccc;/*邊框樣式（solid直線 dotted點狀線 dashed虛線）*/
   margin: 0 auto 0; /*置中*/   
}
.pic1 img{
   width:100% ;
   height: 100%;
  object-fit: cover;/*圖片特效-圖片剪裁*/
}
