@media only screen and (min-width: 768px){.topnavbar {background-color: #000; padding: 0rem 0;}}

@media only screen and (max-width: 414px) {
.topnavbar {
    background: #000;
}}

@media only screen and (max-width: 576px) {
.topnavbar {
    background: #000;
}}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

#nav ul li.current a {color: #ffc600;}
#nav ul li a{color: #ffffff; }
#nav ul li a:hover {color: #ffc600;}

.h1title {color: #5a5359; text-align: center; border-bottom:1px solid #dddddd;}

ul.product-list li a{color: #ffffff; background-color: #4c4c4c;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #fece0c;}

a {color: #46413e;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #e5322d;}


.fcol-header {
    display: none;
}


body.about-us .fcol-2 .container {
    width: 100%;
    padding: 16px 0px;
}

body.about-us .fcol-1, body.product .fcol-1 {
    background: #fece0c url(https://static.iyp.tw/409841/files/f71343d6-4057-439d-97fc-4f2032075674.png) repeat-x bottom;
}


body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 0px;
}

body.about-us .fcol-4 {
    background: url(https://static.iyp.tw/409841/files/a3fdf440-a8ec-44d4-ad49-34ce99c2170b.jpg) no-repeat center;
    background-attachment: fixed;
    background-size: cover;
}

body.about-us .fcol-5 {
    background: #222222;
}

body.about-us #footer {
    margin-top: -40px;
}


body.product #wrap {
    background: url(https://static.iyp.tw/409841/files/bbc26b1b-de86-485c-954f-6f9c700ad6c9.jpg) no-repeat bottom;
}


body.news .fcol-2 {
    display: none;
}

/*產品介紹頁編輯框高度auto*/
body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }



/**/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(800 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


@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%
    }
}



/*banner高度調整*/
@media only screen and (min-width: 768px){#banner {top: 110px;} #main-wrap {margin-top: 110px;} #ndc-banner-editor {top: 110px;}}

/*內文字型大小顏色*/
#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;}


/**/

#callout {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 160px;
    position: fixed;
}
#toline {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 85px;
    position: fixed;
}

/**/
.grow:hover
{
 -webkit-animation: swing 1s ease;
 animation: swing 1s ease;
 -webkit-transform: translateY(-3px);
 transform: translateY(-3px);
}


/*圖片透明效果*/
.img3{
    opacity: 1.0; //設為完全不透明
    filter: alpha(opacity=50); // IE8 與更早的版本
}
.img3:hover{
    opacity: 0.5; //透明度設為 0.5
    filter: alpha(opacity=100); // IE8 與更早的版本
}
