body {
  background: gray;
  margin: 0px;
  padding: 0px;
  padding-top: 5px;
}

#container {

  margin-left: auto;
  margin-right: auto;
  margin-top: 0px;
  margin-bottom: auto;
  padding: 0px;
  width: 800px;
  background: #700010;
}

#header {
  background: #000050;
  width: 800px;
  height: 150px;
  margin: 0px;
  padding: 0px; 
  text-align: center;
  color: yellow;
}

#header h1 {
  padding: 0px;
  margin: 0px;
  padding-top: 5px;
}

#header h2 {
  padding: 0px;
  margin: 0px;
}

#header h3 {
  padding: 0px;
  margin: 0px;
  padding-bottom: 5px;
}

#header h4 {
  padding: 0px;
  margin: 0px;
}

#navigation {
  margin: 0px;
  color: white;
  font-family: Arial;
  padding-top: 5px;
  padding-bottom: 5px;
  border-top: solid;
  border-bottom: solid;
  border-bottom-color: gray;
  border-top-color: gray;
  border-width: 1px;
  text-align: center;
  background: #000050;
}


#sidebar {
  font-family: arial ;
  width: 120px;
  color: white;
  float: left;
  padding-left: 5px;
  padding-right: 5px;
  background: #700010;
}

#sidebar ul {
 padding: 2px;
 margin: 2px;
 list-style-type: none; 
}

#sidebar li {
 padding-top: 3pt;
 padding-bottom: 3pt;
}


#content {
  width: 630px;
  margin-right: 20px;
  font-family: Arial;
  color: black;
  background:  #FFFFE3;
  float: right;
  padding: 10px;
}

#content h1 {
  margin: 5px;
}

#content code {
  text-align: left;
}

#content p {

}

#content ul {

}



#footer {
  text-align: center;
  width: 790px;
  font-size: 10pt;
  background: #700010;
  padding: 5px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  clear: both;
  color: white;
}

#footer img {
  padding-right: 10px;
  border: 0;
  float: right;
}

#navigation a:link {
  color: white;
  text-decoration: none;
}

#navigation a:visited{ 
  color: white;
  text-decoration: none;
}

#navigation a:hover {
  color: yellow;
  text-decoration: underline;
}

#navigation a:active {
  color: yellow;
  text-decoration: none; 
}

#sidebar a:link {
  color: white;
  text-decoration: none;
}

#sidebar a:visited{ 
  color: white;
  text-decoration: none;
}

#sidebar a:hover {
  color: yellow;
  text-decoration: underline;
}

#sidebar a:active {
  color: yellow;
  text-decoration: none; 
}

.top_anchor {
  text-align: right;
}

/* =========== Person ============== */
.person {
  border-bottom: solid #555555;
  padding: 10px;
  display: block;
  clear: both;
}

/* 
   This is a delightful hack to make the bottom border move
   to the bottom.  Maybe we should use a top border instead? 
 */ 
.person:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.person img {
  margin-right: 10pt;
  width: 75px;
  height: auto;
  float: left;
  border: 0px;
}

.person p { 
  margin-top: 2px; 
  margin-bottom: 2px; 
}

.person .name {
  font-size: large;
}

.person .advisor {
  font-style: italic;
}


.person .jobtitle {
  font-style: italic;
}

.person .department {
 color: green;
}

.person .interest {
  font-size: small;
}


/* =========== Project Block ============== */
.project {
  border-top: solid #555555;
  display: block;
  clear: both;
}

.project:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}


.project .name {
  font-weight: bold;
  font-size: large;
  padding: 10px;
}

.project .members {
  color: green;
  padding: 5px;
}

.project .abstract {
  font-style: italic;
  text-align: justify;
  padding: 5px;
}

.project img {
  margin-right: 10pt;
  width: 150px;
  
  float: left;
  border: 0px;
}

.person p { 
  margin-top: 2px; 
  margin-bottom: 2px; 
}

.person .name {
  font-size: large;
}

.person .contact {
  font-style: italic;
}

.person .officehours {
 color: green;
}

.person .interest {
  font-size: small;
}



/* =========== Talk Block ============== */
.talk {
  border-top: solid #555555;
  display: block;
  clear: both;
}

.talk:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}


.talk img {
  margin-right: 10pt;
  width: 150px;
  
  float: left;
  border: 0px;
}

.talk .name {
  font-size: large;
}

.talk .presenter {
  color: green;
}

.talk .abstract {
  font-size: small;
}


/* =========== News Block ============== */
.news {
/*  border: dashed #555555; */
  border-width: 2px;
  display: block;
  clear: both;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  padding-right: 15px;
}

.news:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}


.news img {
  margin-right: 10pt;
  width: 150px; 
  float: left;
  border: 0px;
}

.news .date {
  font-size: large;
  margin-left: 20px;
  float: right;
  
}

.news h1 {
  font-size: large;
  color: green;
  

}

.news .description {
  margin-left: 20px;
  text-align: justify;
}



/* =========== Generic Stuff ================= */

.section {
  text-align: justify;
}

.section .figure {
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
  display: block;
  width: 350px;
  padding: 5px;
  background: black;
  color: white;
  font-size: small;
}

.section .figure img {
  width: 350px;
}


.left_image {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 15px;
  border: 0;
  float: left;
}

.right_image {
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 15px;
  border: 0;
  float: right;
}




/* =========== module stuff used for course webpages ============== */
.module {
  border-top: solid #555555;

}

.module .title {
  font-size: large;
}


.module .outline {

}

.module .lecture {
  border-top: dotted #777777;
}

.module .lecture_past {
  border-top: dotted #777777;
}

.module .lecture_present {
  background: orange;
  padding: 20px;
  border-top: dotted #777777;
}

.module .lecture_future {
  border-top: dotted #777777;
  color: gray;
}

.module .date {
  font-style: italic;
}


.recitation {
  border-top: solid #777777;
 
}

.homework {
  border-top: solid #777777; 
 
}




