/*
style-title: aFrameWork
style-url: http://aframework.exscale.se
style-author: Andreas Lagerkvist
style-author-url: http://exscale.se
style-date: 2007-01-24
style-info: This is based on the Skeleton style and was (still is!) used during development of aFrameWork
*/
/*
	=== General Stuff ===
*/
body {
	background: #fff;

	margin: 0;
	padding: 0;

	font: 80%/1.6 Verdana, sans-serif;
	color: #111;
}

h1, h2, h3, h4, h5, h6 {
	font: 2.2em/1.4 Georgia, sans-serif;
	margin: 0.6em 0 0.1em 0;
	text-transform: uppercase;
}

h2 {
	font-size: 1.9em;
}

h3 {
	font-size: 1.7em;
}

h4 {
	font-size: 1.4em;
}

h5 {
	font-size: 1.1em;
}

h6 {
	font-size: 1em;
}

h1:first-letter, h1 a:first-letter, 
h2:first-letter, h2 a:first-letter, 
h3:first-letter, h3 a:first-letter, 
h4:first-letter, h4 a:first-letter, 
h5:first-letter, h5 a:first-letter, 
h6:first-letter, h6 a:first-letter{
	font-size: 1.3em;
}

p {
	margin: 0 0 0.8em 0;
}

ul, ol {
	margin: 0 0 0.6em 2.2em;
	padding: 0;
}

a {
	color: #5D602B;
	text-decoration: underline;
}

a:visited {
	color: purple;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

a:focus {
	text-decoration: underline overline;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
	text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
	text-decoration: underline;
}

	a img {
		border: 0;
	}

label, input[type="submit"] {
	cursor: pointer;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
	background: #ffa;
}

hr {
	display: none;
}

abbr, acronym {
	cursor: help;
	border-bottom: 1px dotted #662;
}

blockquote {
	font-style: italic;
}

/* Article Titles and pub-dates */
#article > div > h2:first-child, #article-listing > div[id^="article-"] > h3:first-child {
	margin-bottom: 0;
}

#article > div > h2:first-child + p, #article-listing > div[id^="article-"] > h3:first-child + p {
	margin-bottom: 0.6em;
	margin-top: 0;
	text-transform: uppercase;
}

/* Border bottom for articles, styles, etc */
#navigation, #article-listing > div[id^="article-"], #style-listing > div, #intro-text, #sub-content > div, #bread-crumbs {
	padding-bottom: 0.6em;
	border-bottom: 1px dotted #dd5;
	margin-bottom: 0.6em;
}

	#bread-crumbs p {
		margin: 0;
	}

/* No border for last children */
#sub-content > div:last-child, #article-listing > div[id^="article-"]:last-child, #style-listing > div:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border: 0;
}

/*
	=== Site Layout ===
*/
#wrapper {
	background: #ffe;
	margin: 0 auto;
	padding: 10px 20px 0 20px;
	width: 75%;
	border-left: 1px solid #dd5;
	border-right: 1px solid #dd5;
}

#header p {
	text-transform: uppercase;
}

#navigation h2 {
	display: none;
}

#navigation ul, #footer ul, #skip-navigation ul {
	margin-left: 0;
	list-style-type: none;
}

	#navigation ul li, #footer ul li, #skip-navigation ul li {
		display: inline;
	}

	#navigation ul li {
		text-transform: uppercase;
	}

	#navigation ul li:after, #footer ul li:after, #skip-navigation ul li:after {
		content: " | ";
	}

	#navigation ul li:last-child:after, #footer ul li:last-child:after, #skip-navigation ul li:last-child:after {
		content: "";
	}

	#recent-articles-page #navigation ul li a[href="/"], 
	#article-listing-page #navigation ul li a[href="/archives/"], #article-page #navigation ul li a[href="/archives/"], #archives-page #navigation ul li a[href="/archives/"], #search-page #navigation ul li a[href="/archives/"],
	#about-page #navigation ul li a[href="/about/"],
	#styles-page #navigation ul li a[href="/styles/"] {
		text-decoration: overline underline;
		font-weight: bold;
	}

#content {
	float: left;
	width: 64%;
	margin: 0 0 1.5em;
}

	#content img {
		max-width: 95%;
		height: auto;
		border: 2px solid #E9E99D;
	}

#sub-content {
	width: 32%;
	border-left: 1px dotted #dd5;
	padding: 0 0 0 2%;
	margin: 0 0 1.5em;
	float: right;
	font-size: 90%;
}

	#sub-content h2:first-letter {
		font-size: 1.3em;
	}

#footer {
	text-align: center;
	padding: 1.5em 0 1em 0;
	margin: 1.5em 0 0 0;
	border-top: 1px dotted #dd5;
	clear: both;
}

/* Quick Search Results */
#quick-search input[type="text"] {
	width: 90%;
	padding: 0.2em;
	font-size: 150%;
}

#quick-search-results {
	background: #ffe;
	border-color: #991;
	font-size: 100%;
	max-height: 450px;
	padding: 0;
}

	#quick-search-results > h2, 
	#quick-search-results > h2 + p {
		background: #993;
		color: #fff;
		margin: 0;
		padding: 0 10px 10px;
	}
	
	#quick-search-results > h2 {
		font-size: 130%;
		padding: 10px 10px 0;
	}

	#quick-search-results > h3, 
	#quick-search-results > h3 + p {
		background: #cc6;
		color: #330;
		margin: 0;
		padding: 0 10px 10px;
	}

	#quick-search-results > h3 {
		font-size: 120%;
		padding: 10px 10px 0;
	}

	#quick-search-results > h4 {
		font-size: 110%;
		margin: 0;
		padding: 5px 10px;
		border-bottom: 1px dashed #dd5;
	}

	#quick-search-results > h4:last-of-kind {
		border-bottom: 0;
	}

/* Calendar */
#calendar table {
	border-spacing: 0;
	border-collapse: collapse;
}

	#calendar table th, 
	#calendar table td {
		border: 1px solid #dd5;
		padding: 5px;
		text-align: center;
		text-align: center;
	}

	#calendar table th {
		background: #993;
		color: #fff; 
	}

	#calendar table td {
		background: #fefefe;
	}

	#calendar table th:first-child {
		color: #600;
	}

#calendar ul {
	margin-top: 10px;
}
