html {
  background: #fff;
  height: 100%;
}

body {
  color: #000;
  background: #fff;
  margin: auto;
  padding: 10px;
  border-top: solid 5px black;
  height: 100%;
}

a:link { 
  background: inherit;
  color: #E87511;
  text-decoration: underline;
}

a:visited { 
  background: inherit;
  color:  #400860;
  text-decoration: underline;
}

h1 { 
  color: black;
  background:  white;
  /* border-bottom: solid 0.05em #E87511; */
  padding: 0;
  margin: 0 0 10px 0;
  font-style: normal;
  font-weight: normal;
}

p.lastupdated { 
  clear: both;
  font-size: 70%;
  font-style: italic;
  margin-bottom: 0;
}

p.contact {
  margin-top: 0;
  font-size: 70%;
}

span.preread {
  font-weight: bold;
  color: #E87511;
}

#topnavbar ul {
 width: 100%;
 float: left;

 margin: 0;
 padding: 0;

 text-align: center;
 white-space: nowrap;
 color: #000;
 font-family: Arial, Helvetica, sans-serif;
 background-color: white;
 border-bottom: solid 2px #E87511;
 clear: right;
 margin-bottom: .5em;
}

#topnavbar ul li {
 display: inline;
 padding-left: 0;
 padding-right: 0;
}

#topnavbar ul li a {
 padding: 3px 10px;
 text-decoration: none;
 color: #000;
 background-color: white;
 float: left;
 border-bottom: 5px solid white;
}

#topnavbar ul li a:hover {
 background-color: #E87511;
 color: white;
}

#topnavbar div { 
 clear: both;
}

body.main #topnavbar ul li#main a,
body.syllabus #topnavbar ul li#syllabus a,
body.info #topnavbar ul li#info a,
body.project #topnavbar ul li#project a {
  border-bottom: 5px solid black !important;
}

#bottom div {
 clear: both;
}

div#news {
  width: 30%;
  float: right;
  margin-left: 2em;
  padding-left: 1em;
  background-color: #EEEEEE;
  margin-bottom: 0.5em;
  border: 1px solid #E87511;
}

dl.idealist dt { 
  font-weight: bold;
}

dl.idealist dt { 
  margin-top: 0.5em;
}

dl.newslist { 
 margin: 0;
 padding: 0;
}

dl.newslist dt { 
// display: inline;
 padding-left: 0;
 color: #000055;
 font-weight: bold;
 margin-bottom: 0.2em;
}

dl.newslist dd {
  padding-bottom: 1em;
  margin-bottom: 0;
  margin-left: 1em;
  padding-left: 0;
  margin-right: 1em;
}

div#news p { 
margin-top: 0; 
padding-top: 0;
}

#announcements p { 
  color: #E87511;
}

#announcements h1 { 
  color: #ffffff;
  text-align: center;
  font-size: 110%;
  text-decoration: underline;
}

/* The alternating announcement colors */
#announcements p.one { color: #ff0000; }
#announcements p.two { color: #00ff00; }
#announcements p.three { color: #3333ff; }

.announce_date { font-weight: bold; }

table.people {
  margin-left: 10px;
  padding: 2px;
  border-collapse: collapse;
  border: none;
}

table.people th { 
  font-weight: bold;
  text-align: center;
  border: 0;
  border-bottom: solid 2px;
}
table.people td { 
  border: none;
  border-bottom: 1px solid #888;
  padding-right: 1em;
  padding-left: 1em;
}

table.assignments { 
  width: 98%;
  margin-left: 1%;
  margin-right: 1%;
  border-collapse: collapse;
}

table.assignments th { 
  background: #E87511;
  color: white;
}

table.assignments tr,td,th { 
  padding: 3px;
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-spacing: 0px;
}

table.schedule th { 
  background: #E87511;
  color: black;
}

table.schedule {
  width: 100%;
  margin: 0;
  border-collapse:  collapse;
}

table.Schedule tr,th,td { 
  padding: 3px 6px 3px 6px;  
  border-width: 1px; 
  border-spacing: 0px; 
  border-style: solid;  
  border-color: black;
}

/* Presentation:  No underlines on links in schedule unless you're
 * moving the mouse over it. */

table.schedule tr.lecture { background: white; }
table.schedule tr.lecture.alt { background: #ddd; }
table.schedule tr.noclass { background: #bbb; }
table.schedule tr.exam    { background: #FFFF78; }
table.schedule tr.assignments    { background: #fcd4f2; }
table.schedule tr.presentations    { background: #FFFF78; }
table.schedule tr.recitation { background: #ccf; }
table.schedule tr.recitation.alt { background: #ccf; }
table.schedule tr.lechead { background: #FFAA4D; font-weight: bold; text-align: center; }

table.schedule tr th#date { width: 10%; }
table.schedule tr th#topics { width: 25%; }
table.schedule tr th#notes { width: 35%; }
table.schedule tr th#readings { width: 20%; }
table.schedule tr th#presenter { width: 10%; }


div#Overview {
  position: relative;
  vertical-align: top;
  float: left;
  width: 45%; 
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 3em;
  margin-right: 1em;
}

div#AddtInfo {
  position: relative;
  vertical-align: top;
  float: right;
  padding-left: 0;
  padding-right: 1em;
  width: 45%;
}

div#Schedule {
  clear: both;
  margin-top: 2em;
  float:  none;
  width: 100%;
}

div#prerequisites, div#staff, div#policies, div#resources { 
 clear: left;
 border-top: 1px solid #E87511;
}

ul li {
  padding-top: 0.8em;
}


ul.announcements li {
  padding-top: 0.5em;
}

ul.stats li {
  padding-top: 0.0em;
}

span.email { 
 font-family: Courier, monospace;
 font-size: 85%;
}

div.clear {
  clear: both;
}

pre {
    display: block;
    font-size: 100%;
	color: #CFBFAD;
	background: #272822;
    overflow-x: auto;
    margin: 1em;
	border: 1px dashed;
	padding: 1em;
}

tt {
    color: #585858;
    background: #F5F5F5;
}

ul.hints{
    color:#663300;
    margin: 1em;
    padding: 0.5em;
    list-style-type: none;
}
