/* Write your styles */
html,body{
  font-size: 62.5%;
}
body{
	font-size: 1.4rem;
	background-color: #f5f5f5;
}
a,a:hover,a:focus{
	text-decoration: none;
	color: #333333;
}
p, hr, ul, ol, dl, blockquote, pre, address, fieldset, figure{
	margin: 0;
}
em,i{
	font-style: normal;
}
::-webkit-scrollbar{
	display:none;
}

.fv{
	min-height: 100%;
}
.ub{
	display: flex;
	display: -webkit-flex;
}
.ub-ver{
	flex-direction: column;
}
.ub-ac{
	align-items: center;
}
.ub-ae{
	align-items: flex-end;
}
.ub-pc{
	justify-content: center;
}
.ub-pe{
	justify-content: flex-end;
}
.ub-f1{
	flex: 1;
}
.ub-base{
	align-items: baseline;
}
.ut-m{
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-all;
}
.line1{
	-webkit-line-clamp:1;
	line-clamp:1;
}
.line2{
	-webkit-line-clamp:2;
	line-clamp:2;
}
.line3{
	-webkit-line-clamp:3;
	line-clamp:3;
}
.pos_re{
	position: relative;
}

/* 重置amazeui.css */
.am-header-default .am-header-title a,
.am-header-default .am-header-nav > a,
.am-navbar-default a{
	color: #333333;
}
.am-header-default{
	background-color: #FFFFFF;
}
.am-navbar-default .am-navbar-nav{
	border-top: 1px solid rgba(229,204,150,.4);
	background-color: rgb(245, 245, 245);
}
.am-titlebar{
	margin-top: 10px !important;
}
.am-titlebar-default .am-titlebar-title:before{
	border-left: 4px solid rgb(221, 190, 127);
	top: 12px;
	bottom: 14px;
	border-radius: 10px;
}

.am-titlebar-default .am-titlebar-title{
	color: #333333;
	font-size: 1.6rem;
}
.am-titlebar-default{
	border-bottom: none;
}
.am-form input[type="text"][disabled]{
	background-color: #FFFFFF;
}

/* 自定义css */
.am-navbar-default .am-active a{
	color: rgb(159, 117, 31);
}
.bg-white{
	background-color: #FFFFFF;
}
.bold{
	font-weight: bold;
}
.radius-sm{
	border-radius: 10px;
}
.pos_re{
	position: relative;
}


/* 字体  */
.text-white{
	color: #FFFFFF;
}
.text-black{
	color: #000000;
}
.text-green{
	color: #236030;
}
.text-green-light{
	color: rgba(77,154,94,.5);
}
.text-green-desc{
	color: #4d9a5e;
}
.text-brown{
	color: #9f751f;
}
.am-text-brown{
	color: #9f751f;
}
.am-text-green{
	color: #236030;
}
/* 按钮 */
.am-btn-green,
.am-btn-green:hover,.am-btn-green:active,.am-btn-green:hover{
	background-color: rgb(35, 96, 48);
	color: rgb(255, 255, 255);
	border: 1px solid rgb(35, 96, 48);
}

/* 首页 */
[data-html="index"] .search{
	position: fixed;
	top: 45px;
	left: 0;
	width: 100%;
	padding: 1.5rem 1rem;
	background-color: #FFFFFF;
	z-index: 3;
}
[data-html="index"] .search-group{
	background-color: #F3F4F7;
	border-radius: 2.187rem;
	padding: 0.825rem 2rem;
	margin-left: 1.5rem;
}
[data-html="index"] .search-group input{
	border-radius: 3rem;
	border: none;
	background:transparent;
}
[data-html="index"] .am-slides img{
	height: 26rem;
}
.new-goods-item{
	width: 12rem;
	height: 12rem;
	display: inline-block;
}
.index-goods-block{
	height: 26rem;
	width: 100%;
}
.tuijian-img img{
	height: 16rem !important;
}
.good-list-item{
	background-color: #FFFFFF;
	display: block;
	margin-bottom: 1rem;
	border-radius: 10px;
	margin-right: 0.625rem;
	padding-bottom: 1rem;
}
.good-list-item:nth-child(even){
	margin-right: 0;
}
.good-list-item img{
	width: 100%;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	/* height: 19rem; */
}
/* 我的 */
[data-html="user"] .header-bg{
	background-image: url(../img/user_top_bg.png);
	background-size: cover;
	height: 20rem;
}
[data-html="user"] .user-icon{
	width: 6.7rem;
	height: 6.7rem;
	border-radius: 50%;
	border: 1px solid #4d9a5e;
}
[data-html="user"] .order-panel{
	background-image: url(../img/order-bg.png);
	background-size: 100% 13.5rem;
	height: 13.5rem;
	width: 100%;
	padding: 1rem;
	margin-top: -8rem;
	
}
[data-html="user"] .order-panel img{
	width: 3.3rem;
	height: 3.3rem;
}
.title-bar{
	padding: 1rem 0;
	font-size: 1.6rem;
	border-bottom: 1px solid rgba(229, 204, 150, 0.4);
	margin: 0 1rem;
}
.menu-icon{
	width: 2.625rem;
	height: 2.625rem;
}
.am-list > li{
	margin-bottom: 0;
	border: 0px;
	border-bottom: 1px solid #dedede;
}
.am-list > li:last-child{
	border-bottom: none;
}

/* 我的二维码 */
[data-html="share"]{
	height: calc(100vh - 44px);
	display: flex;
	align-items: flex-end;
}
[data-html="share"] .user-icon{
	border-radius: 50%;
	width: 6rem;
	height: 6rem;
	border: 1px solid #e5cc96;
}
.qrcode-box{
	padding: 3rem 0;
	width: 80%;
	margin: 2rem auto 0;
}
.qrcode-img{
	width: 22rem;
	height: 22rem;
	margin-bottom: 3rem;
}
/* 分销中心 */
[data-html="fenxiao"] .header{
	height: 27.6rem;
	background-image: url(../img/share_bg.png);
	background-size: 100% 27.6rem;
	position: relative;
}
[data-html="fenxiao"] .header .content{
	width: 80%;
	margin: 3rem auto 0;
	background-image: url(../img/fx_top_bg.png);
	height: 19rem;
	background-size: 100% 19rem;
	padding: 1rem;
	position: absolute;
	bottom:0;
	left: 10%;
}
[data-html="fenxiao"] .header .line-img{
	position: absolute;
	bottom:0;
	left: 0;
	width: 100%;
}
[data-html="fenxiao"] .am-list > li{
	background-color: transparent;
	border-bottom: 1px solid rgba(229, 204, 150, 0.4);
	padding: 1.5rem 1rem;
}
.brown{
	color: #9f751f;
}

/* 我的收益 */
[data-html="earnings"] .header{
	background-image: url(../img/earings_bg.png);
	height: 13rem;
	background-size: 100% 13rem;
}

/* 抢购 */
[data-html="grap"] .am-slides img{
	height: 15.4rem;
}
[data-html="grap"]  .list-item{
	height: 14.3rem;
	border-radius: 5px;
	text-align: center;
	background-color: rgba(0,0,0,.6);
	padding-top: 3rem;
	margin-bottom: 1rem;
	position: relative;
}
[data-html="grap"] .list-item img{
	height: 14.3rem;
	position: absolute;
	top:0;
	left: 0;
	width: 100%;
	display: block;
	z-index: -1;
}
[data-html="grap"] .notice-icon{
	width: 38px;
	height: 16px;
}
.page-bar{
	position: fixed;
	left: 0;
	top: 45px;
	width: 100%;
	background-color: #f5f5f5;
}
.page-bar .page,
.page-bar .all{
	height: 44px;
	line-height: 44px;
	color: #9f751f;
	background-color:#e3e3e3;
	width: 6rem;
	display: block;
	text-align: center;
}
.page-bar .all{
	box-shadow: -2px -5px 11px -2px #4d9a5e;
}
.mask{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	z-index: 1;
	background: rgba(0,0,0,.7);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
}

/* 收款管理 */
[data-html="pay-manager"] .am-tabs-default .am-tabs-nav {
	background-color: rgb(35, 96, 48);
	padding: 3px;
}
[data-html="pay-manager"] .am-tabs-default .am-tabs-nav a{
	color: rgb(77, 154, 94);
	line-height:33px;
}
.am-tabs-default .am-tabs-nav > .am-active a{
	background-color: #ffffff;
	color: #236030;
	font-weight: bold;
	border-radius:3px;
}
.am-tabs-bd .am-tab-panel{
	padding: 10px 0 15px;
}
.am-tabs-bd{
	margin: 0;
	border: none;
}

/* 表单 */
.am-form .am-form-item{
	padding: 1rem;
	border-bottom: 1px solid #F5F5F5;
}
.am-form .form-input{
	border:none !important;
	color: #236030 !important;
	font-size: 1.4rem !important;
}
.am-form .am-form-item .label{
	width: 100px;
}
[data-html="pay-manager"] .upload-add{
	width: 13.2rem;
	height: 13.2rem;
	border-radius: 10px;
	background-color: #4d9a5e;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

/* 委托上架 */
[data-html="shangjia"] .good-img{
	width: 8rem;
	height: 8rem;
	border-radius: 10px;
}
[data-html="shangjia"] .ubb{
	border-bottom: 1px solid #F5F5F5;
}
[data-html="shangjia"] #g1,
[data-html="shangjia"] #g2 {
	margin-top: 50px
}

/* 积分商城 */
[data-html="jifen-shop"] .header{
	position: fixed;
	top:45px;
	z-index: 2;
	width: 100%;
	/* background-color: #FFFFFF;
	height: 24rem;
	background-size: 100%; */
}
.cate-box{
	padding-top: 1.6rem;
	padding-bottom: 1rem;
	background-color: rgba(255,255,255,.8);
	color: #FFFFFF;
}
[data-html="jifen-shop"] .search-group{
	background-color: #F3F4F7;
	border-radius: 2.187rem;
	padding: 0.825rem 2rem;
	margin: 0 1.5rem;
}
[data-html="jifen-shop"] .search-group input{
	border-radius: 3rem;
	border: none;
	background:transparent;
}
[data-html="jifen-shop"] .cate-panel-left{
	overflow: hidden;
	overflow-x: scroll;
	white-space: nowrap;
}
[data-html="jifen-shop"] .cate-item{
	margin-right: 1rem;
	border-bottom: 2px solid transparent;
	padding-bottom: 0.5rem;
	display: flex;
	color: rgb(159, 117, 31);
}
[data-html="jifen-shop"] .active{
	color: #5d430d;
	border-bottom: 2px solid #5d430d;
}
[data-html="jifen-shop"] .am-slides img{
	height: 20rem;
}
[data-html="jifen-shop"] .gradient{
	position: relative;
	width: 100%;
	background-image: linear-gradient(#cda83e, #ffffff);
	height: 30px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}
[data-html="jifen-shop"] .am-list > li{
	border-bottom: none;
}

/*****************switchBtn*************************/
.am-switch {
	    width: 44px;
    height: 24px;
    position: relative;
    border: 1px solid #236030;
    background-color: #fdfdfd;
    box-shadow: #236030 0 0 0 0 inset;
    border-radius: 2rem;
    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
    background-clip: content-box;
    display: inline-block;
    -webkit-appearance: none;
    user-select: none;
    outline: none;
}
.am-switch:before {
	content: '';
    width: 15px;
    height: 15px;
    position: absolute;
    top: 12%;
    left: 10%;
    border-radius: 20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #236030;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.am-switch:checked {
	border-color: #236030;
    box-shadow: #236030 0 0 0 16px inset;
    background-color: #236030;
}
.am-switch:checked:before {
	left: 21px;
}
.am-switch.am-switch-animbg {
	transition: background-color ease 0.4s;
}
.am-switch.am-switch-animbg:before {
	transition: left 0.3s;
}
.am-switch.am-switch-animbg:checked {
	box-shadow: #dfdfdf 0 0 0 0 inset;
	background-color:rgba(77,154,94,.5);
	transition: border-color 0.4s, background-color ease 0.4s;
}
.am-switch.am-switch-animbg:checked:before {
	transition: left 0.3s;
}

/* 轮播图 */
.swiper-container {
  width: 100%;
  height: 100%;
  background: #fff;
  padding-bottom: 1rem;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  transition: 300ms;
  transform: scale(0.8);
}
.swiper-container .swiper-slide-active,
.swiper-container .swiper-slide-duplicate-active{
  transform: scale(1);
}
.swiper-container .swiper-slide img{
	height: 20rem;
	width: 106%;
	border-radius: 12px;
}
/* 新品推荐 */
.swiper-container-new{
	width: 100%;
	height: 100%;
	overflow: hidden;
}
.index-good-list{
	padding: 0 1.5rem 1rem 1.5rem;
}
.index-good-list .good-img{
	width: 13rem;
	height: 10rem;
	border-radius: 10px;
}
.text-line2{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}
.text-line1{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}