/* Reset default browser CSS
==================================================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}
body {
	line-height: 1;
}
blockquote {
	quotes: none;
}
blockquote:before, blockquote:after {
	content: '';
	content: none;
}
del {
	text-decoration: line-through;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a img {
	border: none;
}


/* Clearing
==================================================================================================== */
#container:after,
#content:after,
#footer:after,
#sidebar:after,
#sidebar div.widget-container:after,
.clear:after { clear: both; content: "."; display: block; font-size: 0; line-height: 0; height: 0; overflow: hidden; }


/* General Page Structure
==================================================================================================== */
body {
	background-color: #e1e1e1;
	padding: 0 0 50px;
}
#wrapper {
	margin: 0 auto;
	width: 981px;
}
#main {
	background-color: #fff;
	border-left: 1px solid #bdbcbc;
	border-right: 1px solid #bdbcbc;
	clear: both;
	padding: 0 0 25px;
}
#container {
	background: transparent url(../images/container-bg-wide.gif) repeat-y top left;
}


/* General Typography
==================================================================================================== */
body {
	font: 0.95em/1.5 Arial, Helvetica, sans-serif;
	color: #353537;
}
h1, h2, h3, h4, h5, h6, p, ol, ul {
	margin: 0 0 12px;
	padding: 0;
}
ol, ul {
	margin-left: 40px;
}
blockquote, .blockquote {
	display: block;
	margin: 12px 40px;
}
#recentcomments blockquote {
	margin: 12px 5px;
	font-style: italic;
}
a {
	color: #314c85;
}
a:hover {
	color: #CA9632;
}


/* Forms
==================================================================================================== */
form {
	margin: 0;
	padding: 0;
}
input, select, textarea {
	font: 14px Arial, Helvetica, sans-serif;
}
input.text, select, textarea {
	border: 1px solid #BDBCBC;
	padding: 3px;
}
input.submit, button {
	cursor: pointer;
}


/* Header
==================================================================================================== */
#header {
	background: url(../images/logo.jpg) no-repeat top left;
}
#masthead {
	height: 132px;
	overflow: hidden;
	padding: 20px 0 0;
}
#site-title h1 {
	margin: 0;
}
#site-title a {
	display: block;
	height: 0;
	overflow: hidden;
	margin: 0 0 0 25px;
	padding: 105px 0 0;
	width: 385px;
}


/* Nav Menu
-------------------------------------------------------------------------------------- */
#nav {
	background: url(../images/nav-bg-dark-blue-grad.gif) repeat-x 0 0;
	height: 33px;
	padding: 0 10px 0 15px;
}
#nav ul {
	float: left;
	list-style: none;
	margin: 5px 0 0;
}
#nav ul li {
	float: left;
	margin: 0 1px 0 0;
}
#nav ul li a {
	color: #f1efd7;
	display: block;
	float: left;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
}
#nav ul li a span {
	cursor: pointer;	
	display: block;
	float: left;
	height: 28px;
	line-height: 28px;
	padding: 0 30px 0 15px;
}
#nav ul li a:hover,
#nav ul li.current_page_item a,
#nav ul li.current_page_parent a,
#nav ul li.current_page_ancestor a {
	background: url(../images/nav-tab.png) no-repeat 0 0;
	color: #2e2e2e;
}
#nav ul li a:hover span,
#nav ul li.current_page_item a span,
#nav ul li.current_page_parent a span,
#nav ul li.current_page_ancestor a span {
	background: url(../images/nav-tab.png) no-repeat right -28px;
}
#nav ul li ul {
	display: none;
}

/* START - Image replacement for nav menu (remove this block to remove image placement) */
#nav div.menu-images ul li a {
	background-image: url(../images/nav-tab-home.png) !important;
	background-position: 0 0;
	background-repeat: no-repeat;
	height: 0;
	overflow: hidden;
	padding: 28px 0 0;
	width: 89px;
}
#nav div.menu-images ul li a:hover,
#nav div.menu-images ul li.current_page_item a,
#nav div.menu-images ul li.current_page_parent a,
#nav div.menu-images ul li.current_page_ancestor a {
	background-position: -150px 0 !important;
}
#nav div.menu-images ul li.bio a {
	background-image: url(../images/nav-tab-bio.png) !important;
	width: 70px;
}
#nav div.menu-images ul li.about a {
	background-image: url(../images/nav-tab-about.png) !important;
	width: 96px;
}
#nav div.menu-images ul li.papers a {
	background-image: url(../images/nav-tab-papers.png) !important;
	width: 100px;
}
#nav div.menu-images ul li.archives a {
	background-image: url(../images/nav-tab-archives.png) !important;
	width: 117px;
}
#nav div.menu-images ul li.contact a {
	background-image: url(../images/nav-tab-contact.png) !important;
	width: 113px;
}
/* END - Image replacement for nav menu */


/* Search Form
==================================================================================================== */
form#search {
	float: right;
	margin: 5px 0 0;
}
form#search input {
	display: block;
}
form#search input#s {
	background: url(../images/search-bar.gif) no-repeat 0 0;
	border: none;
	float: right;
	height: 16px;
	width: 153px;
}
form#search input#searchsubmit {
	background: url(../images/search-button.gif) no-repeat 0 0;
	border: none;
	color: #fff;
	float: right;
	font-size: 16px;
	height: 22px;
	padding: 0;
	width: 48px;
}


/* Content
==================================================================================================== */
#content {
	border-top: 2px solid #fff;
	float: left;
	padding: 20px 23px 0 24px;
	width: 508px;
}
div.post {
	border-bottom: 1px solid #bdbcbc;
	margin: 0 0 30px;
	padding: 0 0 18px;
}
body.single div.post,
body.page div.post,
body.error404 div.post,
body.search-no-results div.post {
	border-bottom: none;
}
.page-title {
	border-bottom: 1px solid #bdbcbc;
	font-size: 18px;
	margin: 0 0 20px;
}
.entry-title {
	font-size: 28px;
	font-weight: normal;
	line-height: 1.2;
}
.entry-title a {
	text-decoration: none;
}
.entry-meta {
	border-top: 1px dotted #6d6d6e;
	border-bottom: 1px dotted #6d6d6e;
	font-weight: bold;
	font-size: 12px;
	margin: 0 0 12px;
	padding: 5px 0;
}
.entry-meta span.meta-sep {
	padding: 0 5px;
}
.entry-meta span.author,
.entry-meta span.entry-date {
	font-style: italic;
}
.entry-meta span.comments-link {
	background: url(../images/comments-icon.gif) no-repeat left center;
	padding: 0 0 0 18px;
}
.entry-content h2 {
	font-size: 16px;
}
.entry-content h3 {
	font-size: 14px;
}
.entry-content h4 {
	font-size: 12px;
	margin: 0;
}
.entry-utility {
	clear: both;
}
.st_sharethis {
	font-size: 12px;
	margin: 0 5px 0 0;
}
.st_sharethis .stButton {
	margin-left: 0;
}
.st_sharethis .stButton span.sharethis {
	color: #314C85;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	text-decoration: underline;
}
.st_sharethis .stButton span.sharethis:hover {
	color: #CA9632;
}
.tag-links {
	font-size: 12px;
}
.tag-links span.entry-utility-prep {
	font-weight: bold;
}
div.entry-trackback {
	font-size: 12px;
	margin: 30px 0 0;
}
div.entry-trackback input {
	width: 460px;
}


/* Ratings
==================================================================================================== */
.thumblock {
	margin-top: 20px !important;
	margin-bottom: 20px !important;
}
.gdthumb,
.thumblock .ratingloader {
	margin-right: 10px;
}
.raterclear {
	display: none;
}
#archive-top {
	margin: 0 0 20px;
}
#archive-top h3 {
	font-size: 16px;
}
#archive-top ul li br {
	display: none;
}


/* Attachment pages
==================================================================================================== */
.attachment .entry-content .entry-caption {
	font-size: 140%;
	margin-top: 24px;
}
.attachment .entry-content .nav-previous a:before {
	content: '\2190\00a0';
}
.attachment .entry-content .nav-next a:after {
	content: '\00a0\2192';
}


/* Images
==================================================================================================== */
.entry-content img.feature {
	border: 1px solid #e0e0e1;
	padding: 4px;
}
/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 20px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 20px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/* Comments
==================================================================================================== */
#comments {
	clear: both;
}
#comments h3 {
	border-bottom: 1px solid #bdbcbc;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#pings-title,
h3#comments-title,
h3#reply-title {
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	margin-top: 40px;
}
.commentlist {
	list-style: none;
	margin: 0;
}
.commentlist li {
	border-bottom: 1px dotted #6d6d6e;
	margin: 0;
	padding: 20px 0 10px;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	float: left;
	margin: 0 10px 0 0;
}
.comment-author {
	font-size: 12px;
	margin: 0 0 2px;
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta-sep {
	margin: 0 5px;
}
.comment-body {
	clear: both;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
}
.commentlist .children {
	border-top: 1px dotted #6d6d6e;
	list-style: none;
	margin: 20px 0 0;
	padding: 0 0 0 40px;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}

/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
h3#reply-title {
	margin: 0 0 18px;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
.commentlist #respond input {
	width: 96%;
}
.commentlist #respond #ed_toolbar input {
	width: auto;
}
#respond input#author,
#respond input#email,
#respond input#url {
	border: 1px solid #BDBCBC;
	padding: 3px;
}
#respond textarea {
	width: 98%;
}
.commentlist #respond textarea {
	width: 96%;
}
#respond .form-allowed-tags {
	display: none;
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	cursor: pointer;
	font-size: 14px;
	margin: 0;
	width: auto;
}


/* Index Navigation
==================================================================================================== */
#nav-below {
	margin: 30px 0 0;
	padding: 5px 0 0;
}
#nav-below div {
	display: inline;
}
#nav-below div.nav-previous {
	float: left;
}
#nav-below div.nav-next {
	float: right;
}


/* Sidebar
==================================================================================================== */
#sidebar {
	background: transparent url(../images/sidebar-bg.gif) repeat-x 0 0;
	border-top: 2px solid #fff;
	float: right;
	font-size: 12px;
	padding: 20px 24px 0 0;
	width: 400px;
}
#site-description { 
	background: url(../images/blog-description3.gif) no-repeat 0 0;
	height: 0;
	overflow: hidden;
	padding: 74px 0 0;
	width: 400px;
}
#sidebar div.widget-area {
	padding: 16px;
	width: 162px;
}
#primary {
	float: left;
}
#secondary {
	float: right;
}
#primary {
	background-color: #e9eeef;
	border-top: 1px solid #c9ccce;
}
#secondary {
	background-color: #f1efd7;
	border-top: 1px solid #cfcdba;
}
#sidebar div.widget-container {
	margin: 0 0 20px;
	overflow: hidden;
}
#sidebar h3.widget-title {
	font-size: 18px;
	font-weight: normal;
	margin: 0 0 5px;
}
#sidebar div.widget-container ul {
	list-style: disc;
	margin: 0 0 0 20px;
}
#sidebar div.widget_rss_links ul {
	list-style: none;
	margin: 0;
}
#sidebar div.widget_rss_links ul li {
	background: url(../images/rss-icon.gif) no-repeat left center;
	padding: 0 0 0 17px;
}
#sidebar .bwp-rc-widget ul {
	list-style: none !important;
	margin: 0 !important;
}
#sidebar .bwp-rc-widget ul li {
	margin: 0 0 12px;
}
#sidebar .bwp-rc-widget span.recent-comment-author {
	font-weight: bold;
}
#sidebar .bwp-rc-widget span.recent-comment-text {
	font-style: italic;
}
#sidebar .bwp-rc-widget span.recent-comment-text a {
	color: #353537;
	text-decoration: none;
}
#sidebar .bwp-rc-widget span.recent-comment-text a:hover {
	text-decoration: underline;
}
#sidebar div.st-tag-cloud {
	background-color: #e5e3cc;
	line-height: 1.2;
	padding: 5px;
	text-align: center;
}
#sidebar div.st-tag-cloud a {
	text-decoration: none;
}
#sidebar div.widget_rss h3 a {
	color: #353537;
	text-decoration: none;
}


/* Footer
==================================================================================================== */
#footer {
	background: url(../images/nav-bg-dark-blue-grad.gif) repeat-x 0 0;
	color: #fff;
	clear: both;
	font-size: 12px;
	line-height: 1;
	padding: 12px 25px;
}
#footer a {
	color: #fff;
}
#footer p.copyright {
	float: left;
	margin: 0;
}
#footer ul {
	float: right;
	list-style: none;
	margin: 0;
}
#footer ul li {
	border-left: 1px solid #fff;
	float: left;
	margin-left: 10px;
	padding-left: 10px;
}
#footer ul li:first-child {
	border-left: none;
	margin: 0;
	padding: 0;
}
