@charset "utf-8";
/* CSS Document */

/*Find a church form styling */
.findbox {
	box-sizing:border-box;	
	max-width:94%;
	min-width:300px;
	border:1px solid #8c8c8c;
	background:#fff;
}
.maincontent .findbox, #results_wrap .findbox {
	margin:20px auto;	
}
.findbox h2 {
	background:#000;
	color:#ffd777;
	margin:0;
	padding:15px 6.5%;
	border-bottom:1px solid #8c8c8c;
	font-style:italic;
	font-family:"Warnock Pro", Georgia, serif;
	font-size:1.29em;
}
.maincontent .findbox h2 { padding-top:12px !important; }
.findbox p {
	font-size:.88em;
	margin:0;
	padding:8px 6.5% 6px;	
}
.findbox form {
	padding:4px 5%;
	width:100%;	
}
.findbox label, .findbox option { padding:2px 4px; }
.findbox label, .findbox input[type=submit] {
	text-transform:uppercase;
}
.findbox select {
	display:inline-block;
	width:40%;
	margin-right:3%;
}
.findbox input[type=submit] {
	background:#b4a8a7;
	color:#fff;
	border:1px solid #828282;
	border-radius:3px;
}
.findbox label {
	background:#000;
	border:1px solid #8c8c8c;
	color:#fff;
	font-size:.82em;
	display:inline-block;
	width:28%;
	margin-right:4%;
}
.findbox option {
	background:#fff;
	color:#000;
	border-bottom:1px solid #c8c8c8;
	font-size:.88em;
	display:block;	
}
.findbox option:first-child {
	color:#707070 !important;
	background:#f3f3f3 !important;
}
.findbox option:last-child { border:none; }
.findbox input[type=submit] { 
	margin-left:0;
	margin-right:0;
	width:11%;
}
/* results page styling */
.results h3 { color:#aaa; font-weight:bold; }
.results h4, .results p {
	margin:0;	
}

#results_wrap a {
	color:#a5192c;	
}
body.results {
	margin:0;
	padding:0;
	font-family:Verdana, Geneva, sans-serif;
	font-size:.9em;	
}
#results_wrap {
	width:700px;
	max-width:90%;
	margin:0 auto 15px;	
}
.churchdisplay {
	border:1px solid #ccc;
	padding:10px;
	margin-bottom:8px;
	line-height:1.45;
}
.detail { font-size:.9em; font-style:italic; padding-bottom:0; }
.churchdisplay h4 { border-bottom:1px solid #ddd; border-top:none; padding-top:0; }
div.info {
	font-size:.9em;
}
div.info p {
	padding:.12em 0;	
}
.results h3, .results p.returnlink {
	margin:20px 11px;	
}
p:empty { display:none; }
@media screen and (max-width:380px) {
	label span { display:none; }
}
@media screen and (max-width:450px) {
	body { font-size:15px; }
}
@media screen and (min-width:500px) { }

@media screen and (max-width:479px) {
	.findbox {
		width:94%;
		min-width:300px;
		margin:0 auto;	
	}
	.findbox form {
	padding:3px 3%;
	}
}
@media screen and (min-width:480px) and (max-width:900px) {
	.findbox {width:465px; margin:0 auto; padding-bottom:5px;}
	.findbox h2 { padding:6px 6%; font-size:1.1em;}
	.findbox form { font-size:.9em; }
}
@media screen and (min-width:901px) and (max-width:1299px) {
	.findbox { width:400px; padding-bottom:5px; }
	.findbox h2 { padding:9px 6%; margin-bottom:4px; }
}
@media screen and (max-width:1299px) { .findbox p { display:none; } }
@media screen and (min-width:1300px) {
	.findbox {width:465px;padding-bottom:9px;}
}
	
