:root{
    --burnt-orange:#CC5500; /* some burnt orange up in here */
    --spring-color:#006400;
    --old-color:#00005A;
    --main-color:#4A00AA;
    --bk-color:#fff;
    --off-day:#808B96;
    --exam-day:orange;
}

body, html { 
  color: #000;
  background: var(--bk-color);
  font-family: "Trebuchet MS", Helvetica, sans-serif;
}

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

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

h1 { 
  color: var(--main-color);    
  background:  white;
  border-bottom: solid 0.05em var(--main-color);
  padding: 0;
  margin: 0;
  font-style: normal;
  font-weight: normal;
}

.canceled {
	text-decoration: line-through;
}

.ref {
  font-size: 90%;
}

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

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

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

 margin: 0;
 padding: 0;

 text-align: center;
 white-space: nowrap;
 color: #000;
 /*font-family: Arial, Helvetica, sans-serif; */
 font-family: "Trebuchet MS", Helvetica, sans-serif;
 background-color: white;
 border-bottom: solid 2px var(--main-color);
 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-right: 1px solid black;
}

#topnavbar ul li a:hover {
 background-color: var(--main-color);
 color: white;
}

#topnavbar div { 
 clear: both;
}

div#news {
  width: 30%;
  float: right;
  margin-left: 2em;
  padding-left: 1em;
  background-color: #fcc;
  margin-bottom: 0.5em;
  border: 1px solid var(--main-color);
}

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: #000050;
 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: var(--main-color);
}

#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: var(--main-color);
  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: var(--main-color);
  color: white;
}

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

table.Schedule tr,th,td { 
  padding: 3px;  
  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: var(--off-day); }
table.schedule tr.exam    { background: var(--exam-day); }
table.schedule tr.recitation { background: #ccf; }
table.schedule tr.recitation.alt { background: #ccf; }
table.schedule tr.lechead { font-weight: bold; text-align: center; }

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

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

#Schedule h2 { text-align: center; }

div#Schedule {
  border-top: 1px solid var(--main-color);
  clear: both;
  margin-top: 5em;
  float:  none;
  width: 100%;
}

div#prerequisites, div#staff, div#policies, div#resources { 
 clear: left;
 border-top: 1px solid var(--main-color);
}

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

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

div.clear {
  clear: both;
}

