a {
    color: #3e3e3e;
    text-decoration: none;
}


body {
 background-image: url(https://i.imgur.com/GwvNuJ5.jpg);
            background-repeat: no-repeat;
            background-attachment: fixed;
            background-position: center;
            background-size: cover;
    color: #000;
    font-size: 16px;
    margin: 0;
  border-top:35px #3e3e3e solid;
      font-family:"標楷體";
}
/* 首頁與內頁共用 */
.swiper-container {
  height: auto !important;
}

.swiper-wrapper, .swiper-slide {
  height: 0 !important;
}

.swiper-slide {
  width: 100% !important;
}
/* 首頁 */
#bodyinhome .swiper-wrapper, #bodyinhome .swiper-slide {
  padding-bottom: calc(800 / 1920 * 100%); /* 首頁 banner 大小 */
}
/* 內頁 */
#bodyinpage .swiper-wrapper, #bodyinpage .swiper-slide {
  padding-bottom: calc(600 / 1920 * 100%); /* 內頁 banner 大小 */
}



/*回首頁*/
.navbar-nav > li > a {
    color: #fff;
}


.topnavbar {
    background-color: transparent;
  top:0px;
   position: relative;
   z-index:100;
 width:100%;
}
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    /*padding: 5px 25px;*/
    font-size: 120%;
}
#nav ul li a:hover{
        background: rgba(51,51,51,0.75);
      color: #fff;
}
#nav ul li.current a {
      color: #444;
    font-weight: 600;
}
#nav ul li .subnav {
 background-color: rgba(51,51,51,0.75);
}
#nav ul li .subnav a {
 background-color: rgba(51,51,51,0.75);
      color: #fff;
}
#nav ul li .subnav a:hover {
 background-color: rgba(68,68,68,1);
}


.h1title {
    color: #3e3e3e;
    font-size: 2rem;
    font-weight: normal;
  border-bottom:1px #3e3e3e dotted;
}



/*圖片*/
.row [class^="col-"] img{
  opacity:3;
    transition:0.7s
}
.row [class^="col-"] img:hover {
    opacity:0.55;
}
.row [class^="col-"] {
  padding:10px;
}






body[data-type="fullpage"] .main {
    min-height: 0px;
}


/*產品格*/
ul.product-list li .desc {
    display: block;
    min-height: 1.2rem;
    max-height: 2.4rem;
    margin-bottom: auto;
    font-size: .8rem;
    line-height: 1.5;
    word-break: break-word;
    color: #666;
    overflow: hidden;
    padding: 0 16px;
    display: none;
}/*隱藏詳細介紹*/
ul.product-list li a.focus h3, ul.product-list li a:hover h3 {
    color: #000;
}
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: #444;
    overflow: hidden;
    padding: 0 16px;
}/*改產品格名稱顏色*/



#side ul li a {
    color: #000;
    display: block;
    padding: 10px 20px;
    transition: .3s;
}
.product-list-div h2 a {
    color: #000;
    text-decoration: none;
    display: inline-block;

}
.product-list-div h2 {
    margin-bottom: 10px;
    border-bottom: 1px solid #000;
    text-shadow: 0 0px 0 #fff;
}
body[data-type="fullpage"] .product-list-div h2 a.show-all {
    color: #000;
    transition-property: left, color;
}
ul.product-list li .money-icon {
    color: #000;
    font-size: 95%;
    margin-right: 8px;
    margin-left: 16px;
    text-shadow: 0 0px 0 rgba(255,255,255,0.7);
}




#footer {
    color: #fff;
    background-color: #3e3e3e;
}
.contact-row {
    padding: 0em 0 1em;
    line-height: 1.6;
}
#footer a {
    color: #fff;
}
#contact-info ul li span {
    color: #fff;
}
#footer-service {
    display: none;
}
#foot-nav ul li a {
    color: #eee;
    font-size: 1.06em;
}



/*fb*/
.fbbox{background: url("https://s3-ap-northeast-1.amazonaws.com/static.iyp.tw/33844/files/cfa6437f-cb4c-4202-8b83-933e4dd0370c.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 290px;z-index: 99999;position:fixed;right:-250px;top:10%;}

.fbbox div{border:none;position:relative;display:block;}

.fbbox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}

.fbbox span a{color: #808080;text-decoration:none;}

.fbbox span a:hover{text-decoration:underline;}








/*首頁小圖*/
.rk_intro {
	width: 100%;height:auto;
  margin-right: 42px; 
  float: left; 
  position: relative;
}

.rk_intro .word {
	background: rgba(0, 0, 0, 0.75);
	left: 0px;
	width: 100%;
	height: 32px;
	text-align: center;
	bottom: 0px;
	line-height: 32px;
	float: left;
	position: absolute;
	bottom: 6px;
}
.rk_intro a {
	color: rgb(255, 255, 255); 
  display: block;
}
.rk_intro a:hover {
	color: rgb(0, 0, 0, 0.5); 
  font-weight: bold;
}
.rk_product {
  min-height:150px;
}



/*about us*/
.topOne {
    background-image: url(https://static.iyp.tw/17813/files/1a2dec36-405f-468b-be08-ed4e33c30b9b.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    color: #fff;
    padding: 50px 30px;
}
.topThree {
    background-image: url(https://static.iyp.tw/17813/files/adbccfb1-ef07-4834-bb12-8b09faa49020.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
    color: #fff;
    padding: 50px 30px;
}


/*index*/
#indexOne {
    background-image: url(https://static.iyp.tw/17813/files/d47734e3-d27b-422a-b8cc-7cf0ff1599f5.jpg);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: #fff;
    padding: 30px 0px;
}
/*index box-1*/
.intro {
	-webkit-animation-delay: 1.5s;
}
.intro a {
	overflow: hidden;
	position: relative;
	padding: 10px 40px;
	border: 1px #fff solid;
	display: inline-block;
	font-size: 16px;
	color: #fff;
}
.intro a:hover {
	color: #fff;
	background: #222;
	transition: all 0.4s ease;
}
.intro a:after {
	position: absolute;
	width: 100%;
	height: 100%;
	content: "";
	top: 0;
	left: -100%;
	display: block;
	background: #222;
	transition: all 0.4s ease;
	z-index: -1;
}
.intro a:hover:after {
	left: 0;
}
/*index box-2*/
.intro2 {
	-webkit-animation-delay: 1.5s;
}
.intro2 a {
	overflow: hidden;
	position: relative;
	padding: 10px 40px;
	border: 1px #000 solid;
	display: inline-block;
	font-size: 16px;
	color: #000;
}
.intro2 a:hover {
	color: #fff;
	background: #222;
	transition: all 0.4s ease;
}
.intro2 a:hover:after {
	left: 0;
}