@media only screen and (min-width: 768px){.topnavbar {background-color: rgb(255 255 255 / 80%); border-top: 10px solid #0d337e; padding: 0rem 0;}}

@media only screen and (min-width: 768px){
.navbar-nav {
    background-color: #0d337e;
}}

#nav ul li.current a {color: #0d337e;}
#nav ul li a{color:  #353535;}
#nav ul li a:hover {color: #0d337e; }

#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: #5a5359; border-bottom:1px solid #dddddd;}

ul.product-list li a{color: #444; background-color: #FBFBFB;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #0d337e;}

a {color: #46413e;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #e5322d;}

#bodyinhome .fcol-1 {
    background: url(https://static.iyp.tw/42574/files/aa006a6b-dbaf-47ca-9ef5-0ccb93d04102.png)no-repeat center top;
}

#bodyinhome .fcol-3 {
    background: #e4e7ef;
}

#bodyinhome .fcol-6 .container {
    width: 100%;
}

body.about-us .fcol-3 {
    background: #d1dae3;
}
body.about-us .fcol-6 .container {
    width: 100%;
}

/*內文字型大小顏色*/
#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;}

/*產品介紹頁編輯框高度auto*/
body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }

/* 首頁與內頁共用 */
.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(700 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 內頁 banner 大小 */
}

/*banner高度調整*/
@media only screen and (min-width: 768px){#banner {top: 110px;} #main-wrap {margin-top: 110px;} #ndc-banner-editor {top: 110px;}}

/* Gray Scale 
.figure img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
.figure:hover img {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}*/

/**/
.box{
 position: relative;
 width: 100%;
 height: 280px;
 background: #ffffff; 
 margin: -5px;
 display: inline-block;
 overflow: hidden;
}

.box img{
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: all 0.5s ease 0s;
}
.box:hover img{
    transform: scale(1.2);
    filter: grayscale(0.7) blur(2px);
}
.box .box-content{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    text-align: center;
    padding: 30px 0px;
    opacity: 0;
    transition: all 0.5s ease 0s;
}
.box:hover .box-content{
    opacity: 1;
}
.box .title{
    font-size: 24px;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    padding: 20px 0;
    text-transform: uppercase;
    transform: scale(0.5);
    transition: all 0.5s ease 0s;
}
.box .read-more{
    display: inline-block;
    border: 2px solid #fff;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 30px;
    transform: scale(0.5);
    margin: 50px 0 0;
    z-index: 1;
    transition: all 0.5s ease 0s;
}
.box:hover .title,
.box:hover .read-more{
    transform: scale(1);
}
.box .read-more:hover{
    box-shadow: 0 0 15px #fff;
}
@media only screen and (max-width: 990px){
    .box{ margin-bottom: 30px; }
}


/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}
#myDiv img {
        max-width: none;
}

#call {
    width: 55px;
    right: 10px;
    border-radius: 50%;
    z-index: 999;
    bottom: 165px;
    position: fixed;
}
