.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/*頁籤*/

.topnavbar {
    background-color: #FFF;
  top:0px;
   position: relative;
   z-index:100;
 width:100%;
  padding: 0;
}
.topnavbar .container {
    padding-top: 0px;
    padding-bottom: 0px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
      font-weight: bold;
    padding: px 15px;
    font-size: 95%;
    border-right: 1px #888 dotted;
}




#nav ul li a:hover{
  background: #3f3f3f;
  color: #fff;
}

#nav ul li.current a {
      background: #3f3f3f;
      color: #fff;
      font-weight: 600;
}




#nav ul .subnav li a{
  background-color: rgba(75, 75, 75,0.45);
  color:#fff;text-align:left;}

#nav .subnav {
    position: absolute;
    top: 100%;
    z-index: 998;
    background-color: rgba(75,75,75,0.55);
} 





/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}

/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(550 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(250 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*標題*/

.h1title {
    color: #fff;
    background-color: #7dbb34;
    border-radius: 30px;
    margin-top: -20px;
}



/*產品格*/

ul.product-list li a:hover {
    color: #fff;
    background-color: rgba(57,74,84,1);
}

ul.product-list li a {
    color: #000;
    background-color: rgba(57,74,84,0.3);
}




/*首頁*/

body.index .fcol.fcol-4 {    background: rgba(247,255,244,0.8);}


body.index .fcol.fcol-5 {   display:none;}

body.index .fcol.fcol-6 {   display:none;}


body.index #footer { margin-top: -40px;}




/*最新消息*/

.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #414141;}

a {
    color: #414141;
    text-decoration: none;
}



body{
background-image : url(https://static.iyp.tw/4843/files/dd02ac76-bd88-4b8e-861b-c4288c5102fa.jpg);
background-repeat : repeat; 
background-attachment : fixed;
}





/*產品頁編輯框*/

body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }




/*i15 pro max 版本置入語法*/

@media only screen and (max-width: 576px) {
    .rwd-wrapper .col-2 {
        -webkit-flex:0 0 100%;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%
    }
}