* {
    margin-top: .75em;
    margin-bottom: 0;
}

div {
    margin: 0;
    padding: 0;
}

body {
    max-width: 65em;
    margin: auto;
    font: 1em/1.5em sans-serif;
    padding: 0 1rem;
    padding-bottom: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25em;
    margin-top: 1em;
}

h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + * {
    margin-top: 0.25rem;
}

h1 {
    font-size: 2.5em;
    margin-top: 1em;
}

p.logo {
    position: relative;
    margin: 1rem 0;
    padding: 0;
    height: 100px;
}
@media screen { p.logo { display:none;} }

.authors {
    list-style-type: none;
    padding: 0;
    font-size: 1.5em;
    display: flex;
    flex-flow: row wrap;
    line-height: 1.25em;
    margin-top: 1em;
}

@media screen {
    .long-desc {
        display: none;
    }
}

[itemprop=author] {
    color: #b91029;
    display: inline;
    margin-top: 0;
}

[itemprop=author]+[itemprop=author]::before {
    content: ", ";
}

[itemprop=author]+[itemprop=author]:last-of-type::before {
    content: " & ";
    padding-left: .5rem;
}

.abstract {
    background-color: whitesmoke;
    padding: 1rem;
    margin-top: 2rem;
}

.abstract h2 {
    margin-top: 0;
}

.body {
    margin-top: 2em;
}

.references {
    text-indent: -2em;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.references li {
    padding-left: 2em;
}

.references li:first-child {
    margin-top: .5rem;
}

.references a[href] {
    display: block;
    margin-top: 0;
    padding-left: 2em;
}

.footer {
    padding:1rem;
    margin: 2rem 0;
}

.footer, .metadata-group {
    background: whitesmoke;
}

.metadata-group {
    margin: 2rem 0;
}

.front .metadata-group {
    display: flex;
    position: relative;
    flex-flow: row wrap;
    padding: 0;
    justify-content: space-between;
    margin: auto;
    margin-bottom: 10rem;
    font-size: .75em;
}

.front .metadata-group::after {
    content: "";
    visibility: visible;
    display: block;
    background-image: url(ppheaderimage.png), url(ppheaderimage_vertical_strip.png);
    background-repeat: no-repeat, repeat;
    background-position: center;
    background-color: black;
    position: absolute;
    top: 100%;
    transform: translate(0,1rem);
    height: 6rem;
    width: 100%;
}

@media screen and (max-width: 485px) {
    .front .metadata-group::after {
        background-image: url(ppheaderimage_narrow.png), url(ppheaderimage_vertical_strip.png);
    }
}

.front .metadata-group p {
    margin: 0;
    white-space: pre;
    margin: .25rem 1.5rem;
}


.branding p+p {
    margin-top: 0;
}

.license {
    background-image: url(https://i.creativecommons.org/l/by/4.0/88x31.png);
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: calc(88px + .5em);
}

/* quick fix for tables and history meta*/
/* need to restructure table markup */
/* need to restructure history meta markup */
.historymeta time {
  position: relative;
}
.historymeta time::after {
  content:"";
  display: block;
}

.table-wrap {
    background: whitesmoke;
    border-radius: .25em;
    padding: .5em;
    margin: 1em 0;
}

.table-wrap .label {
    font-weight: bold;
}

table {
    border:1px solid black;
    border-collapse: collapse;
    background: white;
}

th, td {
    text-align: left;
    border: 1px solid black;
    padding: .25em .5em;
}


figure, div.figure {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left:0;
    margin-right:0;
    padding: 1rem;
    border: 1px solid #ccc;
}

figure img, figure svg, div.figure img, div.figure svg {
    display:block;
    margin:auto;
}

.blockquote, blockquote {
    margin:1rem 2rem;
    border-left: 5px solid teal;
    background-color: rgba(0,128,128,0.05);
    padding-left:2rem;
    padding-bottom:1rem;
    padding-top: .5rem;
    pading-right: 3rem;
}

.blockquote p, blockquote p {
    padding-right: .5rem;
}

blockquote footer {
    font-weight:bold;
    font-size:.95em;
    margin-top:.75em;
    padding-right: .5rem;
}

