html {
	height: 100%;
}
body {
	padding-top: 55px;
	width: 100%;
	height: 100%;
	overflow: hidden;
}
body.cart-view {
	overflow: auto;
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 55px;
	line-height: 55px;
	text-align: center;
	color: #fff;
	font-size: 12pt;
	font-weight: bold;
	background-color: #3366ff;
	z-index: 10;
}
.nav.admin {
	background-color: #555;
}
@media(min-width: 1000px) { 
	.nav {
		/*display: none;*/
	}
}

.nav-btn {
	position: absolute;
	top: 0;
	right: 0;
	width: 55px;
	height: 55px;
	color: #fff;
	font-size: 15pt;
}
.nav-btn.right {
	left: unset;
	right: 0;
}
.nav-btn.left {
	left: 0;
	right: unset;
}
.nav-btn.right .icon {
	margin-right: 15px;
}
.nav-btn.left .icon {
	margin-left: 15px;
}
.nav-btn:hover,
.nav-btn:active {
	color: #fff;
}
.nav-btn .number {
	position: absolute; 
	top: 15px; 
	right: 5px; 
	font-size: 10pt; 
	font-weight: bold;
	color: #fff;
	background-color: #000;
	min-width: 26px;
    height: 26px;
    line-height: 26px;
    border-radius: 15px;
    text-align: center;
}

.footer-nav {
	background-color: #fff;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 65px;
	z-index: 10;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.15);
}

.footer-nav > .tab {
	display: table;
	width: 100%;
}

.footer-nav > .tab > .item {
	display: table-cell;
	height: 65px;
	line-height: 65px;
	width: 50%;
	color: #999;
	text-align: center;
}

.footer-nav > .tab > .item.active {
	color: #3366ff;
}

.mobile-container {
	margin: 0 auto;
	max-width: 600px;
	padding: 0 30px;
}

.daterange-wrapper {
	padding: 20px 0;
}

#date-input-row {
	position: relative;
	padding: 0 30px;
	z-index: 2;
}

#main-tab {
	margin-top: 20px;
}

#scan_view {
	width: calc(100vw - 60px);
	height: calc(100vw - 60px);
	background-color: #ccc;
	-moz-border-radius: 10px;
    -webkit-border-radius: 10px;
	border-radius: 10px;
	overflow: hidden;
}
#scan_view video {
	width: 100%;
	border-radius: 10px;
}

.footer {

}

#cart-submit-btn {
	display: block;
	margin: 20px 0;
	height: 60px;
	line-height: 60px;
	text-align: center;
	color: #fff;
	font-size: 12pt;
	font-weight: bold;
	background-color: #3366ff;
	border-radius: 10px;
}


.cart-price-table {
	margin-left: auto;
}
.cart-price-table th {
	padding-right: 25px;
	text-align: right;
	font-weight: normal; 
	color: #888;
}
.cart-price-table td {
	text-align: right;
}
.cart-price-table tr:last-child th,
.cart-price-table tr:last-child td {
	padding-top: 8px;
	font-size: 15pt;
	font-weight: bold;
	color: #000;
}


.cart-item-list {
	display: table;
	width: 100%;
	border-bottom: 1px solid #eee;
}

.cart-item-list > .cart-item {
	display: table-row;
}

.cart-item-list > .cart-item > .photo,
.cart-item-list > .cart-item > .infos,
.cart-item-list > .cart-item > .funcs {
	display: table-cell;
	vertical-align: top;
	border-top: 1px solid #eee;
	padding: 10px;
}

.cart-item-list > .cart-item > .photo {
	width: 85px;
	padding: 10px 0 10px 25px;
}

.cart-item-list > .cart-item > .photo img {
	width: 60px;
	height: 60px;
	border-radius: 6px;
}
.cart-item-list > .cart-item > .funcs .remove-btn {
	font-size: 18px;
    margin: 15px 10px 0 auto;
    width: 30px;
    height: 30px;
    line-height: 30px;
    color: #888;
    text-align: center;
}

.cart-item-list > .cart-item > .infos .price {
	font-size: 12pt;
	font-weight: bold;
	margin-top: 5px;
}

.cart-item-list > .cart-item > .infos .sn {
	color: #888;
}

body .cart-view-content {
	display: none;
}
body.cart-view .cart-view-content {
	display: block;
}
body .scan-view-content {
	display: block;
}
body.cart-view .scan-view-content {
	display: none;
}