
@import url(../fonts/font-awesome/font-awesome.min.css);
@import url(../fonts/flaticon/flaticon.css);

/*========================================================
                      Main Styles
=========================================================*/

body {
	font-family: "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;	
	font-size: 15px;
	line-height: 24px;
	padding-top: 83px;/*有頂部固定導髚條時設置*/
}


/*==================  navbar-fixed  ======================*/

.navbar-fixed {
	top: 0px;
	visibility: visible;
	position: fixed;
	width: 100%;
	margin-top: 0px;
	z-index: 9999;
	min-height: 83px;
	background: #fff;
	border-bottom: 5px solid #72944d;
}

/* ----------------------- header ----------------------- */

.navbar-default {
	background: #fff;
	/*border-bottom: 7px solid #ef9fae;*/
}
.navbar-brand {
	background: url(../../images/logo_2_g.png) no-repeat left top;
	width: 274px;
	height: 83px;
	text-indent: -9999px;
}

/* ----------------------- 上方左側選單 ----------------------- */

.navbar-text {
	position: absolute;
	right: 50px;
	top: 16px;
	z-index: 10;
	display: none;
}
.navbar-default .navbar-link {
}
.navbar-default .navbar-link:hover {
}


/* ----------------------- 主選單 ----------------------- */

.navbar {
	border: none;
	margin-bottom: 0;
}
.navbar-box {
	background: url(../../images/back_nav.jpg) repeat-x left top;
	background-size: 100% 100%;	
	display: none;
}

.sf-menu {
	max-width: 1170px;
	height: 51px;
	margin: 0 auto;
	text-align: center;
	font-size: 18px;
	list-style: none;
}
.sf-menu li {
	position: relative;
	float: left;
	/*width: 14.28571%;*/ /* 七個選單寬度 */
	width: 16.66666%; /* 六個選單寬度 */
}
.sf-menu > li:nth-of-type(-n+3) {
	display: none;
}
/* 只限第一層設定 */
.sf-menu > li > a {
	display: block;
	line-height: 50px;
	color: #fff;
	text-decoration: none;
}
.sf-menu > li > a:hover {
	color: #ffde00;
}
.sf-menu li:hover {
	visibility: inherit;
	/* fixes IE7 'sticky bug' */
}
.sf-menu ul {
	position: absolute;
	top: -999em;
	width: 160%;
	list-style: none;
	/* left offset of submenus need to match (see below) */
}
.sf-menu ul li {
	width: 100%;
}
.sf-menu li li a,
.sf-menu li.sfHover li a {
	background-color: #72944d;
	display: block;
	color: #fff;
	font-size: 1em;
	padding: 4px 10px;
	text-align: center;
	text-decoration: none;
	border-bottom: 1px dotted #b0c88a;
}

.sf-menu li li a:hover, .sf-menu li li.sfHover a {
	background: #557730;
}
/*第三層基本設定*/
.sf-menu li li li a,
.sf-menu li.sfHover li li a {
	background-color: #0099ff;
	text-align: left;
}
.sf-menu li li li a:hover, .sf-menu li li li.sfHover a {
	background: #fff;
	color: #333;
}
/*第四層基本設定*/
.sf-menu li li li li a:hover, .sf-menu li li li li.sfHover a {
	background: #666;
	color: #000;
}
/*各層位置設定*/
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left: -40px;
	top: 50px;
	/* 匹配第一層的高度*/
	_top: 60px;
	/*IE6修正,被上層蓋住的情況*/
	z-index: 99;
}
.sf-menu li:hover li ul,
.sf-menu li.sfHover li ul {
	top: -999em;
}
.sf-menu li li:hover ul,
.sf-menu li li.sfHover ul {
	left: 100%;
	/* 匹配ul寬度 */
	top: 0;
}
.sf-menu li li:hover li ul,
.sf-menu li li.sfHover li ul {
	top: -999em;
}
.sf-menu li li li:hover ul,
.sf-menu li li li.sfHover ul {
	left: 100%;
	/* 匹配ul寬度 */
	top: 0;
}



/* -------------------------- banner -------------------------- */

.bxslider1, .bxslider2, .bxslider3 {
	margin: 0;
	padding: 0;
	list-style-type: none;
}


.banner-l {
	position: relative;
	display: none;
}
.banner-m {
	position: relative;
	display: none;
}




/* -------------------------- scroll -------------------------- */

.scroll-banner {
	width: 100%;
	position: absolute;
	bottom: 20px;
	z-index: 9;
	cursor: pointer;
	}
.scroll-banner img {
	display: block;
	margin: 0 auto;
}

.scroll-style {
	text-align: center;
	margin-top: 20px;
}
.scroll-style img {
	cursor: pointer;
}

/* -------------------------- 新聞訊息 -------------------------- */

.news-list {
	padding-bottom: 30px;
}

.news-list h1 {
	background: #8da75b; 
	margin-top: 0;
	margin-bottom: 10px;
	text-align: center;
	color: #fff;
	padding: 8px 0;
	font-size: 24px;
}
.news-list ul {
	padding: 10px 0;
}
.news-list li {
	background: url(../../images/arrow_left.gif) no-repeat 6px center;
	padding: 6px 0 6px 16px;	
	font-size: 18px;
	border-bottom: 1px solid #a4abaa;
}

.news-list li span {
	margin-right: 10px;
	color: #5b8234;
	font-weight: bold;
}
.news-list li a {
	color: #4f4f4f;

}
.news-more {
	text-align: center;
}
.news-more a {
	display: inline-block;
	background-color: #8da75b;
	padding: 8px 30px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: white;
	text-decoration: none;
	font-size: 18px;
}


/* ------------------------ 產品列表 -------------------------- */


.product-box {
	padding-bottom: 30px;	
}
.product-box h1 {
	background: #8da75b; 
	margin: 0;
	text-align: center;
	color: #fff;
	padding: 8px 0;
	font-size: 24px;
}
.product-box dl {
	border-bottom: 1px solid #d8d8d8;
	padding: 35px 10px 35px 10px;
	margin: 0;
	overflow: hidden;
}
.product-box dl dt {
	float: left;
	margin: 0 16px 0 0;
	width: 40.4321%;
}
.product-box dl dt img {
	width: 100%;
	height: auto;
	vertical-align: bottom;
}
.product-box dl dd {
	color: #6d6d6d;
	overflow: hidden;
}
.product-box dl dd h5 {
	color: black;
	font-weight: bold;
	font-size: 17px;
	margin: -2px 0 1% 0;
}
.product-box dl dd ul {
/*	overflow: hidden;
	height: 82px;*/
	list-style-type: none;
	margin: 0;
	padding: 0;
}
.product-box dl dd ul li {
	background: url(../../images/arrow_left.gif) no-repeat left 6px;
	padding: 2px 0 2px 8px;
}
.product-box dl dd ul li a {
	display: block;
	color: #4f4f4f;
}
.product-box dl dd div {
	text-align: right;
	margin: 4px 10px 0 0;
	display: none;
}
.product-box dl dd div a {
	display: inline-block;
	background-color: #8da75b;
	padding: 3px 10px 6px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: white;
	text-decoration: none;
}
.product-box dl dd div a:hover {
	-moz-transition: -moz-transform 0.3s;
	-o-transition: -o-transform 0.3s;
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
	background-color: #5b773e;
}

/* -------------------------- footer -------------------------- */

.site_info_box {
	background: #72944d url(../../images/back_footer.jpg) repeat-x left top;
}

.site_info {
	clear: both;
	text-align: left;
	color: #fff;
}

.site_info dl {
	display: none;
}
.site_info dl:last-of-type {
	width: 98%;
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	background-color: transparent;
}
.site_info dl:last-of-type dt {
	font-size: 19px;
	border-bottom: 1px solid #72944d;
	margin: 2% 0 0 0;
	padding: 0;
}
.site_info dl:last-of-type dd {
	border-bottom: 1px solid #72944d;
	padding: 2px 0 2px 0;
}
.site_info dl:last-of-type dd span {
	text-align: left;
	width: 20%;
	position: relative;
	top: 0;
	margin: 0 1% 0 0;
}
.site_info address {
	padding: 0 0 1% 3.5%;
	margin: 0;
	display: none;
}
.site_info address span:first-of-type {
	float: left;
	margin: 0 1% 0 0;
}
.site_info address span:last-of-type {
	float: left;
}

.address_map {
	text-align: center;
	padding: 30px 0 10px 0;
}
.address_map a {
	color: white;
	margin: 0 2%;
	padding: 10px 20px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.address_map a span {
	margin: 0 2% 0 0;
}
.address_map .btn-green {
	background-color: #5b773e;
}




/* --------------------- xs尺寸設定 大於640 --------------------- */

@media (min-width: 640px) {
}

/* --------------------- sm尺寸設定 大於768 --------------------- */

@media (min-width: 768px) {
	
body {
	padding-top: 134px;/*有頂部固定導髚條時設置*/
}
.navbar-fixed {
	border-bottom: 0;
}
.navbar-brand {
	background: url(../../images/logo_1_g.png) no-repeat left top;
	width: 390px;
	height: 83px;
}
.navbar-box {
	display: block;
}
.navbar-text {
	display: block;
}

.banner-l {
	display: none;
}	
.banner-m {
	display: none;
}
.banner-s {
	display: block;
}

.address_map {
	display: none;
}
	
.news-list h1, .product-box h1 {
	font-size: 28px;
}	
	
}

/* --------------------- md尺寸設定 大於992 --------------------- */

@media (min-width: 992px) {
	

.navbar-nav > li > a {
	padding: 0 20px;
}

.news-list h1, .product-box h1 {
	font-size: 32px;
}

.site_info dl {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;	
	width: 10%;
	margin: 0 0 0 1%;
	padding: 30px 0;
}
.site_info dl dt {
	font-weight: bold;
}
.site_info dl dd {
	color: rgba(255, 255, 255, 0.7);
}
.site_info dl dd a {
	color: rgba(255, 255, 255, 0.7);
}
.site_info dl:last-of-type {
	width: 30%;
	background-color: rgba(0, 0, 0, 0.2);
	padding: 20px;
}
.site_info dl:last-of-type dt {
	font-size: 19px;
	border-bottom: 1px solid #8c9d6b;
	padding: 0 0 5px 0;
}
.site_info dl:last-of-type dd {
	position: relative;
	border-bottom: 1px solid #8c9d6b;
	padding: 3px 0 3px 24%;
}
.site_info dl:last-of-type dd span {
	color: white;
	font-weight: bold;
	text-align: right;
	width: 20%;
	position: absolute;
	left: 0;
	top: 3px;
	z-index: 10;
}
.site_info address {
	padding: 1%;
	*zoom: 1;
	display: block;
	/*IE/7/6*/
}
.site_info address:before, .site_info address:after {
	content: "";
	display: table;
}
.site_info address:after {
	clear: both;
}
.site_info address span:first-of-type {
	float: left;
}
.site_info address span:last-of-type {
	float: right;
}


.banner-l {
	display: none;
}	
.banner-m {
	display: block;
}
.banner-s {
	display: none;
}


#banner {
	width: 100%;
	height: 400px;
}
.slideshow, .slideshow .showbox {
	width: 100%;
	height: 400px;
}
.banner {
	width: 970px;
	height: 400px;
	margin: 0 auto;
	position: relative;
}
.banner a {
	display: block;
}
.banner div {
	position: absolute;
	cursor: pointer;
	border: 2px solid #transparent;
}
.banner div:hover {
/*	border: 2px solid #fff;
	border-radius: 5px;*/
	padding: 5px;
}
.banner1 .banner1-a1 {
	width: 62px;
	height: 101px;
	left: 66px;
	top: 10px;
}
.banner1 .banner1-a2 {
	width: 98px;
	height: 97px;
	left: 130px;
	bottom: 38px;
}
.banner1 .banner1-a3 {
	width: 77px;
	height: 92px;
	left: 330px;
	bottom: 28px;
}
.banner1 .banner1-a4 {
	width: 98px;
	height: 55px;
	left: 420px;
	top: 36px;
}
.banner1 .banner1-a5 {
	width: 73px;
	height: 93px;
	left: 550px;
	top: 16px;
}
.banner1 .banner1-a6 {
	width: 81px;
	height: 93px;
	left: 660px;
	top: 16px;
}
.banner1 .banner1-a7 {
	width: 86px;
	height: 95px;
	left: 770px;
	top: 16px;
}

.banner2 .banner2-a1 {
	width: 115px;
	height: 97px;
	left: 80px;
	top: 126px;
}
.banner2 .banner2-a2 {
	width: 112px;
	height: 118px;
	right: 180px;
	top: 58px;
}
.banner2 .banner2-a3 {
	width: 130px;
	height: 100px;
	right: 174px;
	bottom: 84px;
}
.banner3 .banner3-a1 {
	width: 106px;
	height: 93px;
	left: 106px;
	top: 20px;
}
.banner3 .banner3-a2 {
	width: 97px;
	height: 101px;
	right: 134px;
	bottom: 70px;
}

.banner4 .banner4-a1 {
	width: 79px;
	height: 126px;
	left: 200px;
	top: 120px;
}
.banner4 .banner4-a2 {
	width: 107px;
	height: 130px;
	right: 248px;
	bottom: 54px;
}





}




/* --------------------- lg尺寸設定 大於1200 -------------------- */

@media (min-width: 1200px) {
	
.navbar-nav > li > a {
	padding: 0 40px;
}

.news-list h1, .product-box h1 {
	font-size: 36px;
}

.banner-l {
	display: block;
}
.banner-m {
	display: none;
}
.banner-s {
	display: none;
}

#banner {
	width: 100%;
	height: 626px;
}
.slideshow, .slideshow .showbox {
	width: 100%;
	height: 626px;
}
.banner {
	width: 1170px;
	height: 626px;
	margin: 0 auto;
	position: relative;
}
.banner a {
	display: block;
}
.banner div {
	position: absolute;
	cursor: pointer;
	border: 2px solid #transparent;
}
.banner div:hover {
/*	border: 2px solid #fff;
	border-radius: 5px;*/
	padding: 5px;
}
.banner1 .banner1-a1 {
	width: 97px;
	height: 154px;
	left: -60px;
	top: 10px;
}
.banner1 .banner1-a2 {
	width: 154px;
	height: 151px;
	left: 70px;
	bottom: 68px;
}
.banner1 .banner1-a3 {
	width: 120px;
	height: 143px;
	left: 330px;
	bottom: 48px;
}
.banner1 .banner1-a4 {
	width: 153px;
	height: 85px;
	left: 544px;
	top: 46px;
}
.banner1 .banner1-a5 {
	width: 114px;
	height: 143px;
	left: 714px;
	top: 26px;
}
.banner1 .banner1-a6 {
	width: 126px;
	height: 145px;
	left: 860px;
	top: 26px;
}
.banner1 .banner1-a7 {
	width: 134px;
	height: 148px;
	left: 1016px;
	top: 26px;
}

.banner2 .banner2-a1 {
	width: 178px;
	height: 151px;
	left: -45px;
	top: 196px;
}
.banner2 .banner2-a2 {
	width: 174px;
	height: 183px;
	right: 110px;
	top: 78px;
}
.banner2 .banner2-a3 {
	width: 216px;
	height: 155px;
	right: 74px;
	bottom: 104px;
}

.banner3 .banner3-a1 {
	width: 164px;
	height: 144px;
	left: -6px;
	top: 20px;
}
.banner3 .banner3-a2 {
	width: 151px;
	height: 157px;
	right: 34px;
	bottom: 80px;
}

.banner4 .banner4-a1 {
	width: 123px;
	height: 196px;
	left: 152px;
	top: 220px;
}
.banner4 .banner4-a2 {
	width: 166px;
	height: 203px;
	right: 208px;
	bottom: 64px;
}



}
