@media only screen and (min-width: 768px){.topnavbar {background-color: #121212; padding: 0rem 0;}}

@media only screen and (max-width: 414px) {.topnavbar {background-color: #121212; }}


#nav ul li.current a {color: #8f8f8f;}
#nav ul li a{color:  #fbfbfb; padding: 18px 20px;}
#nav ul li a:hover {color: #8f8f8f; }

#nav .subnav{background-color: #fff;}
#nav ul li .subnav a {color:#353535;}
#nav ul li .subnav a:hover {background: rgba(212, 200, 200, 0.1);}

.h1title {color: #efefef; border-bottom:1px solid #dddddd;}

ul.product-list li a{color: #ffffff; background-color: #585858;}
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;}

@media only screen and (min-width: 768px) {
    .navbar-nav {
        background-color: rgb(161 161 161 / 30%);
    }
}

body.about-us .fcol-1 {
    background: url(https://static.iyp.tw/409725/files/1a7c5e12-b1bf-4583-9b1c-817153e9b5a3.jpg) no-repeat center;
    background-attachment: fixed;
    background-size: cover;
}

.fcol-header {
    background: #121212;
}

body.about-us .fcol-2 .container {
    width: 100%;
    padding: 0px;
}

body.about-us .fcol-3 {
    background: url(https://static.iyp.tw/409725/files/3985f325-49a0-49c2-a749-e65560499a90.jpg) no-repeat center;
    background-size: cover;
}

body.about-us .fcol-2 {
    background: url(https://static.iyp.tw/409725/files/34a29dfc-468a-4f0a-ab38-32c965439059.png) no-repeat bottom right;
}

body.about-us .fcol-4 {
    background: url(https://static.iyp.tw/409725/files/b1a0595c-f8f9-48d8-89f5-970fcb625f90.png) no-repeat  left center;
}

#wrap {
    background: url(https://static.iyp.tw/409725/files/4c03912f-71ce-44b7-aa92-ac6ca58d70df.jpg) no-repeat bottom;
}

body.contact-us .fcol-1 {
    background: #ededed;
}

/*內文字型大小顏色*/
#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;
  }


.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/*banner高度調整*/
@media only screen and (min-width: 768px){#banner {top: 110px;} #main-wrap {margin-top: 110px;} #ndc-banner-editor {top: 110px;}}


.owl-carousel.owl-theme {
  padding: 0 1rem 2rem;
}
.owl-carousel.owl-theme .owl-nav {
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
}
.owl-carousel.owl-theme .owl-dots {
  bottom: 0;
}
.owl-carousel.owl-theme button:focus {
  outline: none;
}
.owl-carousel.owl-theme .owl-nav,
.owl-carousel.owl-theme .owl-dots {
  position: absolute;
  left: 0;
  right: 0;
}
.owl-carousel.owl-theme .owl-nav .owl-prev {
  float: left;
  transform: translateX(-100%);
}
.owl-carousel.owl-theme .owl-nav .owl-next {
  float: right;
  transform: translateX(100%);
}
.owl-carousel.owl-theme .owl-nav .owl-prev:hover,
.owl-carousel.owl-theme .owl-nav .owl-next:hover{
  background: none;
  color: inherit;
}
.owl-carousel.owl-theme .owl-nav .fa{
  font-size: 3em; /*箭頭大小*/
}

.editmode .owl-carousel.owl-loaded {
  display: flex;
  flex-wrap: wrap;
}
.editmode .owl-carousel > div {
  flex: 0 0 25%;
  max-width: 25%;
}


/*--表格滑鼠移動變化--*/
#tb td a {
    display: block;
    height: 40px;
    line-height: 40px;
    background: #222222;
    color: #fbfbfb;
}
#tb td a:hover {
    background: #d96d20;
    transition: .3s; /*轉場時間*/
}


#call {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 165px;
    position: fixed;
}
#line {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 105px;
    position: fixed;
}