body, td, th {
	font-family: verdana;
	font-size: 90%;
	padding: 0;
	margin: 0;
	color: #333;
	background-color: #fff;
}

p, h1, h2, h3, h4, h5, h6, h7 {
	padding: 0;
	margin: 1em 0;
}

table {
	border: collapse;
}

td {
	padding: 5px;
}

a {
	color: #c00;
}

a:visited {
	color: #777;
}

img {
	border: 0;
}

#wrap {
	padding: 20px 25px;
	max-width: 900px;
}

#header {
	padding: 20px 25px;
	border-top: 10px solid #e00;
	border-bottom: 3px solid #c00;
	overflow: auto;
}

#header h1 img {
	width: 100%;
}

#footer {
	text-align: right;
	padding: 20px 50px;
	border-top: 2px solid #eee;
	color: #777;
	font-size: 90%;
}

#footer a {
	color: #777;
}

#content {
}

.tagline {
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 0 0 20px 0;
}

.clear {
	clear: both;
}

.bold {
	font-weight: bold;
}

.small {
	font-size: 85%;
}

.tiny {
	font-size: 75%;
}

.floatright {
	float: right;
}

.floatleft {
	float: left;
}

.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

.aligncenter, .center {
	text-align: center;
}

.error {
	font-size: 120%;
	margin: 0 0 20px 0;
}

.indent {
	margin-left: 1em;
}

.input {
	border: 1px solid #ccc;
	padding: 3px;
	background-color: #fff;
}

/* Art of War */

.chapterheading {
	color: #000;
	font-size: 200%;
	font-family: Georgia;
	margin: 0 0 20px 0;
}

.verseheading {
	color: #aaa;
	font-size: 150%;
	font-family: Georgia;
}

.bodytext {
	float: left;
	width: 400px;
	margin: 0 50px 25px 0;
	font-size: 125%;
	line-height: 1.75em;
}

@media screen and (max-width: 950px) {
	.bodytext {
		float: none;
		width: auto;
		margin: 0 0 25px 0;
	}
}

.bodytext a {
	text-decoration: none;
	border-bottom: 1px dotted #ccc;
	color: #333;
}

.bodytext a:hover {
	text-decoration: none;
	border-bottom: 1px solid #e00;
	color: #e00;
}

.commentary {
	float: left;
	max-width: 400px;
	margin: 0 0 25px 0;
	font-style: italic;
	color: #777;
}

@media screen and (max-width: 950px) {
	.commentary {
		float: none;
		font-size: 125%;
		max-width: none;
	}
}

a.permalink {
	font-family: sans-serif;
	font-size: 0.75em;
	text-decoration: none;
	text-align: center;
	color: #777;
	border: 1px solid #ccc;
	background-color: #eee;
	text-shadow: 1px 1px #fff;
	padding: 2px 4px 2px 4px;
	-border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

a.permalink:hover {
	color: #777;
	text-decoration: none;
	border: 1px solid #ccc;
}

.datanav {
	/*text-align: center;*/
	margin: 0px 0 30px 0;
	line-height: 2em;
}

#toc {
	float: left;
	width: 250px;
	line-height: 1.5em;
}

#menu {
	float: left;
	width: 250px;
	line-height: 1.5em;
}

#menu ul {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

#passagesnippet {
	padding: 20px 0 20px 0;
}

#passagesnippet input {
	width: 350px;
}

.searchform {
	margin-top: 20px;
}

.searchresults {
	margin: 10px 0 10px 0;
	font-size: 125%;
	line-height: 1.75em;
}

.searchresult {
	padding: 0 0 10px 0;
}

.cloud {
	line-height: 2em;
	text-align: center;
}

.cloud a {
	padding: 0 5px 0 5px;
	text-decoration: none;
}

#downloadpdf {
	float: left;
	width: 50%;
	line-height: 1.5em;
}

#downloadtext {
	float: left;
	width: 50%;
	line-height: 1.5em;
}

#downloadad {
	margin: 10px 0 30px 0;
	min-width: 336px;
}


.thermometer {
	padding: 0 0 20px 0;
}

.comments {
}

.comment {
	margin: 5px 0 20px 0;
	padding: 5px 0 20px 0;
	border-bottom: 1px dashed #eee;
	max-width: 400px;
}

.commentauthor {
	font-weight: bold;
	font-size: 110%;
}

.commenttext {
}

.commentdate {
	font-size: 75%;
	color: #999;
}

.commentform {
}

.commentform .input {
	max-width: 400px;
}

#commenterror, #commentsuccess {
	margin: 10px 0 10px 0;
	padding: 10px;
	font-size: 120%;
	text-align: center;
	max-width: 380px;
}

#commenterror {
	border: 2px solid #e00;
	background-color: #fee;
	color: #900;
}

#commentsuccess {
	border: 2px solid #0e0;
	background-color: #efe;
	color: #090;
}

.information {
	max-width: 600px;
	line-height: 1.5em;
}

.information h2 {
	margin: 20px 0 0 0;
}

.information p {
	margin: 0 0 10px 0;
}

/* Ads */

#homepagead {
	float: right;
	margin: 25px 20px;
	min-width: 336px;
}

@media screen and (max-width: 760px) {
	#homepagead {
		float: none;
		margin-left: 0;
	}
}

#headerad {
	margin: 20px 0 10px 0;
}

#footerad {
	margin: 50px 0 0 0;
}

#commentsad {
	position: absolute;
	margin-left: 500px;
}

#disqus_thread {
	max-width: 400px;
}

@media screen and (max-width: 950px) {
	#disqus_thread {
		max-width: none;
	}
}

#cloudad {
	float: right;
	margin: 0 0 10px 10px;
	padding: 5px;
	border: 1px solid #e00;
}
