.modal-dialog{
	width: 760px;
}
.modal-content{
	background-color:rgba(0,0,0,0);
	border-radius:0;
	border:0;
	box-shadow:none;
}
.modal-header{
	height: 90px;
	border-bottom:0;
	line-height: 20px;
	font-weight: bold;
	-webkit-border-top-left-radius: 30px;
	-webkit-border-top-right-radius: 30px;
	-moz-border-radius-topleft: 30px;
	-moz-border-radius-topright: 30px;
	border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	background: #4bbfbf;
	position: relative;
}

.modal-header .close{
	opacity: 1;
	top: 42px;
	right: 30px;
	position: absolute;
	z-index: 888;
	outline: none;
}
.modal-header .close:hover{
	opacity: .9;
}
.modal-title{
	z-index: 888;
	position: absolute;
	top: 50px;
	left: 50%;
	transform: translateX(-50%);
}
.modal-header .event_pic3{
	z-index: 888;
	position: absolute;
	top: 20px;
	left: 80px;
	
}
.modal-body{
	background: url(../images/bg_yellow.gif) repeat;
	border-top: 0;
	-webkit-border-bottom-right-radius: 30px;
	-webkit-border-bottom-left-radius: 30px;
	-moz-border-radius-bottomright: 30px;
	-moz-border-radius-bottomleft: 30px;
	border-bottom-right-radius: 30px;
	border-bottom-left-radius: 30px;
	padding-top: 50px;
}
.modal-body .gift1,.modal-body .gift2{
	overflow: hidden;
	width: 600px;
	margin: 0 auto;
	text-align: center;
}
.modal-body .gift2>div{
	float: left;
	width: 31.3%;
	margin:0 1% 0;	
}
.modal-body .gift1{
	padding-bottom: 20px;
}
.modal-body .gift1 h6{
	font-size: 28px;
	color: #6e5954;
	font-weight: 600;
	margin:10px 0 5px 0;
}
.modal-body .gift1 p{
	font-size: 20px;
	color: #ec6c6c;
}
.modal-body .gift2 h6{
	font-size: 15px;
	color: #6e5954;
	font-weight: 500;
	margin:10px 0 5px 0;
}
.modal-body .gift2 p{
	font-size: 14px;
	color: #ec6c6c;
}
.modal-body .gift2{
	margin-bottom: 20px;
}
.modal-footer{
	
	border-top:0;
}

.modal-result .modal-body{
	padding:2% 10%;
	text-align: center;
}
.modal-result .modal-body p{
	font-size: 16px;
	line-height: 24px;
}
.modal-header .event_pic4{
	z-index: 888;
	position: absolute;
	top: 50px;
	left: 30px;
	width: 165px;
	
}
.modal-result .modal-body .ans h3{
	color: #6e5954;
	font-size: 40px;
	padding-top: 15px;
	font-weight: 600;
}
.modal-result .modal-body .ans h3 span{
	color: #ec6c6c;
	display: inline-block;
	width: 90px;
	text-align: center;
}
.modal-result .modal-body .ans p{
	font-size: 18px;
	line-height: 26px;
	text-align-last: left;
	color: #6e5954;
	padding: 20px 0;
}
.modal-result .modal-body .ans a{
	font-size: 32px;
	color: #ffffff;
	text-decoration: none;
	display: block;
	height: 60px;
	background: #ec6c6c;
	margin: 30px auto 40px;
	text-align: center;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
	-webkit-box-shadow: 0 7px 0 #e05a5a;
	-moz-box-shadow: 0 7px 0 #e05a5a;
	box-shadow: 0 7px 0 #e05a5a;
	transition: all 0.4s;
	outline: none;
	width: 90%;
	letter-spacing:1px;
	font-weight: 700;
	line-height: 60px;
}	
.modal-result .modal-body .ans a:hover{
	background: #ff7b7b;
	-webkit-box-shadow: 0 2px 0 #e05a5a;
	-moz-box-shadow: 0 2px 0 #e05a5a;
	box-shadow: 0 2px 0 #e05a5a;
	width: 95%;
}
#modal-giftname .modal-body table {
	margin-bottom: 20px;
}
#modal-giftname .modal-body td{
	border: 1px solid #6e5954;
	width: 50%;
	text-align: center;
	padding: 5px;
	font-size: 16px;
}
#modal-giftname .modal-body td.tt{
	background: #6e5954;
	color: #ffffff;
}
#modal-giftname .modal-body td.tt span{
	color: #fffbdb;
}

@media screen and (max-width:776px) {
.modal-dialog{
	width:90%;
	margin: 0 auto;
	margin-top: 5%;
	}
	.modal-header .event_pic4 {
		z-index: 888;
		position: absolute;
		top: 10px;
		left: 30px;
		width: 140px;
	}.modal-result .modal-body .ans a{
		font-size: 26px;
		line-height: 30px;
		height: auto;
		padding: 10px;
		margin-top: 0;
	}.modal-header .close {
		top:10px;
		right: 10px;
		width: 50px;
	}
}@media screen and (max-width:760px) {
	.modal-result .modal-body {
		padding: 2% 6% ;
	}
	.modal-result .modal-body .ans h3 {
		font-size:7.6vw;
	}.modal-result .modal-body .ans h3 span {
		width:18vw;
	}
	.modal-result .modal-body .ans a{
		font-size:5.7vw;
		font-weight: 500;
	}
	.modal-result .modal-body .ans a span{
		display: block;
	}.modal-body .gift1, .modal-body .gift2 {
		width: 100%;
	}
	.modal-body .gift1 {
		padding-bottom: 15px;
		border-bottom: 1px dotted #6e5954;
	}
	
	.modal-body .gift2>div {
		float: none;
		width: 90%;
		margin: 0 auto;
		padding-top: 15px;
	}
	.modal-body .gift2>div+div{		
		padding-bottom: 15px;
		border-top: 1px dotted #6e5954;
	}
	.modal-body .gift2>div img{
		display: block;
		margin: 0 auto;
	}.modal-result .modal-body .ans p {
		padding: 10px;
	}
	.modal-body .gift1 h6,.modal-body .gift2 h6{		
		font-size:5.5vw;
		font-weight: 500;
	}
	.modal-body .gift1 p,.modal-body .gift2 p{		
		font-size:5vw;
		font-weight: 500;
	}
}