/* 全局共用 */
* {
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body, html {
	width: 100%;
	height: auto;
	min-height: 100%;
	overflow-x: hidden;
	background: #fff;
	/*设置height:100%可以解决页面内容少撑不起手机屏幕高度及其他一些兼容性问题，但如果应用了滚动上拉触底加载时又不能触发$(window).scroll()，解决办法是height:auto或去掉overflow设置，根据页面布局影响来取舍*/
	font-family: 微软雅黑, Microsoft Yahei, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.231;
	color: #444;
	-webkit-overflow-scrolling: touch;
	-webkit-box-orient: vertical;
	-webkit-box-align: stretch;
	-webkit-touch-callout: none;
	-webkit-text-size-adjust: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	/* 是否阻止选取文本 */
	/* -webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; */
}

a {
	text-decoration: none;
	outline: none;
}

a:link, a:active, a:visited {
	color: #444;
}

img {
	border: none;
}

img.close {
    width: 30px;
    height: auto;
    display: block;
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: .2;
}

/* .svg图片先占位隐藏，待格式化后再显示，避免格式化前因为填充色不一致显示的问题 */
.svg {
	visibility: hidden;
}

input:focus, textarea:focus, a:focus, select:focus, button:focus {
	outline: none;
}

ul, li {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

.nowrap {
	white-space: nowrap;
	text-overflow: ellipsis;
	-o-text-overflow: ellipsis;
	overflow: hidden;
}

.clear {
	clear: both;
}

.hide {
	display: none;
}

.right {
	float: right;
}

.left {
	float: left;
}

.b {
	font-weight: bold;
}

.hand {
	cursor: pointer;
}

.tips {
	max-width: 80%;
	height: auto;
	padding: 5px 20px;
	background: #333;
	color: #fff;
	line-height: 18px;
	position: fixed;
	z-index: 1000;
	top: 40%;
	left: 50%;
	FILTER: alpha(opacity=0);
	opacity: 0;
	font-size: 0.75em;
	text-align: center;
	border-radius: 5px;
}

.maskbg {
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1000;
	background: rgba(0, 0, 0, 0.5);
	display: none;
	overflow: auto;
}

.shadow {
	-moz-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
}

.trans3 {
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.trans5 {
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}

.dalifit_cover {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dalifit_contain {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* loader样式 */

.loading {
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
}

.nb-spinner {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -30px;
    margin-top: -30px;
    background: transparent;
    border-top: 4px solid #333;
    border-right: 4px solid transparent;
    border-radius: 50%;
    -webkit-animation: 1s spin linear infinite;
    animation: 1s spin linear infinite;
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* placeholder颜色 */

::-webkit-input-placeholder {
	color: #bbb;
}

:-moz-placeholder {
	color: #bbb;
}

::-moz-placeholder {
	color: #bbb;
}

:-ms-input-placeholder {
	color: #bbb;
}

/* 头部 */
.head {
	width: 100%;
	height: 80px;
	overflow: hidden;
	position: relative;
	background: #fff;
}
.head .logo {
	display: block;
	width: 70px;
	height: 70px;
	position: absolute;
	left: 20%;
	margin-left: -30px;
	top: 5px;
	z-index: 2;
}
.head p {
	display: block;
	overflow: hidden;
	position: absolute;
	left: 20%;
}
.head p.bg1 {
	width: 140px;
	height: 140px;
	margin-left: -80px;
	top: -70px;
	z-index: 1;
}
.head p.bg2 {
	width: 140px;
	height: 140px;
	top: 35px;
	z-index: 1;
	transform: rotateY(180deg);   /* 水平镜像翻转 */
}
.head p .svg {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}
.head p .svg path {
	fill: #f0f0f0;
}
.head i {
	display: block;
	line-height: 180%;
	font-size: 0.7rem;
	color: #999;
	position: absolute;
	right: 15px;
	top: 18px;
	text-align: right;
}

.headfixed {
	width: 100%;
	height: 80px;
}
.headfixed .head {
	position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

/* 搜索框 */
.seekbar {
    height: 33px;
    margin: 0 10px;
    position: relative;
}
.seekbox {
	height: 100%;
	background: #f0f0f0;
    border-radius: 20px;
	overflow: hidden;
}
.seekbox input {
    width: calc(100% - 80px);
    height: 25px;
	border: 0;
    line-height: 24px;
	padding-left: 20px;
	background: none;
    font-size: 0.875em;
    color: #999;
    float: left;
    margin-top: 4px;
    overflow: hidden;
}
.seekbox .seekb {
	display: block;
    width: 60px;
    height: 100%;
	border: 0;
	cursor: pointer;
    float: right;
    background: #222;
}
.seekbox .seekb .svg {
    height: 18px;
    width: 18px;
    margin: 7px auto;
    display: block;
}
.seekbox .seekb .svg path {
	fill: #fff;
}
.seektips {
	width: 100%;
	height: auto;
	overflow: hidden;
	background: #fff;
	position: absolute;
	left: 0;
	top: 35px;
	z-index: 100;
	padding: 15px 10px 20px 10px;
	display: none;
}
.seektips strong {
	display: block;
	width: 100%;
	font-size: 0.75em;
	line-height: 150%;
	float: left;
	margin-bottom: 20px;
}
.seektips span {
	display: block;
	padding: 0 15px;
	line-height: 30px;
	border-radius: 5px;
	background: #eee;
	font-size: 0.75em;
	float: left;
	margin: 0 15px 10px 0;
	cursor: pointer;
}

/* 导航 */
.nav {
	width: 100%;
	height: 45px;
	margin-top: 10px;
    padding: 0 10px;
	text-align: center;
	border-bottom: 1px solid #eee;
	overflow: hidden;
}
.navc {
    width: auto;
    height: 50px;
    text-align: center;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
}
.navc span, .navc a {
	display: inline-block;
	font-size: 0.875em;
	line-height: 45px;
	position: relative;
	margin: 0 10px;
}
.navc span.on, .navc a.on {
    color: #d30000;
}
.navc span.on::after, .navc a.on::after {
    content: '';
    width: 10px;
    height: 2px;
    background: #d30000;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    top: 0;
}

.bkt {
    width: 100%;
    height: 80px;
    overflow: hidden;
    position: relative;
}
.bkt span {
    display: block;
    line-height: 80px;
    font-size: 1.2rem;
    color: #666;
    font-weight: bold;
    text-align: center;
    position: relative;
    z-index: 1;
}
.bkt p {
    display: block;
	width: 200px;
	height: 200px;
    position: absolute;
    overflow: hidden;
	left: 45%;
	top: -30px;
	z-index: 0;
}
.bkt p .svg {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}
.bkt p .svg path {
	fill: #f0f0f0;
}

/* 脚板 */
.foot {
	width: 100%;
	height: auto;
	line-height: 200%;
	font-size: 0.7em;
	overflow: hidden;
	padding: 40px 0 80px 0;
	color: #bbb;
	text-align: center;
	background: #fff;
	position: relative;
}
.foot::after {
	content: '';
	width: 30px;
	height: 2px;
	background: #e5e5e5;
	position: absolute;
	left: 50%;
	margin-left: -15px;
	top: 25px;
}
.foot2 {
	padding-bottom: 130px;
}

.foot a {
	color: #bbb;
}

/* 底菜单 */
.footbar {
	width: 100%;
	height: 70px;
	position: fixed;
	left: 0;
	bottom: -15px;
	z-index: 100;
	background: #fff;
	text-align: center;
	font-size: 0;
	border-top: 1px solid #eee;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.footbar.iosx {
	bottom: 0;
}

.footbar a {
	display: inline-block;
	width: 19%;
	height: 55px;
	color: #333;
	text-decoration: none;
	font-size: 0.75rem;
	line-height: 120%;
	vertical-align: top;
	overflow: hidden;
}
.footbar2 a {
	display: block;
	float: left;
	width: 15%;
}
.footbar a p {
	display: block;
	width: 50px;
	height: 22px;
	overflow: hidden;
	margin: 6px auto;
}
.footbar a p.face {
	width: 22px;
	height: 22px;
	border-radius: 50%;
}
.footbar a p.face img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.footbar a p .svg {
	display: block;
	width: auto;
	height: 100%;
	margin: 0 auto;
}
.footbar a p .svg path {
	fill: #999;
}
.footbar a.on {
	color: #d30000;
}
.footbar a.on .svg path {
	fill: #d30000;
}

/* 右侧按钮 */
.rightbar {
	width: 35px;
	height: auto;
	overflow: hidden;
	position: fixed;
	right: 0;
	bottom: 80px;
	z-index: 300;
}
.rightbtn {
	width: 100%;
	height: auto;
	overflow: hidden;
}
.rightbtn p {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	margin: 5px 0;
	background: rgba(0, 0, 0, 0.7);
	cursor: pointer;
	overflow: hidden;
	position: relative;
}
.rightbtn p .svg {
	width: 60%;
	height: 60%;
	margin: 20%;
	display: block;
	object-fit: contain;
}
.rightbtn p .svg path {
	fill: #fff;
}
.cartnum {
	display: none;
	width: 15px;
	line-height: 15px;
	position: absolute;
	right: 2px;
	top: 0;
	background: #e06a24;
	border-radius: 50%;
	overflow: hidden;
	font-style: normal;
	color: #fff;
	font-size: 0.7rem;
	text-align: center;
}
.cartnum.on {
	display: block;
}

/* 页码 */

.pagination {
	width: 100%;
	height: auto;
	overflow: hidden;
	text-align: center;
	margin: 20px 0;
}

.pagination a, .pagination p, .pagination span {
	display: inline-block;
	margin: 0 5px;
	padding: 0 15px;
	background: #f5f5f5;
	text-decoration: none;
	color: #999;
	font-size: 0.75rem;
	line-height: 30px;
	border-radius: 3px;
	vertical-align: top;
	cursor: pointer;
}

.pagination p.pageRemark {
	display: block;
	margin-bottom: 10px;
	background: none;
	color: #999;
}

.pagination_all {
	width: 100%;
	height: auto;
	overflow: hidden;
	margin-top: 20px;
	display: none;
}
.pagination_all a {
	display: block;
	width: 10%;
	line-height: 30px;
	background: #fff;
	border-radius: 3px;
	float: left;
	margin: 0 0 5px 2%;
	text-decoration: none;
	text-align: center;
	overflow: hidden;
	font-size: 0.7em;
	color: #999;
}
.pagination_all a:nth-child(8n+1) {
	margin-left: 3%;
}
.pagination_all a.on {
	background: #e4745e;
	color: #fff;
}

/* 支付页 */
.payt {
	line-height: 30px;
	text-align: center;
	font-size: 1rem;
	font-weight: bold;
	margin-top: 40px;
}
.payc {
	width: 80%;
	height: auto;
	overflow: hidden;
	margin: 30px auto;
	padding: 10px 15px;
	border-radius: 10px;
	border: 1px solid #eee;
}
.payrow {
	border-top: 1px dashed #eee;
	padding: 10px 0;
	height: auto;
	overflow: hidden;
}
.payrow:nth-child(1) {
	border-top: 0;
}
.payrow span {
	color: #bbb;
	font-size: 0.7rem;
	display: block;
	line-height: 180%;
}
.payrow span:nth-child(1) {
	float: left;
	width: 60px;
	font-weight: bold;
}
.payrow span:nth-child(2) {
	float: right;
	text-align: right;
	width: calc(100 - 65px);
}
.payrow span#paymoney {
	font-size: 1.3rem;
	color: #666;
}
.paybtn {
	width: 80%;
	margin: 40px auto 0 auto;
	border-radius: 5px;
	line-height: 50px;
	font-size: 1.2rem;
	color: #fff;
	text-align: center;
	background: #40bb49;
	cursor: pointer;
	text-align: center;
}
.paybtn img {
	height: 25px;
	vertical-align: middle;
	margin-right: 10px;
}