/*                                                                                                             */
/* jmt theme for use with serendipity (http://www.s9y.org/) and standalone                                     */
/*                                                                                                             */
/* Copyright 2006 by Joerg Cassens <jmt@cassens.org>                                                           */
/* Some rights reserved: Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license  */
/* For details see http://creativecommons.org/licenses/by-nc-sa/2.5/                                           */
/*                                                                                                             */
/* A big thanks to Carl Galloway <http://www.carlgalloway.com> for inspiration                                 */
/*                                                                                                             */
/* Version 1.0 27.04.2006 - Initial revision                                                                   */
/*         1.1 03.05.2006 - Degrading nicely when not using bg images                                          */
/*                        - Fitted for displaying content before sidebar                                       */
/*                        - Valid CSS 2.0 (albeit with warnings)                                               */
/*                                                                                                             */


/* Basic setup, including different backgrounds for the different main parts of the page */

body {
	background-color: #ddd;
	background-image: url(http://www.cassens.org/img/bg-diag-body.png);
	margin: 10px auto 10px auto;
	color:#222;
	padding:0 0 0 0;
	font-family: 'Vera Sans', 'Bitstream Vera Sans', Verdana, sans-serif;
	font-size: small;
}

#mainpane {
	text-align: left;
	width: 890px;
	margin: 0 auto 0 auto;
	border-right: 1px solid #999;
	border-left: 1px solid #999;
	background-color: #fdfdfd;
	background-image: url(http://www.cassens.org/img/bg-diag-main.png);
/* 	background-image: url(http://www.cassens.org/img/bg-diag-sidebar.png); */
/* 	background-color: red; */
}

#header {
	background-color: #aaa;
	background-image: url(http://www.cassens.org/img/bg-diag-header.png);
	border-top: 1px solid #999;
	padding: 10px 10px 0px 0;
}

#navigation {
	background-color: #aaa;
	background-image: url(http://www.cassens.org/img/bg-diag-header.png);
	height: 1.5em;
	padding: 10px 0 0 0;
	margin: 0px;
	color: #ffffff;
	line-height: 1.4em;
}

#footer {
	background-color: #aaa;
	background-image: url(http://www.cassens.org/img/bg-diag-header.png);
	border-bottom: 1px solid #999;
	padding: 10px 10px 10px 10px;
	clear: both;
}

#LeftSideBar,
#RightSideBar {
	background-color: #f7f7f7;
	background-image: url(http://www.cassens.org/img/bg-diag-sidebar.png);
	padding: 10px;
	float: right;
	width: 200px;
	font-size: small;
	border-left: 1px dotted #999;
	border-bottom: 1px dotted #999;
/*	display: inline; */
/* 	padding-bottom: auto; */
/* 	clear: right; */
}

#content {
	float: left;
	width: 629px;
        padding: 10px 20px 10px 20px;
/* 	margin: 0 220px 0 0; */
/*	border-right: 1px dotted #999; */
/* 	background-image: url(http://www.cassens.org/img/bg-diag-main.png); */
}

/* Standard text formatting */

a,
a:link,
a:visited {
	color: #885555;
	text-decoration: none;
}

a:active,
a:hover {
	color: #003366;
/*	color: #99CC66; */
}


/* Headlines */

h3,h4 {
	margin: 10px 0px 0 0;
}

h3 {
	font-family: georgia, 'Vera Serif', 'Bitstream Vera Serif', serif;
	padding: 0 1em 0 1em;
	color: #666;
	font-size: small;
	font-weight: bold;
	background-color: #eee;
	line-height: 140%;
	text-align: center;
	border: 1px #999 dotted;
}

.serendipity_date {
	text-align: right;
}

h4 {
	font-family: georgia, 'Vera Serif', 'Bitstream Vera Serif', serif;
	font-size: large;
	padding: 10px 0 0px 0;
}

.serendipity_title a:link,
.serendipity_title a:visited{
	color: #333;
	text-decoration: none;
/* 	color: #003366; */
}

.serendipity_title a:active,
.serendipity_title a:hover {
	color: #003366;
}
/* Formatting the entries */

.serendipity_entry {
}

img.serendipity_entryIcon {
	float: left;
	margin: 5px 10px 5px 0;
	border: 1px solid #efefef;
}

div.serendipity_entryFooter {
	padding-top: 5px;
	color: #003366;
	font-size: x-small;
}

/* Comments */

.serendipity_comment {
	padding-top: 10px;
	border-top: 1px dotted #999;
}

.serendipity_comment_source {
	color: #003366;
	font-size: x-small;
	padding-bottom: 10px;
	padding-top: 15px;
}

.serendipity_commentsLabel {
	vertical-align: top;
	font-weight: bold;
}

.serendipity_commentsTitle {
	font-size: small;
	font-weight: bold;
}

.serendipity_commentForm {
	background-color: #FFFFFF;
}

td.serendipity_commentsValue input,
td.serendipity_commentsValue select,
td.serendipity_commentsValue textarea {
	width: 99%;
	border: 1px solid #333;
	padding: 2px;
}

/* Formatting special text */

pre{
	font-family: "Bitstream Vera Sans Mono","Luxi Mono","Andale Mono",monospace;
}


.serendipity_entry pre,
.serendipity_entry blockquote {
	border: 1px #999 dotted;
	padding: 1em;
	margin: 1em;
	margin-right: 0;
	color: #222;
	background-color: #eee;
}

abbr, acronym, .help {
	text-decoration:underline;
	border:none;
	cursor: help;
}


input, textarea {
	font-family: monospace;
	font-size: x-small;
}

.serendipity_center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.serendipity_msg_important {
	color: red;
}

.serendipity_msg_notice {
	color: green;
}

ul.serendipityBackendList {
	list-style-type: none;
}

.emoticon {border:none;}

/* Formating applying only to special parts */

/* Header formating */

a.homelink1,
a.homelink1:hover,
a.homelink1:link,
a.homelink1:visited,
#header h1 {
	color: #fff;
	font-size: xx-large;
	font-weight: normal;
	text-decoration: none;
	text-align:right;
	margin: 0;
}

a.homelink2,
a.homelink2:hover,
a.homelink2:link,
a.homelink2:visited,
#header h2 {
	color: #fff;
	font-size: x-small;
	font-weight: bold;
	text-decoration: none;
	text-align:right;
	font-family: georgia, 'Vera Serif', 'Bitstream Vera Serif', serif;
	margin: 0;
}

#navigation ul {
	padding: 0 0;
	margin: 0 0;
}

#navigation li {
	float: left;
	list-style-type: none;
	border: 1px dotted #ccc;
	white-space: nowrap;
	min-width: 7.5em;
}

#navigation li a{
	display: block;
	padding: 0 10px;
	font-size: small;
	text-decoration: none;
	vertical-align: middle;
	color: #fff;
}

/*#navigation a:hover{
	text-decoration: none;
}*/

#navigation .selected {
	background-color: #bbb;
	background-image: url(http://www.cassens.org/img/bg-diag-select.png); 
}

#navigation .internal a {
	color: #fff;
}

#navigation ul ul {
	display: none;
	border: 1px dotted #ccc;
/* 	display: block; */
/* 	left: -1px; */
}

#navigation ul ul li {
	float: none;
	border: none;
	color: #fff;
}

#navigation ul ul li a{
	color: #222;
}

#navigation ul li:hover{
	background-color: #bbb;
	background-image: url(http://www.cassens.org/img/bg-diag-select.png);
}

#navigation ul li:hover > ul {
	background-color: #ccc;
	background-image: url(http://www.cassens.org/img/bg-diag-menu.png);
	display: block;
	position: absolute;
}

form.quicksearch {
	font-size: small;
	margin: 0;
	padding: 0 9px 0px 0;
	text-align: right;
}

form.quicksearch input {
	width: 190px;
	color:#999;
}

/* Footer formating */

#footer a,
#footer a:hover {
	color:#fff;
	text-decoration:none;
}

#footer p {
	margin: 0;
	color: #fff;
	font-size: x-small;
	text-align: center;
}

/* Sidebar formating */

div.serendipitySideBarItem {
	color: #222;
	font-size: x-small;
	font-weight: normal;
	margin: 10px 5px 10px 5px;
	padding: 0px;
/* 	background-image: url(http://www.cassens.org/img/bg-diag-main.png); */
}

.serendipitySideBarTitle {
	text-align: center;
	margin: 0px;
}

.serendipitySideBarContent {
	padding: 5px 0 10px 0;
}

.serendipitySideBarContent input {
	width: 99%;
}

.SideBarNavigation {
	line-height: 1.5em;
	padding: 0px;
}

.SideBarNavigation ul {
	padding: 0 0;
	margin: 0 0;
}

.SideBarNavigation li {
	list-style-type: none;
	white-space: nowrap;
/* 	min-width: 7em; */
/* 	float: left; */
}

.SideBarNavigation li a{
	display: block;
	padding: 0 10px;
	font-size: small;
	text-decoration: none;
	vertical-align: middle;
}

/* Calendar stuff */

table.serendipity_calendar td {
	text-align: center;
	padding:1px;
}
table.serendipity_calendar a {
	font-weight: bold;
}

table.serendipity_calendar a:hover {
	text-decoration: none;
}

td.serendipity_weekDayName {
	text-align: center;
	font-weight: normal;
}
td.serendipity_calendarHeader a:link,
td.serendipity_calendarHeader a:visited,
td.serendipity_calendarHeader a:hover {
	color: #222;
	font-size: x-small;
	text-align: left;
	font-weight: bold;
	padding: 3px;
	text-decoration: none;
}
