#tinymce .legalease-display-reference {
    background: rgb(252, 238, 45);
}

#tinymce .legalease-display-reference[data-disabled-flag="TRUE"] {
    background: red;
    color: white;
}

/*
#tinymce .legalease-display-reference.revise {
    cursor:context-menu;
    border:1px solid #fd5151;
    padding:0 2px;
    vertical-align:middle;
    position:relative;
  }
  #tinymce .legalease-display-reference.revise.hover {
    background: #fd5151;
  }
  #tinymce .legalease-display-reference.revise:after {
    content: "?";
    text-align:center;
    position: absolute;
    width: 16px;
    height: 16px;
    top: -8px;
    right: -8px;
    font-size:11px;
    font-weight:800;
    border-radius:50%;
    background:orange;
    font-family:Arial, sans-serif;
    color:#fff;
    opacity:0.8;
  }
  */

#tonyres-body {
    overflow: scroll;
}

#tonyres-body ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#tonyres-body li {
    clear: both;
    margin-bottom: 0;
    border-bottom: 1px solid #f1f1f1;
    color: #32373c;
    padding: 4px 6px 4px 10px;
    cursor: pointer;
    position: relative;
}

#tonyres-body li .item-title {
    display: inline-block;
    width: 80%;
    width: -webkit-calc(100% - 68px);
    width: calc(100% - 68px);
    word-wrap: break-word;
    color: #ff0000;
}

#tonyres-body li .item-info {
    text-transform: uppercase;
    color: #666;
    font-size: 11px;
    position: absolute;
    right: 5px;
    top: 5px;
}

.reference_popup {}

.reference_popup .cols:after {
    clear: both;
}

.reference_popup .col1 {
    width: 70%;
    float: left;
}

.reference_popup .col2 {
    border-left: 1px solid #ddd;
    width: 29%;
    float: left;
    height: 298px;
}

.reference_popup .col_inner {
    padding: 10px;
}

.reference_search_area .loading {
    display: none;
    margin: 0;
    padding: 0;
    font-style: normal;
    vertical-align: middle;
    line-height: 0;
}

.reference_search_area .loading:before {
    content: "🔄";
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 14px;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.reference_popup .reference_search {
    width: 388px;
    line-height: 30px;
    font-size: 22px;
    padding: 0 10px;
    display: inline-block;
    vertical-align: middle;
}

.reference_popup .reference_search_results {
    height: 182px;
    min-height: 182px;
    overflow: auto;
    box-sizing: border-box;
}

.reference_popup .reference_quick_results {
    height: 260px;
    overflow: auto;
}

.reference_popup .field_row {
    padding: 10px 0;
    margin: 0;
    box-sizing: border-box;
}

.reference_quick_results ul,
.reference_search_results ul {
    margin: 0 !important;
}

.reference_quick_results li,
.reference_search_results li {
    padding: 3px 0;
    border-top: 1px solid #eee;
    cursor: pointer;
    user-select: none;
}

.reference_quick_results li:hover,
.reference_search_results li:hover {
    background: #fbfbfb;
}

.reference_quick_results li.selected,
.reference_search_results li.selected {
    background: #e2e8ea;
}

#uniqueid2 {
    left: 10px !important;
}

#add_lawyer_id {
    left: 100px !important;
}

.error {
    border: 1px solid #d45353 !important;
}

.item-title .status_inactive {
    background: #ff0000;
}

.select2-dropdown {
    margin-top: 0 !important;
}

.mce-window.mce-container.mce-create-office-panel .mce-container-body.mce-abs-layout {
    overflow: hidden;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: inline-block !important;
    max-height: 100px;
    overflow: auto !important;
}