.topnavbar {
    background: url(https://static.iyp.tw/41395/files/b7493932-e342-420a-ad82-4255fa40a733.jpg) center;
    padding: 0;
}
.topnavbar .container {
    text-align: center;
    padding-top: 5px;
    padding-bottom: 4px;
}
#nav ul li a {
    padding: 8px 16px;
    color: #093776;
}
#nav ul li a:hover {
    background: #dddddd;
    color: #12468f;
    border-radius:5px;
}
#nav ul li.current a {
    background: #dddddd;
    color: #12468f;
    border-radius:5px;
}
#nav .subnav {
    background: #dddddd;
}

/* 首頁與內頁共用 */
.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(780 / 1920 * 100%); /* 首頁 banner 大小 */
}
/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 內頁 banner 大小 */
}

@media only screen and (min-width: 768px){
    #banner {  top: 100px;}
    #main-wrap {    margin-top: 100px;}
}
.swiper-pagination-bullet-active {
    background: #093776;
}


/*整體文字顏色*/
.fcol .container {    color: #222;    font-size: 15px;}
p {    line-height:2;}
.fcol h2 {
    color: #204f7b;
    line-height: 2;
}
h3, .h3 {    line-height: 2;}
a {
    color: #810200;
    font-weight: 600;
}
a:hover {    color: #555;}


/*標題*/
.h1title {
    background: url(https://static.iyp.tw/41395/files/d0110ed5-d07e-4d47-b156-2f50ed87f259.png) no-repeat center;
    color: #12468f;
    text-align: center;
}

#side ul li.current>div a {
    color: #b50700;
}

/*產品格*/
ul.product-list li a {
    color: #555;
    text-align: center;
    background: url(https://static.iyp.tw/41395/files/b7493932-e342-420a-ad82-4255fa40a733.jpg) no-repeat center;
}
ul.product-list li a:hover {
    color: #700;
    background: url(https://static.iyp.tw/41395/files/b7493932-e342-420a-ad82-4255fa40a733.jpg) no-repeat center;
}

#bodyinhome .fcol.fcol-2 {
    background: url(https://static.iyp.tw/41395/files/76ee20de-f7d6-40cd-a53b-c9dc45df673e.jpg) center;
    background-attachment: fixed;
}

body.about-us .fcol.fcol-2 {
    background: url(https://static.iyp.tw/41395/files/b7493932-e342-420a-ad82-4255fa40a733.jpg);
}

/*關多餘格子*/
.fcol.fcol-4 {    display: none;}
.fcol.fcol-5 {    display: none;}
.fcol.fcol-6 {    display: none;}


/*圖片放大透明*/
.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);
} 

/*黑色塊下滑*/
.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;
}

#call {
    width: 55px;
    right: 10px;
    border-radius: 50%;
    z-index: 999;
    bottom: 165px;
    position: fixed;
}

#toline {
    width: 55px;
    right: 10px;
    z-index: 999;
    bottom: 105px;
    position: fixed;
}
