@charset "utf-8";

a {
	text-decoration: none !important;
}

body {

}

#wrap {
	background:url(../images/bg_top.png) top repeat-x, url(../images/bg_bottom.png) bottom repeat-x,url(../images/bg.png) repeat;
	padding-bottom: 40px;
}

#logo img {
	display: block;
	max-width: 100%;
	height: auto;
}
#top {
	float: right;
	margin: 5px 0px 5px 0px;
}
#top ul {
	margin: 0px;
	padding: 0px;
}
#top li {
	margin: 0px 3px 0px 3px;
	list-style-type: none;
	float: left;
	width: 30px;
	height: 30px;
	font-size: 0px;
}
#top li a {
	width: 30px;
	height: 30px;
	display: block;
	padding: 5px;
	background: #f18989;
	border-radius: 15px;
	transition: all ease-out 0.3s;
}
#top li a:hover {
	padding: 6px 5px 4px 5px;
	background: #eb6969;
}
#share {
	float: right;
    margin: 14px 0px 38px 0;
}
#share ul {
	margin: 0px;
	padding: 0px 0px 0px 29px;
	width: 112px;
	height: 24px;
	background: url(../images/icon.png) no-repeat;
}
#share li {
	margin: 0px 0px 0px 0px;
	list-style-type: none;
	float: left;
	font-size: 0px;
}
#share li a {
	display: block;
}
#topnav{
	float:right;
	margin: 14px 0px 38px 0;
	}
#topnav i{
	font-size:18px;
	}
#topnav a{
	color:#B7191C;
	}	
#topnav a:hover{
	color:#ff6699;
	}	
.facebook a {
	width: 24px;
	height:24px;
	background: url(../images/icon.png) no-repeat -29px 0px;
}
.twitter a {
	width: 24px;
	height: 24px;
	background: url(../images/icon.png) no-repeat -53px 0px;
}
.google a {
	width: 24px;
	height: 24px;
	background: url(../images/icon.png) no-repeat -77px 0px;
}
.facebook a:hover {
	background: url(../images/icon.png) no-repeat -29px -24px;
}
.twitter a:hover {
	background: url(../images/icon.png) no-repeat -53px -24px;
}
.google a:hover {
	background: url(../images/icon.png) no-repeat -77px -24px;
}

#search {
	float: right;
	margin: 11px 14px 11px 0px;
}
.search_textfield {
  width: 110px;
  border-radius: 4px;
  float: left;
  margin-right: 2px;
}
.search_bt {
  width: 69px;
  height: 26px;
  border: 0px;
  background: url(../images/icon.png) no-repeat 0px -40px;
}

#mainNav>ul {
	margin: 0px;
	padding: 0px 4px;
}
#mainNav>ul>li {
	list-style-type: none;
	float: left;
	margin: 0px 4px;
	width: 19%;
}
#mainNav>ul>li a {
	display: block;
	height: 50px;
	text-align: center;
	/* line-height: 50px; */
	color: #ffffff;
	font-size: 16px;
	border: 1px solid #98a258;
	border-radius: 12px 12px 0px 0px;
	background-image: -webkit-linear-gradient(180deg,rgba(147,147,88,1.00) 0%,rgba(105,117,27,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(152,162,88,1.00) 0%,rgba(105,117,27,1.00) 100%);
}
#mainNav>ul>li a:hover {
	color: #ffff99;
	background: #3c4216;
}
.navbar {
  background-color: transparent !important;
  border-color: transparent !important;
  margin-bottom: 27px;
}
nav .container-fluid {
	border-radius: 5px;
	border: 1px solid #98a258;
	background-image: -webkit-linear-gradient(180deg,rgba(147,147,88,1.00) 0%,rgba(105,117,27,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(152,162,88,1.00) 0%,rgba(105,117,27,1.00) 100%);
}
.navbar-toggle {
	border-color: #ffff66 !important;
}
.icon-bar {
  background-color: #ffff66 !important;
}
.navbar-brand {
	color: #ffff66 !important;
	padding-left: 5px;
}

.navbar-nav {
	padding: 5px;
	border-top: 1px solid #ffff66;
}

.navbar-nav li a {
	color: #ffff66 !important;
}
.navbar-nav li a:hover {
	color: #ffffff !important;
}
.navbar .navbar-collapse, .navbar .navbar-form {
    border-color: #ffff66;
}
.navbar .navbar-toggle:hover, .navbar .navbar-toggle:focus {
    background-color: #3c4216;
}
/*廣告輪播*/
.flex-direction-nav .flex-prev { color:#FFF!important}
.flex-direction-nav .flex-next { color:#FFF!important}
/* Control Nav */
.flex-control-nav {bottom: -5px!important}
.flex-control-nav li {margin: 0 3px!important; display: inline-block; zoom: 1; *display: inline;}
.flex-control-paging li a {width: 13px!important;
 height: 13px!important; display: block;  background: #FFF!important; background: rgba(255,255,255,1)!important; cursor: pointer; text-indent: -9999px; -webkit-border-radius: 20px; -moz-border-radius: 20px; -o-border-radius: 20px; border-radius: 20px; -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -moz-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); -o-box-shadow: inset 0 0 3px rgba(0,0,0,0.3); box-shadow: inset 0 0 3px rgba(0,0,0,0.3); }
.flex-control-paging li a:hover { background: #ced87d; background: rgba(206,216,125,1)!important; }
.flex-control-paging li a.flex-active { background: #ced87d; background: rgba(206,216,125,1)!important; cursor: default; }
#ad {
	border-radius: 8px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
}
#ad .flexslider {
  border-radius: 8px !important;
}
#ad .flexslider img {
  border-radius: 8px !important;
}
.side_btn {
}
.side_btn  a img{
	margin-bottom: 12px;
	box-shadow: 0 0 10px #999;
	border-radius: 8px;
	display: block;
	overflow: hidden;
}
.side_btn a:hover img{
	border-radius: 10px;
	box-shadow: 0 0 20px #eee;
}

#left_side {
	margin-top: 20px;
	float:left;
}
.side_title {
	width: 150px;
	margin-left: 8px;
	padding: 4px 12px 2px 12px;
	border-top: 3px solid #FFFFFF;
	border-left: 3px solid #FFFFFF;
	border-right: 3px solid #FFFFFF;
	border-radius: 8px 8px 0px 0px;
	background: #4e5226;
	color: #ffffff;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
}
.side_title_icon {
	font-size: 20px;
	color: #f1d775;
}
.side_title_txt {
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 3px;
	padding-left: 6px;
	vertical-align: top;
	color: #ffffcc;
}
.side_box {
	border: 5px solid #ffffff;
	border-radius: 8px;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
}
.side_pic {
	margin-top: 30px;
}

.main-right{
	float:right;
		}
#main {
	margin-top: 20px;
	padding: 20px 15px;
	border-radius: 6px;
	background: #ffffff;
	-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.20);
	overflow: hidden;
}
#main_title {
	color: #363c0e;
}
.main_title_icon {
	font-size: 20px;
}
.main_title_txt {
	margin-left: 4px;
	font-size: 18px;
	letter-spacing: 1px;
}
#main_content {
	margin-top: 10px;
}

#footer2 {
	background: #8e9e09;
	padding-top: 18px;
	padding-bottom: 40px;
}
#footer2_logo img{	
	max-width: 260px;
}
#copyright {
	color: #ffffff;
}
#copyright a{
	color: #ffffff;
	}
#copyright a:hover{
	color: #e8ff98;
	}
/*產品圖寬100%*/
.thumbnail a > img {
  width: 100%;
}

@media (max-width: 1200px) {
#mainNav>ul>li {
	margin: 0px 3px;
}
#mainNav>ul>li a {
	height: 40px;
	line-height: 40px;
}
}

@media (max-width: 991px) {
#mainNav>ul>li {
	margin: 0px 2px;
}
.side_pic {
	margin-top: 20px;
}
}

@media (max-width: 767px) {
#logo_mobile {
  text-align: center;
  margin-bottom: 12px;
}
#logo_mobile img{
	max-width: 210px;
}
.side_btn {
	margin-top: 20px;
}
.main-right{
	float:inherit;
		}
#main {
	padding: 12px 10px;
}
#footer2 {
        padding-bottom: 80px;}
.footer2_logo img{	
	max-width: 210px;
}
/*頁尾下方四大按鈕*/
#mobile-float{
	background:#616910;
	color:#fff;
	padding: 5px 0 5px 0;
	position:fixed;
	width:100%;
	bottom:0px;
 overflow:hidden;
 border-top: 1px solid #ffff66;
	}

#mobile-float ul{
	margin:0px;
	padding:0px;
	overflow:hidden;
	}
#mobile-float ul li{
	list-style-type:none;
	margin:0px;
	padding:0px;
    display: block;
	width:25%;
	text-align:center;
	border-left:1px solid #fff;
	float:left;
}
#mobile-float ul li:first-child{
	border-left:0px solid #fff;
	}
#mobile-float ul li a{
	color:#ffff99;
	display:block;
	}
#mobile-float i{
	color: #fff;
	font-size:22px;
	display:block;
	}
#mobile-float button{
	color:#ffff99;
	background-color:transparent;
	width:100%;
	padding-top: 0px;
	border: 0px;
	}
#mobile-float button i{
color: #fff;
}

.modal-body,.myModal2{
	overflow:hidden;
	}
}