﻿/*Case list*/

#pms-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 100;
}

.clear {
    clear: both;
}

#folders-main-list [data-has-new-case="True"] .num::after {
    content: " *";
}

#work-case-list {
    overflow-y: auto;
    height: calc(100% - 55px);
}

    #work-case-list table tr {
        margin-bottom: 20px;
    }

    #work-case-list .case-item {
        width: 100%;
        height: 70px;
        display: table;
        border-bottom: 1px solid rgba(230, 230, 234, 1);
    }

        #work-case-list .case-item:hover [data-ishighpriority="False"] {
            visibility: visible;
        }

    #work-case-list .row-container {
        width: 100%;
        padding-left: 5px;
    }

    #work-case-list .row-up {
        width: 100%;
        height: 55px;
    }

.triangle-topright {
    display: inline-block;
    float: right;
    width: 44px;
    height: 44px;
}

#work-case-list .row-bottom {
    width: 100%;
    height: 15px;
    cursor: default;
}

#work-case-list .status-color {
    width: 5px;
    height: 70px;
    float: left;
}

#work-case-list [data-sts-sign="new"] .code {
    font-weight: bold !important;
    font-style: italic;
}

    #work-case-list [data-sts-sign="new"] .code::after {
        content: " *";
    }

#work-case-list .icon-container {
    width: 20px;
    height: 55px;
    margin-left: 10px;
    float: left;
}

    #work-case-list .icon-container .urgent, #work-case-list .icon-container .high-priority {
        width: 20px;
        height: 25px;
        margin-top: 3px;
    }

    #work-case-list .icon-container .high-priority {
        cursor: pointer;
    }

    #work-case-list .icon-container [data-ishighpriority="False"] {
        visibility: hidden;
    }

    #work-case-list .icon-container [data-isurgent="False"][title] {
        visibility: hidden;
    }

    #work-case-list .icon-container [data-isurgent="True"][title] {
        visibility: visible;
    }

#work-case-list .sample-data, #work-case-list .patient-data {
    height: 42px;
    display: inline-block;
    margin-left: 5px;
    margin-bottom: 5px;
    margin-top: 8px;
    overflow: hidden;
    float: left;
}

#work-case-list .sample-data {
    width: 203px;
    padding-top: 9px;
    margin-left: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 5px;
}

#work-case-list .patient-data {
    width: 340px;
    margin-left: 9px;
}

    #work-case-list .patient-data .birthdate {
        width: 81px;
        display: inline-block;
        position: relative;
        bottom: 4px;
    }

#work-case-list .sample-data {
    border-right: 1px solid;
}

#work-case-list .name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 340px !important;
    display: inline-block;
}

#work-case-list span {
    margin-right: 15px;
}

#work-case-list .sample-data .code {
    font-weight: 600;
    font-size: 15px;
    cursor: move;
}

#work-case-list .inscode {
    margin-right: 0px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 235px;
}

#work-case-list .add-order {
    margin-left: 11px;
    width: 24px;
    height: 50px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    float: left;
    margin-top: 4px;
}

#work-case-list .copy-direct-link {
    width: 19px;
    height: 19px;
    display: inline-block;
    cursor: pointer;
    position: relative;
    float: right;
    left: 39px;
    top: 6px;
}

#work-case-list .open-case-in-new-tab-icon {
    margin-left: 13px;
    width: 24px;
    height: 50px;
    display: inline-block;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    float: left;
    margin-top: 4px;
}

#work-case-list .row-bottom .col-left {
    height: 11px;
    width: 593px;
    float: left;
    margin-top: 2px;
    border-right: 1px solid;
}

#work-case-list .row-bottom .col-right {
    height: 10px;
    float: left;
    margin-top: 2px;
}

#work-case-list .row-bottom span {
    line-height: 10px;
    font-size: 10px;
    float: left;
    font-weight: 600;
    margin-left: 15px;
}

#work-case-list .row-bottom .report-label-content {
    width: 235px;
    float: left;
}

#work-case-list .row-bottom .finisher-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 325px !important;
    height: 11px;
}

#work-case-bottom-buttons, #work-sidebar-bottom-buttons {
    width: 100%;
    height: 50px;
    margin-top: 10px;
    margin-left: 5px;
    overflow: hidden;
    position: relative;
}

    #work-case-bottom-buttons #case-list-search-result-number {
        right: 50px;
        position: absolute;
        top: 15px;
        font-weight: 600;
        font-style: italic;
    }

#work-main-container .work-inner-header #work-case-list-title {
    font-size: 16pt;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 13px;
    float: left;
}

#work-main-container .work-inner-header #work-case-order-header-select {
    border-radius: 4px;
    margin-top: 20px;
    margin-right: 20px;
    float: right;
    display: inline-block;
}

#work-case-bottom-buttons .btn-base {
    background-position: 5px center;
    background-repeat: no-repeat;
    padding: 7px;
    padding-left: 30px;
    cursor: pointer;
}

#work-sidebar-bottom-buttons .btn-case-history {
    background-size: contain;
}

#work-sidebar-bottom-buttons .btn-base, #work-case-bottom-buttons .work-case-button {
    display: inline-block;
}

#work-sidebar-bottom-buttons .btn-base-label, #work-case-bottom-buttons .work-case-button-label {
    padding-top: 3px;
}

.work-inner-header .btn-base {
    padding: 7px;
    padding-top: 6px;
    cursor: pointer;
}

#finish-case-dialog, #highpriority-case-dialog {
    text-align: center;
    font-size: 18px;
}

#create-report-type-select {
    margin: 29px 0px;
}

#assign-to-me-dialog, #general-message-dialog, #finish-case-dialog, #highpriority-case-dialog {
    background: none;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-resizable #assign-to-me-dialog,
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-resizable #general-message-dialog,
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-resizable #finish-case-dialog,
.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front.ui-dialog-buttons.ui-resizable #highpriority-case-dialog {
    height: 64% !important;
}

div[aria-describedby="assign-to-me-dialog"], div[aria-describedby="general-message-dialog"],
div[aria-describedby="finish-case-dialog"], div[aria-describedby="highpriority-case-dialog"] {
    height: 220px !important;
}

#work-caslist-main-container, #work-sidebar-main-container {
    height: calc(100% - 59px);
}

#work-slides-container #inner-containers {
    height: calc(100% - 55px);
    overflow-y: auto;
    overflow-x: hidden;
}

.inner-countainers-full-height {
    height: calc(100% - 60px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Case event history popup table */

@media screen and (max-height: 910px) {
    #ts-case-history-tabe-dialog {
        max-height: 500px !important;
        overflow: hidden;
    }

    #case-history-tabe-dialog {
        max-height: 450px !important;
        overflow-y: auto;
    }

    #ts-gd-info-eventtable {
        max-height: 462px !important;
    }
}

#case-history-tabe-dialog,
#ts-case-history-tabe-dialog {
    cursor: default;
}

    #case-history-tabe-dialog h4,
    #ts-case-history-tabe-dialog h4 {
        text-align: center;
    }

.no-hover {
    cursor: default !important;
}

/* Assign to user or group dialog */

#assign-to-main-container #assign-to-tabs {
    width: 100%;
    margin-top: 5px;
    cursor: default;
}

#assign-to-main-container .assign-to-tab {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 5px 5px 0px 0px;
    border: 1px solid;
    cursor: pointer;
    margin-right: -4px;
}

#add-to-tc-main-container #add-to-tc-search,
#assign-to-main-container #assign-to-search {
    width: 100%;
    height: 26px;
    margin-bottom: 5px;
    border-radius: 4px;
    border: 1px solid;
    font-size: .9em !important;
    padding: 6px 12px;
}

#add-to-tc-main-container #add-to-tc-content-container,
#assign-to-main-container #assig-to-content-container {
    height: 230px;
    margin-top: 0px;
    overflow-y: auto;
}

#add-to-tc-main-container .assign-to-content table,
#assign-to-main-container .assign-to-content table {
    border: 1px solid;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: hidden;
}

    #add-to-tc-main-container .assign-to-content table tr:first-child,
    #assign-to-main-container .assign-to-content table tr:first-child {
        border-bottom: 0px;
    }

    #add-to-tc-main-container .assign-to-content table tr,
    #assign-to-main-container .assign-to-content table tr {
        border-bottom: 1px solid;
    }

        #add-to-tc-main-container .assign-to-content table tr td:first-child,
        #assign-to-main-container .assign-to-content table tr td:first-child {
            width: 32px;
            padding-left: 10px;
        }

        #add-to-tc-main-container .assign-to-content table tr td,
        #add-to-tc-main-container .assign-to-content table tr th,
        #assign-to-main-container .assign-to-content table tr td,
        #assign-to-main-container .assign-to-content table tr th {
            padding: 5px;
            border: 1px solid;
            cursor: default;
        }

/* Report */


#work-report-details-main-container {
    height: calc(100% - 60px);
}

    #work-report-details-main-container .work-report-item {
        height: 100%;
        overflow-y: hidden;
        overflow-x: hidden;
    }

        #work-report-details-main-container .work-report-item .report-textarea {
            width: 100%;
            resize: none;
            min-height: 44px;
            overflow: hidden;
            max-height: 500px;
        }

        #work-report-details-main-container .work-report-item .work-report-button-container {
            width: 100%;
            height: 60px;
        }

        #work-report-details-main-container .work-report-item .report-form {
            overflow-y: auto;
            height: calc(100% - 60px);
        }

        #work-report-details-main-container .work-report-item .text-field-container {
            margin-left: 5px;
            margin-right: 5px;
        }

        #work-report-details-main-container .work-report-item .report-button {
            float: right;
            margin: 15px 5px;
        }

        #work-report-details-main-container .work-report-item .quantification-list-container {
            overflow-y: auto;
            height: calc(100% - 60px);
        }

#report-pdf-button {
    display: inline-block;
    height: 28px;
    margin: 6px 5px;
}

#StartDictation {
    display: inline-block;
    height: 28px;
    margin: 16px 5px;
}

#DictationContainer textarea {
    width: 100%;
    height: 120px;
    resize: none;
}

#signatures-button, #reportes-button {
    display: inline-block;
    height: 28px;
    margin: 6px 5px;
    float: right;
}

#work-report-details-main-container .work-report-item .signature-list-container {
    overflow-y: auto;
    height: calc(100% - 60px);
    border-top: 1px solid;
}

    #work-report-details-main-container .work-report-item .signature-list-container table {
        width: 100%;
        cursor: default;
    }

        #work-report-details-main-container .work-report-item .signature-list-container table thead tr {
            height: 30px;
        }

    #work-report-details-main-container .work-report-item .signature-list-container .delete-signature-text {
        text-align: center;
        text-decoration: underline;
        cursor: pointer;
    }

    #work-report-details-main-container .work-report-item .signature-list-container .sign-signature-text {
        text-align: center;
        text-decoration: underline;
        cursor: pointer;
    }

    #work-report-details-main-container .work-report-item .signature-list-container table thead tr th:last-child {
        text-align: center;
    }

#work-report-details-main-container .work-report-item .text-field-container h4 {
    margin-left: 10px;
    padding-top: 6px;
}

#work-report-details-main-container .work-report-item .signature-list-container table tbody tr td,
#work-report-details-main-container .work-report-item .signature-list-container table thead tr th {
    padding: 5px;
    border: 1px solid;
    text-align: center;
}

#work-report-details-main-container .work-report-item .signature-list-container #report-add-new-signature {
    width: 24px;
    height: 24px;
    display: inline-block;
    cursor: pointer;
    margin-top: 5px;
}

#add-dialog-signature-container {
    margin-bottom: 12px;
}

    #add-dialog-signature-container #add-signature-search {
        width: 100%;
        margin: 10px 0px;
        height: 28px;
        border-radius: 5px;
        font-size: .9em !important;
        padding: 6px 12px;
        border: 1px solid;
    }

    #add-dialog-signature-container table {
        width: 100%;
        max-height: 300px;
        cursor: default;
    }

        #add-dialog-signature-container table thead tr th {
            padding: 4px;
            border: 1px solid;
            text-align: center;
        }

        #add-dialog-signature-container table tbody tr td {
            padding: 4px;
            border: 1px solid;
            text-align: center;
        }

        #add-dialog-signature-container table tbody tr .bad-value {
            border: 1px solid;
        }

        #add-dialog-signature-container table tbody tr td.signature-user-name {
            word-break: break-word;
        }

    #add-dialog-signature-container select {
        height: 23px;
        border-radius: 5px;
        width: 140px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: .9em;
    }

.text-field-container .text-field-header-container {
    position: relative;
}

    .text-field-container .text-field-header-container .temp {
        width: 22px;
        height: 22px;
        position: absolute;
        top: 5px;
        cursor: pointer;
    }

    .text-field-container .text-field-header-container .save-template-icon {
        right: 10px;
        background-size: 18px;
        background-repeat: no-repeat;
        background-position: bottom center;
    }

    .text-field-container .text-field-header-container .open-template-icon {
        right: 42px;
    }

/* Create section */

#create-section-container {
    height: 400px;
}

    #create-section-container input {
        width: 194px;
        margin-right: 10px;
        border-radius: 4px;
        padding: 6px 12px;
    }

#required-slide-barcode-top-right-corner,
#required-test-barcode-top-right-corner,
#not-required-container-list,
#not-required-block-list {
    float: left;
}

    #required-slide-barcode-top-right-corner:after {
        float: right;
        content: "*";
        position: relative;
        top: -3px;
        left: -8px;
    }

    #required-test-barcode-top-right-corner:after {
        float: right;
        content: "*";
        position: relative;
        top: -3px;
        left: -8px;
    }

#create-section-container #test-barcode {
    padding: 6px 6px 6px 12px;
}

#create-section-container #sample {
    margin-bottom: 5px;
    font-size: 1.1em;
}

#create-section-container table {
    max-height: 400px;
    width: 100%;
}

    #create-section-container table th td {
        font-weight: bold;
    }

    #create-section-container table td:nth-child(1) {
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #create-section-container table td:nth-child(2) {
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #create-section-container table td:nth-child(3) {
        max-width: 150px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #create-section-container table td:nth-child(6) {
        max-width: 150px;
    }

#create-section-container #table-container {
    margin-top: 10px;
    max-height: 322px;
    overflow-y: auto;
}

#create-section-container .section {
    height: 30px;
}

    #create-section-container .section input {
        padding: 0px;
    }

#create-section-container .sectioncode {
    width: 165px !important;
    border: none;
    cursor: default;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-right: 0px;
}

#create-section-container .note {
    border: none;
    cursor: initial;
}

#create-section-container #error-message {
    margin-top: 5px;
}

#create-section-container .delete {
    cursor: pointer;
}

#create-section-button {
    display: inline-block;
    height: 28px;
}

/* PMS general table styles */

.create-section-note {
    width: 211px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.pms-table thead {
    padding: 5px 5px 5px 5px;
    border: 1px solid;
    text-align: center;
    cursor: default;
}

    .pms-table thead th {
        padding: 5px 5px 5px 5px;
        border-right: 1px solid;
        text-align: center;
    }

        .pms-table thead th:last-child {
            border: none;
        }

.pms-table tbody tr {
    cursor: default;
}

    .pms-table tbody tr td {
        border: 1px solid;
        padding: 2px 5px 2px 5px;
        text-align: center;
    }

        .pms-table tbody tr td:last-child {
            border-right: none;
        }

.pms-input {
    border: 1px solid;
    height: 26px;
    font-size: .9em !important;
}

/* Case details - sections and slides */

.section-not-scanned, .section-scanned {
    width: 77px;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-left: 0px;
    border: 1px solid;
    height: 219px;
    float: left;
    position: relative;
}

.section-margin-right {
    margin-right: 20px;
}

.section-margin-bottom {
    margin-bottom: 20px;
    float: none !important;
}

.section-not-scanned .label-area {
    height: 50px;
    font-size: 12px;
    text-align: center;
    word-wrap: break-word;
    overflow: hidden;
}

.section-not-scanned .slide-picture {
    width: 75px;
    height: 167px;
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center center;
}

.section-not-scanned-horizontal, .section-scanned-horizontal {
    /*margin-right: 10px;*/
    float: left;
    border: 1px solid;
    width: 248px;
    height: 72px;
    display: flex;
    position: relative;
}

    .section-not-scanned-horizontal .label-area {
        height: 70px;
        font-size: 12px;
        text-align: center;
        word-wrap: break-word;
        overflow: hidden;
        width: 78px;
        transform: translate(99px, 0px);
    }

        .section-not-scanned-horizontal .label-area table, .section-not-scanned .label-area table {
            height: 100%;
            vertical-align: middle;
        }

    .section-not-scanned-horizontal .slide-picture {
        width: 69px;
        height: 167px;
        background-size: 50px;
        background-repeat: no-repeat;
        background-position: center center;
        transform: rotate(270deg) translate(48px, 50px);
    }

.slide-label-rotate, .slide-label-rotate-horizontal {
    background-repeat: no-repeat;
    background-position: center;
}

    .slide-label-horizontal:hover ~ .slide-label-rotate-horizontal, .slide-label-rotate-horizontal:hover {
        opacity: 0.5;
        width: 20px;
        height: 20px;
        cursor: pointer;
        transform: translate(79px, 0px);
    }

    .slide-label:hover ~ .slide-label-rotate, .slide-label-rotate:hover {
        opacity: 0.5;
        width: 20px;
        height: 20px;
        cursor: pointer;
        transform: translate(50px, -55px);
    }

.section-scanned-horizontal .slide-thumbnail-horizontal {
    transform: rotate(270deg) translate(50px, 50px);
    width: 70px;
    height: 170px;
}

.sld-opn {
    border-left: 5px solid;
}

.sld-new {
    border-left: 5px solid;
}

.sld-exm {
    border-left: 5px solid;
}

.sld-opn:hover .section-status-hover {
    display: block;
}

.section-rx-slide {
    width: 24px;
    height: 24px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.section-scanned .section-rx-slide {
    left: 0;
}

.section-separator-by-barcode {
    position: relative;
    margin-right: 20px;
}

.section-status-hover {
    width: 24px;
    height: 24px;
    position: absolute;
    display: none;
    z-index: 999;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

.section-objective-magnification {
    width: 24px;
    height: 24px;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 100;
    cursor: pointer;
}

    .section-objective-magnification.section-objective-magnification-vertical {
        left: 0;
        bottom: 50px;
    }

    .section-objective-magnification.section-objective-magnification-horizontal {
        right: 72px;
        bottom: 0px;
    }

.sld-exm:hover .section-delete-status-hover {
    display: block;
}

.section-delete-status-hover {
    width: 24px;
    height: 24px;
    position: absolute;
    display: none;
    z-index: 999;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

.section-scanned .section-delete-status-hover {
    right: 0;
}

.cv-group-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    z-index: 999;
    cursor: pointer;
}

.section-scanned .cv-group-icon {
    bottom: 50px;
    right: 0;
    z-index: 100;
}

.section-scanned-horizontal .cv-group-icon {
}
/* Header quick search button */
#work-toolbar-container #quick-search-button {
    width: 24px;
    height: 24px;
    margin-top: 11px;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
}

    #work-toolbar-container #quick-search-button.disabled {
        opacity: .5;
        cursor: default;
    }

#work-toolbar-container #remove-search-button {
    width: 24px;
    height: 24px;
    margin-top: 11px;
    background-position: center center;
    background-repeat: no-repeat;
    cursor: pointer;
    display: none;
}

.alert-message-text {
    text-align: center;
    font-size: 18px;
}

/* Add Comment */

#add-comment-container textarea, #edit-comment-container textarea {
    width: 100%;
    height: 100px;
    resize: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: .9em;
    border: solid 1px;
    border-radius: 4px;
}

#add-comment-container h5, #edit-comment-container h5 {
    font-weight: bold;
    cursor: default;
}

/* Sample registration information tab */

#work-history-inner-container .registration-header {
    padding: 10px 5px 10px 0px;
}

.registration-icon,
.patient-icon,
.other-cases-icon,
.comment-icon {
    background-repeat: no-repeat;
    background-position: 3px;
    float: left;
    margin-right: 10px;
}

.registration-icon,
.patient-icon {
    width: 27px;
    height: 21px;
}

.other-cases-icon {
    width: 27px;
    height: 21px;
}

.comment-icon {
    width: 31px;
    height: 24px;
}

#work-history-inner-container .registration-table {
    width: 100%;
}

#work-history-inner-container #other-cases-container a {
    padding: 5px;
}

#work-history-inner-container .registration-table tr td {
    padding-left: 5px;
    border: 1px solid;
    width: 40%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    max-width: 160px;
}

    #work-history-inner-container .registration-table tr td:first-child {
        width: 40%;
    }

#comment-container {
    overflow-y: auto;
    overflow-x: hidden;
}

    #comment-container .comment-item {
        padding: 5px;
        margin-bottom: 0px;
        border-bottom: 1px solid;
    }

        #comment-container .comment-item p {
            margin-bottom: 10px;
        }

        #comment-container .comment-item span {
            font-size: 0.9em;
            font-style: italic;
        }

        #comment-container .comment-item u {
            margin-left: 10px;
            cursor: pointer;
            font-style: italic;
        }

    #comment-container .comment-edit-link {
        width: 100%;
        text-align: right;
    }

#work-history-inner-container #other-cases-container {
    overflow-y: auto;
}

    #work-history-inner-container #other-cases-container tr td {
        margin-left: 5px;
    }

        #work-history-inner-container #other-cases-container tr td:first-child {
            margin-left: 5px;
        }

.case-history-date {
    width: 175px;
}

#case-history-date-order-arrow {
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    margin-left: 10px;
    position: absolute;
    cursor: pointer;
}

.case-history-date-orderby {
    border-style: solid;
    top: 16px;
    transform: rotate(-135deg);
}

.case-history-date-orderbydesc {
    border-style: solid;
    top: 12px;
    transform: rotate(45deg);
}

.case-history-eventType {
    max-width: 160px;
}

.case-history-creatorUser, .case-history-targetUser {
    max-width: 143px;
}

.case-history-note {
    max-width: 199px;
}

.case-history-eventType, .case-history-creatorUser, .case-history-targetUser, .case-history-note {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sample-container-item {
    width: 100%;
    margin-bottom: 2px;
    line-height: 25px;
    padding: 8px 5px 8px 35px;
    background-repeat: no-repeat;
    background-position: 4px 8px;
}

.sample-block-item {
    width: 100%;
    margin-bottom: 2px;
    line-height: 25px;
    padding: 8px 5px 8px 35px;
    background-repeat: no-repeat;
    background-position: 4px 8px;
}

.section-item-container {
    margin-top: 5px;
    margin-left: 5px;
}

.hidden-option {
    display: none;
}

#create-section-container #container-list, #create-section-container #block-list {
    height: 26px;
    font-style: italic;
    font-size: 0.9em;
    margin-right: 9px;
    width: 192px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    border-radius: 4px;
    padding: 0px 16px 0px 6px;
}

.sample-outer-container {
    position: relative;
    float: left;
    width: 100%;
}

.sample-container-item.blocks-without-container {
    float: left;
    width: 100%;
    position: relative;
}

.sample-outer-container .information-box {
    position: absolute;
    top: 100%;
    right: 0px;
    z-index: 100;
    width: 250px;
}

    .sample-outer-container .information-box table tr td {
        padding: 4px;
        max-width: 250px;
    }

.sample-outer-container .border-right-bottom {
    border-bottom: 1px solid;
    border-right: 1px solid;
}

.sample-outer-container .border-bottom {
    border-bottom: 1px solid;
}

.sample-outer-container .border-right {
    border-right: 1px solid;
}

.sample-outer-container .info-button {
    float: right;
    margin-right: 10px;
    font-style: italic;
    text-decoration: underline;
    position: relative;
}

    .sample-outer-container .info-button span {
        cursor: pointer;
    }

.information-box table {
    display: none;
    float: left;
    border: 1px solid;
    border-radius: 0 0 10px 10px;
}

.info-button:hover .information-box table {
    display: block;
}

#save-as-template-dialog {
    height: 116px !important;
    overflow: hidden;
}

#create-template-name-group {
    margin: 24px 0px;
}

#open-template-dialog #template-list {
    width: 330px;
    float: left;
    margin-bottom: 15px;
}

#open-template-dialog #template-textarea {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 2px;
    height: 250px;
    resize: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1em;
    border: 1px solid;
}

#open-template-dialog .template-button {
    width: 22px;
    height: 22px;
    float: right;
    margin-left: 20px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    margin-top: 3px;
}

#open-template-dialog .inner-overlay {
    width: 420px;
    height: 300px;
    position: absolute;
    top: 2px;
    left: 14px;
    opacity: 0.8;
    display: none;
}

#caseview-container #diagnosis-content {
    max-height: 300px;
    overflow-y: auto;
}

    #caseview-container #diagnosis-content thead {
        cursor: default;
    }

#caseview-container .no-diagnosis-code {
    text-align: center;
    padding-top: 10px;
    font-size: 1.1em;
}

#caseview-container #work-report-details-main-container .signature-list-container {
    display: none;
}

#add-diagnosiscode-dialog #dgs-table-container {
    overflow-y: auto;
    height: 270px;
    margin-bottom: 11px;
}

#add-diagnosiscode-dialog #dignosis-code-search-container #dignosis-code-search-input {
    width: 490px;
    float: left;
    border-radius: 5px;
    font-size: .9em !important;
    height: 26px;
    padding: 6px 12px;
    border: 1px solid;
}

#add-diagnosiscode-dialog #diagnosis-code-searching-button {
    width: 26px;
    height: 26px;
    position: relative;
    margin-left: 19px;
    float: left;
}

#add-diagnosiscode-dialog #search-diagnosis-code {
    position: relative;
    right: 2px;
}

#add-diagnosiscode-dialog #diagnosis-code-search-table {
    margin-top: 10px;
    height: 302px;
    overflow-y: auto;
}

    #add-diagnosiscode-dialog #diagnosis-code-search-table table {
        width: 100%;
        max-height: 310px;
    }

        #add-diagnosiscode-dialog #diagnosis-code-search-table table thead {
            cursor: default;
        }

            #add-diagnosiscode-dialog #diagnosis-code-search-table table thead tr th, #add-diagnosiscode-dialog #diagnosis-code-search-table table tbody tr td {
                padding: 5px;
                border: 1px solid;
            }

            #add-diagnosiscode-dialog #diagnosis-code-search-table table thead th {
                text-align: center;
            }

#add-diagnosiscode-dialog .diagnosis-code-search-text {
    text-align: center;
    margin-top: 20px;
}

[aria-describedby="add-diagnosiscode-dialog"] .cancel-button-dialog-window-ajax,
[aria-describedby="add-report-signature-dialog"] .cancel-button-dialog-window-ajax,
[aria-describedby="open-template-dialog"] .cancel-button-dialog-window-ajax {
    display: none !important;
}

button.ok-button-assign-to-dialog {
    display: none;
}

.ok-button-add-to-tc-dialog {
    display: none !important;
}

/* Quantification */

.quantification-list-container .quantification-header {
    height: 28px;
    margin-top: 1px;
    padding-left: 5px;
    font-weight: bold;
}

    .quantification-list-container .quantification-header p {
        float: left;
        margin: 0px;
        height: 20px;
        margin-top: 4px;
    }

    .quantification-list-container .quantification-header button {
        float: right;
        width: 24px;
        height: 24px;
        margin: 2px;
        background-position: center;
        background-size: auto;
        border: none;
        outline: none;
    }

    .quantification-list-container .quantification-header .quantification-selection {
        float: right;
        width: 16px;
        height: 16px;
        margin: 7px 0px;
    }

.quantification-list-container .registration-table {
    width: 100%;
}

    .quantification-list-container .registration-table tr td {
        padding: 2px 5px;
        border: 1px solid;
        max-width: 160px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .quantification-list-container .registration-table tr td:first-child {
            width: 40%;
        }

/* Special examination request */

@media screen and (max-height: 910px) {
    #create-special-examination-request-dialog.ui-dialog-content.ui-widget-content {
        height: 506px !important;
    }
}

@media screen and (min-height: 910px) {
    #create-special-examination-request-dialog.ui-dialog-content.ui-widget-content {
        height: 612px !important;
    }
}

.sample-block-item .special-examination-request, .sample-container-item .special-examination-request {
    width: 24px;
    height: 32px;
    background-repeat: no-repeat;
    cursor: pointer;
    float: right;
    margin-top: 1px;
}

.sample-block-item .special-examination-request {
    margin-right: 43px;
}

.sample-container-item .special-examination-request {
    margin-right: 10px;
}

button.cancel-button-save-request-dialog {
    display: none;
}

#special-examination-sample-code {
    max-width: 100%;
    font-weight: bold;
}

#special-examination-sample-code {
    display: inline-block;
    font-size: 18px;
}

#special-examination-blocks, #special-examination-add-protocol, #special-examination-examination-groups,
#special-examination-examinations, #special-examination-containersWithoutBlocks {
    width: 250px;
    position: absolute;
}

#special-examination-blocks {
    top: 98px;
}

#special-examination-add-protocol {
    top: 98px;
    left: 301px;
}

#special-examination-examination-groups {
    top: 32px;
    left: 588px;
}

#special-examination-examinations {
    top: 98px;
    left: 588px;
}

#special-examination-note {
    position: absolute;
    width: 225px;
    top: 32px;
    left: 858px;
}

    #special-examination-note textarea {
        border: 1px solid;
        height: 92px;
        resize: none;
    }

#vertical-line-first {
    position: absolute;
    top: 103px;
    left: 282px;
    height: 46px;
    border-left: 1px solid;
}

#vertical-line-second {
    position: absolute;
    top: 37px;
    left: 569px;
    height: 112px;
    border-left: 1px solid;
}

#special-examination-container {
    height: 150px;
}

#special-examination-table-container table {
    max-height: 400px;
    width: 100%;
}

    #special-examination-table-container table td {
        border: 1px solid;
        padding: 2px 5px 2px 5px;
        text-align: center;
    }

#special-examination-table-container tbody tr td:last-child {
    border-right: none;
}

#special-examination-table-container th {
    position: sticky;
    top: 0;
    border-top: 0px;
    padding: 5px 5px 5px 5px;
    border: 1px solid;
    text-align: center;
}

#special-examination-table-container thead th_last-child {
    border: none;
}

#special-examination-table-container .special-examination-containers, #special-examination-table-container .special-examination-block,
#special-examination-table-container .special-examination-examination-group, #special-examination-table-container .special-examination-examination,
#special-examination-table-container .special-examination-note {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#special-examination-table-container .special-examination-urgent {
    width: 35px;
}

#special-examination-table-container .special-examination-containers, #special-examination-table-container .special-examination-block {
    width: 150px;
}

#special-examination-table-container .special-examination-examination-group, #special-examination-table-container .special-examination-examination {
    width: 200px;
}

#special-examination-table-container .special-examination-status {
    width: 100px;
}

#special-examination-table-container .special-examination-note {
    width: 200px;
}

#special-examination-table-container .special-examination-delete {
    width: 34px;
}

#special-examination-table-container {
    margin-top: 10px;
    overflow-y: auto;
}

@media screen and (max-height: 910px) {
    #special-examination-table-container {
        max-height: 310px;
    }
}

@media screen and (min-height: 910px) {
    #special-examination-table-container {
        max-height: 420px !important;
    }
}

#special-examination-table-container .special-examination-urgent [data-isurgent="True"][title] {
    visibility: visible;
}

#special-examination-table-container .special-examination-urgent .urgent, #special-examination-table-container .all-urgent,
#special-examination-table-container .special-examination-delete .delete {
    width: 24px;
    height: 25px;
    cursor: pointer;
}

#special-examination-table-container thead .all-urgent[data-isurgent="True"],
#special-examination-table-container thead .all-urgent[data-isurgent="False"] {
    background-repeat: no-repeat;
    background-position: center;
}

.ui-state-disabled {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.vertical-line {
    position: absolute;
    left: 989px;
    height: 300px;
    border-left: 1px solid;
}

@media screen and (max-height: 910px) {
    .vertical-line {
        top: 262px;
    }
}

@media screen and (min-height: 910px) {
    .vertical-line {
        top: 328px;
    }
}
