div.reference-widget ul.multiple-references li {
  line-height: 20px;
  margin-left: 2em;
  clear: both;
}

div.reference-widget a.reference-dialog-edit-link {
  background-image: url('edit.png');
  background-position: center center;
  background-repeat: no-repeat;
  float: right;
  height: 20px;
  height: 20px;
  padding: 0px 5px;
  margin: 0px;
  width: 20px;
}

/* Popup */

div.reference-dialog {
  /* overide jqueryUI here */
  overflow-y: scroll !important;
}
div.reference-dialog div.content-list {
  clear: both;
  border-top: 1px #999 solid;
}
div.reference-dialog div.content-actions {
  float: right;
  margin: 9px 0px;
}

/* Breadcrumb */
div.reference-dialog div.path-list {
  height: 32px;
  line-height: 32px;
  padding: 4px 0px 4px 2px;
}
div.reference-dialog span.separator {
  padding: 0px 3px 0px 3px;
}

div.reference-dialog span.last {
  font-weight: bold;
}

div.reference-dialog span.path-outer a {
  color: #000;
  text-decoration: underline;
}

div.reference-dialog span.path-outer a,
div.reference-dialog span.path-outer a:visited,
div.reference-dialog span.path-outer a:hover {
  color: #000;
  text-decoration: underline;
}

div.reference-dialog span.path-outer a:hover {;
  color: #000;
  text-decoration: underline;
}

div.reference-dialog span.path-outer a img {
  float: left;
  margin-right: 3px;
  margin-top: 4px;
}


/* Listing */
div.reference-dialog img.reference-add {
    cursor: pointer;
}

div.reference-dialog .listing table {
  clear: both;
  width: 100%;
  margin-bottom: 20px;
}

div.reference-dialog .listing td.item-id,  div.reference-dialog .listing td.item-title{
  font-size: 0.95em;
  line-height: 24px;
  padding: 0px 5px;
  text-overflow: ellipsis;
}

div.reference-dialog .listing td {
  vertical-align: middle;
}

div.reference-dialog .listing tr:nth-child(even) {
  background-color: #f3f7fb;
}

div.reference-dialog .listing tr.folderish td {
  cursor: pointer;
  font-weight: bold;
}
div.reference-dialog .listing td a, div.reference-dialog .listing td a:visited{
  color: black;
}
div.reference-dialog .listing tr.selected td {
  background-color:#4d96e6;
  color:#fff;
}

div.reference-dialog .listing tr.folderish-hover td {
  background-color: #d2e5f9;
}
div.reference-dialog .listing tr th {
  text-align: left;
  border-bottom: 1px #999 solid;
  line-height: 24px;
}
div.reference-dialog .listing tr td {
  line-height: 16px;
}

div.reference-dialog .listing tr.current td {
  border-bottom: 1px solid #999;
  line-height: 24px;
}

div.reference-dialog .listing tr.folderish-hover td.item-id {
  background-image: url('folder_go.png');
  background-repeat: no-repeat;
  background-position: right center;
}

div.reference-dialog .selection-list {
  border-top: 1px solid black;
  display: none;
}

div.reference-dialog .listing img.button {
  cursor: pointer;
}

div.reference-dialog div.listing-actions {
  line-height: 25px;
  height: 25px;
  min-height: 25px;
  margin-bottom: 3px;
}
