
:root {
    --modal-content-bg: #f6f7fb;
    --panel-border-width: 1px;
    --panel-info-bg: #f9fafb;
    /*--panel-info-bg: #f7f2f7;*/
    /*--panel-info-text: #443e51;*/
    --panel-info-text: #444;
    --panel-info-border: #dcdcdc;
    --navbar-link-color: #ffffff;
    --navbar-link-active-bg: #ffffff;
    --navbar-bg: #f6f7fb;
    --navbar-inverse-link-active-bg: #e5e9eb;
    --dropdown-border: #888;
    --dropdown-box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

body[data-navbar="side"] .list-sticky-bar {
    --top-bar-height: 0;
}

[href="#About"] {
    display: none !important;
}
.nav [data-item="lastViewed"] {
    display: none !important;
}
.nav [data-item="notificationBadge"] {
    display: none !important;
}

body {
    background: #f6f7fb;
}
html.modal-open,
body.modal-open {
    overflow: hidden;
}


body[data-id="espocrm"]:has(#login),
body[data-id="espocrm"] .navbar-right {
    /* 245b8c */
    background: #f6f7fb !important;
    --navbar-link-active-bg: #f6f7fb;
    --navbar-link-color: #777;
    --navbar-link-hover-color: #333;
}

/* Australia */
body[data-id="6a839cb4eadc5d6e9"]:has(#login),
body[data-id="6a839cb4eadc5d6e9"] .navbar-right {
    /*background: linear-gradient(90deg, #004d00 0%, #ffd700 100%);*/
    background: #004d00 !important;
    --navbar-link-hover-color: #769a6c;
}
/* Singapore */
body[data-id="6a839d4a77c85aa5d"]:has(#login),
body[data-id="6a839d4a77c85aa5d"] .navbar-right {
    background: linear-gradient(135deg, #df151a 0%, #ff4d4d 40%, #ffffff 100%);
}

.dialog-record.modal .modal-dialog {
    width: 90% !important;
}

.navbar-inverse {
    background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}
body[data-navbar="side"] .stick-sub {
    margin-top: 0;
    /*z-index: 1031;*/
}
body[data-navbar="side"] .navbar-right.has-sticked-bar {
    display: none !important;
}

.navbar-left-container ul.navbar-nav.tabs {
    display: flex;
    flex-flow: column nowrap;
}
.navbar-left-container ul.navbar-nav.tabs li.not-in-more:nth-last-child(2) {
    margin-top: auto;
}

.record .record-grid {
    max-width: 100%;
}

body:has(.signup-page) {
    background: #e1e9ed;
}
/*.signup-page {
    background: linear-gradient(0deg,rgba(45, 102, 62, 1) 25%, rgba(255, 255, 255, 1) 100%);
}*/
.signup-page h1 {
    margin: 0;
    margin-bottom: 5px;
}
.signup-page .page-heading {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.signup-page .page-heading .panel-body {
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.signup-page .checkbox label {
    padding-left: 34px;
}
.signup-page h3 + p {
    margin-top: -6px;
    margin-bottom: 17px;
}

.global-search-container {
    display: none !important;
}

.panel.page-heading {
    border-width: 0;
}

.panel-info > .panel-heading {
    border-bottom: 1px solid var(--panel-info-border) !important;
    background-image: linear-gradient( 174.2deg,  rgba(255,244,228,1) 7.1%, rgba(240,246,238,1) 67.4% );
}
.panel-info.headered {
    margin-top: 15px;
    border-width: var(--panel-border-width) !important;
    border-radius: var(--panel-border-radius) !important;
}
.panel-info.headered >.panel-heading {
    border-top-left-radius: var(--panel-border-radius) !important;
    border-top-right-radius: var(--panel-border-radius) !important;
}
/*.panel-info.headered >.panel-body {
    border-left: 1px solid var(--panel-info-border);
    border-right: 1px solid var(--panel-info-border);
    border-bottom: 1px solid var(--panel-info-border);
}*/

footer > .credit {
    display: none !important;
}

.popover {
    max-width: 600px;
}

.datepicker-date-highlight-green {
    background: #afa;
}
.datepicker-date-highlight-green:hover {
    background: #8f8 !important;
    color: var(--text-color) !important;
}

.batch-field-ordersready-ready {
    color: #080;
}

.batch-over-capacity {
    font-weight: bold;
    color: #d90;
}

.notice-not-submitted {
    position: relative;
    top: -5px;
    background: #ffffcc;
    padding: 4px;
    text-align: center;
    color: var(--text-color);
}

div.form-group[data-name="returnDate"] .return-date-notice-list >div {
    margin-top: 8px;
}
div.form-group[data-name="pastJobNumber"] .field-past-job-number-note,
div.form-group[data-name="returnDate"] .default-notice {
    display: block;
    color: var(--text-color);
    line-height: 1.2em;
    font-size: 12px;
    margin-top: 4px !important;
}
div.form-group[data-name="returnDate"] .items-sent-to-lab-notice {
    display: none;
    color: #c80;
    line-height: 1.2em;
    font-size: 12px;
}

div.form-group[data-name="prescriptionVersionsView"] .insole-paper-copy-notice {
    color: #c80;
    line-height: 1.2em;
    font-size: 12px;
}

.s3m-file-list {
    display: inline-block;
    max-width: 100%;
    overflow: auto;
    margin: 0 !important;
    padding-left: 1rem;
}
.s3m-file-list li {
    line-height: 21px;
}
.s3m-file-list li >div {
    display: inline;
    padding: 2px;
}
.s3m-file-list li >div:has(span button:hover) {
    background: #ffcccc;
}
.s3m-file-list li span {
    margin-left: 10px;
    opacity: 0.25;
}
.s3m-file-list li >div span:hover {
    opacity: 1;
}
.s3m-file-list li span button {
    margin: 0 !important;
    padding: 0;
    line-height: 14px;
    position: relative;
    top: -1px;
}
.s3m-save-notice {
    display: none;
    font-size: 12px;
    color: #836a40;
}

.btn-small {
    font-size: 12px;
    height: auto;
    padding: 4px 8px;
}

.s3m-input-group {
    display: flex;
    flex-flow: column nowrap;
    max-width: 300px;
    margin-top: 10px;
}

.s3m-status {
    margin-bottom: 6px;
}
.s3m-status.info {
    color: #008;
}
.s3m-status.success {
    color: #080;
}
.s3m-status.error {
    color: #800;
}

.s3m-input-group input {
    background: #fafafa;
    padding: 4px;
    border: 1px solid #cccccc;
    max-width: 100%;
    margin-bottom: 3px;
}
.s3m-input-group button {
    margin-left: auto;
}

[data-scope="CPatient"] div.field[data-name="identifier"]:has(input) {
    position: relative;
    margin-bottom: 30px;
}
[data-scope="CPatient"] div.field[data-name="identifier"]:has(input):before {
    content: "";
    display: block;
    border-bottom: 1px solid #aaa;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    transform: translateY(20px);
    margin: 0 30px;
}
[data-scope="CPatient"] div.field[data-name="identifier"]:has(input):after {
    content: "OR";
    display: block;
    position: absolute;
    background: #fff;
    text-align: center;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 8px);
    padding: 0 20px;
    font-weight: 600;
    color: #777;
    letter-spacing: 1px;
}

.navbar-logo-container {
    flex-flow: column wrap;
}
.navbar-logo-container:after {
    content: "";
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1px;
    color: #333;
}
body[data-id="espocrm"] .navbar-logo-container:after {
    content: "Office";
}
body[data-id="6a839cb4eadc5d6e9"] .navbar-logo-container:after {
    content: "Australia";
}
body[data-id="6a839d4a77c85aa5d"] .navbar-logo-container:after {
    content: "Singapore";
}

#login .panel-heading {
    padding-top: 15px !important;
}
#login .logo-container {
    margin: 0 auto;
}
#login .panel-heading:after {
    content: "";
    display: block;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    letter-spacing: 1px;
    color: #333;
}
body[data-id="6a839cb4eadc5d6e9"] #login .panel-heading:after {
    content: "Australia";
}
body[data-id="6a839d4a77c85aa5d"] #login .panel-heading:after {
    content: "Singapore";
}

.navbar-left-container .nav.tabs {
    padding-top: 20px;
}
.navbar-left-container .nav.tabs >li:first-child {
    display: none;
}
body[data-id="espocrm"] .navbar-left-container .nav.tabs >li:first-child {
    display: block;
}

.order-buttons-action-group {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.stick-sub .order-buttons-action-group {
    padding: 0 15px;
}
.order-buttons-action-group button[data-action="previous"] {
    display: none;
}
.order-buttons-action-group button[data-action="next"] {
    display: none;
}
.order-buttons-action-left,
.order-buttons-action-right {
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}
button[data-action="submitOrder"],
button[data-action="deleteOrder"],
button[data-action="duplicateOrder"],
button[data-action="revertOrder"],
button[data-action="jobSheet"] {
    display: none;
}
a[data-action="ordermanage-view-records"],
a[data-action="ordermanage-batching"] {
    margin-left: 5px !important;
    border-radius: 0 !important;
}

/*.header-buttons.btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) {
    border-radius: var(--border-radius);
}
.header-buttons.btn-group > .btn:last-child:not(:first-child) {
    border-radius: var(--border-radius);
}*/
/*.header-buttons.pull-right > button {
    margin-left: 4px !important;
}*/

.prescription-form-container {
    min-height: 20px;
    /*background: #fff;*/
    position: relative;
    z-index: 1;
    /*box-shadow: 0 0 2px #718190;*/
}
/*div >div >.prescription-form-container {
    margin-top: -22px;
}*/
.prescription-form-container .errors-display {
    display: none;
    background: #fee;
    border: 1px solid #faa;
    padding: 10px 12px;
    margin-bottom: 15px;
}
.prescription-form-container .btn {
    margin-right: 4px;
}
.prescription-form-container .btn.haserror {
    background: #fcc;
}
.prescription-form-container .form-group.haserror {
    background: #fee;
    outline: 3px dashed #f88;
    outline-offset: 4px;
    padding-bottom: 4px;
}
.prescription-form-container .btn.highlight {
    background: #fea;
}
.prescription-form-container .form-group.highlight {
    background: #fea;
    outline: 3px dashed #fc0;
    outline-offset: 4px;
    padding-bottom: 4px;
}
.prescription-form-container >.tabs {
    margin: 0;
}
.prescription-form-container select {
    height: 36px;
}
.prescription-form-container label.control-label {
    display: block;
}
.prescription-form-container .label-text {
    color: #444;
}
.prescription-form-container .label-aliases {
    position: relative;
    display: block;
    height: 18px;
}
.prescription-form-container .label-aliases >div {
    display: block;
    font-size: 12px;
    color: var(--text-muted-color);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.prescription-form-container .label-aliases >div.textover {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prescription-form-container .label-aliases >div.textover:hover {
    height: auto;
    overflow: visible;
    white-space: wrap;
    box-shadow: 3px 3px 2px 0 rgba(0,0,0,0.25);
    padding: 4px;
    top: -4px;
    left: -4px;
    right: -4px;
    background: #ffc;
    outline: 1px solid #cc9;
}
.prescription-form-container .label-more-info {
    display: none;
}
.prescription-form-container .label-pill-container {
    display: inline;
}
.prescription-form-container .label-pill {
    display: inline-block;
    font-size: 12px;
    color: #444;
    border: 1px solid #888;
    border-radius: 4px;
    background: #ddd;
    padding: 0 4px;
    margin-right: 2px;
}
.prescription-form-container .label-pill--recommended {
    color: #ffffff;
    border-color: #198754;
    background: #198754;
}
.prescription-form-container .label-pill--prefilled {
    color: #ffffff;
    border-color: #0d6efd;
    background: #0d6efd;
}

.prescription-display-options {
    /*position: absolute;
    bottom: 100%;
    right: 0;
    transform: translateY(-23px);*/
    font-size: 12px;
    margin-bottom: 10px;
}

.prescription-display {
    font-size: 12px;
}
.prescription-display >ul {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}
.prescription-display >ul >li >div {
    font-size: var(--panel-heading-font-size);
    line-height: 1.4;
    padding: var(--6px) var(--10px);
    padding-top: calc((var(--panel-heading-height) - var(--panel-heading-font-size) * 1.4) / 2);
    padding-bottom: calc((var(--panel-heading-height) - var(--panel-heading-font-size) * 1.4) / 2);
    display: flex;
    white-space: nowrap;
    overflow: hidden;
    font-weight: 500;
    color: var(--panel-info-text);
    background-color: var(--panel-info-bg);
    min-height: var(--panel-heading-height);
    border-top: 1px solid var(--panel-info-border);
    border-bottom: 1px solid var(--panel-info-border);
}
.prescription-display >ul >li >ul {
    list-style: none;
    padding-top: 5px;
    padding-left: 10px;
}
.prescription-display >ul >li >ul >li {
    padding-bottom: 10px;
}
div >div >.prescription-display >ul >li {
    margin-bottom: 15px;
    border: 1px solid var(--panel-info-border);
    border-top: none;
}
div >div >.prescription-display.compact >ul {
    display: flex;
    flex-flow: row wrap;
}
div >div >.prescription-display.compact >ul >li {
    margin-right: 15px;
}
div >div >.prescription-display.compact >ul >li >ul {
    list-style: none;
    padding-top: 4px;
    padding-left: 4px;
    /*background: #edf1f3;*/
}
div >div >.prescription-display.compact >ul >li >ul >li {
    display: inline-flex;
    flex-flow: column wrap;
    margin-bottom: 4px;
    margin-right: 4px;
    padding: 2px 4px;
    border-radius: 4px;
    /*background: rgba(240,246,238,1);*/
    background: #e5e9eb;
}
div >div >.prescription-display.compact >ul >li >ul >li.value-no {
    background: #f1f1f1;
    opacity: 0.25;
}
div >div >.prescription-display.compact >ul >li >ul >li >ul {
    padding-left: 15px;
}



.control-label[data-name="prescriptionVersionsView"],
.control-label[data-name="recommendedRxOptions"],
.control-label[data-name="prefilledRxOptions"] {
    display: none;
}

.scriptverview__editmode {
    display: none;
    margin-bottom: 20px;
}
.scriptverview__edit-actions {
    margin-top: 6px;
    display: flex;
    flex-flow: row nowrap;
    gap: 30px;
}
.scriptverview__action-button-group {
    flex: 1;
}
.scriptverview__action-button-group .scriptverview__action-desc {
    line-height: 1.2em;
    font-size: 12px;
}

.scriptverview__state-loading {

}
.scriptverview__state-ready {
    display: none;
}

.scriptverview__label {
    /*font-weight: bold;*/
    margin: 0;
    margin-top: 20px;
}
.scriptverview__label:first-child {
    margin-top: 0;
}

/*.scriptverview-container .script-entry {
    display: flex;
    flex-flow: row nowrap;
}*/
.scriptverview__versions-list th {
    color: var(--text-muted-color);
    font-weight: 400;
    text-align: left;
    padding: 0;
    padding-top: 20px;
}
.scriptverview__versions-list tr:first-child th {
    padding-top: 0;
}
.scriptverview__versions-list td {
    padding-top: 8px;
    padding-bottom: 8px;
    vertical-align: top;
    color: #444;
    line-height: 1.3em;
}
.scriptverview__versions-list td:first-child {
    padding-left: 0;
}
.scriptverview__versions-list td:last-child {
    padding-right: 0;
}
.scriptverview__versions-list button.link {
    display: inline-block;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    outline: none;
    color: var(--link-color);
    text-align: left;
}
.scriptverview__versions-list button.link:hover {
    color: var(--link-hover-color);
}
.scriptverview__versions-list button.btn {
    margin-left: 10px;
}
.scriptverview__versions-list .script-date {
    text-align: right;
}

.scriptverview-container .s3m-input-group {
    margin: 0;
}

.modal-job-sheet {
    margin: -14px;
    padding: 14px;
    background: #fff;
}
.jobsheet__main th {
    white-space: nowrap;
    text-align: right;
    vertical-align: top;
    padding: 4px;
}
.jobsheet__main td {
    text-align: left;
    vertical-align: top;
    padding: 4px;
}

.order-submit-confirm-summary p {
    text-align: left;
}
.order-submit-confirm-summary table {
    width: auto;
}
.order-submit-confirm-summary th {
    font-weight: bold;
    text-align: right;
}
.order-submit-confirm-summary td {
    font-weight: normal;
    text-align: left;
}
.order-submit-confirm-summary td.value-yes {
    font-weight: bold;
}

.pl-priority {
    background: #f2f2f2;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pl-priority[data-priority="1"] {
    background: #FFCDD2;
}
.pl-priority[data-priority="2"] {
    background: #FFE0B2;
}
.pl-priority[data-priority="3"] {
    background: #CFD8DC;
}

table tr.status-pending-clinic-review {
    background: #fcc;
}

table tr.autoflagged {
    background: #ffc;
}
table tr.autoflagged td:nth-child(2) {
    background: #ffc;
}
table tr.manualflagged {
    background: #ffc;
}
table tr.manualflagged td:nth-child(2) {
    background: #ffc;
}

table .eventtags-container {
    display: inline-block;
    cursor: pointer;
}
table .eventtags-container span {
    color: #ccc;
}
table .eventtags-container span.active {
    color: var(--text-color);
}
.eventtags-container p {
    margin: 0;
    margin-bottom: var(--line-height-computed-half);
}
.eventtags-container ul {
    margin: 0;
    margin-top: -7px;
    margin-bottom: var(--line-height-computed-half);
}
.eventtags-container :last-child {
    margin-bottom: 0;
}

label[data-name="OrderActions"] {
    display: none;
}
.order-actions {
    padding-top: 24px;
}
.order-actions button {
    display: inline-block;
    margin-right: 5px;
}

.field[data-name="jobId"] .none-value {
    display: block;
    font-size: 0;
}
.field[data-name="jobId"] .none-value::after {
    font-size: 14px;
    display: block;
    content: "Not yet assigned";
}

.field[data-name="itemsSentToLab"] > * {
    display: none;
}

.field[data-name="labNotes"] .html-container {
    max-height: 300px;
    overflow: auto;
    scrollbar-width: auto;
    scrollbar-color: #004d00 #aaaaaa;
}

.panel-pending-clinic-review-highlight {
    outline: 4px dashed #fc0 !important;
    outline-offset: 4px !important;
}

.modal-prescription-form-v2-wrapper {
    display: flex;
    flex-flow: row nowrap;
    position: fixed;
    z-index: 1050;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    padding: 0;
    padding-top: 40px;
    justify-content: safe center;
    align-items: flex-start;
}
.modal-prescription-form-v2-wrapper.sidebyside::before {
    display: block;
    content: "";
    background: #333;
    position: fixed;
    z-index: 20;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    margin-left: -1px;
    /*cursor: col-resize;*/
    user-select: none;
}
.modal-prescription-form-v2-backdrop {
    display: block;
    position: fixed;
    z-index: 1;
    background: rgba(0,0,0,0.5);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.modal-prescription-form-v2-outer {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 20px;
    padding-bottom: 60px;
}
.modal-prescription-form-v2-outer.secondary-form {
    display: none;
}
.sidebyside .modal-prescription-form-v2-outer.secondary-form {
    display: block;
    width: 50%;
    flex-shrink: 0;
}
.sidebyside .modal-prescription-form-v2-outer.primary-form {
    width: auto;
    flex: 1;
}
.modal-prescription-form-v2-container {
    display: block;
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 800px;
    min-width: 800px;
    padding: 10px;
    transform-origin: center top;
    scale: 1;
    margin: 0 auto;
}
.modal-prescription-form-v2-container.oversize {
    transform-origin: left top;
    margin: 0;
}
.modal-prescription-form-v2-container >.loading-text {
    font-weight: bold;
    text-align: center;
    padding: 20px;
}
.modal-prescription-form-v2-toolbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}
.modal-prescription-form-v2-toolbar.secondary-form {
    display: none;
}
.sidebyside .modal-prescription-form-v2-toolbar.secondary-form {
    display: flex;
    right: 50%;
}
.sidebyside .modal-prescription-form-v2-toolbar.primary-form {
    left: 50%;
}
.modal-prescription-form-v2-toolbar-inner {
    position: relative;
    width: 840px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.modal-prescription-form-v2-toolbar button {
    user-select: none;
    padding: 6px 12px;
    background: #555;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    line-height: 12px;
}
.modal-prescription-form-v2-toolbar button:hover {
    background: #777;
}
.modal-prescription-form-v2-toolbar button.button-save {
    background: #592;
    position: absolute;
    right: 87px;
}
.modal-prescription-form-v2-toolbar button.button-save:hover {
    background: #7b4;
}
.modal-prescription-form-v2-toolbar button.button-close {
    position: absolute;
    right: 20px;
}
.modal-prescription-form-v2-toolbar button.button-oldref {
    position: absolute;
    left: 20px;
    background: #B44;
}
.modal-prescription-form-v2-toolbar button.button-oldref:hover {
    background: #D66;
}

.prescription-form2 {
    min-height: 20px;
    position: relative;
    z-index: 1;
}
.prescription-form2 .form-group {
    margin-bottom: 5px;
}
.prescription-form2 .errors-display {
    display: none;
    background: #fee;
    border: 1px solid #faa;
    padding: 10px 12px;
    margin-bottom: 8px;
}
.prescription-form2 .highlight {
    background: #fea !important;
    outline: 3px dashed #fc0 !important;
    outline-offset: 2px !important;
    /*padding-bottom: 4px;*/
}
.prescription-form2 .haserror {
    background: #fee !important;
    outline: 3px dashed #f88 !important;
    outline-offset: 2px !important;
    /*padding-bottom: 4px;*/
}
.prescription-form2 .show-disabled {
    pointer-events: none !important;
    opacity: 0.25 !important;
}
.prescription-form2 select {
    height: 36px;
}

.modal-prescription-form-v2-tooltips {
    display: block;
    position: absolute;
    z-index: 3;
    top: 50px;
    right: 10px;
    max-width: 100%;
}
.prescription-form2-tooltip-card {
    /*display: none;*/
    display: block;
    opacity: 0;
    z-index: 2;
    /*position: absolute;
    z-index: 200;
    top: 0;
    left: 0;*/
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 100%;
    min-width: 200px;
    /*max-width: calc(100vw - 30px);*/
    box-shadow: 0 0 6px rgba(0,0,0,0.75);
    /*transition: opacity 0.25s cubic-bezier(.77,0,.18,1);*/
    transition: opacity 0.25s cubic-bezier(.65,.05,.36,1);
    pointer-events: none;
}
.prescription-form2-tooltip-card.active {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}
.prescription-form2-tooltip-card .card-inner {
    position: relative;
    z-index: 2;
    background: #fafafa;
    border-radius: 4px;
    padding: 5px;
    /*border: 1px solid #888;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);*/
    font-size: 9pt;
}
/*.prescription-form2-tooltip-card .card-arrow {
    position: absolute;
    z-index: 1;
    background: #fafafa;
    box-shadow: 0 0 6px rgba(0,0,0,0.75);
    width: 16px;
    height: 16px;
    transform: rotate(45deg);
}*/
.prescription-form2-tooltip-card .card-group {
    color: #aaa;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.prescription-form2-tooltip-card .card-label {
    color: #00843d;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
}
.prescription-form2-tooltip-card .card-aliases {
    font-size: 14px;
    font-style: italic;
    margin-top: 2px;
    margin-bottom: 6px;
}
.prescription-form2-tooltip-card .card-info {
    font-size: 12px;
    line-height: 1.5em;
    margin-bottom: 2px;
}
.prescription-form2-tooltip-card .card-info :last-child {
    margin-bottom: 0;
}
.prescription-form2-tooltip-card .card-profile-notice {
    display: none;
    min-width: 150px;
    background: #eef;
    border-left: 4px solid var(--card-profile-color);
    padding: 4px 6px;
    border-radius: 4px;
    margin: 0;
    margin-bottom: 10px;
}
.prescription-form2-tooltip-card .card-profile-notice.active {
    display: inline-block;
}
.prescription-form2-tooltip-card .card-profile-title {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2em;
    letter-spacing: 0.4px;
    color: var(--card-profile-color);
    margin-bottom: 4px;
}
.prescription-form2-tooltip-card .card-profile-text {
    font-size: 12px;
    line-height: 1.2em;
    margin-bottom: 3px;
}
.prescription-form2-tooltip-card .card-profile-recommended {
    --card-profile-color: #ff04cc;
}
.prescription-form2-tooltip-card .card-profile-prefilled {
    --card-profile-color: #ff8800;
}
/*.prescription-form2 label.control-label {
    display: block;
}
.prescription-form2 .label-text {
    color: #444;
}
.prescription-form2 .label-aliases {
    position: relative;
    display: block;
    height: 18px;
}
.prescription-form2 .label-aliases >div {
    display: block;
    font-size: 12px;
    color: var(--text-muted-color);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.prescription-form2 .label-aliases >div.textover {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prescription-form2 .label-aliases >div.textover:hover {
    height: auto;
    overflow: visible;
    white-space: wrap;
    box-shadow: 3px 3px 2px 0 rgba(0,0,0,0.25);
    padding: 4px;
    top: -4px;
    left: -4px;
    right: -4px;
    background: #ffc;
    outline: 1px solid #cc9;
}
.prescription-form2 .label-more-info {
    display: none;
}*/
.prescription-form2 .label-pill-container {
    display: flex;
    position: absolute;
    z-index: 4;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: -4px;
}
.prescription-form2 .label-pill-container[data-name="Order_Comments"] {
    margin-left: 124px;
}

/*.prescription-form2 .label-pill {
    display: inline-block;
    font-size: 12px;
    color: #444;
    border: 1px solid #888;
    border-radius: 4px;
    background: #ddd;
    padding: 0 4px;
    margin-right: 2px;
}*/
.prescription-form2 .label-pill {
    display: inline-block;
    background: #ddd;
    width: 100%;
    height: 3px;
}
.prescription-form2 .label-pill span {
    display: none;
}
.prescription-form2 .label-pill--recommended {
    background: #ff04cc;
}
.prescription-form2 .label-pill--prefilled {
    /*background: #0d6efd;*/
    background: #ff9900;
}
/*.prescription-form2 .label-pill--recommended {
    color: #ffffff;
    border-color: #198754;
    background: #198754;
}
.prescription-form2 .label-pill--prefilled {
    color: #ffffff;
    border-color: #0d6efd;
    background: #0d6efd;
}*/

.prescription-form2 td.label {
    display: table-cell;
    vertical-align: inherit;
    position: static;
    font-weight: normal;
}
.prescription-form2 td.field {
    position: relative;
}
.prescription-form2 .pdf-field {
    position: relative;
    font-size: 9pt;
}
.prescription-form2 .pdf-field {
    background: #eef;
    padding: 0;
    margin: 2px 0;
}
.prescription-form2 .pdf-field:focus-visible {
    outline: none;
    outline: 1px solid rgba(94, 158, 214, 0.8);
    outline-offset: 2px;
    box-shadow: 0 0 4px 3px rgba(94, 158, 214, 0.6);
}
.prescription-form2 .pdf-field[data-type="checkbox"],
.prescription-form2 .pdf-field[data-type="radio"] {
    /*width: 6mm;
    height: 6mm;*/
    width: 22px;
    height: 22px;
    border: 1px solid #00843d;
    appearance: none;
    -webkit-appearance: none;
}
/*.prescription-form2 .pdf-field[data-type="checkbox"]:checked {
    background-color: #4f46e5;
    border-color: #4f46e5;
}*/
.prescription-form2 .pdf-field[data-type="checkbox"]::before,
.prescription-form2 .pdf-field[data-type="radio"]::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #00843d;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.1s ease-in-out;
}
.prescription-form2 .pdf-field[data-type="checkbox"]:checked::before,
.prescription-form2 .pdf-field[data-type="radio"]:checked::before {
    transform: scale(1);
}
.prescription-form2 .pdf-field[data-type="text"] {
    width: 100%;
    height: 6mm;
    border: none;
    border-bottom: 1px solid #00843d;
    padding: 0 4px;
}
.prescription-form2 .pdf-field[data-type="textarea"] {
    width: 100%;
    height: 18mm;
    border: 1px solid #00843d;
    position: relative;
    resize: none;
    padding: 4px;
}
.prescription-form2 .pdf-field[data-type="select"] {
    width: 100%;
    height: 6mm;
    border: none;
    border-bottom: 1px solid #00843d;
    padding: 0 4px;
}
/*.prescription-form2 .pdf-field[data-type="select"]::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 5px;
    background-color: #00843d;
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
    pointer-events: none;
}*/

.prescription-form2 .top-line {
    background: #00843d;
    height: 2px;
}
.prescription-form2 .mid-line {
    background: #00843d;
    height: 1pt;
}
.prescription-form2 .section-line {
    background: #00843d;
    height: 1px;
    margin-top: 1mm;
    margin-bottom: 1mm;
}
.prescription-form2 .linethrough-text {
    position: relative;
    text-align: center;
    margin-top: 15px;
}
.prescription-form2 .linethrough-text::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    right: 0;
    background: #00843d;
    height: 1.5pt;
    margin-top: -1px;
}
.prescription-form2 .linethrough-text span {
    display: inline-block;
    position: relative;
    z-index: 2;
    background: #ffffff;
    font-size: 18pt;
    font-weight: bold;
    color: #00843d;
    white-space: nowrap;
    padding: 0 8px;
}
.prescription-form2 .left-box {
    padding: 1mm;
    border-bottom: 1px solid #00843d;
}
.prescription-form2 .left-box:first-child {
    min-height: 162px;
}
.prescription-form2 .right-box {
    padding: 1mm;
    border-left: 1px solid transparent;
    border-bottom: 1px solid #00843d;
}
.prescription-form2 .section-label {
    display: inline-block;
    font-size: 11pt;
    font-weight: bold;
    white-space: nowrap;
    color: #ffffff;
    background: #00843d;
    padding: 0.5mm 2mm;
    margin-bottom: 1mm;
}
.prescription-form2 .subtitle {
    font-size: 9pt;
    font-weight: bold;
    color: #00843d;
    white-space: nowrap;
}
.prescription-form2 .label {
    font-size: 9pt;
    color: #00843d;
    white-space: nowrap;
}
.prescription-form2 .label-subtext {
    font-size: 6pt;
    color: #00843d;
    white-space: nowrap;
}
.prescription-form2 td.label {
    padding-right: 1mm;
    line-height: 9pt;
    text-align: right;
}
.prescription-form2 td.label.left-align {
    text-align: left;
}
.prescription-form2 td.label.bold {
    font-weight: bold;
}
.prescription-form2 td.label.nopaddinghz {
    padding-left: 0;
    padding-right: 0;
}
.prescription-form2 td.subtitle {
    padding-right: 1mm;
}
.prescription-form2 .label-return-date {
    font-size: 9pt;
    font-weight: bold;
    color: #ffffff;
    background: #00843d;
    padding: 2mm;
}
.prescription-form2 td.field {
    line-height: 9pt;
}

.prescription-form2 .footer {
    position: relative;
    padding-left: 35mm;
}
.prescription-form2 .footer2 {
    padding-left: 3mm;
}

.prescription-form2 .footer .row {
    display: flex;
    flex-flow: row nowrap;
}
.prescription-form2 .footer .col:first-child {
    display: flex;
    flex-flow: column nowrap;
    width: 65%;
    /*margin-top: -4mm;*/
    padding-top: 1mm;
    padding-right: 1mm;
}
.prescription-form2 .footer .col:last-child {
    display: flex;
    flex-flow: column nowrap;
    width: 35%;
    border-left: 1pt solid #00843d;
    padding: 1mm;
    padding-bottom: 0;
}

.extras-container {
    /*background: transparent;
    border: 1px solid transparent;*/
    padding: 4px;
    padding-top: 2px;
    margin-top: 2px;
    background: #f5fff5;
    border: 1px solid #00843d;
}
/*.extras-container.active {
    background: #f5fff5;
    border-color: #00843d;
}*/
.extras-show-button {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    color: #00843d;
    font-size: 14px;
    line-height: 16px;
}
.extras-show-button:hover {
    background: #ffc;
}
.extras-show-button span {
    display: inline-block;
    transform-origin: center;
    position: relative;
    /*transition: all 0.25s linear;*/
}
.extras-container.active .extras-show-button span {
    transform: rotate(90deg);
    left: 2px;
}
.extras-options-container {
    display: none;
}
.extras-options-container tr.hover:hover {
    background: #ffc;
}
.extras-options-container td.fixedheight {
    height: 26.5px;
}
.extras-options-checkbox-group {
    padding-right: 2px;
}
.extras-options-checkbox-group td.endlabel {
    width: 60px;
}

.prescription-v2-display {
    font-size: 12px;
}
.prescription-v2-display >div >span:first-child {
    display: block;
    color: var(--text-muted-color);
    font-weight: bold;
}
.prescription-v2-display .group-divider {
    display: block;
    background: #ddd;
    height: 1px;
    margin: 10px 0;
}
/*
============================================
============================================
============================================
*/


.batch-list {
    display: flex;
    flex-flow: row wrap;
    margin: 0 -4px;
    margin-bottom: 20px;
    overflow: auto;
    max-height: 400px;
}
.batch-item {
    width: 50%;
    padding: 4px;
}
.batch-item__inner {
    position: relative;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 12px;
}
.batch-item__inner p {
    margin: 0;
    margin-bottom: 5px;
}
.batch-item ul {
    margin: 0;
    padding: 0;
    column-count: 3;
    list-style-position: inside;
}
.batch-item ul li {
    break-inside: avoid;
    margin: 0;
    padding: 0;
}
.batch-item__status {
    position: absolute;
    top: 10px;
    right: 16px;
}
.batch-item__status.open {
    color: #aa0;
}
.batch-item__status.full {
    color: #0a0;
}
.batch-item__status.closed {
    color: #a00;
}

.redfile-select-value {
    margin-bottom: 4px;
}
.redfile-select-input-group {
    display: flex;
    flex-flow: row nowrap;
}
.redfile-select-input-group >button {
    margin-left: 10px;
}
.redfile-select-input {
    display: block;
    position: relative;
    max-width: 600px;
    margin: 60px auto;
}
.redfile-select-results {
    display: none;
    position: absolute;
    z-index: 888;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #aaa;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}
.redfile-select-results table {
    width: 100%;
    border-collapse: collapse;
}
.redfile-select-results table tr {
    border-top: 1px solid #aaa;
    padding: 4px;
    cursor: pointer;
}
.redfile-select-results table thead tr {
    border-top: none;
    cursor: default;
}
.redfile-select-results table tbody tr:hover {
    background: #eee;
}
.redfile-select-results table tr th,
.redfile-select-results table tr td {
    text-align: left;
    padding: 4px;
}

#main >.record >.detail[data-scope="COrthoticScan"] {
    margin-top: 53px;
}
.derived-orders-map ~ .detail[data-scope="COrthoticScan"] {
    margin-top: 0 !important;
}
.derived-orders-map {
    display: flex;
    flex-flow: row wrap;
    gap: 4px;
    margin-bottom: 10px;
    min-height: 28px;
}
.derived-orders-entry {
    background: #faf4d6;
    border: 1px solid #f4e8a9;
    color: #9f7122;
    padding: 0 4px;
}
.derived-orders-entry a {
    font: inherit;
}
.derived-orders-entry.active {
    font-weight: bold;
}


