html, body {
	height: 100%;
}
body {
	position: relative;
}
/*���ֲ���ʾʱbody����ʽ*/
.notscroll {
	overflow: hidden;
}
/* ���� */
.modal {
	display: none; /* ĭ������ */
	position: fixed;
	z-index: 10004;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.4);
	-webkit-animation-name: fadein;
	-webkit-animation-duration: 0.4s;
	animation-name: fadein;
	animation-duration: 0.4s;
	max-width: 640px;
	min-width: 320px;
	margin: 0 auto;
}
/* �������� */
.modal-content {
	position: fixed;
	bottom: 0;
	background-color: #fefefe;
	width: 100%;
	-webkit-animation-name: slidein;
	-webkit-animation-duration: 0.4s;
	animation-name: slidein;
	animation-duration: 0.4s;
	max-width: 640px;
	min-width: 320px;
	margin: 0 auto;
}
.modal-content-2 {
	position: fixed;
	top: 20%;
	width: 100%;
	-webkit-animation-name: slidein;
	-webkit-animation-duration: 0.4s;
	animation-name: slidein;
	animation-duration: 0.4s;
	max-width: 640px;
	min-width: 320px;
	margin: 0 auto;
}
.hb-con {
	text-align: center;
	position: absolute;
	top: 70px;
	width: 64%;
	left: 50%;
	margin-left: -32%;
}
.hb-con .t-h6 {
	font-size: 12px;
	color: #555;
}
.hb-con .t-h4 {
	font-size: 50px;
	color: #e02020;
	font-weight: bold;
	display: block;
	line-height: 1.3;
	margin-bottom: 35px;
}
.hb-con .t-h4 span {
	font-size: 14px;
	color: #e02020;
}
.hb-con .input {
	background: #ffd8b3;
	height: 40px;
	line-height: 40px;
	border-radius: 40px;
	padding: 0 10px;
	color: #a78d76;
	font-size: 14px;
	width: 100%;
	border: none;
	text-align: center;
}
.hb-con .btn {
	background-image: linear-gradient(45deg, #fdd158 0%, #ffb830 80%);
	height: 40px;
	line-height: 40px;
	border-radius: 40px;
	color: #e02020;
	width: 100%;
	font-weight: bold;
	font-size: 15px;
}
.hb-con .hb-tit {
	position: absolute;
	width: 200px;
	height: 324px;
	z-index: 3;
	box-sizing: border-box;
	padding-top: 70px;
	left: 50%;
	margin-left: -100px;
	text-align: center;
}
/* �رհ�ť */
.close {
	color: #333;
	float: right;
	font-size: 24px;
	position: absolute;
	top: 0px;
	right: 10px;
	z-index: 2;
	cursor: pointer;
}
.close:hover, .close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}
.close3 {
	text-align: center;
	padding-top: 20px;
}
.close3 img {
	width: 28px;
	height: 28px;
	margin: 0 auto;
}
.modal-header {

}
.modal-header img {
	width: 100%;
	margin-top: -40px;
}
.modal-body {
	padding: 15px 20px;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.modal-body .grace-items {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	border-bottom: 1px solid #f5f6f8  !important;
	width: 100%;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-flex-wrap: nowrap;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
	
}
.modal-body .grace-items .input{
	padding: 8px 10px;
/* 	border-bottom: 1px solid #f5f6f8  !important; */
}
.modal-body .grace-items .input:focus{
	background: #f9f9f9;
	
}
.modal-body .grace-items .grace-label {
	width: 65px;
	height: 40px;
	line-height: 40px;
	-webkit-flex-shrink: 0;
	-ms-flex-negative: 0;
	flex-shrink: 0;
	overflow: hidden;
	color: #5e5e5e;
	font-size: 14px;
}
/* ȥ��input[type=number]�����ĭ�ϵ�icon��ʾ */
input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
 -webkit-appearance: none;
}
input[type="number"] {
	-moz-appearance: textfield;
}
input::placeholder, textarea::placeholder {
 color: #999;
}
 .hb-con input::placeholder, .hb-con textarea::placeholder {
 color: #553921;
}
.modal-body .grace-items .input {
	width: 100%;
	height: 40px;
	line-height: 40px;
	background: none;
	-webkit-flex-shrink: 1;
	-ms-flex-negative: 1;
	flex-shrink: 1;
	border: 0;
	text-align: right;
	margin-left: 10px;
	color: #333333;
	font-size: 14px;
}
.unit {
	color: #999;
	margin-left: 10px;
}
 input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
-webkit-appearance: none !important;
}
input:focus::-webkit-contacts-auto-fill-button {
opacity: 0;
}
input {
	-webkit-appearance: none;
	outline: none;/*ȥ��safafi inputĭ����ʽ*/
}
.modal-footer {
	text-align: center;
}
.btn-1 {
	background: #44d7b6;
}
.btn-2 {
	background: #fa6400;
}
.btn-4 {
	background: #b620e0;
}
.btn-5 {
	background: #0091ff;
}
.btn {
	width: 70%;
	height: 45px;
	line-height: 45px;
	text-align: center;
	margin: 0 auto;
	border-radius: 45px;
	margin-top: 15px;
	margin-bottom: 20px;
	color: #fff;
	font-weight: bold;
	border: 0;
}
.slide-box {
	bottom: 70px;
}
.grace-footer {
	position: fixed;
	z-index: 10002;
	bottom: 0;
	background: #ffffff;
	width: 100%;
	height: 50px;
	/*overflow: hidden;*/
	-webkit-box-shadow: 1px 1px 6px #cecece;
	box-shadow: 1px 1px 6px #cecece;
	max-width: 640px;
	min-width: 320px;
	margin: 0 auto;
}
.grace-footer .icon-btn {
	width: 25%;
	height: 40px;
	margin: 2px 0 4px 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	float: left;
	cursor: pointer;
}
.grace-footer .icon-btn .icon {
	text-align: center;
	width: 30px;
	height: 30px;
	margin: 0 auto;
}
.grace-footer .icon-btn .icon img {
	width: 30px;
	height: 30px;
}
.grace-footer .icon-btn .text {
	text-align: center;
	font-size: 11px;
	line-height: 15px;
	color: #555;
}
.grace-footer .icon-c {
	z-index: -1;
	position: fixed;
	bottom: 17px;
	width: 52px;
	height: 52px;
	left: 50%;
	margin-left: -26px;
}
.grace-footer .icon-c img {
	width: 52px;
	height: 52px;
}
.hb-bg {
	width: 100%;
	height: 324px;
}
.hb-bg img {
	width: 100%;
	height: 324px;
}


@media (min-width: 320px) { 
.modal-header img {
	width: 100%;
	margin-top: -40px;
	}
}


@media (min-width: 768px) { 
.modal-header img {
	width: 100%;
	margin-top: -70px;
	}
}

@media (width: 320px) { 
.modal-header img {
	width: 100%;
	margin-top: -30px;
	}
}

/* ���ӷ��� */
@-webkit-keyframes slidein {
 from {
bottom: -300px;
opacity: 0
}
 to {
bottom: 0;
opacity: 1
}
}
 @keyframes slidein {
 from {
bottom: -300px;
opacity: 0
}
 to {
bottom: 0;
opacity: 1
}
}
 @-webkit-keyframes fadein {
 from {
opacity: 0
}
 to {
opacity: 1
}
}
 @keyframes fadein {
 from {
opacity: 0
}
 to {
opacity: 1
}
}

.modal-content .agreement_box .item { margin-left: 20px; }