/* DMTT Demo CSS, rev. 2, 25-Mar-2019 */

/* links in article to tooltip. background-* creates the underline effect */
.dmtt-link {
  padding: 2px 2px 2px 0;
  background-image: linear-gradient(to right, #b63229 100%, transparent 100%);
  background-position: 0 95%;
  background-repeat: repeat-x;
  background-size: 8px 2px;
  cursor: pointer;
}

.dmtt-link:hover {
  background-color: #b63229; /* darkmoneyfilm.com's color */
  color: #fff;
}

.dmtt-tooltip {
  width: 350px;
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif; */ /* render tooltip in platform system font */
  font-size: 14px; /* base size for text; other modifiers are in % */
  cursor: pointer; /* necessary, or iOS will not let you dismiss the tooltip */
  background: #ffffff;
}

.dmtt-tooltip img {
  padding: 0 15px 0 0;
  float: left;
  width: 80px; /* source images are 240px where possible for retina displays */
}

/* tooltip header */
.dmtt-tooltip .dmtt-candidate {
  font-size: 133%;
  font-weight: bold;
  color: black;
  padding-top: 5px;
}

.dmtt-tooltip .dmtt-party {
  color: #555555;
  padding-bottom: 0;
}

.dmtt-tooltip .dmtt-office {
  color: #555555;
}

.dmtt-tooltip .dmtt-lost {
  text-decoration: line-through;
  color: #995555;
}

.dmtt-tooltip .dmtt-status {
  color: #555555;
}

/* tooltip body */
.dmtt-tooltip .dmtt-interior {
}

.dmtt-tooltip .dmtt-donorhdr {
  padding: 0 0 5px 0;
  float: left;
}

.dmtt-tooltip table {
  font-size: 14px;
  padding: 10px 0 6px 0;
  width: 100%;
}

/* contributer header box */
.dmtt-tooltip table th {
  text-align: left;
  padding: 5px 8px 5px 5px;
  background: #b63229;
  color: white;
  line-height: 150%;
}

/* donor name and amount row */
.dmtt-tooltip table tr.dmtt-row1:nth-child(1) td,
.dmtt-tooltip table tr.dmtt-row1:nth-child(5) td,
.dmtt-tooltip table tr.dmtt-row1:nth-child(9) td  {
  padding: 8px 4px 4px 4px;
  background: #f3f3f3;
  font-weight: bold;
}

/* donor name and amount row */
.dmtt-tooltip table tr.dmtt-row1:nth-child(3) td,
.dmtt-tooltip table tr.dmtt-row1:nth-child(7) td,
.dmtt-tooltip table tr.dmtt-row1:nth-child(11) td  {
  padding: 8px 4px 4px 4px;
  background: #e3e3e3;
  font-weight: bold;
}

/* donor name cell */
.dmtt-tooltip table .dmtt-1a {
  padding-right: 8px;
}

/* donor value cell */
.dmtt-tooltip table .dmtt-1b {
  text-align: right;
  vertical-align: top;
}

/* donor industry row */
.dmtt-tooltip table tr.dmtt-row2:nth-child(2) td,
.dmtt-tooltip table tr.dmtt-row2:nth-child(6) td,
.dmtt-tooltip table tr.dmtt-row2:nth-child(10) td {
  font-size: 85%;
  color: #555555;
  padding: 0 4px 8px 4px;
  border-bottom: 1px solid #cccccc;
  background: #f3f3f3;
}

/* donor industry row */
.dmtt-tooltip table tr.dmtt-row2:nth-child(4) td,
.dmtt-tooltip table tr.dmtt-row2:nth-child(8) td,
.dmtt-tooltip table tr.dmtt-row2:nth-child(12) td {
  padding: 0 4px 8px 4px;
  background: #e3e3e3;
}

.dmtt-tooltip table .dmtt-right {
  text-align: right;
}

/* lifetime total */
.dmtt-tooltip .dmtt-total {
  font-weight: bold !important;
  color: #000000;
  padding: 0 4px 2px 0;
  text-align: right;
  float: right;
}

/* tooltip footer */
.dmtt-tooltip .dmtt-attribution {
  font-size: 85%;
}

.dmtt-tooltip .dmtt-attribdate {
  float: left;
  clear: right;
  margin-top: 10px;
  line-height: 6px;
}

.dmtt-tooltip .dmtt-attribsrc {
  float: left;
  clear: both;
  font-style: italic;
  padding: 0;
  margin: 0;
}

/* jquery specific css overrides jqueryui class */
.ui-tooltip{
  max-width: 368px !important;
  min-width: 368px !important;
  width: auto !important;
  overflow:auto !important;
}