.context-menu{
    position: absolute;
    background-color: white;
    border: 1px solid #aaa;
}
.context-menu > div{
    padding: 3px 7px;
    cursor: pointer;
}
.context-menu > div:hover{
    background-color: lightgrey;
}

.reply-body input[type=number] {
    width: 100px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #aaa;
    margin-left: 5px;
    padding-left: 5px;
}

.col-right {
    margin-left: 100px;
}

.comments {
    width: calc(100% - 7px);
    height: 200px;
    white-space: pre-wrap;
}

.email {
    width: 100%;
}
.email-referral .email {
    width: 68%;
}
.email-referral .attachments {
    width: 30%;
}
.report-text, .report-text a {
    color: orange;
    text-decoration: none;
}

.qq-upload-button {
    background-color: #3785e0;
}

.email-referral .col-left, .accept-fields .col-left {
    width: 100px;
    margin-bottom: 20px;
}

.dividing-line {
    height: 1px;
    background-color: #ccc;
}

.email-referral {
    color: grey;
    margin-top: 10px;
}

.email-referral .reply-header {
    background-color: #f2f2f2;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}

.email-title {
    font-size: 15px;
    font-weight: bold;
}

.email-referral .reply {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 5px;
}

.email-referral .reply-body {
    padding: 10px;
}

.email .reply-body {
    height: 119px;
    overflow: auto;
}

.email-referral .reply-body .title {
    color: red;
    font-weight: bold;
}

.email-referral .right-section {
    float: right;
    width: 49%;
    margin: 0 .5% 0px 0px;
}


.email-referral .file-list {
    overflow:auto;
}

.file-list .attachment {
    margin-right: 10px;
    display: inline-block;
    padding: 4px 18px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    position: relative;
    top: 2px;
    color: grey;
    border: 2px solid lightgrey;
    background-color: #eee;
    margin-bottom: 5px;
}

.file-list a {
    text-decoration: none;
}

.file-list a:focus {
    background-color: white;
}

.cell {
    display: table-cell;
    width: 1%;
}

.row {
    display: table-row;
}

.email-referral .table {
    display: table;
    width: 100%;
    table-layout:fixed;
}

.thead {
    display: table-header-group
}

.tbody {
    display: table-row-group
}

.patient-search-table{
    width: 100%;
}

.patient-search-table .cell{
    padding: 6px;
}

.patient-search-table .thead{
    background-color: #F1F9FF;
}

.viewer {
    border: 1px solid grey;
    margin-top: 10px;
}

.pdf-referral-indexing {
    /* height: 700px; */
    float: left;
    margin: 0 0 0 .5%;
    /* overflow: hidden; */
    /* position: relative; */
    width: 49%;
}

.form-box {
    border: 1px solid #ccc;
    color: grey;
    font-size: 14px;
    /* padding-bottom: 30px; */
    margin: 10px 0px;
}

.bottom-bar .bold-blue-button {
    background-color: #4c6bff;
    margin: 5px 15px !important;
    padding: 3px 26px;
}

.bottom-bar .button-email-referral-confirm, .bottom-bar .button-email-referral-save {
    border: none !important;
    margin-left: 5px !important;
}

.bottom-bar .email-referral-button-div {
    margin-right: 0 !important;
    margin-top: 0 !important;
    width: auto !important;
}

.bottom-bar .button-email-referral-request-further-info {
    border: none !important;
    background-color: #d000f2;
}

.form-box label {
    margin-right: 20px;
}

.form-box .email-referral-title {
    background-color: #f2f2f2;
    margin: 0 0 10px;
    color: grey;
    padding: 6px;
}

.email-referral-results {
    margin: 0 0 10px;
    background-color: #437bff;
    color:white;
    padding: 6px;
}

.hl7-name {
    color: #3785e0;
}

.form-box .email-referral-label {
    margin-bottom: 22px;
    margin-left: 24px;
    width: 15% !important;
}

.patient-details .email-referral-label {
    margin-bottom: 15px;
}

.form-box .email-referral-input {
    width: 29% !important;
}

.form-box input, .form-box option {
    color: #009DDA;
    font-weight: bold;
}

.form-box hr {
    margin-bottom: 10px !important;
}

.button-search-patient {
    background-color: #293348 !important;
    color: #fff !important;
    margin: 0 24px 5px !important;
    padding: 3px 15px !important;
}

.bottom-bar {
    background-color: #f2f2f2;
    clear: both;
    padding: 10px;
}

.bold-red-button {
    color: #f2f2f2;
    background-color: #ef9296;
    background-image: none !important;
    border-color: #ef9296;
    *background-color: #ef9296;
    margin: 5px 10px !important;
    padding: 2px 23px !important;
}

.bold-grey-button {
    color: #f2f2f2;
    background-color: darkgrey;
    margin: 5px 10px !important;
    padding: 2px 20px !important;
}

.form-box input[type=text] {
    width: 75%;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #aaa;
}

.form-box .referring-physician {
    width: 200px;
}

.table_provider td {
    padding: 5px;
    vertical-align: baseline;;
}

.table_provider thead td {
    font-weight: bold;
}

.table_provider {
    font-size: 12px;
    border: 1px solid #eee;
    width: 100%;
}

.index-box {
    background-color: #437bff;
    color: #fff;
    /* margin-bottom: 10px; */
    padding: 12px 9px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid grey;
}

/* list */
.email-list .column {
    margin-right: 1%;
    width: 13%;
}

.email-list .column2 {
    margin-right: 1%;
    width: 11.5%;
    float: left;
}

.email-list .column3 {
    margin-right: 1%;
    width: 10.0%;
    float: left;
}

.email-list a {
    color: #009DDA !important;
}

.patient-search .add-referral {
    float: right;
    background-color: #463f7f;
    color: white;
    text-decoration: none;
    padding: 0px 20px;
    border-radius: 3px;
}

.Urgent, .Urgent a {
    color: red !important;
}

.teal {
    color: #009DDA;
}

.search-results .result {
    background-color: white;
    padding: 0px 0px 0px 20px;
    border: 1px solid lightgrey;
    text-decoration: none;
    color: grey;
}

.dob {
    width: 200px;
    display: inline-block;
}

.referrals {
    margin-left: 50px;
}

.inline-block {
    display: inline-block
}

.margin-right {
    margin-right: 20px;
}

.margin-left {
    margin-left: 20px;
}

.search-results {
    margin-bottom: 12px;
    clear: both;
}

.search-results-wrapper {
    background-color: #f2f2f2;
    padding: 20px;
}


.result2 {

    padding: 5px 20px !important;
}

.email-reply {
    margin-top: 50px;
}
.replies .add-attachments{
    float: right;
    margin: 10px 0px;
    height: 22px;
    border-radius: 5px;
    border-style: groove;
}
.inuse{
    color: #d000f2;
    font-weight: bold;
}
.dialog-patient-details .cell{
    padding: 10px 10px 0px 10px;
}
.dialog-patient-details{
    padding: 0;
    font-size: 12px;
}
.dialog-patient-details .ui-dialog-titlebar{
    background: red;
    border-radius: 0;
    color: white;
    padding-top: 8px;
    padding-bottom: 8px;
}
.dialog-patient-details .ui-dialog-buttonpane{
    background: grey;
}
.dialog-patient-details .ui-dialog-buttonpane .ui-button-text{
    background: green;
    color: white;
}
.red{
    color: red;
}
.\000032WW{
      color: red !important;
}
.email-referral .images-button, .email-referral .documents, .email-referral .pmhx{
    display: none;
}
.email-referral .supporting-info{
    display: inline;
    border: none;
}
.email-referral .section-title{
    display: none;
}
.email-referral .images-view{
    position: relative;
    top: -9px;
}