
@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: 90px;/*有頂部固定導髚條時設置*/
}
p {
	margin-bottom: 3%;
}
.h1 {
	font-size: 28px;
	font-weight: bold;
	margin-top: 40px;
	margin-bottom: 20px;
}
.h4 {
	font-weight: bold;
	border-bottom: 1px dotted #bfd8a4;
	margin-bottom: 20px;
}
.h4 span {
	display: inline-block;
	background-color: #bfd8a4;
	padding: 7px 20px;
	color: #3a5022;
}



/*文章分享*/
.icon_share {
	text-align: right;
	padding: 0;
	margin: -10px 0 20px 0;
}
.icon_share li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	margin: 0 1px;
}


/*==================  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.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 -------------------------- */

#banner {
	width: 100%;
	height: 225px;
	position: relative;
}
.banner1 {
	background: url(../images/banner1.jpg) no-repeat center top;
}
.banner2 {
	background: url(../images/banner2.jpg) no-repeat center top;
}
.banner3 {
	background: url(../images/banner3.jpg) no-repeat center top;
}
.banner4 {
	background: url(../images/banner4.jpg) no-repeat center top;
}
.banner5 {
	background: url(../images/banner5.jpg) no-repeat center top;
}
.banner6 {
	background: url(../images/banner6.jpg) no-repeat center top;
}
.banner7 {
	background: url(../images/banner7.jpg) no-repeat center top;
}


/* -------------------------- 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;
}


/* -------------------------- 內頁框架 -------------------------- */

.content {
	background: url(../images/back_container.jpg) repeat-x left top;
	padding: 0 0 20px 0;
}

/* -------------------------- 關於兆廣 -------------------------- */


.about_map {
	bottom: -20%;
	font-size: 17px;
	margin: 0 0 3% 0;
}
.about_map li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 44%;
	margin: 0 1%;
}
.about_pic_md {
    display: none;
}


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

.product-box {
	padding-bottom: 30px;	
}
.product-box h2 {
	border-bottom: 1px solid #bfd8a4;
	background: #bfd8a4; 
}
.product-box h2 span {
	display: inline-block;
	background: #bfd8a4; 
	color: #3a5022;
	font-size: 22px;
	padding: 7px 20px;
	font-weight: bold;
}
.product-box dl {
	border-bottom: 1px solid #d8d8d8;
	padding: 35px 10px 35px 10px;
	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;
}

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


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


/* -------------------------- 產品介紹 -------------------------- */

.products_list {
}
.products_list img {
	width: 100%;
}
.products_list dd h5 {
	color: #719b43;
	font-weight: bold;
	font-size: 19px;
	margin: 4% 0 2% 0;
}
.products_list dd ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.products_list dd ul li {
	border-bottom: 1px dotted #d8d8d8;
}
.products_list dd ul li:first-of-type {
	border-top: 1px dotted #d8d8d8;
}
.products_list dd ul li:nth-of-type(2n+1) {
	background-color: #fbfdfa;
}
.products_list dd ul li a {
	display: block;
	padding: 9px 0 8px 40px;
	background: url(../images/icon_pdf.png) no-repeat 10px 8px;
	text-decoration: none;
	color: #333
}
.products_list dd ul li a:hover {
	background-color: #d8e7c8;
}
.products_list dd p {
	margin: 4% 1% 0 1%;
}



/* 產品內頁顯示 */
.products_box {
	margin: 0 0 30px 0;
}
.products_box dt {
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 20px;
}
.products_box dt #bigImg img {
	width: 100%;
	vertical-align: bottom;
	border: 1px solid #c8c8c8;
	padding: 4px;
	margin-bottom: 10px;
}

#smallImg {
	margin: 0;
	padding: 0;
}
#smallImg li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	margin: 0 3px 0 0;
}
#smallImg li img {
	width: 60px;
	height: 45px;
	border: 1px solid #c8c8c8;
	padding: 2px;
	cursor: pointer;
}

.products_box dd {
	padding: 0;
/*	background-color: #f5fbef;*/
}
.products_box dd h3 {
	background-color: #bfd8a4;
	font-size: 18px;
	color: #3a5022;
	font-weight: bold;
	padding: 10px;
	margin: 0 0 12px 0;
}
.products_box dd .style {
	position: relative;
	padding: 7px 0 7px 80px;
	border-bottom: 1px dotted #acc690;
	margin: 10px 0;
}
.products_box dd .style:last-of-type {
	border-bottom: none;
}
.products_box dd .style span {
	position: absolute;
	left: 2px;
	top: 7px;
	z-index: 20;
	width: 80px;
	display: inline-block;
	color: #000;
	font-weight: bold;
}



/* -------------------------- 優勢能力 -------------------------- */

.capacity-list-1 {
	padding: 0 15px 0;
	list-style: none;
}
.capacity-list-1 li {
	padding: 10px 0 10px 10px;
}
.capacity-list-1 li:nth-of-type(2n+1) {
	background-color: #d8e7c8;
}
.capacity-list-1 li:before {
	content: '\f00c';
	font-family: 'FontAwesome';
	font-size: 17px;
	color: #5f8238;
	margin-right: 6px;
}

.capacity-list-2 {
	counter-reset: li;
	text-align: left;
	padding: 0;
	list-style: none;
}
.capacity-list-2 li {
	position: relative;
	padding-left: 90px;
	text-align: left;
	min-height: 80px;
	margin: 0 0 20px 0;
}
.capacity-list-2 li:nth-of-type(3){
	min-height: 120px;
}


.capacity-list-2 li:before {
	content: counter(li,decimal) ".";
	counter-increment: li;
	padding-left: 5px;
	margin-bottom: 10px;
	font-size: 40px;
	width: 70px;
	height: 70px;
	line-height: 70px;
	text-align: center;
	display: inline-block;
	font-family: 'Roboto', sans-serif;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	color: white;
	background: #5f8238;
	position: absolute;
	top: 0px;
	left: 0px;
}


/* -------------------------- 最新消息 -------------------------- */

.news {
	margin: 0 0 3% 0;
}
.news dl {
	clear: both;
	overflow: hidden;
	border-bottom: 1px dotted #b5b5b5;
	padding: 30px 15px 30px 15px;
	margin: 0;
}
.news dl:first-of-type {
	border-top: 1px dotted #b5b5b5;
}
.news dl:last-of-type {
	margin: 0;
}
.news dl:nth-of-type(2n+1) {
	background-color: #f1f7eb;
}
.news dl dt {
	width: 100%;
	float: none;
	margin: 0;
}
.news dl dt img {
	width: 100%;
}
.news dl dd {
	overflow: hidden;
	line-height: 28px;
}
.news dl dd h5 {
	color: #719b43;
	font-weight: bold;
	font-size: 18px;
	position: relative;
}
.news dl dd h5 span {
	display: block;
	color: black;
	font-size: 13px;
	margin: 0 0 6px 0;
	padding: 0;
}
.news dl dd h5 span:before {
	content: '\f073';
	font-family: 'FontAwesome';
	font-size: 17px;
	color: #c9151e;
	margin-right: 6px;
}
.img_ss {
	width: 98%;
	float: none;
	margin: 0 auto 2%;
}


/*新聞內頁*/
.news_detail {
}
.news_detail h5 {
	color: #719b43;
	font-weight: bold;
	font-size: 18px;
	margin: 0 0 1% 0;
}
.news_detail h5 span {
	display: block;
	color: black;
	font-size: 13px;
	margin: 0 0 6px 0;
	padding: 0;
}
.news_detail h5 span:before {
	content: '\f073';
	font-family: 'FontAwesome';
	font-size: 17px;
	color: #c9151e;
	margin-right: 6px;
}
.news_detail p {
	margin-bottom: 1%;
}

.img_sm {
  width: 34%;
  float: left;
  margin: 10px 2% 2% 0;
}

.news_content img {
	max-width: 100%;
	vertical-align: bottom;
}




/*回目錄頁*/
.more, .back_news {
	text-align: right;
}
.more a, .back_news a {
	background-color: #72944d;
	padding: 5px 10px 7px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: white;
	font-size: 13px;
}
.more a:hover, .back_news 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;
}

/* -------------------------- 專利認證 -------------------------- */

.certification {
	margin: 10px 0 0 0;
}
.certification .col-sm-6 {
	border-bottom: 1px dotted #ededed;
}
.certification img {
/*	max-width: 390px;
	max-height: 560px;*/
	width: 100%;
	vertical-align: bottom;
}
.certification h4 {
	color: #3a5022;
	font-weight: bold;
	font-size: 22px;
	margin: 10px 0 2% 0;
}
.certification ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.certification li {
	line-height: 180%;
	margin: 0 1%;
}
.certification li span {
	font-weight: bold;
	margin: 0 5px 0 0;
}
.certification li span:before {
	content: '\f0f6';
	font-family: 'FontAwesome';
	font-size: 15px;
	color: #5f8238;
	margin-right: 6px;
}


/* -------------------------- 實蹟工程 -------------------------- */

.engineering {
	padding: 0 15px 0;
	margin-bottom: 40px;
}
.engineering h3 {
    background: #bfd8a4;
    color: #3a5022;
    font-size: 22px;
    padding: 7px 20px;
    font-weight: bold;
	margin-bottom: 0;
}
.engineering ul {
	margin: 0;
	padding: 0;
	/*border: 1px solid #bfd8a4;*/
}
.engineering li {
	display: -moz-inline-stack;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 100%;
	padding: 10px 0;
}
.engineering li:nth-of-type(2n) {
	background-color: #f6faf1;
}

.engineering li:before {
	content: '\f0da';
	font-family: 'FontAwesome';
	font-size: 12px;
	color: #5f8238;
	margin: 0 6px 0 10px;
}


/* -------------------------- 聯絡我們 -------------------------- */

.map iframe {
	border: 1px solid #d8d8d8;
	padding: 9px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.map address {
	margin: 10px 0 40px 0;
}
.map address ul {
	list-style: none;
	margin: 0;
	padding: 0 1%;
}
.map address ul li {
	padding: 0.7% 0;
}





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

@media (min-width: 640px) {
.news dl dt {
	width: 40%;
	float: left;
	margin: 0 2% 0 0;
}
.news dl dt img {
	max-height: 220px;
}
.engineering li {
	width: 49.5%;
}
.engineering li:nth-of-type(2n) {
	background-color: #fff;
}
.engineering li:nth-of-type(4n+3) {
	background-color: #f6faf1;
}
.engineering li:nth-of-type(4n+4) {
	background-color: #f6faf1;
}
}

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

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

.icon_share {
	margin: -20px 0 20px 0;
}

.address_map {
	display: none;
}


.about_map {
    position: absolute;
    left: 10%;
    bottom: 0%;
}
.about_map li {
	display: block;
	width: 100%;
}
.about_pic_md {
    display: block;
}
.about_pic_sm {
	display: none;
}


.products_box dt {
	padding-left: 0;
	padding-right: 30px;
	margin-bottom: 20px;
}
.products_list dd h5 {
	margin: 0% 0 2% 0;
}
	

.capacity-list-2 li:nth-of-type(3) {
	min-height: 100px;
}
.capacity-list-2 li:nth-of-type(4) {
	min-height: 80px;
}	


.news dl dt {
	width: 40%;
}
.img_xs {
	width: 50%;
}

.form-horizontal .control-label {
	background-color: #bfd8a4;
	color: #3a5022;
	padding: 4px 10px 4px 10px;
	margin-top: 1px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;	
}

}

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

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

.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;
}


.about_map {
	position: absolute;
	left: 10%;
	bottom: 10%;
	z-index: 10;
	font-size: 19px;
}

.capacity-list-2 li:nth-of-type(3), .capacity-list-2 li:nth-of-type(4) {
	min-height: 150px;
}

.news dl dt {
	width: 30%;
}

.engineering li {
	width: 33%;
}
.engineering li:nth-of-type(2n) {
	background-color: #fff;
}
.engineering li:nth-of-type(4n+3) {
	background-color: #fff;
}
.engineering li:nth-of-type(4n+4) {
	background-color: #fff;
}
.engineering li:nth-of-type(6n+4) {
	background-color: #f6faf1;
}
.engineering li:nth-of-type(6n+5) {
	background-color: #f6faf1;
}
.engineering li:nth-of-type(6n+6) {
	background-color: #f6faf1;
}
}




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

@media (min-width: 1200px) {
	
.navbar-nav > li > a {
	padding: 0 40px;
}
.capacity-list-2 li:nth-of-type(3), .capacity-list-2 li:nth-of-type(4) {
	min-height: 120px;
}
.img_sm {
	width: 34%;
	float: left;
	margin: 10px 2% 2% 0;
}
}
