img{border: 0;}

body{
	margin: 0;
	width: 100%;
	font-family: "Lucida Sans", Arial, "Microsoft Jhenghei", "微軟正黑體", sans-serif;
	zoom: 1;
	clear: both;		
}

body:after{
	content: '';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

div.colorBar{
	position: fixed;
	width: 100%;
	height: 6px;
	z-index: 2;
}

div.colorBar img{
	position: relative;
	float: left;
	width: 100%;
	height: 6px;
}

header{
	position: fixed;
	z-index: 2;
	/*float: left;*/
	width: 100%;
	height: auto;
	/*margin-top: 6px;*/
	background-color: white;
	opacity: 0.8;
	-moz-transition:opacity .5s ease-out;
	-webkit-transition:opacity .5s ease-out;
	-o-transition:opacity .5s ease-out;
	-ms-transition:opacity .5s ease-out;
}

header:hover {opacity: 1;}

div.maxSize_container{
	width:1200px;
	margin: 0 auto;
}

div.icon_logo{
	float: left;
	margin-top: 17px;
	margin-left: 20px;
	width: 6%;
}

div.icon_logo img{
	width: 250px;
}

div.header_btn_row{
	float: left;
	margin-top: 10px;
	width: 83.5%;
	height: 32px;
	text-align: right;
}

img.header_only_pic:hover{opacity: 0.7;}

.header-search{
	display: inline-block;
	margin-right: 5px;
}

.header-search img{
	float: left;
	width: 26px;
	height: 22px;
}

.header-search input{
	float: left;
	padding: 0;
	text-indent: 5px;
	border: 1px solid #999;
	width: 150px; 
	height: 22px;
	background: #ffffff url(../pic/product_search.png) no-repeat 125px 0px; 
	margin-right: 10px;
	color: #000000;
	-moz-border-radius: 10px; /* Firefox */
  	-webkit-border-radius: 10px; /* Safari, Chrome */
  	-khtml-border-radius: 10px; /* Konqueror */
  	border-radius: 10px; /* Opera 10.50 and later (CSS3 standard) */
}

.language{
	float: right;
	margin-left: 20px;
	width: 61px;
	height: 22px;
	font-size: 12px;
	color: white;
	background-color: #949494;
	cursor: pointer;

	-moz-border-radius: 3px; /* Firefox */
  	-webkit-border-radius: 3px; /* Safari, Chrome */
  	-khtml-border-radius: 3px; /* Konqueror */
  	border-radius: 3px; /* Opera 10.50 and later (CSS3 standard) */
  	behavior: url(border-radius.htc); /* IE6, IE7, IE8 */
}

.language-inside{
	float: left;
	width: 61px;
	height: 22px;
	margin-top: 9px;
	font-size: 12px;
	color: white;
	background-color: #949494;
	cursor: pointer;

	-moz-border-radius: 3px; /* Firefox */
  	-webkit-border-radius: 3px; /* Safari, Chrome */
  	-khtml-border-radius: 3px; /* Konqueror */
  	border-radius: 3px; /* Opera 10.50 and later (CSS3 standard) */
}

img.header_menu_btn{
	float: right;
	margin-right: 20px;
	margin-left: 0px;
	cursor: pointer;
	display: none;
}

img.header_menu_btn:hover{opacity: 0.3;}

ul.menu_ul{
	margin: 0;
	padding:0;
	position: fixed;
	z-index: 2;
	float: left;
	top: 84px;
	left: 0;
	list-style:none;
	display: inline-block;
	width: 100%;
	height: 0px;
	overflow: hidden;

	-moz-transition:height .5s ease-out;
	-webkit-transition:height .5s ease-out;
	-o-transition:height .5s ease-out;
	-ms-transition:height .5s ease-out;
}

ul.menu_ul li{
	width: 100%;
	padding-left: 20px;
	background-color: white;
	height: 40px;
	line-height: 40px;
	font-size: 16px;
	color: #676767;	
}

ul.menu_ul li a {text-decoration: none} 
ul.menu_ul li a:link {color:#676767;}
ul.menu_ul li a:visited {color:#676767;}
ul.menu_ul li a:active {color:#676767;}
ul.menu_ul li a:hover {color:#fff;}

li.menu_li:hover{color: white;background-color: #e60113;}
li.menu_li:hover .menu_a{color: white;};
li.menu_sp_li:hover{background-color: white;}
li.menu_sp_li img{float:left;margin-right: 20px;margin-top:9px }
li.menu_sp_li img:hover{opacity: 0.3;}

.menu_a{float: left;width: 100%;height: 100%;}

nav{
	float: right;	
	width: 80%;
	margin-right: 7%;
	height: auto;
}

nav ul{
	float: right;
	margin: 0;
	padding:0;
	margin-top: 4px;
	width: 100%;
	list-style:none;
	display: inline-block;
}

nav ul li{
	float: right;
	line-height: 30px;
	margin-bottom:8px; 
	font-size: 16px;
	color: #676767;
	text-align: center;
}

nav ul li:hover{
	background-color: #e60113;
	color: white;

	-moz-border-radius: 5px; /* Firefox */
  	-webkit-border-radius: 5px; /* Safari, Chrome */
  	-khtml-border-radius: 5px; /* Konqueror */
  	border-radius: 5px; /* Opera 10.50 and later (CSS3 standard) */
  	behavior: url(border-radius.htc); /* IE6, IE7, IE8 */
}

nav ul li span{float: left;margin-left: 30px;margin-right: 30px;}
a.nav_a{float:left;width: 100%;height: 100%;}

nav ul li:hover .nav_a{color:#fff;}

nav ul li a {text-decoration: none;} 
nav ul li a:link {color:#676767;}
nav ul li a:visited {color:#676767;}
nav ul li a:active {color:#676767;}
nav ul li a:hover {color:#fff;}

div.footer_min_btn{
	position: fixed;
	bottom: 0;
	width: 100%;
	height: 28px;
	padding-top: 12px;
	z-index: 2;
	text-align: center;
	background-color: #bbbaba;
	cursor: pointer;
	display: none;
}

div.footer_min_btn:hover,div.float_top_btn:hover{background-color: #d2d0d0;}

.float_top_btn{
	position: fixed;
	right: 10px;
	bottom: 100px;
	font-size: 16px;
	width: 50px;
	line-height: 50px;
	background-color: #bbbaba;
	color: white;
	z-index: 3;
	text-align: center;
	cursor: pointer;
	display: none;

	-moz-border-radius: 25px; /* Firefox */
  	-webkit-border-radius: 25px; /* Safari, Chrome */
  	-khtml-border-radius: 25px; /* Konqueror */
  	border-radius: 25px; /* Opera 10.50 and later (CSS3 standard) */
  	behavior: url(border-radius.htc); /* IE6, IE7, IE8 */
}

footer{
	/*float: left;*/
	position: fixed;
	bottom: 0;
	width: 100%;
	height: auto;
	background-color: #bbbaba;
	color: white;
	z-index: 4;
	display: none;
}

footer ul{
	float: left;
	margin: 0;
	margin-left: 20px;
	padding:0;
	width: 46%;
	list-style:none;
	display: inline-block;
}

footer ul li{
	position: relative;
	float: left;
	margin-right: 4%;
	line-height: 50px;
	color: white;
}

footer ul li a:hover{text-decoration: underline;}
footer ul li a {text-decoration: none;} 
footer ul li a:link {color:#fff;}
footer ul li a:visited {color:#fff;}
footer ul li a:active {color:#fff;}
footer ul li a:hover {color:#fff;}

div.search_box{
	float: left;
	margin-top: 10px;
	width: 30%;
	height: 30px;
	background-color: #555555;
}

div.search_box input{
	float: left;
	width: 83%;
	margin-left: 2%;
	height: 26px;
	font-size: 12px;
	font-style: italic;
	color: white;
	background-color: #555555;
	border: none;
}

div.search_box div{
	float: right;	
	width: 10%;
	margin-top:2px;
}

div.search_box div img{float: right;margin-right: 2px;border: none;}

span.copyright{
	float: right;
	text-align: right;
	padding-right: 20px;
	min-width: 260px;
	/*width: 21%;*/
	font-size: 12px;
	color: #ececec;
	line-height: 50px;
	box-sizing : border-box;
  -moz-box-sizing : border-box;
  -webkit-box-sizing : border-box;
}

div.top_btn{
	float: right;
	margin-top: -40px;
	margin-right: 20px;
	width: 86px;
	height: 40px;
	color: white;
	background-color: #bbbaba;
	text-align: center;
	cursor: pointer;

	-moz-border-top-right-radius: 10px; /* Firefox */
  	-webkit-border-top-right-radius: 10px; /* Safari, Chrome */
  	-khtml-border-top-right-radius: 10px; /* Konqueror */
  	border-top-right-radius: 10px; /* Opera 10.50 and later (CSS3 standard) */
  	behavior: url(border-top-right-radius.htc); /* IE6, IE7, IE8 */

  	-moz-border-top-left-radius: 10px; /* Firefox */
  	-webkit-border-top-left-radius: 10px; /* Safari, Chrome */
  	-khtml-border-top-left-radius: 10px; /* Konqueror */
  	border-top-left-radius: 10px; /* Opera 10.50 and later (CSS3 standard) */
  	behavior: url(border-top-left-radius.htc); /* IE6, IE7, IE8 */
}

div.top_btn span{
	line-height: 40px;
	font-size: 20px;
}

div.breadcrumb_bg{
	position: relative;
	float: left;
	top: 89px;
	width: 100%;
	background-color: #e5e5e5;
	line-height: 25px;
	color: #6d6d6d;
	font-size: 12px;
}

div.breadcrumb_content{
	float: left;
	margin-left: 20px;
}

img.breadcrumb_home{
	float: left;
	margin-right: 6px;
}

span.breadcrumb_pointer{
	float: left;
	margin-left: 3px;
	margin-right: 3px;
}

span.breadcrumb_item{
	float: left;
	color: #6d6d6d;
}

span.breadcrumb_item:hover{
	text-decoration: underline;
}

.mail-message{
	position:fixed;
	top:50%;
	width:100%;
	text-align:center;
	z-index:999;
	display:none;
}
.mail-message div{
	background-color:#D80003;
	color:#FFFFFF;
	font-size:16px;
	font-weight:bold;
	padding:50px 40px;
	display:inline-block;
	width:400px;
	z-index:999;
}

@media screen and (max-width: 600px){
	.mail-message div{
		width:65%;	
	}
}

@media screen and (min-width: 1400px){
	div.float_top_btn{display: none!important;}
	ul.menu_ul{height: 0px!important;}
}

@media screen and (min-width: 1200px) and (max-width: 1399px)  {
	footer ul{width: 45%;}
	div.search_box{width: 25%;}
	/*span.copyright{width: 21%;}*/
	div.float_top_btn{display: none!important;}
	ul.menu_ul{height: 0px!important;}
}

@media screen and (min-width: 767px) and (max-width: 1199px) {
	div.maxSize_container{width: 100%;}
	footer ul{width: 100%;}
	div.search_box{margin-left: 20px;width: 40%;}
	/*span.copyright{width: 47%;}*/
	div.float_top_btn{display: none!important;}
	ul.menu_ul{height: 0px!important;}
	nav ul li span{float: left;margin-left: 20px;margin-right: 20px;}
}

@media screen and (min-width: 640px)  and (max-width: 766px) {
	div.maxSize_container{width: 100%;}	
	footer{bottom: 40px;}
	footer ul{width: 100%;}
	div.search_box{margin-left: 20px;width: 40%;}
	/*span.copyright{width: 44%;}*/
	.header_only_pic, nav{display: none;}
	div.header_btn_row{float: right;width: 60%;margin-top: 35px;height:49px;}
	.language{display: none;}
	img.header_menu_btn{display: inline;margin-top: 2px;}	
	div.footer_min_btn{display: block;}
	div.float_top_btn{right: 30px;}
	div.top_btn{display: none;}
}

@media screen and (min-width: 480px)  and (max-width: 639px) {
	div.maxSize_container{width: 100%;}
	footer{bottom: 40px;}
	footer ul{width: 100%;margin-left: 0;}
	footer ul li{margin-right: 0;width: 40%;padding-left:5%;line-height: 36px;}
	div.search_box{margin-left: 5%;width: 90%;}
	span.copyright{/*width: 95%;*/line-height: 36px;}
	.header_only_pic, nav{display: none;}
	div.header_btn_row{float: right;width: 50%;margin-top: 35px;height:49px;}
	.language{display: none;}
	img.header_menu_btn{display: inline;margin-top: 2px;}	
	div.footer_min_btn{display: block;}
	div.float_top_btn{right: 20px;}
	div.top_btn{display: none;}
}

@media screen and (min-width: 320px)  and (max-width: 479px) {
	div.maxSize_container{width: 100%;}
	footer{bottom: 40px;}
	footer ul{width: 100%;margin-left: 0;}
	footer ul li{margin-right: 0;width: 40%;padding-left:5%;line-height: 36px;}
	div.search_box{margin-left: 5%;width: 90%;}
	span.copyright{/*width: 95%;*/line-height: 36px;}
	.header_only_pic, nav{display: none;}
	div.header_btn_row{float: right;width: 60%;margin-top: 35px;height:49px;}
	.language{display: none;}
	img.header_menu_btn{display: inline;margin-right: 10px;margin-top: 2px;}
	div.footer_min_btn{display: block;}
	div.top_btn{display: none;}
	.header-search input{width: 95px;}
	div.icon_logo img{width: 150px;margin-top: 12px;}

}
