﻿/*首页样式index.html开始*/

body, button, input, keygen, legend, select, textarea{
    color: #333;
    outline: 0;
    font-family:"microsoft yahei", helvetica,PingFangSC-Regular,'Heiti SC';
    margin: 0;
    padding: 0;
    border: 0;
}
html,body{
	width: 100%;
	font-family:"microsoft yahei", helvetica,PingFangSC-Regular,'Heiti SC';
	min-height: 100%;
}
body {
	height: 100%;
}


/*媒体查询*/
@media screen and (min-width:319px) and (max-width:360px){
	html,body {
		font-size: 60%;
	}
	.basket .cart-list-dd {
		padding-top: 1.5rem !important;
	}
	.shop-cart-have{
		position: absolute;
		top:0 ;
		right: -3px;
		background: #AB2B2B;
		border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		-o-border-radius: 50%;
		-ms-border-radius: 50%;
		color: #fff;
		text-align: center;
		font-size: 1rem;
		width: 1.4rem;
		height:1.4rem;
		line-height: 1.7rem;
		display: none;
		z-index: 33;
	}
	
}
@media screen and (min-width:361px) and (max-width:400px){
	html,body {
		font-size:62.5%;
	}
	.basket .cart-list-dd {
		padding-top: 1.8rem !important;
	}
	.shop-cart-have{
		position: absolute;
		top:0 ;
		right: -3px;
		background: #AB2B2B;
		border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		-o-border-radius: 50%;
		-ms-border-radius: 50%;
		color: #fff;
		text-align: center;
		font-size: 1rem;
		width: 1.4rem;
		height:1.4rem;
		line-height: 1.7rem;
		display: none;
		z-index: 33;
	}
}


@media screen and (min-width:401px) and (max-width:450px){
	html,body {
		font-size: 65%;
	}
	.basket .cart-list-dd {
		padding-top: 1.2rem !important;
	}
	.order-dl2 .margin-t1 {
		margin-top: 1.5rem;
	}
	.shop-cart-have{
		position: absolute;
		top:0 ;
		right: -3px;
		background: #AB2B2B;
		border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		-o-border-radius: 50%;
		-ms-border-radius: 50%;
		color: #fff;
		text-align: center;
		font-size: 1rem;
		width: 1.4rem;
		height:1.4rem;
		line-height: 1.7rem;
		display: none;
		z-index: 33;
	}
}
@media screen and (min-width:451px){
	html,body {
		font-size: 65%;
	}
	.basket .cart-list-dd {
		padding-top: 1.8rem !important;
	}
	.order-dl2 .margin-t1 {
		margin-top: 2.5rem;
	}
	.shop-cart-have{
		position: absolute;
		top:0 ;
		right: -3px;
		background: #AB2B2B;
		border-radius: 50%;
		-webkit-border-radius: 50%;
		-moz-border-radius: 50%;
		-o-border-radius: 50%;
		-ms-border-radius: 50%;
		color: #fff;
		text-align: center;
		font-size: 1rem;
		width: 1.4rem;
		height:1.4rem;
		line-height: 1.4rem;
		display: none;
		z-index: 33;
	}
	
}

*{margin: 0;padding: 0;border: 0;}
input[type="text"]:-webkit-autofill,input[type="number"]:-webkit-autofill,input[type="password"]:-webkit-autofill { 
-webkit-box-shadow: 0 0 0px 1000px white inset !important; 
-moz-box-shadow: 0 0 0px 1000px white inset !important;
box-shadow: 0 0 0px 1000px white inset !important;
outline: none;
/*border: 1px solid #CCC!important;*/  
}
input[type="button"],input[type="submit"],input[type="date"],input[type="text"],input[type="reset"] {
 -webkit-appearance: none;
 -webkit-tap-highlight-color:rgba(0,0,0,0);
 border-radius: 0;
 }
input[type="number"] {
	-webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}
input[type="checkbox"] {
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input::-webkit-outer-spin-button {
-webkit-appearance: none;
} 
 textarea {  -webkit-appearance: none;}   
/*.button{ border-radius: 0; } 
*/
input[type="button"]{
	cursor: pointer;
}
.marginT0 {
	margin-top: 0 !important;
}
.swiper-container{
	cursor: pointer;
}
.radius3{
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	-ms-border-radius: 3px;
}
.radius5{
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
}
.radius10{
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-ms-border-radius: 10px;
}
.pointer{
	cursor: pointer;
}
.auto{
	cursor: auto !important;
}
.text-right{
	text-align: right;
}
.icon-span-opacity{
	opacity: 0;
}
.content-top {
	margin-top: 4rem !important;
}
.contentT {
	padding-top: 4rem;
	padding-bottom: 0 !important;
}
.content-bot {
	margin-bottom: 4.5rem !important;
}
.content-mar {
	padding-top: 4rem;
	padding-bottom:2rem !important;
} 
.marginB {
	margin-bottom: 4.5rem !important;
}
.wrapper{
	width: 100%;
	min-height: 100%;
}
.bgfa {
	background: #fafafa;
}
.redbg {
	background: #ab2b2b !important;
}
.foot-fixed{
	position: fixed;
	bottom: 0;
	left: 0;
	height: 4.5rem;
	width: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	z-index: 8;
	cursor: pointer;
	background: #f9f9f9;
}
.cover{
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .3;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9;
	display: none;
	cursor: pointer;
}
.comCover {
	width: 100%;
	height: 100%;
	background: #000;
	opacity: .3;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 24;
	display: none;
	cursor: pointer;
}
.none{display: none;}
.borderred{
	border:1px solid #AB2B2B !important;
	cursor: pointer;
}
.marginB-no{margin-bottom: 0 !important;}
.left{float: left;}
.right{float: right;}
.font-red {
	color: #ab2b2b !important;
}


/*头部样式开始*/
.header-box{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 886;
	border-bottom: 1px solid #f0f0f0;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}
.index-header{
	height: 4rem;
	background: #fff;
	position: relative;
}
.logo{
	display: inline-block;
	position: absolute;
	top:1.2rem;
	left:50%;
	width: 10rem;
	margin-left: -5rem;
	max-height:2.5rem;
}
.img-none{
	position: absolute;
	width:3.5rem;
	top:0;
	right: 1.2rem;
	background: #fff;
	display: none;
}
.head-cartimg{
	display: inline-block;
	position: absolute;
	top:.5rem;
	right:1.5rem;
	width: 3rem;
	height: auto;
}
.head-more {
	display: inline-block;
	position: absolute;
	top:.5rem;
	right:1.5rem;
	width: 2rem;
	height:2rem;
}
.head-moreimg {
	background: url(../img/more_b.png);
	background-size: 100% 100%;
}
.head-moreimgred {
	background: url(../img/more_r.png);
	background-size: 100% 100%;
}
.back-icon{
	display: inline-block;
	position: absolute;
	top:.8rem;
	left:1.5rem;
	width: 1.3rem;
	height: auto;
	cursor: pointer;
}
.head-tit{
	text-align: center;
	font-size: 1.6rem;
	color: #777;
	font-weight: normal;
	line-height:2.5;
	width: 50%;
    margin: 0 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.toggle-icon{
	position: absolute;
	top:0;
	left: 1.5rem;
	width: 3.5rem;
	height: 3.5rem;
	display: inline-block;
}
.toggle-img{
	width:3.5rem;
	display: inline-block;
}
.toggle-div{
	position: absolute;
	top: 4.1rem;
	left: 0;
	height: 6rem;
	background: #fff;
	width: 100%;
	display: none;
}
.toggle-div>li{
	float: left;
	width: 25%;
}
/*右上角导航*/
.nav-list {
	position: fixed;
	right: .5rem;
	top: 4rem;
	min-width: 8rem;
	max-width: 15rem;
	background:#555;
	opacity: .95;
	z-index: 888;
	display: none;
	border-radius: 3px;
}
.nav-list:before { 
	content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    right: 2.2rem;
    top: -1.8rem;
    border: 12px solid;
    border-color: transparent transparent #555 transparent;

} 
.nav-list:after {
	content: ' '; 
	position: absolute; 
	width: 0; 
	height: 0; 
	left: 38px; 
	top: 0; 
	border: 0 solid; 
	border-color: #fff transparent transparent #fff; 
}
.nav-list li {
	border-bottom:1px solid #999;
	height: 3.5rem;
	line-height: 3.5rem;
	text-align: left;
	padding: 0 0 0 .5rem;
	margin: 0;
}
.nav-list li:last-child {
	border-bottom: none;
}
.nav-list li a {
	color: #fff;
	padding-left: 2rem;
	font-size: 1.3rem;
	width: 100%;
    display: inline-block;
    box-sizing: border-box;
}

/*头部样式结束*/





/*预加载*/
.loadBox {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 6rem;
	height: 6rem;
	margin-left: -3rem;
	margin-top: -3rem;
	border-radius: 3px;
	text-align: center;
	z-index: 10;
	overflow: hidden;
	background: transparent;
}
.loadBox-cover {
	position: absolute;
	top: 0;
	left: 0;
	background: #333;
	opacity: 0.9;
	z-index: 11;
	width: 100%;
	height: 100%;
}
.loadIcon {
	display: inline-block;
	width: 2rem;
	height: 2rem;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -1rem;
	margin-left: -1rem;
	z-index: 12;
}
/*预加载*/
/*begin右上角下列框样式*/
.nav-list {
    background: #555 none repeat scroll 0 0;
    display: none;
    max-width: 15rem;
    min-width: 8rem;
    opacity: 0.95;
    position: fixed;
    right: 0.5rem;
    top: 4rem;
    z-index: 888;
}
.nav-list::before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent transparent #555;
    border-image: none;
    border-style: solid;
    border-width: 12px;
    content: " ";
    height: 0;
    position: absolute;
    right: 2.2rem;
    top: -1.8rem;
    width: 0;
}
.nav-list::after {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #fff transparent transparent #fff;
    border-image: none;
    border-style: solid;
    border-width: 0;
    content: " ";
    height: 0;
    left: 38px;
    position: absolute;
    top: 0;
    width: 0;
}
.nav-list li {
    border-bottom: 1px solid #999;
    height: 3.5rem;
    line-height: 3.5rem;
    margin: 0;
    padding: 0 0 0 0.5rem;
    text-align: left;
}
.nav-list li:last-child {
    border-bottom: medium none;
}
.nav-list li a {
    box-sizing: border-box;
    color: #fff;
    display: inline-block;
    font-size: 1.3rem;
    padding-left: 2rem;
    width: 100%;
}
.basket-have {
    background: #ab2b2b none repeat scroll 0 0;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 1.2rem;
    height: 1.6rem;
    line-height: 1.6rem;
    margin-left: 0.5rem;
    padding: 0;
    text-align: center;
    width: 1.6rem;
}
.navf-page {
    background: rgba(0, 0, 0, 0) url("../img/f-pagehead.png") no-repeat scroll left center / 1.5rem auto;
}
.navbasket {
    background: rgba(0, 0, 0, 0) url("../img/carthead.png") no-repeat scroll left center / 1.5rem auto;
}
.navmember {
    background: rgba(0, 0, 0, 0) url("../img/personhead2.png") no-repeat scroll left center / 1.5rem auto;
}
.navnews {
    background: rgba(0, 0, 0, 0) url("../img/personnews.png") no-repeat scroll left center / 1.5rem auto;
}
/*end右上角下列框样式*/


