/* adapted from http://www.smashingmagazine.com/2010/07/how-to-use-css3-media-queries-to-create-a-mobile-version-of-your-website/ */

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) 
{
.for_narrow { display:block; }
.bot_arrows {display:none;}
.ssmHdr, .ssmItem, .ssmBar, .ssmItems, .bottom_nav  {	display:none; }
#basessm, thesmm {	display:none;}


body.centered {	display:block; 	width: 100%; } 
.narrow_tabs 
{	display:block; 	
	width: 100%; 
	margin:1px 3px 0px 10px; 
	border:5px solid white;
}

/***************** TITLE BANNER ON TOP OF ALL PAGES ***************************/
H1 {font: bold 2.5em;  color:#993300}
H2 {font: bold 2.3em;}
H3 {font: bold 2em;}

A.for_narrow:link, A.for_narrow:visited, A.for_narrow:active 
{ 	text-decoration:none;
	height:60px;
	font-size: 2.2em;
	font-weight:bold;
    width:97%;
	padding: 20px 0px 20px 0px;
	
}
A.for_narrow:hover {  height:60px; text-decoration:none;}

p.for_narrow  {		font-size: 2.2em; }
p.for_narrow:hover
{	height:60px;
	padding: 25px 0px 25px 0px;
}

/***************** MAIN PAGE FORMAT WITH ALL CONTENTS ***************************/
.pgbdy {
	min-width:200px;
	margin:1px 3px 0px 10px; 
	padding: 0px 13px 0px 13px;
	font-size: 1.8em;
}


#container
{	display: block;  /* this container must display on small screens; set to the default value */
	height: 80px;
	width:50%;
	position:fixed;
		_position:absolute;
	top:0;
		_top:expression(eval(document.body.scrollTop));
	left:0;
	border:thin solid #000000;
	margin:0;
	z-index:5;
    margin:0px 30px 0px 0px;
	padding-top: 0px;
	padding-right: 20px;
	padding-bottom: 0px;
	padding-left: 20px;
	z-index:5;
    filter:alpha(opacity=40);
    -moz-opacity:.40;
    opacity:.40;
}
A.container:link, A.container:visited 
{	font-size: 18px;
}
A.container:active, A.container:hover 
{	color: yellow; text-decoration: underline;
}

.TitleBody
{	margin:1px 3px 0px 10px;
	padding:0px 20px 20px 20px;
	top:3px;
}
H1.Title {font-size: 1.6em; padding-top:5px;}
H2.Title {font-size: 1.4em; padding-top: 0px}
H3.Title {font-size: 1.2em; padding-bottom: 1px; line-height:10px;}
H4.Title {font-size: 1em; font-style:italic; padding-top:0px; padding-bottom: 0px; line-height:12px;}

.header_tabs {
	position:fixed;
		_position:absolute;
	top:0;
		_top:expression(eval(document.body.scrollTop));
	display:none; /* the header tabs disappear on small screens */
	margin:1px 20px 0px 20px;
	background-color:black;
	color: white; 
	border:1px solid white;
	padding-left:1px;
}

/******************* SYLLABUS ***********************/
.date {font-size: 1.6em; font-weight:bold}
.session {margin-bottom: 10px}
.ses_title  /* session title */
{	font-weight: bold;
	font-size: 1.5em;
	line-height: 1.3em;
}

.req 
{	font-size: 1.4em;
	line-height: 1.2em;
	margin: 1px 0px 20px 20px;
}  /* for the list of required items of each class section */

.rec 
{	margin-left:40px; 
	font-size: 1.1em;
	line-height: 1.1em;
}
ul.rec 
{	margin-left:0px; 
	margin-top: -5px;
}

p.indent {	text-indent: 20px;}

.rev_indent {
	margin-left: 20px;
	text-indent: -20px;}



.fineprint
{
	border-style: solid;
	padding: 10px 10px 10px 10px;
	width: 90%;
	font-size:12px;
	text-align:center;
	background-position: center;	
}

/*********** INDIVIDUAL LECTURE NOTES *********************************/
.aside
{	font-size:0.9em;
	line-height: 1em;
	margin:10px 1px 10px 100px;
	padding:5px 10px 10px 10px;
}


.comments 
{	float: right;
	clear: none;

	font-size:0.9em;
	line-height: 1.1em;
	font-style: italic;

	text-align: right;
	margin:10px 1px 10px 100px;
	padding:5px 10px 10px 10px;
	border-left-style: double;
}

.quotes {
	font-size: 0.9em;
	font-style: italic;
	padding: 10px;
	text-align: right;
	background-position: right;
}

.notes
{	font-size: 0.9em;
	line-height: 1em;
	margin: 10px 10px 1px 70px;
	padding:10px 20px 10px 20px;

}

ol.head, li.head, p.head /** for titles of main parts of the notes **/
{ 	margin-left: -10px;
	font-size:1.2em;
	line-height: 1.2em; 
	padding: 0px 10px 10px 40px;
}

ol.subhead, p.subhead
{	margin-left: -30px;
	margin-right: 2px;
	font-size: 0.9em;
	line-height: 1em; 
	padding: 5px 5px 40px 45px;
}

ol.subsub, p.subsub
{	margin-left: -30px;
	font-size: 0.8em;
	line-height: 0.9em; 
	padding: 5px 5px 20px 45px;
}

ol.pack, p.pack
{	margin-left: -30px;
	font-size: 0.8em;
	line-height: 0.9em;
	padding: 5px 5px 30px 55px;
}

.questions {    padding-right: 5px;	padding-left: 5px;}
li.questions{	margin-left: -10px;}
div.questions{	width:90%; }

}