body {
  background: #E9E9E9;
}

body > .container {
  padding: 60px 15px 0;
  background: #FFFFFF;
  float: center;
}

table.contact {
}

table.contact td {
  vertical-align: text-top;
  text-align: left;
  font-size: .85em;
}

.abstract {
  text-align: justify;
  font-size: .85em;
}

.forkme {
  float: right;
  border: 0;
  margin-top: -1em;
  margin-right: -1em;
}

.new {
  color: #ff0000;
  font-weight: bolder;
}

ul.projectlist {
}

li.project {
}

ul.publicationlist {
  padding: 0em;
}

li.publication {
  clear: both;
  list-style: none;
  padding-left: 1em;
  padding-bottom: 1em;
  text-indent: -1em;
  margin: 0em;
}

.pubtitle {
  font-weight: bold;
}

.pubauthor {
}

.pubbooktitle {
  font-style: italic;
}

.pubdate {
}

.highlight {
  padding-left: 1em;
}

.source {
  padding-left: 1em;
}

.hilite {
  font-weight: bolder;
  color: #ff0000;
}

.smallcaps {
  font-variant: small-caps;
}

div.figure {
  text-align: center;
}

div.figure img {
  margin-left: auto;
  margin-right: auto;
}

.caption {
  width: 100%;
  text-align: center;
}

div.description {
  margin-left: 1em;
}

/* Bibliography */

.bibtex {
  overflow: hidden;
  display: none;
}

.bibtex pre {
  float: left;
  float: left;
  padding: 0.5em;
  padding-left: 2em;
  margin: 0.5em;
  background: white;
  font-size: 0.83em;
  border-width: 0.25em;
  border-style: dashed;
  border-color: black;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  white-space: pre-wrap;
  word-wrap: break-word;
}

ol.bibliography li {
  list-style: none;
}

ol.bibliography li {
  counter-increment: item;
  margin-bottom: 5px;
}

ol.bibliography li:before {
  margin-right: 10px;
  content: '[' counter(item) ']';
  text-align: center;
}

/* Schedule */
div.schedule table {
  max-width: 90%;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid;
}

div.schedule th {
  font-weight: bolder;
}

tr.schedule-even {
  background: #CCCCCC;
}

tr.schedule-odd {
  background: #FFFFFF;
}

/* schedule-1: 1 item per week */
tbody.schedule-1 tr:nth-child(odd) {
  background: #CCCCCC;
}

tbody.schedule-1 tr:nth-child(even) {
  background: #FFFFFF;
}

/* schedule-2: 2 items per week */
tbody.schedule-2 tr:nth-child(4n+1),
  tbody.schedule-2 tr:nth-child(4n+2) {
  background: #CCCCCC;
}

tbody.schedule-2 tr:nth-child(4n+3),
  tbody.schedule-2 tr:nth-child(4n+4) {
  background: #FFFFFF;
}

/* schedule-3: 3 items per week */
tbody.schedule-3 tr:nth-child(6n+1),
  tbody.schedule-3 tr:nth-child(6n+2),
  tbody.schedule-3 tr:nth-child(6n+3) {
  background: #CCCCCC;
}

tbody.schedule-3 tr:nth-child(6n+4),
  tbody.schedule-3 tr:nth-child(6n+5),
  tbody.schedule-3 tr:nth-child(6n+6) {
  background: #FFFFFF;
}

/* Source code */
div.source div.highlight {
  border: 1px solid;
}

code {
  background-color: #f5f5f5;
  border-radius: 4px;
  color: #000000;
  font-size: 100%;
  padding: 2px 4px;
}

/* pull-right and photo size media queries */
.pull-right-xs {
    float: right;
}

.photo-xs {
    max-width: 150px;
}

@media (min-width: 768px) {
    .pull-right-sm {
        float: right;
    }

    .photo-sm {
        max-width: 150px;
    }
}

@media (min-width: 992px) {
    .pull-right-md {
        float: right;
    }

    .photo-md {
        max-width: 150px;
    }
}

@media (min-width: 1200px) {
    .pull-right-lg {
        float: right;
    }

    .photo-lg {
        max-width: 180px;
    }
}

/* Responsive embedding */
.embed-responsive.embed-responsive-11by9 {
    padding-bottom: 122%;
}
