body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	margin: 0 0 1em 0;
	padding: 0;
	background: #fff;
	color: #036;
	min-width: 610px;
}

/***** MAIN BLOCKS POSITIONING *****/

	#header, #footer, #content {
		position: relative;
		clear: both;
	}
	#header div {
		height: 50px;
	}
	#header div, #footer, #content {
		max-width: 800px;
		margin: 0 auto;
	}
	#header div {
		position: relative;
	}
	#header ul { right: 0; }
/*	* html #header ul { right: 50px; } */

	#side, #main{
		margin-bottom: 1em;
		margin-top: 1em;
	}
	#side {
		float: left;
		width: 23%;
		/*min-width: 182px;*/
	}
	#main {
		float: right;
		width: 74%;
		margin-bottom: 3em;
	}
	#main.wide {
		float: left;
		width: 100%;
		margin-bottom: 3em;
	}

/***** COLORS *****/

	#header {
		background-color: #036;					/*#455372;*/
		color: white;
	}

	#footer {
		border-top: 1px solid #036;			/*#455372;*/
	}


/***** TEXT *****/

	#header h1 {
		font-size: 22pt;
	}
	#header ul {
		font-size: 12pt;
	}
	#topnav, #side h3 {
		text-transform: lowercase;
		font-variant: small-caps;
	}

	#main h2 {
		color: #900;
		font-weight: normal;
		border-bottom: 1px solid #999;
	}
	#main h3 {
		color: #900;
		font-weight: normal;
	}
	#main #toc h3 {
		color: #333;
	}
	#main #toc {
		border: 1px solid #999;
		padding: 0 20px 10px 20px;
	}
	#head h1 {
		margin-bottom: 0;
	}
	#head p.subtitle {
		margin-top: 0;
		font-size: 16pt;
	}

	.booktitle {
		font-style: italic;
	}
	.bookauthor {
		font-variant: small-caps;
	}

	.footnote {
		font-size: 8pt;
	}

/***** SPECIFICS *****/

/* header */

	#header h1 {
		margin: 0;
		padding-top: 5px;
	}
	#header h1 a {
		text-decoration: none;
	}
	#header h1 a:link, #header h1 a:visited {
		color: white;
	}
	#header h1 a:hover {
		color: #ccc;
	}

#header ul {
	padding: 0;
	margin: 0;
	list-style: none;
	border-left: 1px solid #999;				/*#576178;*/
	border-right: 1px solid #003;				/*#1f2635;*/
	border-top: 1px solid #999;
	position: absolute;
	bottom: 0;
}

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

#header ul a:link, #header ul a:visited {
	display: block;
	float: left;
	padding: 5px 15px 10px 15px;
	text-decoration: none;
	border-right: 1px solid #999;				/*#576178;*/
	border-left: 1px solid #003;				/*#1f2635;*/
	border-top:	1px solid #003;
	color: #dee0e5;
} #ignored {}

#header ul li a:hover {
	background-color: #36f; /*#6a7389;*/
	color: #fff;
	text-decoration: underline;
}

#header ul a:link.selected,
#header ul a:visited.selected,
#header ul a:hover.selected  {
	background-color: white;
	color: #036;
	border-right: 1px solid white;
	border-top: 1px solid white;
	border-left: 1px solid white;
	text-decoration: none;
}


/* main */

	#main img {
		float: right;
	}


/* footer */

	#lastmodified {
		float: right;
	}
	#w3-valid {
		float: right;
		margin: 20px;
	}

/***** GENERAL HTML STYLES *****/

	dd {
		margin: 0 0 1em 1em;
	}
	a img {
		border: none;
	}
	table {
		width: 100%;
	}
	table td {
		border: 1px solid #999;
		text-align: center;
	}



	/***** text *****/



	#footer {
		font-size: 9pt;
	}


/***** NAV *****/
	.sidebox {
		background-color: #ffc;				/*#ffff99;*/
		border: 1px solid #036;				/*#515358;*/
	}
	.sidebox h3 {
		background-color: #369;				/*#6a7389;*/
		border-bottom: 1px solid #036;	/*#515358;*/
		color: white;
	}

	.sidebox h3 {
		padding: 10px 0;
		margin: 0;
	}
	.sidebox dl {
		margin: 0;
	}

	/***** text *****/

	.sidebox {
		font-size: 12pt;
	}
	.sidebox h3 {
		font-size: 12pt;
		font-weight: normal;
		text-align: center;
		text-transform: capitalize;
	}

	.sidebox {
		margin-bottom: 15px;
	}
	.sidebox h3 {
		padding: 5px 0;
		margin: 0;
	}
	.sidebox li {
		margin-bottom: 5px;
	}
	.sidebox dt {
		background-color: #fc6;				/*#ffcc66;*/
		font-size: 9pt;
	}
	.sidebox dd {
		font-size: 9pt;
	}



	#feed {
		text-align: center;
	}
	#feed a {
		background: url('http://math.arizona.edu/~bojan/images/Livemark.png') left no-repeat;
		padding-left: 20px;
	}
	#feed a:link, #feed a:visited {
		text-decoration: none;
	}
	#feed a:hover {
		text-decoration: underline;
	}

	.pdfversion a {
		float:right;
		width: 170px;
		height: 18px;
		font-size: 9pt;
		border: 1px solid #900;
		padding: 5px;
		background: transparent url("http://math.arizona.edu/~bojan/images/pdf_icon.gif") no-repeat top right;
	}
	.pdfversion a:link, .pdfversion a:visited {
		text-decoration: none;
	}
	.pdfversion a:hover {
		text-decoration: underline;
	}

	.homework-due {
		margin-top: 0;
		font-weight: bold;
		color: #900;
	}
	.homework-body dt {
		font-style: italic;
	}


	.news-item, .homework-entry {
		border-left: 50px solid #EEE;
	}
	.news-head h3, .homework-head h3 {
		margin-bottom: 0;
		/*background-color: #EEE;*/
	}
	.posted {
		margin-top: 0;
		text-align: right;
		color: #999;
	}
