@media only screen and (min-width: 768px){.topnavbar {background-image: linear-gradient(to top, #fbfbfb, #ffefba);}}

@media only screen and (max-width: 414px) {.topnavbar {background-image: linear-gradient(to top, #fbfbfb, #ffefba);}}

@media only screen and (max-width: 576px) {.topnavbar {background-image: linear-gradient(to top, #fbfbfb, #ffefba);}}


#nav ul li.current a {color: #199f18;}
#nav ul li a{color:  #353535;}
#nav ul li a:hover {color: #199f18;}

.h1title {color: #5a5359; border-bottom:1px solid #dddddd;}

ul.product-list li a{color: #ffffff; background-color: #499d55;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #fce1b8;}

a {color: #46413e;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #e5322d;}

#footer {
    color: #b6b6b6;
    background-color: #0c4c40;
}

#foot-nav {
    border-bottom: 1px solid #7c7c7c;
}

body.about-us .fcol-3 {
    background: #499d55;
}
body.about-us .fcol-2 {
    background: url(https://static.iyp.tw/409493/files/ab94f9c9-5fb0-4a99-8216-d95a063ead3d.png) no-repeat center bottom;
}

body.about-us .fcol-4 {
    background: url(https://static.iyp.tw/409493/files/476333c9-dc49-4f44-bd7c-a1fbb96c733d.jpg) no-repeat center;
    background-attachment: fixed;
    background-size: cover;
}

body.about-us .fcol-6 {
    display: none;
}

/*內文字型大小顏色*/
#product-header, .fcol.fcol-1, .fcol.fcol-2, .fcol.fcol-3,  .fcol.fcol-4, .fcol.fcol-5, .fcol.fcol-6 {font-size: 16px;color:#444;}

/*回最新消息*/
.back>a, .btn-search, .btn-style, input[type="submit"] {border: 1px solid #505050; background-color: #8a8a8a;}

@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%
    }
}

/*產品介紹頁編輯框高度auto*/
body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }


/*banner高度調整*/
@media only screen and (min-width: 768px){#banner {top: 128px;} #main-wrap {margin-top: 128px;} #ndc-banner-editor {top: 128px;}}


.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/**/
/*圖片放大透明*/
.picc { 
    opacity: 1; /* 透明度100% FireFox 的寫法 */ 
    filter: Alpha(Opacity=100); /* 透明度100% IE 的寫法 */ 
    margin:0 auto;
    overflow: hidden;
} 
.picc img { 
    opacity: 1; 
    filter: Alpha(Opacity=100); 
  margin:0 auto;
  -webkit-transform: scale(1);
  -webkit-transition: 1s;
} 
.picc img:hover { 
  opacity: .5; /* 透明度50% FireFox 的寫法 */ 
  filter: Alpha(Opacity=50); /* 透明度50% IE 的寫法 */ 
  -webkit-transform: scale(1.05);
}