.content {
    margin-left: 15px;
    margin-right: 15px;
    min-height: 80%;
    display: flex;
    flex-direction: column;
}

.counts {
    padding-right: 20px;
}

.count {
    font-weight: bold;
}

.post {
    margin: 13px 17px 13px 17px;
    padding: 10px;
    background-color: #ddddee;
    display: flex;
    min-width: 400px;
    width: fit-content;
}

.orig {
    margin: 0px 5px 5px 5px;
    background-color: #f7efef;
    border: none;
    display: flex;
    flex-direction: column;
    min-width: 80%;
}

.orig-info-line {
    padding-bottom: 10px;
}

.post-image-frame {
    max-width: 150px;
    padding: 5px 20px 5px 5px;
    float: left;
    display: block;
    position: relative;
    z-index: 2;
}

.orig-post-image-frame {
    width: 200px;
    max-width: 200px;
    flex-grow: 0;
    flex-shrink: 0;
}

.post-image {
    max-width: 100%;
    box-shadow: 3px 3px rgba(0.3,0.3,0.3,0.3);
}

.post-text {
    flex: 1;
    display: block;
    word-wrap: break-word;
    word-break: break-word;
}

.info-line {
    padding-left: 3px;
    padding-right: 5px;
    padding-bottom: 5px;
    display: inline;
    font-family: "Noto Serif", "Palatino Linotype", "serif";
    font-size: 1.25rem;
}

.fwd-links {
    font-size: 1rem;
    padding-left: 3px;
}

.fwd-links:empty {
    padding: 0px;
}

.fwd-links > a {
    padding-left: 4px;
}

.post-is-archived {
    font-weight: bold;
    color: #900000;
}

.post-title {
    font-weight: bold;
    color: black;
}

.post-nick {
    display: inline-block;
    font-weight: bold;
    color: rgb(30, 70, 30);
}

.post-feather {
    font-weight: bold;
    color: rgb(180, 30, 30);
}

.post-time {
    display: inline-block;
    font-style: italic;
}

.post-num {
    display: inline-block;
}

.post-body {
    padding-left: 5px;
    padding-top: 8px;
    margin-top: 0px;
    margin-right: 7px;
    margin-bottom: 2px;
    float: none;
    white-space: pre-line;
    max-width: 1234px;
    font-size: 1.15rem;
    line-height: 125%;
    position: relative;
}

.reply-form {
    display: flex;
    padding-left: 25px;
}

.reply-form h4 {
    margin-top: 20px;
    margin-bottom: 20px;
    font-family: "Noto Serif", "Palatino Linotype", "serif"
}

.field-label {
    width: 100px;
    font-weight: normal;
}

.form-field {
    padding: 3px;
}

.form-submit {
    padding-top: 20px;
    padding-bottom: 17px;
}

.coda {
    white-space: pre-line;
    width: 100%;
    text-align: center;
}

.bard {
    font-style: italic;
}

.floating-preview {
    z-index: 9;
    padding: 15px;
    width: max-content;
    max-width: min(1000px, 60vw);

    background-color: #EDCFCF;

    position: absolute;
    margin-top: 5px;
    margin-left: 5px;
    display: inline-block;

    font-size: 1.15rem;
    line-height: 125%;

    white-space: pre-line;
    word-wrap: break-word;
}

.centred-preview {
    min-width: 400px;
    margin-top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

/* Only offer post previews on PCs */

@media (hover: hover) and (pointer: fine) {
    .link-with-preview:not(:hover) .floating-preview {
      display: none;
    }

    .link-with-preview:hover .preview-link {
        color: darkred;
    }

    .link-with-preview :visited :hover .preview-link {
        color: darkred;
    }
}

@media (hover: none) or (not (pointer: fine)) {
    .floating-preview {
        display: none;
    }
}
