@charset "utf-8";
/* CSS Document */


/*toolLeft 及 toolRight*/
@media only screen and (min-width: 1px) and (max-width: 1023px) {

#headerToolBox {
	margin: 0px;
	height: 70px;
	width: 100%;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}

#toolLeft {
	float: right;
	width: 85px;
	height: auto;
	position: static;
}

#toolLeft li {
	width: 100%;
}

#toolLeft li a {
	font-size: 0.9em;
	height: 30px;
	line-height: 30px;
}

#toolLeft li .toolLanguage {
	display: none;
}

.toolLogin_container  {
	height: auto;
	width: 100%;
	height: 380px;
	position: absolute;
	z-index: 3;
	left: 0px;
	top: 70px;
	display: none;
	background-color: #E8EBF1;
	padding-top: 60px;
	padding-right: 30px;
	padding-bottom: 60px;
	padding-left: 30px;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
}

.toolCart_container  {
	height: 100vh;
	width: 100%;
	position: absolute;
	z-index: 3;
	left: 0px;
	top: 70px;
	display: none;
	background-color: #E8EBF1;
	padding: 10px;
	-webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
}

.toolCart_container .shopTableScroll {
	height: 410px;
	display: block;
	width: 100%;
	overflow-y: scroll;
	padding: 2%;
}

.toolCart_container .shopTableBottom {
	float:left;
	width: 100%;
	position:fixed;
	bottom: 0px;
	background-color: #E8EBF1;
	height: 100px;
}

.toolCart_container #shopBtn {
	margin-top: 20px;
	margin-bottom: 20px;
}

.toolCart_container #shopTable tr td .img {
	width: 50px;
	height: 50px;
}

.shopTableScroll::-webkit-scrollbar {
    -webkit-appearance: none;
}

.shopTableScroll::-webkit-scrollbar:vertical {
    width: 12px;
}

.shopTableScroll::-webkit-scrollbar:horizontal {
    height: 12px;
}

.shopTableScroll::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, .5);
    border: 2px solid #ffffff;
}

.shopTableScroll::-webkit-scrollbar-track {
    background-color: #ffffff;
}

}

/*toolRight toggle effect*/
@media only screen and (min-width: 1024px) {

#wrapper #header_wrap #header #headerToolBox #toolRightBox .toggle-nav {
	display: none;
}

.toolCart_container  {
	position: absolute;
	z-index: 3;
	left: 175px;
	top: 35px;
	display: none;
	background-color: #E8EBF1;
	padding: 10px;
}

}

@media only screen and (min-width: 1px) and (max-width: 1023px) {

#toolRightBox {
	position: fixed;
	width: 100%;
	z-index: 2;
	top: 70px;
}

#toolRightBox ul#toolRight {
	margin: 0px;
	padding: 0px;
	float: left;
	width: 100%;
	height: 1px;
	overflow: hidden;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
}

#toolRightBox.active ul#toolRight {
	height: 250px;
}

#toolRightBox ul#toolRight li {
	position: relative;
	float: none;
	width: 100%;
	float: left;
	margin: 0px;
	padding: 0px;
	background-color: #D70A29;
}

#toolRightBox ul#toolRight li a {
	display: block;
	height: 0px;
	opacity: 0;
	line-height: 50px;
	color: #fff;
	text-decoration: none;
	text-align: center;
	cursor: default;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	width: 100%;
	margin: 0px;
	padding: 0px;
}

#toolRightBox ul#toolRight li a:hover {
	color: #fff;
	background-color: #6A0000;
}

#toolRightBox.active ul#toolRight li a {
	width: 100%;
	margin: 0px;
	padding: 0px;
	height: 50px;
	opacity: 1;
	line-height: 50px;
	cursor: pointer;
}

button.toggle-nav {
	position: absolute;
	top: 0px;
	right: 5px;
	width: 45px;
	height: 30px;
	background-color: #990000;
	color: #fff;
	border: none;
	line-height: 30px;
	vertical-align: middle;
	outline: none;
	cursor: pointer;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	text-indent: -9999px;
}

button.toggle-nav span {
	display: block;
	background-image: url(../images/arrow1.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 15px 15px;
}

#toolRightBox.active button.toggle-nav {
	top: 0;
	background-color: #990000;
}

#toolRightBox.active button.toggle-nav span {
	background-image: url(../images/arrow2.png);
}

#toolRightBox.active button.toggle-nav {
	top: 250px;
}

#toolRight li .language {
	float: left;
	width: 50% !important;
	-moz-box-shadow:inset 3px 3px 3px rgba(20%,20%,40%,0.2);
	-webkit-box-shadow:inset 3px 3px 3px rgba(20%,20%,40%,0.2);
	box-shadow:inset 3px 3px 3px rgba(20%,20%,40%,0.2);
}

}





/*header的灰色方框搜尋框*/
@media only screen and (min-width: 1px) and (max-width: 1023px) {

#headerSearchBox{
	float: left;
	background: #ccc;
	width: 100%;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.searchForm:before, .searchForm:after{
	content:"";
	display:table;
}

.searchForm:after{
	clear:both;
}

.searchForm{
	zoom:1;
}

.searchForm {
	width: 246px;
	height: 41px;
	background: #ccc;
	margin-right: auto;
	margin-left: auto;
}

.searchForm input {
	float: left;
	width: 182px;
	height: 30px;
	border: 0;
	background: #fff;
	margin-left: 12px;
	margin-top: 9px;
	margin-bottom: 9px;
	padding-left: 10px;
	padding-right: 10px;
}

.searchForm button {
	overflow: visible;
	position: relative;
	float: left;
	border: 0;
	padding: 0;
	margin-top: 9px;
	cursor: pointer;
	height: 30px;
	width: 50px;
	background-image:url(../images/icon_search.png);
	background-repeat: no-repeat;
}

#headerSearchBox input[type=text] {
	outline: none;
}

}





/*footer*/
@media only screen and (min-width: 1px) and (max-width: 767px) {

#wrapper #footer_wrap {
	text-align: center;
	padding-top: 20px;
	padding-bottom: 20px;
}

#footer_wrap #footerMap ul {
	margin-bottom: 0px;
}

#footer_wrap #footerMap ul li a {
	font-size: 0.85em;
}

#footer_wrap #footerMap ul li strong {
	font-size:  0.9em;
}

/*for IE8*/
#footer_wrap #footerMap ul li:first-child {
	margin-top: 10px;
}

#footer_wrap #footerMap ul li:nth-child(2) {
	margin-top: 10px;
}

/*for IE8*/
#footer_wrap #footerMap ul li:first-child + li {
	margin-top: 10px;
}

#footer_wrap #footerCopyright {
	position: relative;
}

#footer_wrap #footerAddress strong {
	height: 50px;
	margin-top: 10px;
}

}

@media only screen and (min-width: 1px) and (max-width: 450px) {

#footer_wrap #footerCopyright p {
	font-size: 0.95em;
}

#footer_wrap #footerCopyright a {
	position: absolute;
	left: 50%;
	top: 80px;
	margin-left: -15px;
}

}

@media only screen and (min-width: 451px) and (max-width: 600px) {

#footer_wrap #footerCopyright a {
	position: absolute;
	left: 50%;
	top: 60px;
	margin-left: -15px;
}

}

@media only screen and (min-width: 601px) and (max-width: 767px) {

#footer_wrap #footerCopyright a {
	position: absolute;
	left: 50%;
	top: 55px;
	margin-left: -15px;
}

}
