textarea.receipt {
    display: none;
}

.receipt, .receipt-preview {
    background-color: #fff;
    height: 650px;
    overflow: auto;
    width: 630px;
    border: 1px black dotted;
    padding: 20px 0;
    font-family: "Lucida Console", "Liberation Mono";
    text-align: left;
    word-wrap: break-word;

    display: flex;
    justify-content: center;
    overflow-y: scroll;
}

.receipt-preview img[align=center] {
    display: block;
    margin: 0 auto;
}

.receipt-preview p {
    font-size: 20px;
    white-space: pre-wrap;
    margin: 0;
}

.receipt-preview p[size="double"], .receipt-preview p[size="double"] span.line {
    font-size: 30px;
    font-weight: bold;
}

.receipt-preview p[align="left"] {
    display: flex;
    flex-direction: column;
}

.receipt-preview [align="middle"] {
   display: block;
   margin-left: auto;
   margin-right: auto;
 }

.receipt-preview span.line {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

.receipt-preview span.line span.right {
    margin-left: auto;
    max-width: 433px;
}

.receipt-preview span.line {
    overflow-wrap: "anywhere";
}

.receipt-preview span.pre {
    white-space: pre-wrap;
}

.receipt-list {
    height: 150px;
    width: 100%;
    overflow-y: scroll;
    border: 1px solid lightgray;
}

.receipt-list-item {
    cursor: pointer;
}

.receipt-list-item:hover {
    background-color: paleturquoise;
}

.receipt-list-item.selected {
    background-color: lightskyblue;
}

.list-selection label {
    display: inline;
    margin-bottom: 0;
    margin-left: 5px;
    font-size: 21px;
    font-weight: normal;
    cursor: pointer;
}

hr {
    border-top: 1px dotted #aeaeae;
    overflow: visible;
    text-align: center;
    height: 5px;
    min-width: 300px;
}

hr.cut:after {
    background: #fff;
    content: '\2702';
    padding: 0 4px;
    position: relative;
    top: -10px;
}

hr.align_print:after {
    background: #fff;
    content: '\1F5B6';
    padding: 0 4px;
    position: relative;
    top: -10px;
}
