
/*   simple defaults   */
/*---------------------*/

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: left;
	background-color: #fff;
	color: #222;
}

a:link {
	text-decoration: none;
	color: #33a;
}
	
a:visited {
	text-decoration: none;
	color: #44a;
}
	
a:hover {
	color: #00f;
	text-decoration: underline;
}

a img {
	border: none;
}

/*   structure   */
/*---------------*/

#body-wrap {
	position: relative;
	max-width: 1024px;
	min-width: 480px;
	margin: 0 auto;
	padding: 0 20px 0 20px;
	text-align: left;
	background: #fff;
}

#content-wrap {
	padding: 0 0 20px 0;
	border-top: dotted;
	border-top-width: 1px;
	border-top-color: #666;
}

#content {
	float: left;
	width: 65%;
	padding: 0 0 2em 16px;
}

#sidebar {
	margin: 20px 0 0 0;
	float: right;
	width: 25%;
}

#footer {
	clear: both;
	margin: 50px 0 20px 0;
	border-top: 1px solid #d9d9d9;
	padding: 2em 1em 2em 1em;
}

/*   header   */
/*------------*/

#header {
	border: none;
	border-bottom: dotted;
	border-bottom-width: 1px;
	border-bottom-color: #666;
	background-image: url(background.jpg);
	background-position: top right;
	background-repeat: no-repeat;
	background-color: #fff;
}

#logo {
	padding: 16px 0 16px 16px;
	text-align: left;	
}

#logo a {
	font-family: arial, sans-serif;
	font-size: 250%;
	font-weight: bold;
	color: #333;
	text-decoration: none;
}


/*   menu   */
/*--------- */

#menu {
	background: #fff;
}
	
#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li {
	float: left;
	margin: 0;
	padding: 0;
}

#menu li a {
	float: left;
	margin: 0 8px 0 0;
	padding: 4px 16px 4px 16px;
	font-weight: normal;
	font-size: 90%;
	text-decoration: none;
	color: #333;
}

#menu li a:hover {
	color: #eee;
	background-color: #333;
}

#menu li a.active {
	color: #eee;
	background-color: #333;
}

#location p {
	margin: 0 0 0 0;
	padding: 2px 0 3px 16px;
	font-size: 90%;
	background-color: #333;
	color: #eee;
}

#location p a {
	font-weight: normal;
	text-decoration: none;
	color: #eee;
}

#location p a:hover {
	text-decoration: underline;
	color: #fff;
}

/*   content   */
/*------------ */

#content {
	line-height: 1.5em;
}

#content h1, #content h2, #content h3 {
	font-size: 150%;
	line-height: normal;
	font-weight: normal;
	font-family: georgia;
	color: #000;
	text-decoration: none;
	margin: 1.5em 0 0.5em 0;
	text-align: left;
}

#content h2 {
	font-size: 130%;
}

#content h3 {
	font-size: 110%;
	font-weight: bold;
	letter-spacing: 0.05em;
}

#content li {
	list-style-type: square;
}

/*   sidebar   */
/*------------ */

#sidebar {
	font-size: 90%;
	line-height: 1.5em;
	color: #555;
}

#sidebar .box {
	margin: 0 0 2em 0;
	padding: 0 15px 1em 15px;
	border: dotted;
	border-width: 1px;    
}

#sidebar .box .date {
	color: #555;
	font-style: italic;
}    

#sidebar h1 {
	margin: 0 0 10px 0;
	padding: 15px 0 0 0;
	font-size: 100%;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #666;
}

#sidebar h2 {
	margin: 5px 0 0 0;
	font-size: 110%;
	font-weight: bold;
	color: #666;
}
	
#sidebar p {
	margin: 0;
	padding: 0;
}
	
#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	padding: 3px 0;
	line-height: 1.4em;
}


/*   footer   */
/*----------- */

#footer {
	color: #777;
	font-size: 80%;
}

#footer p {
	margin: 0;
	padding: 0;
}

#footer .copyright { 
	float: left;
}

/* don't really get how this works, but it works, so let it be */

#logo:after, #menu:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
