@charset "utf-8";

* {
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    line-height: 1.5em;
}

#content {
    padding: 20px;
    max-width: 768px;
    margin: 0 auto;
}

img {
    max-width: 768px;
}


h1, h2, h3, h4, h5 {
    margin-top: 20px;
    margin-bottom: 20px;
}

h1 {
    color: #ffc107;
    font-size: 20px;
}

h2 {
    font-size: 18px;
}

h3 {
    font-size: 16px;
}

h4 {
    font-size: 14px;
}

a {
    color: #0288d1;
    text-decoration: none;
}

a:hover {
    border-bottom: 3px solid #ffc107;
}

ul li {
    margin-bottom: 10px;
}

/* Data-table styling, opt-in per page (books/bookclub use tables for layout and
   must stay unstyled). Add the page's body class to this selector list. */
body.coffee table {
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    margin: 16px 0;
}

body.coffee th, body.coffee td {
    border: 1px solid #ddd;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

body.coffee th {
    background: #f5f5f5;
    white-space: nowrap;
}

body.coffee tr:nth-child(even) td {
    background: #fafafa;
}

ul.links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

ul.links:after {
    content: ' ';
    clear: both;
}

ul.links li {
    float: left;
    margin: 10px;
    width: 6em;
}

.fingerprint {
    font-family: monospace;
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
    color: lightgray;
}

span.date {
    font-style: italic;
    color: lightgray;
    font-family: monospace;
}

.writings {
    list-style-type: none;
}

.quote {
    font-style: italic;
    font-size: 18px;
    margin-top: 50px;

    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.quote i.fa-quote-left, .quote i.fa-quote-right {
    font-size: 40px;
    float: left;
    color: lightgray;
    margin: 10px 20px;
}

.quote i.fa-quote-right {
    float: right;
}

.attributed-to {
    clear: both;
    font-weight: 300;
    color: gray;
    text-align: right;
}

.stats {
    font-size: 18px;
    background: #607D8B;
    border-radius: 5px;
    padding-top: 20px;
    padding-bottom: 20px;
    color: white;
}

.stats i {
    display: inline-block;
    margin-right: 10px;
}

.stats span {
    display: inline-block;
    vertical-align: middle;
}

.stats .total .count, .stats .type .fiction-count, .stats .type .non-fiction-count {
    vertical-align: middle;
    font-size: 32px;
    font-weight: bold;
    color: #ffc107;
    font-style: normal;
    margin: 0 5px;
}

.stats .avg-total {
    margin-right: 5px;
}

.stats .total, .stats .type {
    text-align: center;
}

.stats .avg {
    font-style: normal;
    font-weight: bold;
    color: #ffc107;
}

.stats .avg-total {
    font-size: 14px;
}

.arrow {
    text-align: center;
    font-size: 48px;
    margin-top: 30px;
    color: #cfd8dc;
}

.empty {
    text-align: center;
    font-size: 40px;
    color: #cfd8dc;
}

.year {
    margin-bottom: 105px;
}

.year-head {
    font-size: 42px;
}

.quotes p {
    font-weight: 100;
    font-size: 20px;
    margin-bottom: 15px;
    font-style: italic;
}

.quotes .attrib {
    text-align: right;
    margin-bottom: 50px;
    font-weight: bold;
    color: #607d8b;
}

.pages {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}
