/*  
Theme Name: David
Theme URI: http://davidjmiller.org/
Description: David Miller's theme.
Version: 1.0
Author: David Miller
Author URI: http://davidjmiller.org/
*/



/* Page Structure Elements */
body {
	margin: 0px 0px 10px 0px;
	background-color: #F9FAED;
	font-family: "Palatino Linotype", "Times New Roman", Times, serif;
	text-align: center;
	font-size: 10pt;
}

#page {
	background-color: #F9FAED;
	text-align: left;
	margin: 20px auto;
/*	padding: 0; */
	width: 960px;/*760px*/
	padding-bottom: 75px;
	margin-bottom: 75pt;
}

#header {
	padding: 15px;
	background: #889999 url('images/water_and_light_header.jpg') no-repeat;
	margin: 0 0 0 1px; 
	padding: 0; 
	width: 958px;/*758px*/
	color: #F9FAED;
}

#content {
	font-size: 10pt;
/*	margin-left: 200px; */
	padding-right: 10px;
	width: 758px;
	float: left;
	background-color: #F9FAED;
/*	height: 2000px; */
/*	overflow: hidden; */
}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	padding: 20px 0 15px 0;
	margin-left: auto;
	margin-right: 1px;
	width: 190px;
	background-color: #889999;
	color: #DDCCAA;
	float: right;
/*	height: 100%; /* find a way to make the sidebar run the length of the page */
	font-size: 8pt;
/*	height: 2000px; */
}

#footer {
	background-color: #889999;
	border: none;
	display: block;
	width: 958px;/*100%;*/
	margin-left: 1px;
	margin-right: 2px;
	float: left;
/*	padding-top: 10pt; /* Adding padding to the top ruins the rounded corners. The margin at the top should be adjusted as the margin-top of the #footer h5 element  (in the Footer elements section)*/
}

#acknowledgements {
	height: 10px;
	background: #F9FAED; /* url('images/clear.png'); */
}
/* End Page Structure Elements */

/* Typography Elements */
a {
	text-decoration: none;
	font-variant: small-caps;
	color: #444455;
	font-weight: bold;
}

a:visited {
	color: #223355;
}

a:hover {
	color: #997766;
}

a img {
	border: 0;
	padding: 1px;
}

h2>a {
	font-variant: normal;
	color: #DDCCAA;
}

h2>a:visited {
	color: #DDCCAA;
}

h2>a:hover {
	color: #223355;
}

p {
	text-indent: 4%;
}

/*p:first-letter {
	font-weight: bold;
	font-size: 150%;
	font-variant: small-caps;
	display: inline;
}*/

blockquote {
	width: 90%;
	background-color: #393845;
	color: #F9FAED;
	font-weight: bold;
	padding-left: 5px;
	padding-right: 5px;
	line-height: 150%;
	float: left;
	margin-left: 4%;
/*	-moz-border-radius: 12px 12px 12px 12px; /* uncomment this after it becomes valid according to W3C */
}

blockquote p {
	font-size: 100%;
	line-height: 150%;
	text-indent: 0;
}

h1, h5 {
	text-align: center;
}

h1 {
	font-size: 24pt;
	padding-bottom: 0;
	margin-top: 10pt;
	margin-bottom: 0;
}

h2 {
	font-size: 12pt;
	margin-bottom: 3px;
}

h3 {
	font-size: 14pt;
	font-weight: bold;
}

h4 {
	font-size: 16pt;
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-weight: bold;
}

h5 {
	font-size: 11pt;
	margin-top: 5pt;
	margin-bottom: 5pt;
/*	margin: 0; */
}

h6 {
	font-size: 10pt;
	font-weight: bold;
	text-align: center;
}

hr {
	display: none;
}

ul {
	list-style: none;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: -3px;
}

li {
	margin-left: -25px;
}

ul.list {
	list-style-type: disc;
	margin-top: -10pt;
	margin-bottom: 10px;
	margin-left: 70px;
	font-weight: bold;
}

.postmetadata li.related {
	display: inline;
	margin-right: 25px;
}

.postmetadata li.related:after {
	content: " | ";
}

.title {
	text-decoration: underline;
}
/* End Typography Elements */

/* Header Elements */
#header a, #header a:visited {
	color: #556666;
}

#header a:hover {
	color: #997766;
}

#menu {
	margin-top: 80px;
	font-size: 12pt;
	font-weight: bold;
	line-height: 10pt;
	padding-top: 0;
	overflow: hidden;
}

#menu a {
	background-color: #998877;
	text-decoration: none;
	margin-top: 0;
	padding-top: 0;
	height: 20px;
}

#menu a:hover {
	background: #331100;
	margin-top: 0;
	padding-top: 0;
}

#menu a.selection {
	background-color: #332211;
}

#menu a.current {
	background-color: #774422;
}
/* End Header Elements */

/* Content Elements */
.post {
}

.entry a {
	background: #999988;
}

.disclaimer {
	font-size: 8pt;
	font-weight: bold;
}
/* End Content Elements */

/* Sidebar Elements */
caption {
	font-size: 12pt;
	font-weight: bold;
}
/* End Sidebar Elements */

/* Post Elements */
/* End Post Elements */

/* Footer Elements */
#footer h5 {
	margin-top: 20px;
}
/* End Footer Elements */

/* Style Elements */
/* My implementation of rounded corners come with thanks to Arve Bersvendsen for the post at http://virtuelvis.com/gallery/css/rounded/ */
.roundtop:before {
	background: transparent url(images/sm_rc.png) scroll no-repeat top right;
	margin-bottom: -20px;
	height: 10px;
	display: block;
	border: none;
	content: url(images/sm_rc_4.png);
	padding: 0;
}

.roundtop:after {
	display: block;
	content:  url(images/sm_rc_3.png);
	margin: 0 0 -1px 0;
	height: 10px;
	background: #f9faed;
	background: transparent url(images/clear.png) scroll no-repeat bottom right ; 
	padding: 0;
}

.round:before {
	background: transparent url(images/sm_rc.png) scroll no-repeat top right; 
	margin-bottom: -20px;
	height: 10px;
	display: block;
	border: none;
	content: url(images/sm_rc_4.png);
	padding: 0;
}

.round:after {
	display: block;
	content:  url(images/sm_rc_3.png);
	margin: 0 0 -1px 0;
	height: 10px;
	background: #f9faed;
	background: transparent url(images/sm_rc_2.png) scroll no-repeat bottom right ;
	padding: 0;
}

.tab:before {
	content: url(images/scallop_gray_tl.png) " ";
}

.tab:after {
	content: " " url(images/scallop_gray_tr.png);
}

.selection:before, .current:before {
	content: url(images/rc_gray_tl.png) " ";
}

.selection:after, .current:after {
	content: " " url(images/rc_gray_tr.png);
}

/*.cradle:before { /* This should give me corners rounded on the inside, but it does not seem to work right now. Not sure if it is a problem with the image I'm using or what. */
/*	background: transparent url(images/sm_rc_rv.png) scroll no-repeat top right;
	margin-bottom: -20px;
	margin-top: -20px;
	height: 10px;
/*	display: block;*/
/*	border: none;
	content: url(images/clear.png);
	padding: 0;
}

.cradle:after {
	display: block;
	content:  url(images/clear.png);
	margin: 0 0 -1px 0;
	height: 10px;
	background: #f9faed;
	background: transparent url(images/sm_rc_rv2.png) scroll no-repeat bottom right ; 
	padding: 0;
} */
/* End Style Elements */

/* Other Elements */
.validation {
	display: none;
}
/* End Other Elements */

/* Begin Images /
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) /

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images /

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. /

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */

/* Begin Form Elements /
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. /
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements /

/* Begin Comments/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments /

/* Begin Calendar /
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE /
	background-color: #fff; }
/* End Calendar /

/* Begin Various Tags & Classes /
acronym, abbr, span.caps {
	cursor: help;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

a img {
	border: none;
	}
/* End Various Tags & Classes*/