/*icon--------------*/
/*tl icon*/
.tl{position:fixed;right:0.5%;top:8%;z-index:1000;}
/*LINE icon*/
.line{position:fixed;right:0.5%;top:16%;z-index:1000;}
/*ma icon*/
.ma{position:fixed;right:0.5%;top:24%;z-index:1000;}

@media only screen and (max-width: 428px) {
  .tl{position:fixed;right:0.5%;top:40%;z-index:1000}
  .line{position:fixed;right:0.5%;top:48%;z-index:1000}
  .ma{position:fixed;right:0.5%;top:56%;z-index:1000;}
}

@media(max-width:428px){
  .tl, .line, .ma{
    transform:scale(0.8);  }
}



/*body*/

.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }


#wrap{
  background:url(https://static.iyp.tw/408907/files/48b27992-6c42-45ec-be9f-6cc8646b7e4e.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
}


/*logo*/

 #logo img {
   padding: 0 16px 16px;
 }


/*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: #000;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
  border-bottom:3px solid #b78d32;
}



/*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: #a78844;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #a78844;padding-top:5px;}


#nav ul li.current a  {
    color: #a78844;  
}


#nav .subnav {
    position: absolute;
    top: 100%;
    max-width: 180px;
    background-color: rgba(75,75,75,0.55);
} 


#nav ul .subnav li a {
    background-color: rgba(185, 138, 70,0.85);
    color: #fff;
    text-align: left;
    width: 180px;
}

#nav ul li .subnav a span {
    display: inline-block;
    max-width: 180px;
    padding: 0px 10px;
    border-top:0px;
}

#nav ul li .subnav a span:hover  {
    display: inline-block;
    max-width: 180px;
    border-top: 0px solid;
    padding: 0px 10px;
    border-top:0px;
}

#nav li.has-subnav ul li a {
    color: #fff;
    width:180px;
    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 .container{
  padding:0px 300px 60px 300px;
}

@media(max-width:767px){
  #bodyinhome .fcol.fcol-1 .container{
  padding:0px 100px 40px 100px;
  }
}


@media(max-width:767px){
  #bodyinhome .fcol.fcol-1 .container{
  padding:0px 30px 40px 30px;
  }
}


.greyLine {
    position: relative;
    margin: 0 auto;
    height: 5rem;
    width: .0625rem;
    background: #a98c48;
    display: block;
    margin-bottom: 2rem;
}

.greyLine::after {
    content: '';
    display: block;
    position: absolute;
    height: .625rem;
    width: .625rem;
    border: .0625rem solid #a98c48;
    transform: rotate(45deg);
    bottom: -.8rem;
    left: -.3125rem;
}

.ser-top span.ser-line {
    background: #a98c48;
    width: 25px;
    height: 5px;
    display: block;
    margin: 1em auto 1em;
}


.ser-top p {
	font-size: medium;
	font-weight: 400;
	color: #a98c48;
	line-height: 1.6em;
	width: 80%;
	margin: 0em auto 0em;
	text-align: center;
}


/*Index_2*/
#bodyinhome .fcol.fcol-2 {
  padding:0 20px 40px 20px;
  background:rgba(210,210,210,0.65);
  border-radius:0 99em 99em 0;
  min-height:400px;
}

.service_img {
  position: relative;
}

.service_text {
  position: absolute;
  display: table-cell;
  z-index: 999;
  text-align: right;
  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: right;
  vertical-align: middle;
  width: 100%;
  height: 100%;
  color: #fff;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 15px 15px 15px;
  background-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.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{
   display:none;
}

/*
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/408907/files/dd94c7fc-8cb4-46e3-abe1-7729a555fa4f.jpg)no-repeat;
  background-position:top center;
  background-size:cover;
  background-attachment:fixed;
  min-height:400px;
}

#call a.more-btn {
  position: relative;
  padding: 15px 25px;
  border: solid 1px #fff;
  color: #fff;
  font-size:20px;
  border-radius: 99em;
  display: block;
  z-index:99999;
}

#call a.more-btn span {
    color: #FFE9AB;
    text-shadow: 0px 0px 6px rgba(248, 255, 51, 0.76);
}

#call a.more-btn:hover{
    color: #fff;
    text-decoration: none;
}

#call a.more-btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-color: #bd8b43;
  left: 0px;
  top: 0px;
  bottom: 0px;
  width: 0px;
  border-radius: 99em;
}


#call a.more-btn:hover:before {
    right: 0px;
    width: 100%;
    border-radius: 99em;
}

#call a.more-btn:before {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}


#call a.more-btn span {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
*/




/*Index_4~6*/
#bodyinhome .fcol.fcol-4,
#bodyinhome .fcol.fcol-5,
#bodyinhome .fcol.fcol-6{
   display:none;
}



/*h1*/
.h1title{
  color:#b98943;
  text-align:center;
}


/*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: #b98943;
    text-shadow: none;
    padding: 0 10px;
}


/*form*/
.mark {
    background: none;
   }


/*footer*/
#footer{
   border-top:3px solid #b78d32;
}  

.contact-row {
  padding: 0em;
  line-height: 1.6;
}


/*按鈕*/
.serveimg {
   display: block;
   text-align: center;
   width: 100%;
   min-height:70px;
   padding-bottom: 100%;
   background: #efefef;
   overflow: hidden;
   position: relative;
   border-radius:10px;
   padding:20px 15px;
}

.serveimg:hover {
   display: block;
   text-align: center;
   width: 100%;
   min-height:70px;
   padding-bottom: 100%;
   background: #b98943;
   overflow: hidden;
   position: relative;
   border-radius:10px;
   padding:20px 15px;
}

.serveimg a{color:#333;display:block;}

.serveimg:hover a{color:#fff;}
