html {
    margin: 0px;
    padding: 0;
}

body {
    font-size: 0.9em;
    line-height: 1.4em;
    font-family: "Verdana", sans-serif;
    text-align: left;
    margin-left: 50px;
    margin-right: auto;
}

/*****************************************************************************/

a {
    color: #567;
}

div#footer a {
    text-decoration: none;
    padding-bottom: 30px;
}

/*****************************************************************************/

code {
    font-family: "Inconsolata", monospace;
}

/*****************************************************************************/
/* Normal tables */
table {
    border-collapse:collapse;
    width:100%;
    text-align:center;
}
td, tr  {
    border: 1px solid grey;
}
th {
    border-bottom: 2px solid black;
}

/*****************************************************************************/
/* Main page title */
div#header h1 {
    font-size: 300%;
    font-family: "Inconsolata", monospace;
}

/*****************************************************************************/

ul {
    list-style-type: none;
    list-style-position: inside;
    text-indent: -20px;
    padding-left: 30px;
    margin-top: 0;
}

/*****************************************************************************/

img {
    margin-right: 10px;
}

div.caption {
 text-align:center;
}

div.stackbox {
  text-align: center;
  border: 1px solid #ccc;
  font-size: 120%;
  padding: 10px;
}

div.stack {
  width: 50%;
  text-align: center;
  margin: 10px auto;
}

a.stackbox {
    text-decoration: none;
    color: #000;
}

/*****************************************************************************/
/* Secondary header */
h1 {
    font-size: 160%;
}
h2 {
    font-size: 140%;
    margin-top: 1em;
}

/* Page and header backgrounds */
div#content{
    padding: 1px 1px 30px 20px;
    width: 600px;
}

div#header{
    padding-top: 20px;
}

/*****************************************************************************/
/* Footer styles */
p#copyright{
    float: right;
    color: #888;
}

p#icons{
    float: left;
}

i.fa {
    font-size: 150%;
    padding-left: 10px;
}

hr {
    color: #ddd;
}

form#mailing {
    margin-top: 50px;
}

/*****************************************************************************/
/* Table of contents */
div#toc {
    background: #eee;
    padding-left: 20px;
    padding-right: 20px;
    display: inline-block
}
div#toc h2 {
    margin-top: 0;
}
div#TOC a  {
    padding-left: 10px;
}

/*****************************************************************************/
/* Top navigation bar */
ul#navlist {
    padding-left: 20px;
}
ul#navlist li {
    display: inline;
    padding-right: 20px;
    padding-left: 20px;
}
ul#navlist li#active {
    font-weight: bold;
}

/* RSS feed icon in top menu */
.icon
{
    font-family: "icons";
    font-size: 14px;
}

form#mailing {
    border:1px solid #ccc;
    padding:3px;
    text-align:center;
}

input#tlemail {
    width: 140px;
    border: 1px solid #ccc;
}

/*****************************************************************************/
@media(max-width:700px){
    body {
        margin-left: 0px;
        width: 100%;
        line-height: 180%;
    }
    div#header {
        width: 50%;
        padding-left: 20px;
    }
    div#content{
        width: 80%;
        padding: 1px 20px 30px 20px;
        font-size: 120%;
    }

    div.stack {
      width: 90%;
    }

    ul#navlist li {
        display: block;
    }

    input#tlemail {
        border: 2px solid #ccc;
    }
}

hr {
    height: 1px;
    border: none;
    background-color: #ccc;
}
