@charset "UTF-8";
/* CSS Document for Hearty Boys 'Peter's Epistles Quiz"' page */
body {
 font-family: Tahoma;
 font-size: 14px;
 color: #454037;
 text-align: left;
 margin: 10px 10px 20px 10px;
 padding: 0;
 background-color: #f5deb1;
}
#quizWrapper {
 margin: 0 auto;
 overflow: hidden;
 max-width: 980px;
}
#quizWrapper input[type=submit] {
 color: #454037;
 font-size: 18px;
 width: 180px;
 height: 40px;
 border: none;
 margin: 6px 2px 0 2px;
 padding: 0;
 max-width: 100% !important;
 border-radius: 8px;
 box-shadow: 0px 0px 10px rgba(0, 0, 0, .65);
 background: #f5deb1 url(image) 0 0 no-repeat;
}
#photoBox {
 margin: 0 auto;
 overflow: hidden;
}
#photoBox img.scalable, img.scalable {
 height: auto !important;
 width: auto !important;
 max-width: 100%;
}
#greetings h1 {
 font-size: 1.70em;
 text-align: center;
 margin: 0 0 12px 0;
}
#greetings h2 {
		text-align: center;
  margin: 0 0 6px 0;
}
#greetings h4 {
 font-size: 18px;
 margin: 8px 0 10px 22px;
}
form {
 width: auto;
 font-size: 1.17em;
	padding: 20px 20px 20px 20px;
 margin: 0 26px 0 26px;
 border-top: 4px solid rgba(251, 246, 234, 0.5);
 border-right: 4px solid #e2be69;
 border-bottom: 4px solid #e2be69;
 border-left: 4px solid rgba(251, 246, 234, 0.5);
 border-radius: 10px;
 box-shadow: 3px 3px 8px rgba(0, 0, 0, .65);
 background-color: #faf0dc;
}
.imwrap {
 width: 100%;
 max-width: 1000px; /*edit to suit if needed*/
 display: table;
 margin: 0 auto;
 border-spacing: 5px; /* optional - use if using border-collapse:separate; and adjust 5px to suit */
}
.max1000 {
 max-width: 1000px !important;
}
.max900 {
 max-width: 900px !important;
}
.max800 {
 max-width: 800px !important;
}
.max700 {
 max-width: 700px !important;
}
.max600 {
 max-width: 600px !important;
}
.im {
 vertical-align: middle;
 padding: 2px;
 display: table-cell;
 text-align: center;
}
.im img {
 width: auto;
 height: auto;
 max-width: 100% !important;
	margin: 2px 2px 2px 6px;
 border-radius: 8px;
 box-shadow: 0px 0px 10px rgba(0, 0, 0, .65);
}
p.caption {
	font-size: 0.80em;
}
label {
 margin-left: 10px;
}
li {
 margin-top: 10px;
}
.centered {
 text-align: center;
}
.right {
 float: right;
 display: inline; /* Always add "display:inline" to any floated item. */
 margin: 0;
 padding: 2px 20px 0 8px;
}
hr {
 border: 0;
 margin: 10px 30px;
 height: 2px;
 color: #5c0d20;
 background-color: #5c0d20;
}
.underlined {
 text-decoration: underline;
}
span.serifFont {
 font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
 font-size: 1.45em;
 font-weight: bold;
 color: #65acde;
 padding: 0px;
 line-height: 1.27em;
 text-shadow: 1px 1px 1px #000;
}
#photoBox {
 width: auto;
 text-align: center;
 margin: 0 auto;
 padding: 0;
}
#return {
 text-align: center;
 margin-bottom: 20px;
}
#footer {
 font-size: 0.7em;
 color: #005CB8;
 padding-top: 16px;
 padding-bottom: 16px;
 text-align: center;
 clear: both;
}
/* MEDIA QUERIES BELOW............. In descending order of max-width values */
@media only screen and (min-width: 0px) and (max-width: 700px) {
span.serifFont {
 font-size: 1.05em;
 text-shadow: 1px 1px 1px #004D66;
	}
	#greetings h1 {
 font-size: 1.38em;
 text-align: center;
 margin: 0 0 12px 0;
}
#greetings h2 {
	font-size: 1.18em;
	text-align: center;
 margin: 0 0 6px 0;
}
#greetings h4 {
 font-size: 18px;
 margin: 8px 0 10px 22px;
}
 form {
		font-size: 13px;
  padding: 10px 8px 10px 11px;
  margin: 0 8px 0 6px;
 }
	.max1000, .max900, .max800, .max700, .max600 {
	height: auto !important;
 width: auto !important;
	margin-right: 10px;
	}
 .imwrap {
  display: block;
  width: auto;
  border: none;
 }
 .im img {
  width: auto;
		height: auto;
		max-width: 50% !important;
  border: 1px solid #5d0d20;
		border-radius: 8px;
		margin: 0;
  box-sizing: border-box;
		box-shadow: 2px 2px 4px rgba(0, 0, 0, .65);
 }
.im {
float: none !important;
display: block;
}
select, input {
max-width: 95%;
}
.right {
		padding: 0;
		margin: 0;
}
#footer {
  font-size: 0.68em;
}
.img_footer {
 height: auto !important;
 width: 20px !important;
 padding: 2px 0 0 0;
}
}