#earnest {
	margin: 0 auto;
	padding:0;
	width: 100%;
}

#earnest p{
	padding: 5px 0 10px 0;
}

#open01,
#open02 {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	position: absolute;
}

.close_overlay {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	text-indent: -9999px;
	position: absolute;
	background: #000;
	opacity: 0.5;
	z-index: 5;
}

.modal_window {
	top: 40%;
	left: 40%;
	margin: -150px 0 0 -200px;
	width: 750px;
	text-align: center;
	display: block;
	background: #fff;
	position: absolute;
	z-index: 10;
	border-radius: 10px;
}

.modal_window h2 {
	margin-bottom: 20px;
	width: 750px;
	height: 30px;
	line-height: 30px;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	text-align: left;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	padding-top:5px;
	text-indent: 15px;
	background: #000;
}
.modal_window p {
	margin:10px 20px;
	font-size: 12px;
	line-height: 160%;
	text-align: left;
}


#earnest table{
	width:700px;
	margin:20px;
	background-color:#999;}
	
#earnest table td{
	background-color:#fff;}
	
#earnest table th{
	background-color:#20b2aa;
	color:#fff;}

#close {float:right;
	margin-top:-50px;
	color:#fff;}
	
#close a{
	color:#fff;}
	
#uchikin{background-color:#ccc;
	padding:5px;
	width:700px;
	margin:0 20px;
	text-align: left;
	font-weight: bold;}
	
#earnest-in{
	float:right;
	margin-right:-10px;}

	
	

/* CSS3 ModalWindow SET
-------------------------- */
@-webkit-keyframes modalFadeIn {
	0% {opacity:0;display:block;}
	100% {opacity:1;}
}
div#modal div:target {
	-webkit-animation-name: modalFadeIn; 
  	-webkit-animation-duration: 1s;
  	-webkit-animation-iteration-count: 1;
	opacity: 1;
	display:block;
}