@import url('../style/fonts/charis-sil.css');
@import url('../style/fonts/libre-franklin.css');
@import url('../style/fonts/open-sans.css');

/* Sizes */

html {
    font-size: 12pt;
}

body, input, button, select {
    font-size: 100%;
}

h1 {
    font-size: 200%;
}

h2 {
    font-size: 150%;
}

/* Layout */

html {
    overflow-y: scroll;
}

body {
    margin: 0 auto;
    padding: 1em;
    max-width: 40em;
}

h1, h2 {
    margin: 0.5em 0;
}

button, .button {
    padding: 0.4em 1.2em;
    display: inline-block;
    margin: 0.5em;
}

input, select {
    padding: 0.2em 0.6em;
}

h1 img {
    vertical-align: top;
}

.links {
    text-align: right;
}

.inline {
    display: inline-block;
}

/* Fonts */

html, body {
    font-family: "Charis SIL", serif;
}

input, button, .button, select, h1, h2, h3, h4, h5, h6 {
    font-family: "Libre Franklin", sans-serif;
}

.item-info {
    font-size: 80%;
}

/* Colors & Borders */

html {
    background: #ddd;
    color: #555;
}

body {
    background: #fff;
}

a {
    color: inherit;
}

input, select, button, .button {
    background: #ddd;
    border: 1px solid #bbb;
    transition: background 0.5s;
}

input:hover, select:hover, button:hover, .button:hover {
    background: #bbb;
}

button.selected, .button.selected {
    border-width: 3px;
}

button:disabled, .button:disabled {
    color: #888;
    border-color: #ddd;
}

/* TODO */

dl dt {
    font-weight: bold;
    margin-top: 0.5em;
}

table.list {
    width: 100%;
    border-collapse: collapse;
}

table.list thead {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

table.list th, table.list td {
    text-align: left;
    padding: 2pt 4pt;
}

table.list tbody tr:hover {
    background: #ddd;
}

#content {
    margin: 0;
    padding: 0;
}

.item {
    position: relative;
    padding: 6pt 0;
    margin: 6pt 0;
    max-width: 100%;
    overflow: hidden;
    border-top: 1pt solid grey;
}

.item .content {
    clear: both;
}

.item .item-tools {
    margin: 6pt 0 0 0;
    text-align: right;
}

#menu {
    float: left;
}

#size-selector {
    float: right;
}

#filter {
    clear: both;
    padding: 1em;
}

.page-info {
    display: inline-block;
}

.tools {
    clear: both;
    padding: 1em 0;
}

.buttonset, .buttonset:disabled {
    border-left: none;
    border-right: 1px solid #333;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    border-radius: 0px;
    margin: 0px;
}

.buttonset.first, .buttonset.first:disabled {
    border-left: 1px solid #333;
    border-radius: 2px 0px 0px 2px;
}

.buttonset.last, .buttonset.last:disabled {
    border-radius: 0px 2px 2px 0px;
}

