.ser-top span.ser-line {
    background: #1684c4;
    width: 25px;
    height: 5px;
    display: block;
    margin: 1em auto 1em;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #fff;
	line-height: 1.6em;
	width: 80%;
	margin: 0em auto 0em;
	text-align: center;
}


.a1{
   width: 100%;
   border:1px solid #a67e3d;
   padding:15px 20px;
}

.a2{
   background:#bfcddb;
   padding:15px;
   height:250px;
}

.a2 h1{
  border-bottom:1px dashed #333;
}

.a3{
   background:#bfcddb;
   padding:15px;
   height:auto;  
  }


.a3 h1{
  border-bottom:1px dashed #333;
}

.a4{
   background:#bfcddb;
   padding:15px;
   /*height:200px;*/
}


/*body*/
body {
    color: #333;
    font-size: 14px;
    margin: 0;
}

.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#bodyinhome #wrap{
   background:url(https://static.iyp.tw/409487/files/9b1f184d-0697-42ab-acef-ea0e5b8ae0db.jpg)no-repeat;
   background-position:top center;
   background-size:cover;
   background-attachment:fixed;
}

p{
  letter-spacing:0.12rem;
  line-height:1.4rem;
}


#main-wrap li{
  letter-spacing:0.12rem;
  line-height:1.2rem;
}


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }


#logo a{
  background:url("https://static.iyp.tw/409487/files/4232e277-0549-424d-992c-9df7e9473ccc.png") no-repeat ;
  display:block;text-indent:-9999px;width:350px;height:90px;
}


@media(max-width:428px){
  #logo a{background:url("https://static.iyp.tw/409487/files/4232e277-0549-424d-992c-9df7e9473ccc.png") no-repeat ;
   display:block;text-indent:-9999px;width:300px;height:77px;
 }
}

@media only screen and (max-width: 428px){
#logo a {
  width: 100%;
  height: auto;
  display: inline-block;
  margin-left: 15px;
}
 }



/*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: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    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: #1580c3;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #1580c3;padding-top:5px;}


#nav ul li.current a  {
    color: #1580c3;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 200px;
    background-color: #3196bb;
} 


#nav ul .subnav li a {
    background-color: #3196bb;
    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;
    padding:12px 5px;
  }


/*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*/

@media(max-width:768px){
  #bodyinhome .col-2{
    flex: 1 0 48%;
    max-width: 50%;    
  }
}


@media(max-width:480px){
  #bodyinhome .col-2{
    flex: 1 0 100%;
    max-width: 100%;    
  }
}


/*Index_1*/
#bodyinhome .fcol.fcol-1 .container{
   padding:40px 20px;
}


/*Index_2*/
.service_img {border:1px solid #ccc;padding:8px;}


.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background: rgba(0, 0, 0, 0);
  text-shadow: black 0.1em 0.1em 0.2em;
}

.service_text:hover {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: center;
  vertical-align: middle;
  width: 85%;
  height: 90%;
  color: #fff;
  top: 15px;
  bottom: 10;
  left: 10;
  right: 10;
  padding: 10x;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
  margin:0 auto
}

.service_text div {
  font-size: 24px;
  line-height: 30px;
  position: relative;
  top: 50%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 25px;
    line-height: 30px;
    position: relative;
    top: 50%;
  }
}



/*Index_3*/
#bodyinhome .fcol.fcol-3 .container {
   padding:40px 20px;
}

.case.row .col-2 {
   background:rgba(255,255,255,0.75);
   box-shadow: 0 5px 5px rgba(44,44,44,0.1);
   padding:8px;
   margin-right: 8px;
   flex: 1 0 48%;
   max-width: 49%;
}

@media(max-width:480px){
  .case.row .col-2 {
   background:rgba(255,255,255,0.75);
   box-shadow: 0 5px 5px rgba(44,44,44,0.1);
   padding:8px;
   margin-right: 8px;
   flex: 1 0 100%;
   max-width: 100%;
}
}

.case.row h1{
  background:#92754c;
  padding:5px;
  color:#fff;
}

.case.row h1 p{
  letter-spacing:0.2em;
  line-height:1.6em;
  font-size:16px;
}


/*Index_4~6*/

#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
  display:none;
}



/*h1*/
.h1title{
  color: #a67e3d;
  border-bottom:1px solid #dcdcdc;
}

/*h1*/

/*
.h1title{
  color:#3196bb;
  text-align:center;  
}


.h1title h1 span::after {
    content: "";
    display: inline-block;
    font-family: monospace;
    background: #d05c5c;
    width: 25px;
    height: 5px;
    display: block;
    margin: .5em auto 1em;
}
*/

/*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:#32240f;
}

#foot-nav{
  display:none;
}

.footer-content .contact-icon a {
  display: inline-block;
  vertical-align: middle;
  /*width: 150px;*/
  height: 45px;
  border-radius: 50%;
  background-color: transparent;
  margin-left: .5rem;
  margin-right: .5rem;
}


.footer-content .contact-icon a i {
    font-size: 1.4rem;
    color: #EA5719;
    line-height: 35px;
    border:1px solid #fff; 
    border-radius: 50%;
    height: 30px;
    width:30px;
 
}

.fa, .fas {
    font-weight: 900;
}

@media(max-width:576px){
#footer .col-2{
   flex:0 0 100%;
   max-width:100%;
 }
}


/*ti*/
.sr{
  padding: 20px 15px;
  border-radius: 0 0 0px 0px;
  height: 180px;
  border: 1px solid #a67e3d;  
}


@media(max-width:428px){
 .sr{
   height: 120px;
   }
}

.sr_tt{
  padding: 15px 15px;
}


#bodyinpage.rwd-collapse.viewmode.product.singapore-ep-set-up-03 .sr{
   height: 120px;
  }

#bodyinpage.rwd-collapse.viewmode.product.singapore-ep-set-up-03 .sr_tt{
  padding: 15px 15px;
  }


/*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%;
}

a {
  color: #333;
  text-decoration: none;
}