@media only screen and (min-width: 768px){
  .topnavbar {
    background: #d5c67a linear-gradient(90deg, transparent 0px, #2c4d7a 0) no-repeat;
    background-size: 46%;
  }
}

@media only screen and (max-width: 410px) {
  .topnavbar {
    background: #2c4d7a;
  }
}

@media only screen and (max-width: 576px) {
    .topnavbar {
    background: #2c4d7a;
  }
}

  
.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}


#nav ul li.current a {
    color: #e9da91;
    background: rgb(167 155 96);
    border-radius: 30px;
}
#nav ul li a{color:  #334c72; font-weight: 600;}
#nav ul li a:hover {
    color: #e9da91;
    background: rgb(167 155 96);
    border-radius: 30px;
}

.fcol-header {
    display: none;
}

/*.h1title {color: #5a5359; border-bottom:1px solid #dddddd;}*/

ul.product-list li a{color: #ffffff; background-color: #2c4d7a;}
ul.product-list li a.focus, ul.product-list li a:hover {color: #ffffff; background-color: #d5c67a; transition: .3s;}

ul.product-list div.img { background: #e3e3e3;}

a {color: #46413e;}
a:hover {color: #9f882f;}
.news .fcol .news-list li a:hover, .news .news.main-content li a:hover {color: #e5322d;}

#footer {
    color: #525252;
    background-color: #f3f1ec;
}

#foot-nav ul li.current a, #foot-nav ul li a:hover {
    color: #b7a988;
}

.contact-row h5 {
  color: #a19060;
}

#foot-nav {
    border-bottom: 1px solid #d3d1ca;
}

#footer a {
    color: #ada9a9;
}

 #footer {
    margin-top: -240px;
}



/**/
body.about-us .fcol-2 {
    background: url(https://static.iyp.tw/409835/files/767b26d4-30d5-479f-bc19-f38f6b36b5fd.jpg) no-repeat top center;
}

body.about-us .fcol-3 {
    background: url(https://static.iyp.tw/409835/files/720ebf15-94c2-42a3-9fc7-59194b0f6fff.jpg) no-repeat top;
}

body.about-us .fcol-6 {
    display: none;
}

body.about-us .fcol-5 {
    background: #d9dee4;
}

body.about-us .fcol-4 {
    background: linear-gradient(173deg, transparent 370px, #d9dee4 0) no-repeat;
    background-size: 100%;
}


/*首頁區塊位置調整(第一區塊跟banner重疊)*/

.topnavbar{z-index: 1000;}

#main-wrap{
    margin-top: -155px;
    z-index: 999;
}

body[data-type="fullpage"]:not(#managehome) #wrap>*:not(:last-child) {
    margin-bottom: 240px;
}

#banner {z-index: -1;}



/*內文字型大小顏色*/
#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;}

body {font-family: 黑體; }

/*回最新消息*/
.back>a, .btn-search, .btn-style, input[type="submit"] {border: 1px solid #505050; background-color: #8a8a8a;}

/*banner高度調整*/
@media only screen and (min-width: 768px){#banner {top: 128px;} /*#main-wrap {margin-top: 128px;}*/ #ndc-banner-editor {top: 128px;}}


@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(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}

/**/
.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%;
}

/**/
#call {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 165px;
    position: fixed;
}


/*圖片放大透明*/
.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);
}
