body, caption {
	font-family: 'Lato', sans-serif;
}

section pre { position: relative; font-weight: bold; }
section pre > span.title { position: absolute; top: 1ex; right: 5px; z-index: 9999999; }

.avltree, .treemap-jdk { font-size: 60%; line-height: 1.2em; }
.factor, .primes, .simpledb { font-size: 80%; line-height: 1.2em; }

table {
    width: 90%;
    margin: 10px auto;
    font-size: 50%;
    border-spacing: 5px;
    border-collapse: separate;
    empty-cells: hide;
}

table caption {
    caption-side:bottom;
}


th, td, div.chart canvas.base  {
    background-color: #3F3F3F;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
}

.caption {
    position: absolute;
    z-index: 10000;
    margin: 0.5em 0 0 3em;
}


th, em {
    color: #E3CEAB;
}

.answer, section pre > span.title {
    color: #8CD0D3; /*#CC9393*/
}

tbody tr:nth-child(1) th {
    color: #edc240;
}

tbody tr:nth-child(2) th {
    color: #aad1ef;
}

tbody tr:nth-child(3) th {
    color: #cb4b4b;
}

tbody tr:nth-child(4) th {
    color: #4da74a;
}


td {
    text-align: center;
}

sup, sub { font-size: 50% }

.answer {
    font-weight: bold;
    font-style: italic;
}

div.chart {
    width: 20em;
    height: 10em;
    margin: 0 auto 2em;
}

div.tickLabel {
    font-size: 60%;
    color: #E3CEAB;
}

div.yAxis div.tickLabel{
    margin-top: -1em;
}

section.slow, section.complex {
    margin-top: -2em;
}