.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


/*top*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar .container {
  text-align: justify;
  font-size: 0;
  /*text-align: center;*/  
  padding-top:0px;
}

.topnavbar .container::after {
  content: "";
  display: inline-block;
  width: 100%;
}

.topnavbar {
  background-color: #202020;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #fff;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #fcbe18;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #fcbe18;padding-top:5px;}


#nav ul li.current a  {
    color: #fcbe18;  
}

#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(75, 75, 75,0.85);
    color: #fff;
    text-align: left;
    width: 200px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 200px;
    padding: 0px 10px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 200px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-top:0px;
}

#nav li.has-subnav ul li a {
    color: #fff;
    width:200px;
    white-space: pre-line;
  }


/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(700 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
}

.swiper-slide {
  width: 100% !important;
}


/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/42201/files/8a21f784-c7ce-40e4-9c1e-c4b40d1a0171.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  min-height:400px;
}

#bodyinhome .fcol.fcol-1 .container{padding:60px 0}

@media(max-width:414px){
  #bodyinhome .fcol.fcol-1 {
    padding:20px;
  }
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/42201/files/392e473a-6e26-46a8-8991-91bea787876a.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  /*background-attachment:fixed;*/
  min-height:400px;
}


#bodyinhome .fcol.fcol-2 .container{padding:60px 0}

@media(max-width:414px){
  #bodyinhome .fcol.fcol-2 {
    padding:20px;
  }
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/42201/files/85961a63-ba03-4406-ad5b-1417a29f36d2.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  min-height:400px;
}




/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6 {
  display:none;
}


/*h1*/
.h1title{color:#d88d0b;border-bottom:1px dashed #d88d0b;}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  

/*pd*/
ul.product-list li h3 {
    flex: 1 0 auto;
    max-height: 3.15rem;
    margin: 0.7rem 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #000;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #59aacb;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#footer{background:#1a0f06;border-top:4px solid #e9a31d;}

#foot-nav ul li a {
    color: #fff;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #fff;
}

#footer {
    color:#fff;
}

#contact-info ul li span {
    color: #fff;
}

#copyright, #copyright a{color:#dcdcdc;}


/*文字滑過變色方塊*/
.serveimg {
   font-size: 100%;
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background:  #333333;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 10px;
}
.serveimg:hover {
   font-size: 110%;
   display: block;
   text-align: center;
   width: 100%;
   min-height:100px
   padding-bottom: 100%;
   background: #000000;
   overflow: hidden;
   position: relative;
   padding:10px 10px;
   border-radius: 10px;
}


/*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%;
}