/*頁籤*/

.topnavbar {
    background-color: #fff;
  top:0px;
   position: relative;
   z-index:100;
 width:100%;
  padding: 0;
}

.topnavbar .container {
    padding-top: 0px;
    padding-bottom: 0px;
}


.topnavbar .container {
  text-align: center;
}



#logo {
  display: block;
}

.topnavbar .container {
  text-align: center;
}


#photoLogo {
  width: 100%;
}


#nav ul li.current a {color: #a37b6b;}


#nav ul li a {color: #afafaf;}


#nav ul li a {color: #949494;}

#nav .subnav {
  background-color: RGBA(255,255,255,0.9); /* 填入想要的顏色 */
}

#nav ul li a:hover {color: #949494;}

/*響應式欄位手機板不破版*/

@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*/

/* 首頁與內頁共用 */
.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(850 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(630 / 1920 * 100%); /* 內頁 banner 大小 */
}




/*標題*/
.h1title {color: #5a5359; border-bottom:1px solid#dddddd;}



/*產品頁編輯框*/

body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }




/*首頁*/

body.index .fcol.fcol-1 {   margin-top: -80px;  }

body.index .fcol-1 {
    background: #fbfbfb url(https://static.iyp.tw/409506/files/dfbe6dad-2929-4404-9d39-a7080c302f87.jpg)repeat-y bottom;

}


body.index .fcol-2 {
    background: #fbfbfb url(https://static.iyp.tw/409506/files/2d1a3f85-9208-4fa4-bc88-080b57e7c1b2.jpg)repeat-y bottom;
background-attachment: fixed;
}

body.index .fcol-3 {
    background: #fbfbfb url(https://static.iyp.tw/409506/files/e7ef3439-6363-4eff-a8cb-2b74c107e227.jpg)repeat-y bottom;
background-attachment: fixed;
}



body.index .fcol.fcol-4 {   display:none;}
body.index .fcol.fcol-5 {   display:none;}
body.index .fcol.fcol-6 {   display:none;}
body.index #footer { margin-top: -40px;}





/*聯絡*/

body.contact-us .fcol.fcol-2 {    background: rgba(200,153,107,0.1);}

body.contact-us #footer { margin-top: -40px;}

.marktxt { color: #a37b6b;}

#foot-nav ul li a {color: #969696;}
  
  
/*footer*/

#footer {
    color: #8d8d8d;
    background-color: #efefef;
}

.contact-row h5 {
    color: #8d8d8d;
}


#foot-nav { border-bottom: 1px solid #e7e7e7;}


#foot-nav ul li.current a, #foot-nav ul li a:hover {
    color: #3e3e3e;
}

#footer a {
    color: #757575;
}




/*詳細資訊*/
#tb td a {
    display: block;
    height: 35px;
    line-height: 35px;
    background: #2b2b2b;
    color: #fff;
}
#tb td a:hover {
    background: #6b5349;
}




/**/
.box{
    position: relative;
    text-align: center;
    overflow: hidden;
}
.box img{
    width: 100%;
    height: auto;
}
.option{
    position: absolute;
    top:-100%;
    left:0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0 ,0.8);
    transition: all 0.5s ease 0s;
}
.link{
    border: 5px solid #fff;
    position: relative;
    top:40%;
    width: 50px;
    height:50px;
    line-height: 40px;
    font-size: 20px;
    display: inline-block;
    border-radius: 50%;
    color:#fff;
}
.link:hover{
    color:#fff;
}
.box:hover .option{
    top:0;
}






/*產品輪播*/
.rwd-table {
  	overflow-y: visible !important;
}
#myDiv img {
        max-width: none;
} 



a {
    color: #467faf;
    text-decoration: none;
}
#bodyinhome h3 {
    border-bottom: 1px solid #aaa;
 padding:5px;
}
.info ul li{
    padding: 10px 5px 5px 5px;
    border-bottom: 1px dashed #ccc;
}
body {
    background-color: #fff;
    color: #333;
    font-size: 15px;
    margin: 0;
}
