body {
    margin: 0 auto;
    padding: 1em;
    max-width: 64em;
    font-family: sans-serif;
    font-size: 14pt;
    color: #444;
}

.topic {
    background: #e7e7e7;
    background-clip: content-box;
    text-align: center;
}
.topic > .title {
    display: none;
}

.topic > ul {
    list-style-type: none;
    display: block;
    margin: 0;
    padding: 0;
}

.topic > ul > li {
    float: left;
    width: 25%;
    text-align: center;
}

.topic:after {
    clear: both;
    content: "";
    height: 0px;
    display: block;
}

/* The tinyhtml writer drops the RST ":class:" option on topic/sidebar/etc,
   so the footer topic can't be targeted by its own class - it's always
   just the last .topic div in the document, right before </body>. */
body > .topic:last-child {
    margin-top: 4em;
    margin-bottom: -1em;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
}
body > .topic:last-child p {
    margin: 0.2em 0;
}

h1 {
    text-align: center;
}

a:link,
a:visited,
a:active {
    color: #006400;
    text-decoration: none;
    border-bottom: 1px dotted #444;
}
a:hover {
    color: black;
}

img {
    max-width: 100%;
    display: block;
    text-align: center;
    margin:auto;
}
.figure {
    text-align: center;
    font-style: italic;
}
