body {
  max-width: 800px;
  margin: auto;
  padding: 1em;
  line-height: 1.5em;
}

/* header and footer areas */
ul.menu {
  padding: 0;
}

ul.menu li { display: inline-block; }
.article-meta, .menu a {
  text-decoration: none;
  background: #eee;
  padding: 5px;
  border-radius: 5px;
}

div.nav {
  width: 100%;
  font-size: 150%;
  border-bottom: 1px solid #ddd;
  margin-top: 0.75em;
}

div.nav span {
  font-size: 175%;
}

/* code */
pre {
  border: 1px solid #ddd;
  padding: 0.5em 0.75em;
  overflow-x: auto;
}
pre, code { background: #f9f9f9; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
}

table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee }

figure.portrait {
  width: 160px;
  margin-left: 0;
  margin-right: 3em;
  margin-top: 0;
  float: left;
  font-size: 95%;
}

figure.portrait img {
  width: 100%;
}

h1 {
  margin-top: 1.5em;
  font-size: 140%;
}

div.logos {
  width: 100%;
  height: 110px;
}

img.logo_rub_cs {
  float: left;
  height: 100px;
  margin: 0;
}

img.logo_casa {
  height: 70px;
  float: right;
  clear: right;
  margin: 0;
  margin-top: 15px;
}

h2 {
  clear: both;
}
