/* ----------------------------------------
Theme Name: Dufay
Theme URI: http://jopogo.com/themes/dufay
Description: Basic CMS-oriented Wordpress theme geared towards greater focus on pages, less focus on blog, for non-blog sites.
Version: 1.0
Author: Paulo Ordoveza
Author URI: http://jopogo.com
Last Modified: 2006.05.03
Provides: Theme definition file for WordPress 2.x
---------------------------------------- */

/* COMMON STUFF */
a img  { border: 0; }
.clear { clear: both; height: 0; line-height: 0; margin: 0; }
.hide { visibility: hidden; } /* dark matter: hidden but still takes up space */
.none { display: none; } /* phased matter: takes up no space, seen only in alternate realities */
.floatleft { float: left; margin-right: 5px; }
.floatright { float: right; margin-left: 5px; }
.framed { border: 1px solid #ddd; background #eee; padding: 5px; }

a:link    { color: #04b; text-decoration: none; }
a:visited { color: #44b; text-decoration: none; }
a:hover   { color: #c00; text-decoration: underline; }

/* LAYOUT */
body {
	font: 1em "Lucida Grande", "Trebuchet MS", Trebuchet, Verdana, sans-serif;
	background: white;
	color: black;
	text-align: center;
}

#container {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 760px;
	border: 1px solid #ddd;
	padding: 3px;
}

#header {
	margin: 0;
	border: 1px solid #ddd;
	padding: 5px;
}
	#header #title {
		margin: 0;
	}
    #header #title h1,
    #header #title #description {
      display: inline;
    }
		
    #header #title h1 {
			margin: 0;
			font: normal 3em Georgia, "Times New Roman", serif;
		}
			#header #title h1 a:link, #header #title h1 a:visited { color: black; text-decoration: none; }

		#header #title #description {
			margin: 0;
			font-size: 14px;
		}

#main {
	padding: 3px 0;
}
	#main p { margin-top: 0; margin-bottom: 1em; }

#content {
	float: right;
	width: 560px;
	line-height: 1.5em;
	border: 1px solid #ddd;
	padding: 3px;
}
	#content h2 {
		font-size: 1.5em;
		margin-top: 0;
		margin-bottom: 5px;
	}

	#content h3 {
		font-size: 1.3em;
		margin: 0;
	}

	#content h4 {
		font-size: 1.1em;
		margin: 0;
	}

	#bottomnav { font-weight: bold; text-align: center; }

#sidebar {
	margin-right: 570px;
	border: 1px solid #ddd;
	padding: 3px;
	font-size: .8em;
	line-height: 1.4em;
}
	#sidebar form, #sidebar ul {
		padding: 0;
		margin-top: 0;
		margin-bottom: 1em
	}
		#sidebar form input#s { width: 90%; }

	#sidebar h4, #sidebar h2 {
		margin: 0;
		font-size: 1.1em;
		}

	#sidebar ul {
		list-style: none outside;
		margin: 0; padding: 0;
		margin-bottom: 1em;
		}

	#sidebar ul#pages {
		font-size: 1.4em;
		line-height: 1em;
		border: 1px solid #ddd;
		border-bottom: 0;
	}
		#sidebar ul#pages li {
			border-bottom: 1px solid #ddd;
			padding: 5px;
			background: white;
		}
			#sidebar ul#pages li ul {
				margin-bottom: 0;
			}
				#sidebar ul#pages li ul li {
					border-bottom: 0;
					padding-left: 1em;
					padding-bottom: 1px;
				}

		#sidebar ul#pages li a { display: block; }

#footer {
	margin: 0;
	padding: 1em 0;
	font-size: .8em;
	text-align: center;
	border: 1px solid #ddd;
}

#wpmeta { color: #eee }
	#wpmeta a:link, #wpmeta a:visited { color: #eee; }
	#wpmeta a:hover { color: #eee; }

/* FRONT PAGE WELCOME AND NEWS ARCHIVES */
#welcome, #news {
	border: 1px solid #ddd;
	padding: 3px;
	margin-bottom: 3px;
}

#welcome {
	font-size: 1.2em;
	line-height: 1.5em;
	padding-bottom: 0;
}

#news-archives {
	padding: 5px 0;
}
	#news-archives h3 { font-size: 1em; }
	#news-archives .archive-type {
		float: left;
		width: 31%;
		margin-right: 5px;
	}
		#news-archives .archive-type ul {
			list-style: none outside;
			margin: 0;
			padding: 0;
			font-size: .9em;
		}

/* POST */
.post {
	padding-bottom: 5px;
	margin-bottom: .5em;
}
	.post .postinfo {
		margin-bottom: 3px;
		font-size: .8em;
		}

/* ADS */
.leaderboard {
	margin: 2px 0;
	border: 1px solid #ddd;
	text-align: center;
	padding-top: 3px;
}

#gsearch #sbi, #gsearch #sbb {
	margin: 3px 0; 
	width: 150px; 
	padding: 2px; 
}

/* SORRY */
#sorry { border: 1px solid #ccc; background: #eee; padding: 5px; margin: 0; font-size: .9em; }
