/*icon*/
.LINE{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}

@media(max-width:414px){
.LINE{position:fixed;right:0%;top:22%;z-index:1000;transform:scale(0.8);}
}

/*icon*/
.phone{position:fixed;right:0%;top:12%;z-index:1000;transform:scale(0.8);
}

@media(max-width:414px){
.phone{position:fixed;right:0%;top:12%;z-index:1000;transform:scale(0.8);
 }
}


/*icon*/
.mail{position:fixed;right:0%;top:32%;z-index:1000;transform:scale(0.8);
}

@media(max-width:414px){
.mail{position:fixed;right:0%;top:32%;z-index:1000;transform:scale(0.8);
 }
}



/*icon*/
.tell-2{position:fixed;right:0%;top:42%;z-index:1000;transform:scale(0.8);
}

@media(max-width:414px){
.tell-2{position:fixed;right:0%;top:42%;z-index:1000;transform:scale(0.8);
 }
}










/* ========= 通用設定 ========= */

body {
  font-size: 16px;
  color: #000;
  background:url(https://static.iyp.tw/20765/files/8f3cacc5-80d1-407a-87ed-9b1b28224484.png) no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: bottom center;
}

body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0;
}

@media(max-width:767px){
#wrap {
  font-size: 16px;
  color: #000;
  background:url(https://static.iyp.tw/20765/files/8f3cacc5-80d1-407a-87ed-9b1b28224484.png) no-repeat;
  background-attachment: fixed;
  background-size: 100%;
  background-position: bottom center;
 }
}




/* ========= 返回頂部按鈕 ========= */
#gotop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  padding: 20px 15px;
  font-size: 17px;
  border-radius: 50px;
  background-color: rgba(162, 17, 17, 0.5);
  color: white;
  text-align: center;
  cursor: pointer;
}


/* Logo 標誌 */
#logo {
  margin-top: -10px;
}

@media only screen and (max-width: 767px) {
  #logo {
    margin-top: -10px;
  }
}



/* ========= 導覽列設定 ========= */
.topnavbar {
  background-color: #41b97d;
  position: relative;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 100px;
  padding: 0.6rem 0 0 0;
}

.topnavbar .container {
  height: 100%;
  padding: 10px 0 20px;
  text-align: center;
  font-size: 0;
}



/*產品圖調整*/
ul.product-list li a {
  display: flex;
  flex-flow:
column;
  width: 100%;
  height: 100%;
  margin:
0 auto;
  text-decoration:
none;
  cursor: pointer;
  padding-bottom: 16px;
  color: #38312d;
  border:
1px solid #ddd;
  border-radius:
3px;
  background-color: rgba(0,0,0,0.05);
  transition-property: color, box-shadow;
}





/* ========= 導覽選單 ========= */
/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 100%;
    border-right: 1px #ccc dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #fee300;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:4px solid #fee300;padding-top:5px;}


#nav ul li.current a  {
    color: #fee300;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 180px;
    background-color: rgba(75,75,75,0.75);
} 


#nav ul .subnav li a {
    background-color: rgba(226, 2, 127,0.65);
    color: #fff;
    text-align: left;
    width: 18px;
}

#nav ul .subnav li a {
     color: #fff;
}

#nav li.has-subnav ul li a {
    color: #fff;
    white-space: pre-line;
    padding: 10px 10px;
    width:180px;
}

#nav ul li .subnav a span {
    padding: 5px 0px;
    border-top:0px;
    width:180px;
}

#nav ul li .subnav a span:hover  {
    padding: 5px 0px;
    border-top:0px;
    width:180px;
}








/* ========= Banner Swiper ========= */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%);
}

.swiper-slide {
  width: 100% !important;
}









/* ========= 公司簡介背景區塊 ========= */
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header {
  display: none;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1,
/*#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2,*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3,
#bodyinpage.rwd-collapse.viewmode.default.news .fcol.fcol-1
{
  background-position: top center;
  background-size: cover;
  min-height: 530px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 {
  background-image: url(https://static.iyp.tw/20765/files/aeaa54d3-d16b-4459-bafb-d30d96572d3d.png);
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-1 .container {
 padding:60px 20px
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2 {
  background: url(https://static.iyp.tw/20765/files/1e3cbc0e-4fc8-4075-8714-a70272dd121f.png) no-repeat;
    background-position:top center;
  background-size:cover;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 {
  background-image: url(https://static.iyp.tw/20765/files/ee532f59-56bd-43d4-b671-cf365348474a.png);
}

@media (max-width: 600px) {
  .ab.row .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}



/*區塊隱藏*/
#bodyinpage.about-us .fcol.fcol-4,
#bodyinpage.about-us .fcol.fcol-5,
#bodyinpage.about-us .fcol.fcol-6,
#bodyinpage.news .fcol.fcol-1 {
  display: none;
}






/* ========= 表格樣式 ========= */
th, td {
  text-align: left;
  padding: 16px;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

th {
  background-color: #03bb67;
  color: white;
}








/* ========= 響應式設定 ========= */
@media (min-width: 768px) {
  .topnavbar {
    position: absolute;
  }
}

@media (max-width: 600px) {
  .topnavbar .container {
    text-align: center;
  }
}


/* Swiper 輪播設定 */
.swiper-container {
  height: auto !important;
}
.swiper-wrapper,
.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(650 / 1920 * 100%);
}
.swiper-slide {
  width: 100% !important;
}


-


/* Footer 與其他補充 */
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) {
  margin-bottom: 0;
}
@media (min-width: 1920px) {
  body[data-type="fullpage"] #footer .container {
    width: 1160px;
  }
}
#header .topnavbar .container {
  padding: 0 40px;
  width: 100%;
}



/* =========owl========= */
.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%;
}




/*消除聯絡表單BUG*/
.mark{background:none;},
