.comments {
}

.comment-box-bottom-mask {
    mask-image: linear-gradient(to bottom, black, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black, transparent);
}

.comment-box-top-mask {
    mask-image: linear-gradient(to bottom, transparent, black);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
}

.commentbox {
    border: 1px solid grey;
    background-color: #ddd;
    border-radius: 5px;
}

.cmt-controller-element {
    margin-left: 1.2em;
    position: absolute;
}

.comment-date {
    font-style: italic;
}

.card-18-rem {
    width: 18rem;
}

.coverimage {
    max-width: 100%;
    max-height: 18rem;
    width: auto !important;
    object-fit: fill;
}

.br-text-justify {
    text-align: justify;
}

#thebox {
    /*
    height: 100vh;
    overflow-y: auto;
    */
    display: block;
    width: 100%;
}

.upload-drag-over {
    border-color: green;
}

.upload-progress {
    border-color: green;
}

.br-hide {
    display: none;
}

#comments {
    position: relative;
}

#comment-controls {
    position: relative;
    /* todo this won't work on mobile */
    margin-left: -45px;
}

#page-bookmark-controls {
    position: relative;
    margin-right: -45px;
}

.pb-controller-element {
    margin-right: 1.2em;
    margin-top: 1em;
    position: absolute;
}

.positioner {
    width: 100%;
    position: absolute;
}

.reader-wrapper {
    position: relative;
}

.br-document-view {
    width: 8.5in;
    margin: 0 auto;
    padding: 1in;
    box-shadow: 0 4px 20px var(--ms-box-shadow); /* TODO these vars should exist at the betareader level too. */
    line-height: 1.6;
}

.br-comment-column {
    position: relative;
    padding-top: 1in;
}

@media screen and (max-width: 1170px) {
    .br-document-view {
        width: auto;
        padding: 0;
    }
}

/* TODO These don't work yet
.br-document-view h1 {
    break-before: always;
    padding-top: 2in;
    margin-top: -1in;
}

.br-document-view h2, .br-document-view h3 {
    break-before: avoid;
    break-after: avoid;
}*/

.comment-control-wrapper {
    position: absolute;
    top: 0;
    right: -.25in;
}

.page-bookmark-control-wrapper {
    position: absolute;
    top: 0;
    left: -.25in;
}

.highlight {
    /*background-color: palegoldenrod;*/
    /* use the apply highlight classes. This just signifies a comment in the manuscripts now */
}

.comment-info {
    font-size: 10px;
}

.author-anchor-container {
    position:relative;
}

.author-anchor {
    display: inline-block;
    position: relative;
}

.br-user-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.br-author-info {
    font-size: 16px;
    padding: 2px;
    text-align: center;
}

.flex-1 {
    flex: 1;
}

/* some converters may support page-breaks */
@media screen {
    hr.page-break {
        /* todo we might visually represent this later */
        display: none;
    }
}

@media print {
    .page-break {
        break-after: page;
    }
}

.br-doc-font-family {
    /* selector for custom fonts */
}

.br-doc-font-size {
    /* selector for custom font sizes */
}

.br-doc-heading1 {
    /* selector for document heading1 */
}

.br-doc-heading2 {
    /* selector for document heading2 */
}

.br-doc-heading3 {
    /* selector for document heading3 */
}

.br-doc-font-color {
    /* selector for custom font colors */
}

.br-doc-font-bg {
    /* selector for document custom font background */
}

.br-underline {
    text-decoration: underline;
}

.br-dbl-underline {
    text-decoration: underline double;
}

.br-strike {
    text-decoration: line-through;
}

.br-dbl-strike {
    text-decoration: line-through double;
}

.br-small-caps {
    font-variant: small-caps;
}

.br-emboss, .br-engrave {
    /* rtf styles we won't ever support LOL */
}

.br-shadow {
    /* selector for shadowed text */
}

.br-expand {
    /* selector for expanded text */
}

.br-toast {
    /* larger size for bootstrap toasts */
    --bs-toast-max-width: 900px;
}

