* {
	padding: 0;
	margin: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
html, body {
	padding: 0;
	margin: 0;
	height: 100%;
}
body {
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
	    -ms-tap-highlight-color: rgba(0, 0, 0, 0);
	        tap-highlight-color: rgba(0, 0, 0, 0);
	font-size: 0.9rem !important;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	color: #333;
	background-color: #f5f5f5;
}
ul, ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-bg {
	background-color: #f5f5f5;
	color: #333;
}
.white-bg {
	background-color: white;
	color: #333;
}
a, a:link, a:visited, a:hover, a:active {
	text-decoration: none;
}
.container-fluid {
	width: 100%;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
	padding-bottom: 2rem;
	margin-right: auto;
	margin-left: auto;
	position: absolute;
}
.container {
	width: 100%;
	padding-bottom: 3rem;
	margin-right: auto;
	margin-left: auto;
	position: absolute;
}
.bg-white {
	background-color: white;
}

.fw-bold {
	font-weight: bold;
}

.fr {
	float: right;
}
.fl {
	float: left;
}

.over-hidden {
	overflow: hidden;
}

textarea,button,a,input,img {
	webkit-touch-callout: none;
	text-decoration: none;
	font-size: inherit;
	-webkit-tap-highlight-color: transparent;
	outline: 0;
	color: inherit;
}

/* 文本布局 */
.text-center{
	text-align: center;
}
.text-right{
	text-align: right;
}
.text-left{
	text-align: left;
}
.pt-sm{
	padding-top: 0.25rem;
}
.pt-md{
	padding-top: 0.5rem;
}
.pl-lg{
	padding-left: 0.75rem;
}
.pr-lg{
	padding-right: 0.75rem;
}
.text-xs{
	font-size: 0.8rem;
    font-weight: normal;
}
.text-999{
	color: #999 !important;
}
.text-333{
	color: #333 !important;
}
.text-red{
	color:#ff5500 !important;
}
.text-orange{
	color: #ff8800;
}


/* 菜单栏导航 */
.menu-bar .navigation{
	width: 3.8rem !important;
	height: 3.8rem !important;
    position: fixed;
    left: 1rem;
	bottom: 1rem;
	border-radius: 50%;
	border: 1px solid #eee;
	background: rgb(254, 167, 1);
	text-align: center;
	color: #fff;
	z-index: 999;
}
.menu-bar
.navigation p{
	line-height: 0.7rem;
	padding-top: 0.1rem;
}
.menu-bar
.shopping-cart p{
	line-height: 0.7rem;
	padding-top: 0.1rem;
}
.menu-bar
.navigation,
.shopping-cart{
	padding-top: 0.3rem;
}
.menu-bar
.navigation p ion-icon{
	font-size: 1.8rem;
}
.menu-bar
.navigation p span{
	font-size: 0.7rem;
}
.menu-bar
.shopping-cart p ion-icon{
	font-size: 1.8rem;
}
.menu-bar
.shopping-cart p span{
	font-size: 0.7rem;
}
.menu-bar .shopping-cart{
	width: 3.8rem !important;
	height: 3.8rem !important;
    position: fixed;
    right: 1rem;
	bottom: 1rem;
	border-radius: 50%;
	border: 1px solid #eee;
	background: rgb(255, 85, 1);
	text-align: center;
	color: #fff;
	z-index: 999;
}
/* 输入框 */
.sc-ion-input-ios-h{
    --padding-start: 8px;
}
.sc-ion-input-md-h{
    --padding-start: 8px;
}
/* 加入购物车按钮 */
.shopping-footer{

	/* width:100%;    height:3rem;    position:fixed;    bottom:0px;	z-index: 999; */
	position: absolute;
    bottom: 0;
    background: white;
    width: 100%;
    overflow: hidden;
    height: 3rem;
    border-top: 1px solid #ddd;
	 z-index: 999;
}
.shopping-footer .shopping-money{
    line-height: 3rem;
    padding-left: 0.75rem;
}
.shopping-footer .shopping-money label{
    font-size: 0.9rem;
}
.shopping-footer .shopping-money label span{
    font-weight: normal;
    font-size: 0.8rem;
}
.shopping-footer .shopping-button ion-button{
    width: 10rem;
    height: 3rem;
	line-height: 3rem;
	padding-right: 1rem;
	--border-radius: 2rem 2rem 2rem 2rem!important;
    --border-radius: 0;
    --background-activated:#fea700 !important;
    --background-focused:#fea700 !important;
    --background: -webkit-linear-gradient(#fea700, #ff5500); /* Safari 5.1 - 6.0 */
    --background: -o-linear-gradient(#fea700, #ff5500); /* Opera 11.1 - 12.0 */
    --background: -moz-linear-gradient(#fea700, #ff5500); /* Firefox 3.6 - 15 */
    --background: linear-gradient(#fea700, #ff5500); /* 标准的语法（必须放在最后） */
}
.shopping-footer .shopping-number{
	padding-left: 0.75rem;	
}
.shopping-footer .shopping-number label{
	font-size: 0.9rem;
	text-align:center;
	line-height: 2rem;
	vertical-align:top;
	margin-top: 0.5rem;
	display:inline-block;
}

.shopping-footer .shopping-number ion-button,
.shopping-footer .shopping-number ion-button:active,
.shopping-footer .shopping-number ion-button::after {
	width: 2rem;
	height: 2rem;
	outline: none;
	list-style: none;
    border-radius: 0 !important;
}

.shopping-footer .shopping-number .primary,
.shopping-footer .shopping-number .primary:active,
.shopping-footer .shopping-number .primary::after {
	outline: none;
	width: 2rem;
	height: 2rem;
	display: inline-block;
	line-height: 2rem;
	vertical-align:top;
	margin-top: 0.5rem;
    --border-radius: 0 !important;
	font-size: 1rem !important;
	border-radius: 0;
	background-color: transparent; 
	border: none;
    --background-activated:#fea700 !important;
    --background-focused:#fea700 !important;
    --background: -webkit-linear-gradient(#fea700, #ff5500); /* Safari 5.1 - 6.0 */
    --background: -o-linear-gradient(#fea700, #ff5500); /* Opera 11.1 - 12.0 */
    --background: -moz-linear-gradient(#fea700, #ff5500); /* Firefox 3.6 - 15 */
    --background: linear-gradient(#fea700, #ff5500); /* 标准的语法（必须放在最后） */
}
.shopping-footer .shopping-number  .ghost,
.shopping-footer .shopping-number  .ghost:active,
.shopping-footer .shopping-number  .ghost::after {
	outline: none;
	width: 2rem;
	height: 2rem;
	display: inline-block;
	vertical-align:top;
	margin-top: 0.5rem;
    --border-radius: 0 !important;
    font-size: 1rem !important;
    color: #ff5500;
    --background-activated:#fea700 !important;
    --background-focused:#fea700 !important;
    --background: rgba(254, 167, 1, 0.01);
    border: 1px solid #ff5500;
}
.shopping-footer .shopping-number ion-input{
	width: 3rem;
	height: 2rem;
	vertical-align:top;
	margin-top: 0.5rem;
    display: inline-block;
    text-align: center;
	vertical-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}


/* 轮播图 */
.banner{
    width: 100%;
}
.banner div{
    display: inline-block;
    width: 100%;
}
.banner div img{
    pointer-events: none;
    width: 100%;
    vertical-align: top;
}
.empty{
    text-align: center;
}
.empty img{
	padding-top: 3rem;
	width: 53%;
}
/* 菜单栏 */
ion-popover .popover-content{
	background: rgba(0, 0, 0, 0.6) !important;
	left: 0 !important;
	border-radius: 0 !important;
	height: 100% !important;
	padding-bottom: 50rem;
	width: 9rem !important;
	z-index: 9999 !important;
}
/* 菜单栏 安卓 */
ion-popover .sc-ion-popover-md{
	top: 1.25rem !important;
}
/* 菜单栏 ios */
ion-popover .sc-ion-popover-ios{
	top: 0 !important;
}
ion-app {
	top:1.25rem !important;
}

app-food {
	display: inline-block;
}

@media screen and (min-width: 768px){
	app-food {
		width: 33.33%;
	}
}