@import url(https://fonts.googleapis.com/css?family=Ubuntu);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Condensed);
@import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono);

/*******************************************************************
 * CSS reset adapted from http://meyerweb.com/eric/tools/css/reset *
 *******************************************************************/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}


/******************
 * Custom styling *
 ******************/

body {
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    color: #2a2a2a;
    margin: 1em;
}

h1 {
    display: table-cell;
    font-size: 200%;
    font-weight: bold;
    vertical-align: middle;
    text-align: right;
}

h2 {
    font-size: 1.2em;
    margin: 8px 0px 8px 20px;
    font-weight: bold;
}

#top h1 {
    display: block;
    text-align: right;
}

#top h2 {
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 120%;
    text-align: right;
    font-weight: normal;
}

footer {
    font-size: 80%;
}

#thanks:before {
    content: "Thanks (alphabetically): ";
    font-size: larger;
}

#top {
    display: inline-flex;
}

#title {
    margin: auto;
}

#version {
    font-size: larger;
    vertical-align: bottom;
    margin-left: 0em;
    margin-top: auto;
    margin-bottom: 1.5em;
}

#contents {
    -webkit-columns: 6 34em;
    -moz-columns: 6 34em;
    columns: 6 34em;
    -webkit-column-gap: 0.25em;
    -moz-column-gap: 0.25em;
    column-gap: 0.25em;
}


/*
 * Note: a coloured box title for a rounded box would require a hidden overflow to
 * avoid colour spilling over the border. This, however, clashes with tooltips in
 * all but the very first column due to the absolute positioning.
 */

.box {
    display: inline-block;
    position: relative;
    border: 1px solid #2a2a2a;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    text-align: left;
    background-color: #e6f2ff;
    margin: 0.5em;
    padding-bottom: 0.5em;
    width: 35em;
    word-wrap: break-word;
}

#contents>ol,
ul {
    list-style: none;
}

.box .title {
    /*background: linear-gradient(180deg, #bf655f, #f6f6f6);*/
    background: #4d64ae;
    padding: .5em;
    margin-bottom: 1em;
}

.box h1 {
    font-family: 'Consolas', sans-serif;
    font-size: 120%;
    font-weight: bold;
    padding-left: 0.25em;
    padding-right: 0.25em;
    color: white;
}

.box p {
    padding: 0.25em 0.5em 0.25em 0.5em;
    text-align: justify;
}

.box em {
    font-style: italic;
}

le .box table {
    border-spacing: 0.1em;
    border-collapse: collapse;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.box table td {
    padding: 0.1em 0.5em 0.1em 0.5em;
    vertical-align: middle;
}

.box table tr:nth-child(odd) {
    background-color: #ffffff;
}

.box ul li {
    list-style-type: square;
    margin-left: 2em;
}

.centred {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.indented {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 32em;
}

pre {
    font-family: 'Ubuntu Mono', monospace;
    color: #80ab5d;
}

code {
    display: inline-block;
    white-space: pre-wrap;
    font-family: 'Ubuntu Mono', monospace;
    color: darkgreen;
}

pre code {
    margin-left: 20px;
}

a {
    color: #7182dc;
    text-decoration: #2a2a2e;
}

a:hover {
    color: #2e44b9;
    text-decoration: underline;
}


/********************************************************************
 * Tooltip adapted from http://www.menucool.com/tooltip/css-tooltip *
 ********************************************************************/

a.tooltip {
    outline: none;
    color: #9e7abe;
}

a.tooltip:hover {
    color: #6b458d;
    text-decoration: none;
    cursor: help;
}

a.tooltip span {
    display: none;
    max-width: 33.5em;
    padding: 0.25em;
    text-align: center;
    color: #2a2a2a;
}

a.tooltip:hover span {
    display: block;
    position: absolute;
    border: 1px solid #5d5d5d;
    background: rgba(195, 195, 195, 0.9);
}

a.tooltip span {
    border-radius: 0.25em;
    box-shadow: 0.1em 0.1em 0.1em #909090;
}

.footer-text {
    padding-top: 2em;
    padding-bottom: 1em;
}

.individual-styling>.bold {
    color: blue;
}

.github-info {
    font-style: italic;
    font-size: smaller;
}

small {
    font-size: smaller;
    font-style: italic;
}

.languages {
    display: inline-block;
    float: left;
    left: 20px;
    margin: 20px;
    text-align: left;
    position: absolute;
    transition: 0.1s;
}

.language {
    width: 32px;
    padding: 3px;
    vertical-align: middle;
}

.language-link {
    font-size: 1.25em;
    background: #e6f2ff;
    padding: 5px;
}

.language-link:hover {
    background: #fafcff;
}

.others {
    border: 2px #4d64ae solid;
    visibility: hidden;
    position: absolute;
    z-index: 1;
    opacity: 0;
    min-width: 260px;
    transform: translateY(-2em);
    transition: all 0.2s ease-in-out 0s, visibility 0s linear 0.2s;
}

.languages:hover .others {
    visibility: visible;
    transform: translateY(0em);
    opacity: 1;
    transition-delay: 0s, 0s;
}

.languages a {
    text-decoration: none;
    color: black;
}

@media(min-width:576px) {}

@media(min-width:768px) {}

@media(min-width:992px) {
    .box {
        width: 35em;
    }
}

@media(min-width:1500px) {
    .box {
        width: 43em;
    }
}

@media(min-width:1600px) {
    .box {
        width: 30em;
    }
}
