/*頁籤*/
.topnavbar .container {
  text-align: justify;
  font-size: 0;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
    background-color: #FFF;
  top:0px;
   position: relative;
   z-index:100;
 width:100%;
  padding: 0;
}
.topnavbar .container {
    padding-top: 0px;
    padding-bottom: 0px;
}


/*頁籤字*/

.topnavbar {
    background-color: rgba(0,0,0,0);
    padding: 0;
}

#nav ul li a {
    color: #8e8e8e;
    font-weight: 600;
}
#nav ul li a:hover {
    background: rgba(57,106,167,0.88);
    border-radius: 30px;
}
#nav ul li.current a {
    background: #396aa7;
    border-radius: 30px;
}




/* 首頁與內頁共用 */
.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(800 / 1920 * 100%); /* 首頁 banner 大小 */
}

/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(650 / 1920 * 100%); /* 內頁 banner 大小 */
}



/*標題*/

.h1title {
    color: #fff;
    background-color: #83b0e9;
    border-radius: 30px;
    margin-top: -20px;
  text-align: center;
}





/*響應式欄位手機板不破版*/

@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%
    }
}


/*產品頁編輯框*/

body[data-type="fullpage"] #product-header.main {
      min-height: auto;
  }



/*產品格*/

ul.product-list li a:hover {
    color: #fff;
    background-color: rgba(57,74,84,1);
}

ul.product-list li a {
    color: #000;
    background-color: rgba(57,74,84,0.3);
}



/*首頁*/

body.index .fcol.fcol-1 {   margin-top: -50px;  }
body.index .fcol.fcol-1 {    background: rgba(245,141,31,1);}

body.index .fcol.fcol-2 {    background: rgba(244,247,253,0.8);}


body.index .fcol-3 {
    background:  url(https://static.iyp.tw/409739/files/8bc09493-a65d-4c2f-90ac-a6a8fee32cfd.png)no-repeat bottom;
    background-size: cover;
}


body.index .fcol-5 {
    background:  url(https://static.iyp.tw/409739/files/215e4822-c552-4c21-ae06-3e6e940156cf.png)no-repeat bottom;
    background-size: cover;
  background-attachment: fixed;
}

body.index .fcol.fcol-4 .container {width: 100%;}
body.index .fcol.fcol-5 .container {width: 100%;}
body.index .fcol.fcol-4 {   display:none;}
body.index .fcol.fcol-6 {   display:none;}
body.index #footer { margin-top: -40px;}






/*關於*/


body.about-us .fcol.fcol-1 {   margin-top: -80px;  }

body.about-us .fcol-1 {
    background:  url(https://static.iyp.tw/409739/files/6181becd-d37b-4f74-b10c-4749be5d435e.png)no-repeat bottom;
    background-size: cover;
}

body.about-us .fcol-3 {
    background:  url(https://static.iyp.tw/409739/files/975e11fa-3013-4020-9eb7-4c7778980012.png)no-repeat bottom;
    background-size: cover;
  background-attachment: fixed;
}



body.about-us .h1title{display:none;}

body.about-us .fcol.fcol-4 {   display:none;}
body.about-us .fcol.fcol-5 {   display:none;}
body.about-us .fcol.fcol-6 {   display:none;}
body.about-us #footer { margin-top: -40px;}


/*footer*/

#footer {
    color: #787878;
    background-color: #f3f3f3;
}

#foot-nav {
    border-bottom: 1px solid #e1e1e1;
}


.contact-row h5 {color: #787878;}


#foot-nav ul li.current a, #foot-nav ul li a:hover {
    color: #82a0c5;
}








/*產品輪播*/
.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;
}






/*詳細資訊*/
#tb td a {
    display: block;
    height: 35px;
    line-height: 35px;
    background: #414141;
    color: #fff;
}
#tb td a:hover {
    background: #a51313;
}





/**/
.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;
}





/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] {
  padding:10px;
}
.picc {
  overflow:hidden;
}
.picc img:hover {
  transform:scale(1.2);
}





#photoLogo {
  width: 100%;
}