/*優肯右側icon*/

.yk_01{position:fixed;right:-1%;top:40%;z-index:1000;transform:scale(0.6);}
.yk_02{position:fixed;right:-1%;top:52%;z-index:1000;transform:scale(0.6);}

@media only screen and (max-width: 480px) {
.yk_01{position:fixed;right:-10%;top:80%;z-index:1000;transform:scale(0.4);}
.yk_02{position:fixed;right:-10%;top:88%;z-index:1000;transform:scale(0.4);}
}
  
  
/*手機版logo底色*/

@media only screen and (max-width: 767px) {
    body[data-type="fullpage"] .topnavbar {
        background-color: rgba(111, 20, 12, 1);
    }
}

/*icon*/

.tl{position:fixed;right:0.5%;top:20%;z-index:1000; transform:scale(0.8);}
.FB{position:fixed;right:0.5%;top:30%;z-index:1000; transform:scale(0.8);}



@media only screen and (max-width: 428px) {
  .tl{position:fixed;right:0.5%;top:60%;z-index:1000; transform:scale(0.8);}
  .FB{position:fixed;right:0.5%;top:70%;z-index:1000; transform:scale(0.8);}

}

@media(max-width:428px){
  .tl, .FB,{
    transform:scale(0.7);  }
}



/*body*/
body {
    color: #333;
    font-size: 16px;
    margin: 0;
}
a {
    color: #6f140c;
    text-decoration: none;
}
a:hover {
    color: #ead487;
}


.row [class^="col-"] {
  padding:10px;
}
body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-header{
   display:none;
}


/*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: #6f140c;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;
}



/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #e9d285;
    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: #b28136;
}

#nav ul li a span{transition:all 0.5s;}

#nav ul li a:hover span{border-top:2px solid #b28136;padding-top:5px;}


#nav ul li.current a  {
    color: #b28136;  
}

#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: #e9d285;
    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: #e9d285;
    width:200px;
    white-space: pre-line;
  }



/*Banner*/
.swiper-container {
  height: auto !important;
}

#bodyinhome .swiper-wrapper,#bodyinhome .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(900 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
  border-bottom: 0px solid #e9d387;
}

#bodyinpage .swiper-wrapper,#bodyinpage .swiper-slide {
  height: 0 !important;
  padding-bottom: calc(900 / 1920 * 100%); /* 注意圖片高度與寬度要去掉單位 */
  background-position:top center;
}

.swiper-slide {
  width: 100% !important;
}




/*Index_1*/
#bodyinhome .fcol.fcol-1{
  background:url(https://static.iyp.tw/40737/files/7f4d779c-3976-4288-a0d6-70c7f2153356.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
}
/*
#bodyinhome .fcol.fcol-1 .container{
   padding:60px 20px;
}*/

#bodyinhome .fcol.fcol-1{
  background:#a70600;
  padding: 1em; 
}


/*Index_2*/
#bodyinhome .fcol.fcol-2{
  background:url(https://static.iyp.tw/40737/files/0fd934b0-787f-4cac-9ada-eef86bb32b78.jpg )no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
  background-attachment:fixed;
}

#bodyinhome .fcol.fcol-2 .container{
   padding:60px 20px;
}


/*Index_3*/
#bodyinhome .fcol.fcol-3{
  background:url(https://static.iyp.tw/40737/files/7f4d779c-3976-4288-a0d6-70c7f2153356.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height:400px;
}

#bodyinhome .fcol.fcol-3 .container{
   padding:60px 20px;
}


.service_img {
  position: relative;
  box-shadow: 0 5px 5px rgba(44,44,44,0.1);
  padding: 5px 5px 0;
  border: 3px solid #dbb366;
  border-radius: 0.1em;
}

.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;
  border-radius: 0.1em;
}

.service_text:hover {
  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-color: rgba(0,0,0,0.55);
  transition: 0.5s;
}

.service_text div {
  font-size: 20px;
  line-height: 25px;
  position: relative;
  top: 50%;
  font-weight: bold;
}

@media (max-width: 768px) {
  .service_text div {
    font-size: 36px;
    line-height: 30px;
    position: relative;
    top: 40%;
  }
}

.service_img img{
  border-radius: 0.1em;
}


/*Index_4*/
#bodyinhome .fcol.fcol-4{
  background:url(https://static.iyp.tw/40737/files/94100641-725b-436c-9b53-6952f54cb800.jpg)no-repeat;
  background-size:cover;
  background-position:top center;
  min-height: 400px;
  background-attachment:fixed;
}

#bodyinhome .fcol.fcol-4 .container{
   padding:60px 20px;
}


/*Index_5*/
#bodyinhome .fcol.fcol-5 .container{
  max-width:100%;
  width:100%;
  padding:0px;
}


/*more*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 10px 20px;
	border: 1px #dbb266 solid;
	display: inline-block;
	font-size: 125%;
	color: #dbb266;
  	background: transparent;
}
.intro a:hover {
	color: #fff;
	background: #dbb266;
	transition: all 0.4s ease;
}
.intro a:hover:after {
	left: 0;
}

/*Index_6*/

#bodyinhome .fcol.fcol-6 {
  display:none;
}


/*h1*/
.h1title{
  display: none;
  /*color:#a70600;
  border-bottom: 0px dashed #d88d0b;*/
}


/*side*/
#side ul li a {
    color: #555;
    display: block;
    padding: 10px 20px;
    transition: .3s;
    border-bottom: 1px dashed #555;
}  


/*pd*/
body[data-type="fullpage"] .main {
    min-height: 50px;
}


/*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: #333;
    overflow: hidden;
    padding: 0 16px;
}

body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #fff;
    transition-property: left, color;
    background: #db2929;
    text-shadow: none;
    padding: 0 10px;
}


/*隱藏詳細介紹*/
ul.product-list li .desc {
    display: none;
   }


/*form*/
.mark{background:none;}


/*footer*/
#footer{
 color: #ead487;
 background:#6f140c;
}

#foot-nav {
  display:none;
}

#foot-nav ul li a {
    color: #ead487;
    font-size: 1.06em;
}

#foot-nav {
    clear: both;
    padding: 1em 0;
    border-bottom: 1px solid #ead487;
}

#footer {
    color:#ead487;
}

#contact-info ul li span {
    color: #ead487;
}

#copyright, #copyright a{color:#dcdcdc;}


#continfo ul li i.fa {
  width: 28px;
  line-height: 26px;
  text-align: center;
  border: 1px #ead487 solid;
  border-radius: 99em;
  margin-right: 7px;
  height: 26px;
}

#continfo ul li {
  color: #ead487;
  margin: 10px 0;
  font-size: 16px;
}

.contact-row h5 {
    color: #ead487;
    padding: 0.5em
em
 0 1em;
    width: 100%;
}


#continfo2 ul li i.fa {
  width: 28px;
  line-height: 26px;
  text-align: center;
  border: 1px #333 solid;
  border-radius: 99em;
  margin-right: 7px;
  height: 26px;
}

#continfo2 ul li {
  color: #333;
  margin: 10px 0;
  font-size: 16px;
}


/*more*/
.intro2 {
	-webkit-animation-delay: 1.5s;
}
.intro2 a {
	overflow: hidden;
	position: relative;
	padding: 20px 10px;
	border: 1px #a70600 solid;
	display: inline-block;
	font-size: 120%;
	color: #a70600;
  	background: transparent;
}
.intro2 a:hover {
	color: #dbb266;
	background: #a70600;
	transition: all 0.4s ease;
}
.intro2 a:hover:after {
	left: 0;
}


/*BG*/
#wrap{background:url(https://static.iyp.tw/40737/files/2615b6a3-9aa0-418f-99e4-bf2abb9ec890.jpg)no-repeat;
background-position:bottom left;background-attachment:fixed;}

