body {
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}
#pagecontent {
    width: 1200px;
    height: 850px;
}

.pagediv {
    border:1px solid;
    text-align: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.pagediv.doublet {
    filter: brightness(0.5);
    transition: filter 1s;
}
.pagediv.doublet:hover {
    filter: unset;
}
.pagediv.doublet:after {
    content: "DOUBLET PAGE - DO NOT CLIP";
    color: red;
    font-size: xx-large;
    background: white;
    padding: 1em 10px;
    border: 3px solid red;
    border-radius: 1em;
    position: relative;
    display: inline-block;
    top: 300px;
    transition: opacity 1s;
}
.pagediv.doublet:hover:after {
    opacity: 0;
}

#doublets-button-group {
    visibility: unset;
    transition: visibility 1s 1s;
}
#doublets-button-group.hidden {
    visibility: hidden;
}

.pagediv.blank {
    filter: brightness(0.5);
    transition: filter 1s;
}
.pagediv.blank:hover {
    filter: unset;
}
.pagediv.blank:after {
    // content: "BLANK PAGE \A nothing to clip";
    // white-space: pre-wrap;
    // text-align: center;
    content: "BLANK PAGE - nothing to clip";
    color: red;
    font-size: xx-large;
    background: white;
    padding: 1em 10px;
    border: 3px solid lightblue;
    border-radius: 1em;
    position: relative;
    display: inline-block;
    top: 300px;
    transition: opacity 1s;
}
.pagediv.blank:hover:after {
    opacity: 0;
}

#evenpage {
    width: 600px;
    height: 850px;
    background-position: right top;
}
#oddpage {
    position: relative;
    top: -852px;
    left: 600px;
    width: 600px;
    height: 850px;
}

.sidebar {
    text-align: right;
    width: 400px;
    position: fixed;
    z-index: 100;
    top: 0;
    right: 0;
    background-color: lightgray;
    padding: 10px;
    border-bottom-left-radius: 10px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}
.tips {
    text-align: left;
    width: 400px;
    position: fixed;
    z-index: 100;
    bottom: 0;
    right: 0;
    background-color: darkseagreen;
    padding: 10px;
    border-top-left-radius: 10px;
}
/*.edit-menu {*/
/*    text-align: left;*/
/*    width: 150px;*/
/*    position: fixed;*/
/*    top: 0;*/
/*    z-index: 3;*/
/*    right: 35px;*/
/*    background-color: lightgray;*/
/*    padding: 10px;*/
/*    border-bottom-left-radius: 10px;*/
/*    border-bottom-right-radius: 10px;*/
/*}*/

.open-close-top-left {
    text-align: left;
    float: left;
    background-color: gray;
    border-radius : 5px;
    padding: 2px;
}
.open-close-right_open {
    right: 0;
}
.open-close-right_close {
    right: -385px;
}
.open-close-transform {
    transition: all 0.5s ease;
}
.open-close-top-right {
    text-align: right;
    float: right;
    background-color: gray;
    border-radius : 5px;
    padding: 2px;
}
.open-close-left_open {
    left: 0;
}
.open-close-left_close {
    left: -385px;
}

#pageselect_container {
    position: relative;
    top: -850px;
    text-align: center;
}

#input, #fileupload {
    width: 100%;
}

#log {
    width: 100%;
    height: 200px;
}

.pagemessage {
    padding: 5px;
}

.lightbox-wrapper {
    position: absolute;
    width: 100vw;
    left: 0;
    top: 0;
    background-color: gray;
    display: none;
    z-index: 2;
}

.lightbox {
    width: 70%;
    height: 70%;
    background-color: lightgray;
    margin-left: auto;
    margin-right: auto;
    padding: 50px;
}
.lightbox-header {
    text-align: center;
    position: absolute;
    top: -10px;
}

.lightbox code {
    white-space: pre-wrap;
}

#artpreview {
    padding: 10px;
    background-color: white;
    border: 2px solid;
    opacity: 1;
    overflow: visible;
}

#articlexml {
    width: 99%;
    height: 500px;
    border: 2px solid;
}

.article-boxout {
    background-color: lightgray;
    border: 1px dotted black;
    padding: 10px;
}
.recipe {
    background-color: lightgreen;
    border: 1px dotted green;
    padding: 10px;
}
.article-full-ingredients-list {
    background-color: orange;
    border: 1px dotted darkorange;
    padding: 10px;
}
#artpreview *::before {
    position: fixed;
    color: black;
    text-indent: 0;
    width: 2em;
    padding-left: 0;
    background-color: lightblue;
    translate: -50px;
    border: 1px solid darkblue;
    border-radius: 15px;
    text-align: center;
    font-size: 14px;
}

#artpreview .article-boxout *::before, #artpreview .recipe *::before  {
    translate: -60px !important;
}

.article-full-ingredients::before {
    content: "ILI";
}

.article-full-step-list {
    background-color: greenyellow;
    border: 1px dotted seagreen;
    padding: 10px;
}
.article-full-step::before {
    content: "SLI";
}

.article-full-tips::before {
    content: "TI";
}


.article-in-image {
    background-color: antiquewhite;
}

.ds-selected {
    outline: 3px solid black;
    outline-offset: 3px;
    color: black;
    font-weight: bold;
}

.art-selected {
    outline: 1px solid gray;
    outline-offset: 1px;
    background-color: rgba(62,152,255,0.6)
}

/*.but-backdrop {*/
/*    padding: 5px;*/
/*    border-radius: 3px;*/
/*    border: 1px solid gray;*/
/*    margin: 2px;*/
/*    user-select: none;*/
/*}*/
.active {
    background-color: lawngreen;
}
button[disabled] {
    color: #666;
}
.edit-menu {
    color: black;
}

.edit-menu {
    position: sticky;
    top: 0;
    overflow-y: auto;
    height: 80vh;
}


.uk-modal-dialog {
    background-color: #999999 !important;
    border: 2px solid black;
}

.uk-sort-handle {
    cursor: move;
}

.page-meta {
    color: black;
    text-align: left;
}
.article-list-item {
}
.del-art-button {
    float: right;
    cursor: pointer;
}
.nodisplay {
    display: none;
}

.errors {
    color: darkred;
    font-weight: bold;
    font-size: 0.7rem;
}
.warnings {
    color: slateblue;
    font-weight: bold;
    font-size: 0.7rem;
}

.article-standfirst::before {
    content: "O";
}


.article-full-headline::before {
    content: "H";
}


.article-full-subhead::before {
    content: "S";
}

.article-full-lead::before {
    content: "L";
}

.article-full-byline::before {
    content: "B";
}

.article-full-body::before {
    content: "P";
    translate: -80px !important;
}

.article-subhead::before {
    content: "s";
}

.article-subsubhead::before {
    content: "ss";
}

.article-byline::before {
    content: "b";
}

.articleImageCaption::before {
    content: "CA";
    font-size: 10px !important;
}

.articleImageCredit::before {
    content: "CR";
    font-size: 10px !important;
}

.article-pullquote::before {
    content: "PQ";
}

.article-pull-quote::before {
    content: "PQ";
}

.article-pull-quote-credit::before {
    content: "PQC";
}

.article-callout::before {
    content: "CO";
}

.article-block-quote::before {
    content: "BQ";
    translate: -75px !important;
}

thead tr th {
    border: 2px solid black;
}
thead::before {
    content: "TH";
}

tbody tr td {
    border: 1px dotted black;
}
tbody::before {
    content: "TB";
}

tfoot tr td{
    border: 1px solid gray;
}
tfoot::before {
    content: "TF";
}


.annotation {
    text-decoration: underline;
    border: 1px dotted #1e87f0;
}

.icd {
    /*text-decoration: underline;*/
    border: 1px dotted #ff0000;
}

a.annotation>div.article-in-image {
    border: 3px dotted #1e87f0;
}
