body {
    background-color: #f8f8f9;
    margin: 0;
}

@media only screen and (min-width: 768px){.topnavbar {
  background-color: #1b1b1b; 
  position: relative;/*banner不被遮住*/
  padding: 0;
}}

.topnavbar .container {
  text-align: center;
  font-size: 0;
}
.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}
.topnavbar {
  background-color: #1b1b1b;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: 0;
}
.topnavbar .container {
    padding-top: 0px;
    padding-bottom: 0px;
}

#nav ul li.current a {color: #c50000;}
#nav ul li a{color:  #e5e5e5;}
#nav ul li a:hover {color: #c50000;}

/* 首頁與內頁共用 */
.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(650 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(650 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*ipheno尺寸調整*/
@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%;}}

/*每頁大標*/
.h1title {
  color: #0d0d0d; 
  font-family: 標楷體;
  font-weight: bold; 
  letter-spacing: 3px;
  padding-left: 25px !important;
  border-collapse: collapse;
  border-bottom:1px solid #bfbfbf;
}

/*網頁欄位*/
body.about-us .fcol-1 {
    background: url(https://static.iyp.tw/2855/files/86591d6e-f437-414f-8131-1cac29d2b930.png) no-repeat center;
}
body.about-us .fcol-2 {
    background: url(https://static.iyp.tw/2855/files/076a314a-0fdb-4458-aa30-7163acbe9aef.png) no-repeat center;
}
body.about-us .fcol-3,body.about-us .fcol-4,body.about-us .fcol-5,body.about-us .fcol-6 {display:none;}
body.about-us #footer {margin-top: -40px;}

/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}
#myDiv img {
        max-width: none;
} 

/*產品頁面*/
ul.product-list li a{
    color: #fff;
    background-color: #1b1b1b;
    text-align: center;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #c50000;}

a {color: #c50000;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #c50000;}