html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: black;
  background: #F0F0F0;
  font-family: sans-serif;
}

#content {
  width: 750px;
  min-height: 100%;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid black;
  border-radius: 10px;
  color: black;
  background: white;
  text-align: left;
  position: relative;
}

#content p { text-align: justify; }
#content a { text-decoration: none; color: blue; }
#content a:hover { text-decoration: underline; }
#content hr { width: 100%; margin-top: 10px; margin-bottom: 10px; }

#name { margin-right: 10px; }
#name a { text-decoration: none; color: black; }
#name a:hover { text-decoration: none; }
#address { float: right; margin-left: 10px; text-align: right; }
#email {
 font-style: italic;
 font-size: 10pt;
 margin: 10px 10px 2px 2px;
 position: absolute;
 bottom: 0;
 right: 0;
}

/*
 * Navigation bar
 */

#nav {
  margin: 10px 0px;
  padding: 5px 0 5px 0; /* 5px 10px 5px 5px; */
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: table;
  table-layout: fixed;
  text-align: center;
}

#nav li {
  margin: auto;
  display: table-cell;
  width: 100px;
  padding-top: 2px;
  border-style: dotted dotted solid dotted;
  border-radius: 10px 10px 0 0;
  border-color: black;
  border-width: 1px;
  white-space: nowrap;
}

#nav li:hover {
  border-style: solid;
  background-color: #f8f8f8;
}

#nav li a {
  display: block;
}

#nav li a:hover {
  text-decoration: none;
}

#nav li.currentpage {
  border-style: solid solid dotted solid;
  border-color: black;
}

#nav li.currentpage:hover {
  background-color: white;
}

#nav ul > li:last-child {
  border-style: none none solid none;
  width: 100%;
}

#nav ul > li:last-child:hover {
  background-color: white;
}

/*
 * Main content
 */

img.right {
  float:right;
  display: block;
  margin: 10px auto 10px auto;
  width: 250px;
	padding-left: 20px;
}

#text {
  /*margin-left: 90px;*/
}

#text p, dl, h2.cv, h2.course {
  margin-left: 2px;
  line-height: normal;
}

/*
 * Links page styles
 */

#text ul.links li {
  list-style: square;
  margin-bottom: 10px;
}

/*
 * Papers page styles
 */

table.papers {
  border-collapse: separate;
  border-spacing: 2px 3px;
}

table.papers tr {
  background-color: #F4F4F4;
}

table.papers td {
  font-size: 10pt;
  padding: 5px 2px;
}

table.papers#lectures td {
  font-size: 12pt !important;
  padding: 5px 3px;
}

table.papers td.paper {
  padding: 5px 1px;
  border: 1px solid #F4F4F4;
  width: 100%;
}

table.papers#papers td.paper:hover { border-color: black; }

table.papers tr.abstract {
  display: none;
  background-color: white;
}

table.papers td.abstract {
  padding: 10px 25px;
}

table.papers a.coauthor {
  text-decoration: none;
  color: black !important;
}

table.papers a.coauthor:hover {
  text-decoration: underline;
}

/*
 *  CV page styles
 */

h2.cv {
  text-align: center;
}

ul.cv {
  margin-left: 10px;
  padding: 0;
  list-style: none;
}
ul.cv li {
  font-weight: bold;
  margin: 10px 0 0 0;
}

ul.cv-item { list-style: square; }
ul.cv-item li {
  font-weight: normal;
}

/*
 * Course page styles
 */

h2.course {
  text-align: center;
}

#text ul.course-data li {
  list-style: square;
  margin-bottom: 10px;
}

#text p.course-data {
  margin-left: 10px;
}
