.badge-container {
  cursor: default;
  margin-bottom: 0;  /* allow floats to overlap */
  font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;
  font-size: 12px;
  font-weight: normal;
  height: 18px;
  position: absolute;
  right: 0;
}
.badge-annotation {
  display: inline-block;
  zoom:1; /* IE7 fix for inline-block */
  *display:inline; /* IE7 fix for inline-block */
  border: 1px solid gray;
  border-radius: 3px;
  padding: 0 10px 0 10px;
  background-color: whiteSmoke;
  margin-left: 3px;
  height: 18px;
}
.cur .badge-annotation,
.old .badge-annotation,
.traceview .badge-annotation {
  cursor: pointer;
}
.cur .badge-annotation.expanded,
.old .badge-annotation.expanded,
.traceview .badge-annotation.expanded {
  border-radius: 3px 3px 0 0;
  border-bottom: 1px solid whiteSmoke;
  height: 20px;
}
.cur .hide-insets .badge-annotation.expanded,
.old .hide-insets .badge-annotation.expanded {
  border-radius: 3px;
  border-bottom: 1px solid gray;
  height: 18px;
}
.badge-annotation.expanded {
  font-weight: bolder;
  color: black;
}
.badge-suppressed {
  opacity: 0.3;
}
.badge-new {
  padding: 4px;
  border-radius: 5px;
  line-height: 12px;
  background-color: #f89406;
  cursor: help;
  margin-left: 5px;
}
.badge-buildtargets {
  padding: 4px;
  border-radius: 5px;
  line-height: 12px;
  background-color: #3a87ad;
  cursor: help;
  margin-left: 5px;
}
.inset-list {
  cursor: default; 
}
.inset-list a {
  margin-right: 8px;
}
.dup .inset-list {
  display: none; 
}
.source-code-container.image .inset-list-container {
  position: absolute;
  bottom: -16px;
  left: -5px;
}
.source-code-container.image .inset-list {
  width: 600px;
}
.source-code-container.image .line {
  position: absolute;
}

ul.inset-list {
  word-break: initial;
  position: absolute;
  list-style-type: none;
  
  border: 1px solid gray;
  padding: 5px;
  background-color: whiteSmoke;
  white-space: normal;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;

    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
    -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
            background-clip: padding-box;
}

.hide-insets ul.inset-list {
  display: none;
}

.source-code-container.code ul.inset-list,
.traceview ul.inset-list {
  top: 21px;
  right: 0;
  max-width: 40%;
}

li.inset {
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #DDD;
}
.hasannotation {
  background-color: #e6f3ff;
}
.hasannotation .num {
  padding: 2px 0 2px 0;
}
.hasannotation .num {
  box-shadow: 5px 0 0 0 orange inset;
}
.hasissue {
  background-color: #FBE7CC;
}

.source-code-container.code .hasannotation td {
  padding-right: 400px; /** account for badges overlapping source */
}
.cur .hasannotation,
.old .hasannotation {
  cursor: pointer;
}
.source-code-container.image .hasannotation {
  position: absolute;
  top: -2px;
  left: -2px;
  bottom: -5px;
  right: -5px;
  border: 4px #ffa5008a solid;
  box-shadow: 0px 0px 10px #b3b3b3;
}
.source-code-container.image .line-highlight.hasannotation {
  border-color: orange;
  box-shadow: 0px 0px 10px #838383;
}

.generatedline { /* after .hasannotation  and .line-highlight*/
    background: #CCC;
}
.generatedline td:hover:after {
    position: relative;
    background: #333;
    background: rgba(0,0,0,.5);
    border-radius: 5px;
    bottom: 26px;
    color: #fff;
    content: 'This line is generated code';
    left: 20%;
    padding: 5px 15px;
    z-index: 98;
}

.source-code-component .header ul {
  margin: 0;
}
.source-code-component .header li {
  line-height: 16px;
}
.source-code-container.code .contents {
  white-space: pre;
}
.source-code-component {
  line-height: 17px;
}

.code {
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
}
.source-code-container.code td {
  padding: 0;
  height: 20px;
}
.source-code-container {
  position: absolute;
  left: 0; 
  top: 0; 
  bottom: 0; 
  right: 0; 
  overflow-y: scroll;
  overflow-x: scroll;
  color: black;
}
.diff-change, .diff-insert, .diff-delete {
  background-color: #DCDCFF;
}
.cur .diff-delete,
.old .diff-insert {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hasannotation.diff-change, .hasannotation.diff-insert, .hasannotation.diff-delete {
  /*background-color: #E5D8CE;*/
}


.old .source-code-container.code .line-highlight.hasannotation,
.cur .source-code-container.code .line-highlight.hasannotation,
.traceview .line-highlight.hasannotation
{
  background-color: #b7d9f9;
}

.old .source-code-container.code .line-highlight.hasissue,
.cur .source-code-container.code .line-highlight.hasissue,
.traceview .line-highlight.hasissue
{
  background-color: #FFD596;
}


  .diff-table tr.solved > td,     .badge-annotation.solved
{
  background-color: #edf9e8;
}
  .diff-table.table-hover tbody tr.solved.row-selected > td,     .diff-table.table-hover tbody tr.solved:hover > td
{
  background-color: #dff0d8;
}

/** Severity: Info */
.source-code-container tr.informational .content span[data-annotations],
.source-code-container tr.informational span[data-annotations].content,
.source-code-container tr.informational td[data-annotations] {
  background-color: #e6f3ff;
}
.table.diff-table tr.info > td
{
  background-color: #FFFFFF;
}
  .diff-table.table-hover tbody tr.info.row-selected > td
, .diff-table.table-hover tbody tr.info:hover > td
{
  background-color: #b7d9f9;
}

/** Severity: Issue */
.source-code-container tr.issue .content span[data-annotations],
.source-code-container tr.issue span[data-annotations].content,
.source-code-container tr.issue td[data-annotations] {
  background-color: #ffdfb4a1;
  cursor: pointer;
}
.table.diff-table tr.issue > td
{
  background-color: #ffeed8;
}
  .diff-table.table-hover tbody tr.issue.row-selected > td
, .diff-table.table-hover tbody tr.issue:hover > td
{
  background-color: #FFD596;
}

/** Severity: Blocking */
.source-code-container tr.blocking .content span[data-annotations],
.source-code-container tr.blocking span[data-annotations].content,
.source-code-container tr.blocking td[data-annotations] {
  background-color: #F9EAEA;
  cursor: pointer;
}
.table.diff-table tr.blocking > td
{
  background-color: #F9EAEA;
}
  .diff-table.table-hover tbody tr.blocking.row-selected > td
, .diff-table.table-hover tbody tr.blocking:hover > td
{
  background-color: #efc9cf;
}

td.msg.suppressed > span.proper
, .badge-annotation.suppressed
, .inset-list-container .msg.suppressed
{
  text-decoration: line-through;
}

.inset-list-container .msg {
  font-weight: bold;
}

.table.diff-table tr.introduced td.msg.cur {
  color: #666;
}
.num {
  color: #888;
}
.hide-linenumbers .num {
  /** Note: using just 'display: none' causes misalignment in dup view */
  display: inline-block;
  width: 0px;
  visibility: hidden;
}

.traceview .snippet {
  margin-bottom: 20px;
}
.traceview .snippet-header {
  margin-bottom: 4px;
}
.traceview .snippet-code {
  background-color: white;
  border: 1px solid #bbb;
  box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.22)
}
.traceview .snippet .num,
.traceview .snippet .content {
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  white-space: pre;
}
.traceview .tracel-group {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.065);
  margin-bottom: 8px;
}
.traceview .tracel {
  padding: 2px 0px 0px 10px;
}
.traceview .warn-tracel {
  background-color: #FFF5E8;
  box-shadow: 4px 0 0 0 orange inset;
}
.traceview .info-tracel {
  background-color: #EBFFE8;
  box-shadow: 4px 0 0 0 #1DFF00 inset;
}
.traceview .error-tracel {
  background-color: #FFEAE8;
  box-shadow: 4px 0 0 0 #FF1900 inset;
}
.traceview .open-trace {
  display: none;
}
.traceview tr.snippet-expander {
  height: 8px;
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  cursor: pointer;
  background: black url(../img/hatchlines.png) repeat;
}
.traceview tr.snippet-expander:hover {
  background: #DCE9F1;
}
.traceview .snippet-expander i {
  position: absolute;
  margin-left: 50%;
  left: -8px;
  top: -6px;
}

.trace-textual-icon {
  display: inline-block;
  width: 14px;
  font-weight: bold;
  text-align: center;
  cursor: help;
}

.source-code-container .content span[data-annotations],
.source-code-container span[data-annotations].content {
  padding-top: 2px;
  padding-bottom: 1px;
}

.source-code-container span.content {
  display: inline-block;
  padding-top: 2px;
  padding-bottom: 1px;
}

.inset-list table.annotation-properties {
  width: 100%; 
  margin-top: 3px;
}
.inset-list table.annotation-properties th {
  color: #888888;
  font-weight: normal;
  white-space: nowrap;
  vertical-align: top;
}

.inset-list .annotation-links {
  margin-top: 3px;
}
.inset-list .blocking {
  margin: 5px 1px;
}

table.annotation-table tr.row-selected td {
    background-color: #e8e6e6;
}
table.annotation-table tbody tr {
  cursor: pointer;
}
table.annotation-table td.line {
  white-space: nowrap;
}
table.annotation-table th.value {
  text-align: right;
  white-space: nowrap;
}
table.annotation-table td.value {
  white-space: nowrap;
}
table.annotation-table span.value {
  display: inline-block;
  text-align: right;
  width: 75px;
}
table.annotation-table th.severity {
  text-align: right;
}
table.annotation-table td.severity {
  text-align: right;
  color: #888888;
  white-space: nowrap;
}
table.annotation-table tr.row-selected td.severity {
  color: #333333;
}

button.open-suppress {
  float: right;
}
.annotation-footer > .btn {
  font-weight: bold; 
}
