/* Customize container: force fixed max-width */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/* Fonts */
body {
    font-family: 'Libre Baskerville', serif;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    color: black;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: black;
}
h1 a:focus, h2 a:focus, h3 a:focus, h4 a:focus, h5 a:focus, h6 a:focus,
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: rgba(0,0,0,0.8);
}

a {
    text-decoration: none;
}

/* Site header */
h1#site-name {
    height: 1.8em;
    margin: 0 0 0.2em 0;
    text-align: center;

    border-bottom: 1px dashed grey;
    box-shadow: 0 12px 10px -12px grey;
}

h1#site-name a {
    font-size: 1.6em;
    font-weight: 900;
    white-space: nowrap;
    margin: 0;
}

@media (min-width: 768px) {
    h1#site-name a {
        font-size: 2.2em;
    }
    h1#site-name {
        height: 2.4em;
    }
}

#main {
    border-top: 1px dashed grey;
    box-shadow: 0 -12px 10px -12px grey;
    padding-top: 1em;
}

@media (min-width: 768px) {
    #main {
        padding-left: 1em;
        padding-right: 1em;
    }
}

/* Navbar customization */
.navbar {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.5em;
    line-height: 1.2;
}

.navbar-light .navbar-nav .nav-link {
    color: rgba(0, 0, 0, 0.85);
    padding-top: 0;
    /* padding-bottom: 0; */
}

.navbar-light .navbar-nav .nav-link a {
    padding-top: 0;
    /* padding-bottom: 0; */
}

.navbar-light .navbar-nav .nav-link a:focus,
.navbar-light .navbar-nav .nav-link a:hover {
    color: blue;
}

.navbar-toggler {
    margin-bottom: 0.3rem;
    background: white;
}

/* Node */
.node {
    padding-bottom: 1.5em;
}
.page-title, .post-title {
    margin-bottom: 0 !important;
}

/* Metadata */
.meta {
    padding-bottom: 1em;
    font-size: 0.9em;
}
.terms {
    display: inline;
}
.links {
    display: inline;
    margin: 0;
    padding: 0;
}
.links li {
    display: inline;
    list-style-type: none;
    padding: 0 1em;
}

/* Footer */
#footer {
    padding-top: 1em;
    padding-bottom: 1em;
}

/* Filters */
.filter-hidden {
    display: none;
}

/* Hack for list items */

li ul {
    margin-bottom: 1rem;
}

/* Quotes */
blockquote { margin: 1rem 0px; }
blockquote > :last-child { margin-bottom: 0px; }
blockquote > :first-child { margin-top: 0px; }
blockquote {
    border-left: 4px solid #dfe2e5;
    padding: 0 15px;
    color: #777777;
}
blockquote blockquote {
    padding-right: 0;
}
