a {
	color: #164199;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

ul#menu a {
	color: white;
	text-decoration: none;
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	padding: 19px;
	padding-bottom: 10px;
}

ul#menu li#menu_tagline {
	margin-left: 250px;
}

ul#menu a:hover {
	color: black;
	background-color: white;
	padding-top: 23px;
}

ul#menu .current-cat a {
	color: black;
	background-color: white;
	padding-top: 23px;
}

body {
	font-size: 100%;
	font-family: Georgia, "times new roman", serif;
}

p {
	font-size:1em;
	line-height:1.5em;
	margin:0 0 1.5em 0;
}

h1 {
	margin:0 0 0.3em 0;
	font: normal 2em/1.1em Georgia, "Times New Roman", Times, serif;
}

blockquote {
	padding-left: 2em;
	font-style: italic;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

#main_content p img {
	max-width: 500px;
}

#main_content ul {
	list-style-type: square;
	padding-left: 2em;
}

#main_content ol {
	list-style-type: decimal;
	padding-left: 2em;
}

.blog_entry, .link_entry {
	margin-bottom: 3em;
	padding-bottom: 2em;
	border-bottom: 1px #d5d5d5 solid;
}

.last {
	border:  none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.author_and_date { 
	letter-spacing: 1px; 
	color: #888;
	font-size: 0.8em;
}

.author_and_date a, .author_and_date a:visited { 
	color: #888; text-decoration: none; border-bottom: 1px solid #eee; 
}
	
.author_and_date a:hover { 
	color: #111; 
}

#intro {
	font-weight: bold;
}

#intro p {
	margin-bottom: 0.5em;
}

#bloggarse p {
	width: 100%;
	font: 0.8em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

#comments dt {
	padding-left: 60px;
}

#comments .author {
	font-weight: bold;
}

#comments dd {
	padding-left: 60px;
}

#comments img {
	float: left;
}

.comment {
	padding: 15px 10px 5px 10px;
	border-top: 2px dotted #d5d5d5;
}

.comment.odd {
	background-color: whitesmoke;
}

.comment.last {
	border-bottom: 2px dotted #d5d5d5;
}

.link_entry dt {
	background: url(../images/icons/delicious_16.png) no-repeat;
	padding-left: 20px;
}

.link_entry dd {
	margin-bottom: 1em;
}

.alertbox, .comment-error, .comment-success {
	margin: 1.571em 0; padding: 0.571em 0.786em; background: #f7f3e2; border: 1px solid #ddce93;
}

.comment-error, .comment-success {
	margin-top: 0.4em;
}

.comment-error {
	background-color: #ff706a;
}

fieldset {
	width: 100%;
	font: 0.8em "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

fieldset .text {
	width: 65%;
	background-color: whitesmoke;
	margin-bottom: 1em;
	font-family: Georgia, "Times New Roman", Times, serif;
	border: dotted 2px #d5d5d5;
	padding: 3px;
}

fieldset textarea {
	width: 65%;
	font-family: Georgia, "Times New Roman", Times, serif;
	background-color: whitesmoke;
	vertical-align: top;
	border: dotted 2px #d5d5d5;
	padding: 3px;
}

fieldset .submit {
	display: block;
	padding: 1em;
}

table {
	width: 100%;
	text-align: top;
	border-collapse: collapse;
}

table td {
	padding-right: 10px;
	vertical-align: top;
}

table td.year {
	font-weight: bold;
}

table td {
	padding-bottom: 0.5em;
}

table tr.first td {
	border-top: 1px solid black;
	padding-top: 0.5em;
}

table td.last {
	padding-bottom: 1em;
}
	

h2, h3 {
	font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
	font-size:1.1667em;
	line-height: 1.286em;
	margin:1.929em 0 0.643em 0;
	font-weight:normal;
	border-bottom: 1px solid #d5d5d5;
}

h1 a, h2 a, h3 a {
	text-decoration: none;
	color: black;
}

h2 a:hover, h3 a:hover {
	text-decoration: underline;
}

.sidebar {
	font-size:0.8333em;
	line-height:1.8em;
}

.sidebar li {
	margin-bottom: 0.6em;
	line-height: 1.5em;
}

.sidebar h3:first-child {
	margin-top: 0; /* Resets the top margin set for h3 in styles.css */
}

.sidebar h3#twitter {
	background: url(../images/icons/twitter_16.png) no-repeat;
	padding-left: 20px;
}

.sidebar h3#flickr {
	background: url(../images/icons/flickr_16.png) no-repeat;
	padding-left: 20px;
}

.sidebar h3#delicious {
	background: url(../images/icons/delicious_16.png) no-repeat;
	padding-left: 20px;
}

.sidebar ul#flickr-thumbnails li {
	display: inline;
}

.sidebar ul#flickr-thumbnails img {
	border: 4px #d5d5d5 solid;
}

.sidebar_box {
	background-color: #eaeaea;
	padding: 10px;
	padding-bottom: 1px;
	border: 0;
    -moz-border-radius: 7px;
    -webkit-border-radius: 7px;

}

#footer p {
	font-size: 0.8em;
	line-height: 0.1em;
	color: #939393;
}

#footer a {
	color: #939393;;
}

/* Styling for pagination template */

ul.pagination {
    margin: 0;
    font-size: 0.8em;
}

ul.pagination li {
    list-style-type: none;
    display: inline;
}

ul.pagination li a {
    display: block;
    float: left;
    padding: 1px 4px;
    margin-right: 3px;
}

ul.pagination li span {
    float: left; 
    margin-right: 4px;
}

ul.pagination li span.first {
    margin-right: 4px;
}

ul.pagination li a.page {
    font-weight: bold;
}

ul.pagination li.selected a.page {
    background-color: black;
    color: #fff;
}

ul.pagination li.disabled a {
    color: #ddd;
    cursor: default;
}

/* Special styling for frontpage */

#masthead h1 {
	margin-top: 0;
	font-size: 3em;
}

p#ie7 {
	display: none;
}