/* 1. 基础设置 */
@font-face {
	font-family: "fangzheng";
	src: url("../fonts/FZZHJW.TTF");
}

* {
	font-family: fangzheng;
}

/* 2. 重置样式 */
a, abbr, acronym, address, applet, article, aside, audio, b, big,
	blockquote, body, canvas, caption, cite, code, dd, del, details, dfn,
	div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1,
	h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd,
	label, legend, mark, menu, nav, nav li, nav ul, object, ol, output, p,
	pre, q, ruby, s, samp, section, small, span, strike, strong, sub,
	summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, var,
	video {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
	menu, nav, section {
	display: block;
}

ol, ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:after, blockquote:before, q:after, q:before {
	content: "";
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
	text-decoration: none;
}

/* 3. 工具类 */
.txt-rt {
	text-align: right;
}

.txt-lt {
	text-align: left;
}

.txt-center {
	text-align: center;
}

.float-rt {
	float: right;
}

.float-lt {
	float: left;
}

.clear {
	clear: both;
}

.pos-relative {
	position: relative;
}

.pos-absolute {
	position: absolute;
}

.vertical-base {
	vertical-align: baseline;
}

.vertical-top {
	vertical-align: top;
}

nav.vertical ul li {
	display: block;
}

nav.horizontal ul li {
	display: inline-block;
}

img {
	max-width: 100%;
}

/* 4. 布局类 */
.main {
	position: absolute;
	padding-top: 20px;
	padding-bottom: 193%;
	width: 100%;
	background-color: #ab1c21;
	background-size: 100% 100%;
}

.main-simple {
	background-image: none !important;
	background: #bd2d2f !important;
}

.banner {
	margin-top: 10.5%;
	padding-bottom: 22.7%;
	width: 56.4%;
}

.mid-tel {
	display: none;
}

.door {
	width: 100%;
	margin-top: 0;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.door-mobile {
	display: none;
}

.popup {
	display: none;
	position: absolute;
	width: 100%;
	height: 112%;
	background-color: #191919;
	opacity: 0.8;
	z-index: 10;
}

.popup-main {
	display: none;
	position: absolute;
	width: 60%;
	padding-bottom: 40px;
	margin-top: 170px;
	border: 10px solid #F9C000;
	border-radius: 10px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 11;
	background-color: white;
	text-align: center;
}

.popup-img {
	position: relative;
	width: 30px;
	margin-top: 10px;
}

.popup-title {
	color: #E95756;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 10px;
}

.popup-text {
	margin: 20px;
	line-height: 24px;
	text-align: left;
}

.popup-close {
	position: absolute;
	width: 40px;
	bottom: 10px;
	right: 10px;
	border: 1px solid #E95756;
	border-radius: 12px;
	padding: 3px 6px;
	color: #E95756;
	text-align: center;
}

.banner, .machine {
	position: absolute;
	left: 50%;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform: translateX(-50%);
}

.machine {
	margin-top: 37.1%;
	padding-bottom: 112%;
	width: 54.2%;
	background-image: url(../images/machine.png);
}

.machine-simple {
	background-image: url(../images/machine-simple.png) !important;
}

.content {
	position: absolute;
	left: 50%;
	margin-top: 41.1%;
	padding-bottom: 66.4%;
	width: 44.8%;
	transform: translateX(-50%);
}

.footer {
	margin-top: 193%;
	height: 90pt;
	background-color: #191919;
	color: #818181;
}

.footer, .footer p {
	position: absolute;
	width: 100%;
}

.footer p {
	top: 50%;
	text-align: center;
	font-size: 20px;
	line-height: 30px;
	transform: translateY(-50%);
}

.overlay {
	z-index: 33;
	display: none;
	margin-top: 41.1%;
	padding-bottom: 66.4%;
	width: 44.8%;
	background-color: #000;
	opacity: 0.95;
	transform: translateX(-50%);
}

.overlay, .overlay-pic {
	position: absolute;
	left: 50%;
}

.overlay-pic {
	top: 50%;
	width: 50%;
	transform: translate(-50%, -50%);
}

.logo {
	margin-top: 45.1%;
	width: 40%;
}

.logo, .text-top {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.text-top {
	margin-top: 62.7%;
	width: 44.8%;
	color: #fff;
	text-align: center;
	font-size: 120%;
}

.text-top-img {
	position: absolute;
	margin-top: 67.7%;
	width: 36%;
	text-align: center;
	left: 50%;
	transform: translateX(-50%);
}

.gift1, .gift2, .gift3 {
	text-align: center;
	position: absolute;
	left: 50%;
	display: block;
	width: 55%;
	border-radius: 5px;
	cursor: pointer;
	transform: translateX(-50%);
}
.gift1 {
	margin-top: 103.1%;
}
.gift2 {
	margin-top: 126.1%;
}
.gift3 {
	margin-top: 149.1%;
}

.main-pic-1 {
	top: 10%;
	height: 25%;
}

.main-pic-big {
	top: 7%;
	height: 31%;
}

.main-pic-2 {
	top: 25%;
	height: 10%;
}

.main-pic-3 {
	top: 50%;
	height: 43%;
}

.pic {
	height: 100%;
	mix-blend-mode: multiply;
}

.main-pic, .pic, .text-bottom {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.text-bottom {
	margin-top: 90%;
	width: 44.8%;
	color: #fff;
	text-align: center;
	font-size: 120%;
}

.dragon {
	position: absolute;
	left: 50%;
	margin-top: 148%;
	width: 30%;
	transform: translateX(-50%);
}

.more1, .more2 {
	position: absolute;
	left: 50%;
	margin-top: 150%;
	padding-bottom: 6.5%;
	width: 53%;
	border-radius: 5px;
	cursor: pointer;
	transform: translateX(-50%);
}
.more2 {
	margin-top: 157%;
}

.button-text {
	top: 50%;
	width: 80%;
	transform: translate(-50%, -50%);
}

.button-text, .food-logo {
	position: absolute;
	left: 50%;
}

.food-logo {
	margin-top: 45.1%;
	padding-bottom: 4.38%;
	width: 5.47%;
	background-image: url(../images/logo-o.png);
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transform: translateX(-350%);
}

.food-back {
	position: absolute;
	left: 71%;
	display: block;
	margin-top: 50.1%;
	padding-bottom: 9.04%;
	width: 9.04%;
	border-radius: 5px;
	background-color: #fff;
	box-shadow: 0 -3px 3px #a2a2a2 inset;
}
.back-pic {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.top-pic {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.top-pic-1 {
	top: 0;
	height: 100%;
}

.top-pic-2 {
	top: 65%;
	height: 20%;
}

.food-top {
	position: absolute;
	left: 50%;
	margin-top: 50.1%;
	padding-bottom: 9.5%;
	width: 38%;
	transform: translateX(-50%);
	pointer-events: none;
}

.food-text-content {
	position: absolute;
	left: 52%;
	margin-top: 70.1%;
	width: 16%;
}
.food-text-content-1 {
	transform: translateX(-218%) scale(0.8);
}
.food-text-content-2 {
	transform: translateX(-120%) scale(0.8);
}
.food-text-content-3 {
	transform: translateX(-5%) scale(0.8);
}
.food-text-content-4 {
	transform: translateX(24%) scale(0.8);
}
.food-text-content-5 {
	width: 22%;
	transform: translateX(70%) scale(0.8);
}

.quality-text-content {
	position: absolute;
	left: 53%;
	margin-top: 70.1%;
	width: 20%;
}
.quality-text-content-1 {
	transform: translateX(-180%) scale(0.8);
}
.quality-text-content-2 {
	transform: translateX(-115%) scale(0.8);
}
.quality-text-content-3 {
	transform: translateX(-65%) scale(0.8);
}
.quality-text-content-4 {
	transform: translateX(10%) scale(0.8);
}
.quality-text-content-5 {
	transform: translateX(90%) scale(0.8);
}
.new-text-content {
	position: absolute;
	left: 50%;
	margin-top: 70.1%;
	width: 20%;
}
.new-text-content-1 {
	transform: translateX(-170%) scale(0.8);
}
.new-text-content-2 {
	transform: translateX(-40%) scale(0.8);
}
.new-text-content-3 {
	transform: translateX(70%) scale(0.8);
}
.new-text-content-4 {
	top: 2em;
	transform: translateX(-170%) scale(0.8);
}
.new-text-content-5 {
	top: 2em;
	transform: translateX(-40%) scale(0.8);
}
.new-text-content-6 {
	top: 2em;
	transform: translateX(70%) scale(0.8);
}

.food-text-title {
	color: #c22c1a;
	font-size: 125%;
}

.food-text, .food-text-title {
	position: absolute;
	width: 100%;
	text-align: center;
}

.food-text {
	color: #c22c1a;
	font-size: 100%;
}

.food-text-1 {
	top: 40px;
}

.food-text-2 {
	top: 70px;
}

.food-text-3 {
	top: 75pt;
}

.food-text-4 {
	top: 130px;
}

.food-text-5 {
	top: 160px;
}

.food-text-6 {
	top: 190px;
}

.food-text-bottom {
	position: absolute;
	left: 50%;
	margin-top: 125.7%;
	width: 44.8%;
	color: #c60012;
	text-align: center;
	font-size: 12px;
	transform: translateX(-50%);
}

.food-gift1, .food-gift2, .food-gift3 {
	position: absolute;
	left: 50%;
	display: block;
	margin-top: 133.1%;
	padding-bottom: 21%;
	width: 19%;
	cursor: pointer;
}
.food-gift1 {
	transform: translateX(-160%);
}
.food-gift2 {
	transform: translateX(-50%);
}
.food-gift3 {
	transform: translateX(60%);
}

.detail-title {
	position: absolute;
	margin-top: 55%;
	width: 100%;
	color: #edcf8a;
	text-align: center;
	font-weight: 700;
	font-size: 160%;
	pointer-events: none;
}

.detail-img {
	position: absolute;
	margin-left: -15%;
	margin-top: 60%;
	width: 10%;
}

.detail-content {
	margin-left: 7%;
	margin-top: 60%;
	width: 25%;
	font-size: 100%;
	line-height: 160%;
	word-break: break-word;
}

.detail-content, .detail-form, .detail-img {
	position: absolute;
	left: 50%;
	color: #fff;
	transform: translateX(-50%);
}

.detail-form {
	margin-top: 75%;
	width: 28%;
	text-align: center;
	color: #edcf8a;
}

.form-title {
	font-size: 170%;
}

.form-text, .form-title {
	position: absolute;
	width: 100%;
}

.form-text {
	font-size: 130%;
}

.form-text-1 {
	margin-top: 15%;
}

.form-text-2 {
	margin-top: 27%;
}

.form-text-3 {
	margin-top: 39%;
}

.form-text-4 {
	margin-top: 51%;
}

.form-text-5 {
	margin-top: 63%;
}

.text-left {
	position: absolute;
	left: 0;
	width: 18%;
	text-align: right;
	word-break: keep-all;
}

.text-input {
	position: absolute;
	right: 0;
	width: 73%;
	border-bottom: 1px solid #edcf8a;
	text-align: left;
}

.text-input input, .text-input textarea {
	min-width: 100%;
	border: none;
	background-color: transparent;
	color: #fff;
	text-align: left;
	font-size: 100%;
	line-height: 100%;
}

.text-input textarea {
	overflow: hidden;
}

.exchange {
	margin-top: 103%;
	padding-bottom: 4.9%;
	width: 30%;
	cursor: pointer;
	transform: translateX(-50%);
}

.exchange, .exchange-pic {
	position: absolute;
	left: 50%;
}

.exchange-pic {
	top: 90%;
	transform: translate(-50%, -50%);
	mix-blend-mode: multiply;
}

.scan {
	position: absolute;
	left: 0;
	display: none;
	margin-top: 108.1%;
	padding-bottom: 26.56%;
	width: 21.09%;
}

.scan-pic {
	z-index: 100;
}

.errorMsg, .scan-pic {
	position: absolute;
	width: 100%;
}

.errorMsg {
	margin-top: 94%;
	color: #ffc627;
	text-align: center;
	font-size: 20px;
}

.continue {
	margin-top: 92.1%;
	padding-bottom: 4.9%;
	width: 20%;
	cursor: pointer;
	transform: translateX(-50%);
}

.continue, .continue-pic {
	position: absolute;
	left: 50%;
}

.continue-pic {
	top: 50%;
	transform: translate(-50%, -50%);
}

/* 7. 响应式布局 */
@media only screen and (max-width: 1200px) {
	.food-text-title {
		font-size: 100%;
	}
	.food-text {
		font-size: 90%;
	}
	.detail-title {
		font-size: 140%;
	}
	.detail-content {
		font-size: 90%;
	}
	.form-title {
		font-size: 170%;
	}
	.form-text {
		font-size: 100%;
	}
}

@media only screen and (max-width: 992px) {
	.food-text-title {
		font-size: 100%;
	}
	.food-text {
		font-size: 80%;
	}
	.detail-title {
		font-size: 140%;
	}
	.detail-content {
		font-size: 90%;
	}
	.form-title {
		font-size: 170%;
	}
	.form-text {
		font-size: 100%;
	}
}

@media only screen and (max-width: 768px) {
	.main {
		position: absolute;
		padding-top: 20px;
		padding-bottom: 193%;
		width: 100%;
	  background-color: #ab1c21;
		background-size: 100% 100%;
	}
	.main-simple {
		background-image: none !important;
		background: #bd2d2f !important;
	}
	.banner {
		margin-top: 10.5%;
		padding-bottom: 22.7%;
		width: 56.4%;
	}
	.door-mobile {
		display: inline-block;
		width: 100%;
		margin-top: 9%;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		z-index: 5;
		pointer-events: none;
	}
	.mid-tel {
		display: block;
		position: absolute;
		color: white;
		margin-top: 142%;
		left: 50%;
		transform: translateX(-50%) scale(0.8);
		font-size: 12px;
	}
	.banner, .machine {
		position: absolute;
		left: 50%;
		background-size: 100% 100%;
		background-repeat: no-repeat;
		transform: translateX(-50%) scale(0.9);
	}
	.machine {
		margin-top: 33.1%;
		padding-bottom: 186%;
		width: 90%;
		background-image: url(../images/machine.png);
	}
	.content {
		position: absolute;
		left: 50%;
		margin-top: 44.5%;
		padding-bottom: 107%;
		width: 74%;
		transform: translateX(-50%) scale(0.985);
	}
	.footer {
		margin-top: 193%;
		height: 60pt;
		background-color: #191919;
		color: #818181;
	}
	.footer, .footer p {
		position: absolute;
		width: 100%;
	}
	.footer p {
		top: 50%;
		text-align: center;
		font-size: 16px;
		line-height: 30px;
		transform: translateY(-50%);
	}
	.overlay {
		z-index: 33;
		display: none;
		margin-top: 41.1%;
		padding-bottom: 120%;
		width: 80%;
		background-color: #000;
		opacity: 0.95;
		transform: translateX(-50%) scale(0.93);
	}
	.overlay, .overlay-pic {
		position: absolute;
		left: 50%;
	}
	.overlay-pic {
		top: 50%;
		width: 50%;
		transform: translate(-50%, -50%);
	}
	.logo {
		margin-top: 54%;
		width: 63.5%;
	}
	.logo, .text-top {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	.text-top {
		margin-top: 79.7%;
		width: 100%;
		color: #fff;
		text-align: center;
		font-size: 16px;
	}
	.text-top-img {
		position: absolute;
		margin-top: 79.7%;
		width: 36%;
		left: 50%;
		transform: translateX(-50%);
	}
	
	.main-pic-1 {
		top: 10%;
		height: 25%;
		mix-blend-mode: multiply;
	}
	.main-pic-2 {
		top: 25%;
		height: 10%;
	}
	.main-pic-3 {
		top: 50%;
		height: 40%;
	}
	.pic {
		height: 100%;
		mix-blend-mode: multiply;
	}
	.main-pic, .pic, .text-bottom {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	.text-bottom {
		margin-top: 123%;
		width: 44.8%;
		color: #fff;
		text-align: center;
		font-size: 16px;
	}
	
	.button-text {
		top: 50%;
		width: 80%;
		transform: translate(-50%, -50%);
	}
	.button-text, .food-logo {
		position: absolute;
		left: 50%;
	}
	.food-logo {
		margin-top: 50.1%;
		padding-bottom: 8.76%;
		width: 10.94%;
		background-image: url(../images/logo-o.png);
		background-size: 100% 100%;
		background-repeat: no-repeat;
		transform: translateX(-300%);
	}
	.top-pic {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
	.top-pic-1 {
		top: 0;
		height: 100%;
	}
	.top-pic-2 {
		top: 65%;
		height: 20%;
	}
	.food-text-title {
		color: #c60012;
		font-size: 13px;
		font-weight: bold;
	}
	.food-text, .food-text-title {
		position: absolute;
		width: 100%;
		text-align: left;
	}
	.food-text {
		color: #c22c1a;
		font-size: 12px;
		text-align: left;
		word-break: keep-all;
	}
	.food-text-1 {
		top: 40px;
	}
	.food-text-content .food-text-1 {
		top: 30px;
		word-break: break-all;
	}
	.food-text-2 {
		top: 70px;
	}
	.food-text-3 {
		top: 75pt;
	}
	.food-text-4 {
		top: 130px;
		white-space: nowrap;
	}
	.food-text-5 {
		top: 160px;
	}
	.food-text-6 {
		top: 190px;
	}
	.detail-title {
		position: absolute;
		margin-top: 53%;
		width: 100%;
		color: #edcf8a;
		text-align: center;
		font-weight: 700;
		font-size: 14px;
		pointer-events: none;
	}
	.detail-img {
		position: absolute;
		margin-left: -22%;
		margin-top: 60%;
		width: 25%;
	}
	.detail-content {
		margin-left: 15%;
		margin-top: 65%;
		width: 41%;
		font-size: 12px;
		line-height: 160%;
		word-break: break-word;
	}
	.detail-content, .detail-form, .detail-img {
		position: absolute;
		left: 50%;
		color: #fff;
		transform: translateX(-50%);
	}
	.detail-form {
		margin-top: 90%;
		width: 60%;
		text-align: center;
		color: #edcf8a;
	}
	.form-title {
		font-size: 16px;
	}
	.form-text, .form-title {
		position: absolute;
		width: 100%;
	}
	.form-text {
		font-size: 14px;
	}
	.form-text-1 {
		margin-top: 15%;
		z-index: 5;
	}
	.form-text-2 {
		margin-top: 27%;
		z-index: 4;
	}
	.form-text-3 {
		margin-top: 39%;
		z-index: 3;
	}
	.form-text-4 {
		margin-top: 51%;
		z-index: 2;
	}
	.form-text-5 {
		margin-top: 63%;
		z-index: 1;
	}
	.text-left {
		position: absolute;
		left: 0;
		width: 18%;
		text-align: right;
		word-break: keep-all;
	}
	.text-input {
		position: absolute;
		right: 0;
		top: -6px;
		width: 73%;
		border-bottom: 1px solid #edcf8a;
		text-align: left;
	}
	.text-input input, .text-input textarea {
		min-width: 100%;
		border: none;
		background-color: transparent;
		color: #fff;
		text-align: left;
		font-size: 100%;
		line-height: 100%;
	}
	.text-input textarea {
		overflow: hidden;
	}
	.exchange {
		margin-top: 140%;
		padding-bottom: 4.9%;
		width: 40%;
		cursor: pointer;
		transform: translateX(-50%);
	}
	.exchange, .exchange-pic {
		position: absolute;
		left: 50%;
	}
	.exchange-pic {
		top: 90%;
		transform: translate(-50%, -50%);
		mix-blend-mode: multiply;
	}
	.scan {
		position: absolute;
		left: 0;
		display: none;
		margin-top: 153.1%;
		padding-bottom: 26.56%;
		width: 21.09%;
	}
	.scan-pic {
		z-index: 100;
	}
	.errorMsg, .scan-pic {
		position: absolute;
		width: 100%;
	}
	.errorMsg {
		margin-top: 94%;
		color: #ffc627;
		text-align: center;
		font-size: 12px;
	}
	.continue {
		margin-top: 111.1%;
		padding-bottom: 6%;
		width: 30%;
		cursor: pointer;
		transform: translateX(-50%);
	}
	.continue, .continue-pic {
		position: absolute;
		left: 50%;
	}
	.continue-pic {
		top: 50%;
		transform: translate(-50%, -50%);
	}
}