@charset "utf-8";

/* ------------------------------------------------ contact */

#contact { background: #fff; }

#contact > h2 {
	color:#778899;
	border-top: 1px #ccc solid;
	border-bottom: 1px #ccc solid;
	text-align: center;
}

#contact dl dd input[type="text"],
#contact dl dd input[type="email"],
#contact dl dd textarea {
	border:1px #ccc solid;
	font-size:1.3rem;
	padding:4px 0;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
#contact dl dd span.error {
	display: inline-block;
	color:#fff;
	background:#ff647a;
	padding: 4px;
	margin: 6px 0 0;
}
#contact .inner p:not(.submit-container){
	font-size:1.3rem;
	line-height: 2;
	margin: 0 0 32px;
}

@media (max-width: 768px) {

	#contact { padding: 20px 0 0; }
	
	#contact > h2 {
		font-size: 1.8rem;
		padding: 8px 0;
		margin: 0 16px 20px;
	}

	#contact > div.inner {
		color:#778899;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}

	#contact dl {
		border-bottom: 1px #ccc dotted;
		padding: 0 0 16px;
		margin:0 0 16px;
		font-size:1.3rem;
	}
	#contact dl dt{
		margin: 0 0 8px;
	}
	#contact dl dt span.require{
		display:inline-block;
		*display:inline;
		*zoom:1;
		font-size:10px;
		font-size:1.2rem;
		font-weight:bold;
		padding: 4px 12px;
		margin:0 0 0 4px;
		color:#fff;
		background:#4da560;
		line-height:1;
		-moz-border-radius: 2em;
		-webkit-border-radius: 2em;
		-o-border-radius: 2em;
		border-radius: 2em;
	}

	#contact dl:not(.post-num):not(.zip) dd input[type="text"],
	#contact dl dd input[type="email"],
	#contact dl dd textarea{
		width:100%;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	#contact dl.post-num dd input[type="text"],
	#contact dl.zip dd input[type="text"] {
		width: 4.5em;
	}
	#contact dl dd input[type="radio"] {
		width:15px;
		height:15px;
		border:1px solid #19283C;
		border-radius:15px;
		background:transparent;
		opacity:0.5;
	}
	#contact dl dd input[type="radio"]:checked{
		background:#19283C;
		opacity:1;
	}
	#contact dl dd select {
		padding: 10px 20px;
		font-size:1.4rem;
		border: 1px solid #999;
		background: #eee;
	}
	#contact .submit-container {
		text-align: center;
		border-bottom: 4px #ccc solid;
		padding: 0 0 16px;
	}
	#contact .submit-container input[type="submit"] {
		font-size: 14px !important;
		font-size: 1.4rem !important;
		padding:10px 20px !important;
	}

}

@media (min-width: 769px) {

	#contact > h2 {
		width: 960px;
		font-size: 2.4rem;
		padding: 12px 0;
		margin: 0 auto 20px;
	}
	
	#contact > div.inner {
		color:#778899;
		border:#ccc 1px solid;
		padding:24px 44px;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
	}
	
	#contact dl {
		display:table;
		width:100%;
		margin:0 0 20px;
	}
	#contact dl dt{
		display:table-cell;
		width:23%;
		font-size:1.4rem;
		vertical-align:middle;
		text-align: right;
		padding:0 1em 0 0;
		margin:0;
	}
	#contact dl dt span.require{
		display:inline-block;
		*display:inline;
		*zoom:1;
		font-size:10px;
		font-size:1.2rem;
		font-weight:bold;
		padding: 4px 12px;
		margin:0 0 0 4px;
		color:#fff;
		background:#4da560;
		line-height:1;
		-moz-border-radius: 2em;
		-webkit-border-radius: 2em;
		-o-border-radius: 2em;
		border-radius: 2em;
	}
	#contact dl dd{ vertical-align:middle; }
	#contact dl:not(.post-num):not(.zip) dd input[type="text"],
	#contact dl.post-num dd input[type="email"],
	#contact dl dd textarea{
		width:100%;
		font-size:100%;
	}
	#contact dl.post-num dd input[type="text"],
	#contact dl.zip dd input[type="text"] {
		width:10%;
	}
	#contact dl dd input[type="radio"] {
		width:15px;
		height:15px;
		border:1px solid #19283C;
		border-radius:15px;
		background:transparent;
		opacity:0.5;
	}
	#contact dl dd input[type="radio"]:checked{
		background:#19283C;
		opacity:1;
	}
	#contact dl dd select {
		padding: 10px 20px;
		font-size:1.4rem;
		border: 1px solid #999;
		background: #eee;
	}
	#contact .submit-container { text-align: center; }
	#contact .submit-container input[type="submit"] {
		font-size: 14px !important;
		font-size: 1.4rem !important;
		padding:10px 20px !important;
	}

}

/* Buttons */
#contact input[type="submit"] {
	padding: 6px 10px;
	padding: 0.428571429rem 0.714285714rem;
	font-size: 12px;
	font-size: 0.785714286rem;
	line-height: 1.428571429;
	font-weight: normal;
	color: #7c7c7c;
	background-color: #e6e6e6;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
	background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
	border: 1px solid #d2d2d2;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
	text-align:center;
	text-decoration:none;
}
#contact input[type="submit"] {
	cursor: pointer;
}

#contact input[type="submit"]:hover {
	color: #5e5e5e;
	background-color: #ebebeb;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
	background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}