body {
	color: #505060; 
	link-colour: #0040d0; 
	vlink:	#a00080;
	font-family: Georgia, "Times New Roman", Times, serif;
	counter-reset:figure_counter;
	counter-reset:quick_question_counter;
	width:70%;
	margin-left: 15%;

	}
	

a:link { 
	color: #0040d0;
	}
a:visited { 
	color: #8080a0;
	}
a:hover { 
	color: #CCCCCC;
	background-color: #333333;
	text-decoration: none;
	}
a:active { 
	color: #aaaaaa;
	}

h1	{ font-size: 40pt;
	  font-family: "Trebuchet MS", Verdana, Arial,  sans-serif ;
	  margin-top:20pt;
	  align: right;
	  }
	  
h1.sub	{font-size: 18pt;
	  font-family: "Trebuchet MS", Verdana, Arial,  sans-serif ;
	 font-style: italic;
	  margin-top:-18pt;
	  align: right;
	  }

h2:first-child{
	   margin-top:0pt;
	   }
h2	{	font-size: 20pt;
	  	font-family: "Trebuchet MS", Verdana, Arial,    sans-serif ;
	   	border-bottom: solid 1px ;
		border-bottom-color: #99aaee ;
	   	background: #ddeeff;
	   	margin-bottom:5pt;
	  	margin-top:20pt;
	   }




h3	{font-size: 15pt;
	  font-family: "Trebuchet MS", Verdana, Arial,  sans-serif ;
	  margin-top:10pt;
	  margin-bottom:5pt;
	  align: right;
	  }

ol{margin-top:0pt;}
ul{margin-top:0pt;}


p {margin-top:5pt;
	margin-bottom:5pt;}
	
p.nomargin {margin-top:0pt;
	margin-bottom:0pt;}

pre.code{
	background-color: #FFFFCC;
	top: auto;
	left: auto;
	position: static;
	border: thin dotted #FFCC00;
	width: auto;
	padding: 5px;
	line-height: normal;
	font-family: "Courier New", Courier, mono;
	font-size: smaller;
	font-weight: lighter;
	color: #000099;
	text-align: left;
	white-space: pre;
	right: auto;
	margin: auto;
	word-spacing: normal;

}
.comment {
	color: #990000;
	font-style: normal;
	font-weight: bolder;

}
.highlightcode {
	font-weight: bold;
	color: #CC0033;
	

}

.caption {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #999999;
	background-position: left;
	text-align: center;
	vertical-align: top;
	margin-top: 2px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
	padding-top: 0px;
	padding-bottom: 5px;
	font-size: smaller;
	font-style: italic;
	font-variant: normal;
	text-transform: none;
	background-color: #FFFFFF;
	border: #FFFFFF;



}
.lightborder {
	border: 1px dashed #CCCCCC;
}
.codeinline {
	font-family: "Courier New", Courier, mono;
	font-weight: bold;
	color: #5F0E10;
}
cite {
	width: auto;
	padding-right: 100px;
	padding-left: 100px;


}
.codeintext {
	font-family: "Courier New", Courier, mono;
	font-size: medium;
	font-weight: bold;
	color: #330000;
}

p.quote{
	font-style: italic;
	font-weight: bolder;
	font-variant: normal;
	
	text-align: center;
	margin-left:20%;
	margin-right:20%;
}


div.figure {
	padding: 0em;
	text-align: center;
	width: 100%;
}

div.figure img{
   /* width: expression(this.width > 400 ? 400: true);*/
}
div.figure div.caption:before{
 	font-weight: bold;
	counter-increment: figure_counter; 
	content: "Figure " counter(figure_counter) ": ";
}

div.figure div.caption{
  font-style: italic;
  font-weight: normal;
}

.sidenote,
.sidequestion {
	position: absolute;
	left: 85%;
	top:auto; /* default, omit if you like */
	vertical-align:middle;
	/*text-align:left;	*/
	width: 13%;
	font-size: small;
	border-left-style: solid;
	border-left-color: #CCCCCC;
	border-left-width: thin;
	padding-left: 0.5em;
}

.sidequestion:before{
	font-weight: bold;
	counter-increment: quick_question_counter; 
	white-space: pre;
	content: "Quick Question " counter(quick_question_counter) "\A";
}


p.copyright{
font-size: small;
}

span.tex img {
	vertical-align: middle;
}

.alpha-shadow {
  float: left;
  background: url(shadow1.gif)
  no-repeat bottom right;
  margin: 10px 0 0 10px !important;
  margin: 10px 0 0 5px;
}

.alpha-shadow div {
  background: url(shadow2.png)
  no-repeat left top !important;
  background: url(shadow2.gif)
  no-repeat left top;
  padding: 0px 5px 5px 0px;
}

.alpha-shadow img {
  background-color: #fff;
  border: 1px solid #a9a9a9;

  padding: 4px;
}
table.calendar_table {
	background-color: #F4F4F4;
	border:solid #999999;
	border-width: 0 0 1px 1px;
    border-spacing: 0;
    border-collapse: collapse;

    border-style: solid;
	width: 400px;
}
table.calendar_table td,th
{
	margin: 0;
	padding: 4px;
	border:solid #999999;
	border-width: 1px 1px 0 0;
	font-size: small;

}
/*==latex tags====*/
img.tex_inline{
vertical-align:middle;
margin-bottom:0px;

}
