div#mf_wrapper {
	width: 640px;
	text-align: left;
	margin: 0px auto 0px auto;
	font-family: sans-serif;
}
div#mf_header h1 {
	font-size: 24px;
	border-bottom: solid 1px #999999;
	margin: 0px;
	padding: 0px;
}
div#mf_header h2 {
	font-size: 16px;
	color: #999999;
	font-weight: normal;
	margin: 0px;
	padding: 0px;
}
form#mailform,
form#check_form{
	padding: 5px;
}
table.mailform {
	width: 100%;
}
table.mailform tr th,table.mailform tr td {
	text-align: left;
	font-weight: normal;
	font-size: 12px;
	border-bottom: solid 1px #999999;
	padding: 7px 5px 7px 5px;
}
table.mailform tr th {
	width: 150px;
}
table.mailform tr th span {
	color: #CC0000;
	font-size: 10px;
}
table.mailform tr th p {
	margin: 0px;
	padding: 0px;
	font-size: 10px;
	color: #999999;
}
table.mailform tr td textarea {
	width: 100%;
	height: 120px;
}


.formbox{
    width: 770px;
    margin-bottom: 30px;
}

.error,
.over{
	margin: 0;
	text-align: center;
	font-size: 14px;
	line-height: 18px;
}
.over{	padding-top: 80px;}

.error span{
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	line-height: 30px;
	color: #ff0000;
	padding: 80px 0;
}
.over span{
	display: inline-block;
	font-size: 16px;
	font-weight: bold;
	line-height: 30px;
	padding: 80px 0 0 0;
}

.error_text{
    display: block;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #ff0000;
    font-weight: bold;
}

.error_text:empty{ display: block;}

.error_block th{
	color: #ff0000 !important;
	animation-name: indfade;
	animation-duration: 2.0s;
	animation-timing-function: ease-out;
	animation-delay: 0.0s;
	animation-iteration-count: infinite;
	animation-fill-mode: backwards;
}
@keyframes indfade {
	0%{
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	80% {
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	85% {
		opacity: 0.3;
		filter: alpha(opacity=30);
	}
	90% {
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
	95% {
		opacity: 0.3;
		filter: alpha(opacity=30);
	}
	100%{
		opacity: 1.0;
		filter: alpha(opacity=100);
	}
}

.error_block input[type="text"],
.error_block input[type="email"],
.error_block input[type="tel"],
.error_block textarea{
    border-color: #ff0000 !important;
    background: #fff5f5 !important;
}