:root{   /* Global settings */
    /* Custom properties aka CSS variables */
    --svg-margin-top : 50px;
    --width-for-labels: 100px;
    --overview-categories-font : 12px;
    --overview-markables-text-font: 12px;
    /*--overview-categories-highlight-font: calc(var(--overview-categories-font) + 8px);*/ /*does not work when called within javascript*/
    --overview-categories-highlight-font: 20px;
    --category-marker-radius: 2;
    --overview-markables-font: 11px;
    --overview-pages-font: 11px;
    --main-column-max-width: 1200px;

    /* Evaluation colors */
    --color-score-3: 3, 212, 26;
    --color-score-2: 255, 200, 0;
    --color-score-1: 255, 130, 0;
    --color-score-0: 255, 10, 25;

        /* access in javascript: getComputedStyle(document.documentElement).getPropertyValue('--my-variable-name');
    /*  could also be set via javascript, first detecting number of TIs and layers and the window height then calculating the font hight and set it   */
    /*document.documentElement.style
    .setProperty('--my-variable-name', 'pink');F
    */
}

@media screen and (min-height: 1080px) {
    :root{
        --overview-categories-font : 15px;
        --overview-categories-highlight-font: 24px;
        --category-marker-radius: 5;
        --overview-markables-font:11px;
        --overview-markables-text-font: 13px;
    }
}

/* @media screen and (min-height: 1200px) {
    :root{
        --overview-categories-font : 15px;
        --overview-categories-highlight-font: 22px;
        --overview-markables-text-font: 14px;
    }
} */

.modal-dialog {
    max-width: max-content;
}

#forD3{
  margin-top: var(--svg-margin-top);
}

#forLabelsY{
    margin-top: var(--svg-margin-top);
    width: var(--width-for-labels);
    position: fixed;  
    left: 0; 
    background: white  
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
}
#overlay > div {
    top: 50%;
    position: relative;
    color: white;
    font-size: 50px;
    text-align: center;
    /* align-content: center; */
    margin: auto;
    width: 500px;
}
div.alert {
    position: fixed;
    z-index: 2;
}

svg#pageOverview {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 2000;
}
svg#pageOverview.left {
    right: auto;
    left: 0px;
    top: 50.6px !important;
}
line.page {
    fill:none;
    stroke:gray;
}
g.page > text {
    font-size: 10px;
    fill: gray;
}

g.confidence-menu text {
    text-anchor: start;
    paint-order: stroke;
    stroke: white;
    stroke-width: 5;
}
g.confidence-menu rect.background {
    fill: white;
    fill-opacity: 0.9;
}

#relations svg.relations {
    right: 0px;
    position: absolute;
}

#domainlayer, #relations, #comments, #rails {
    position:absolute;
    top: 0px;

    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -moz-user-select: none;
}
#parenthesis {
    border-left-style: solid;
    border-left-color: lightgrey;
    border-left-width: 1px;
}
#domainlayer > div, #relations > div, #comments > div {
    position: absolute;
    align-items: center;
    display: flex;
    cursor: pointer;
}
#relations > div.label {
    direction:rtl;
}

text.hotkey {
    fill: red;
}
.comment {
    border: 1px solid lightgray;
    padding: 3px;
    background: white;
    width: max-content;
    max-width: 600px;
    font-size: 14px;
}
.comment.connect {
    border: 2px solid black;
    z-index: 3000;
}

.openissuecontainer {
    border: lightgray solid;
    padding: 20px;
    border-radius: 10px;
}

span.colorField {
    width: 14px;
    height: 14px;
    background-color: gray;
    border: 1px solid black;
    display: inline-block;
}
rect.performance{
    stroke: black;
    stroke-width: 1;
}
text.performance {
    text-anchor: start;
    fill: whitesmoke;
}

div.label {
    /*width: 30px;
    height: 15px;*/
    display: inline;
}
div.label > span.layerLabel {
    cursor: pointer;
    color: gray;
    padding: 0px;
    background-color: #ffffffaa;
}
div.label.confidence--1 > span {
    background-color: rgba(252, 141, 89, 0.4);
}
div.label.confidence--1.faded > span, div.label.confidence--2.faded > span, div.label.confidence--3.faded > span, div.label.confidence--4.faded > span, div.label.confidence--5.faded > span {
    background-color: none;
}
div.label.confidence--2 > span {
    background-color: rgba(254, 224, 139, 0.4);
}
div.label.confidence--3 > span {
    background-color: rgba(217, 239, 139, 0.3);
}
div.label.confidence--4 > span {
    background-color: rgba(145, 207, 96, 0.2);
}
div.label.confidence--5 > span {
    background-color: rgba(26, 152, 80, 0.2);
}
div.label.faded > span.layerLabel {
    color: #eee;
}
div.label.both > span.layerLabel {
    color: darkgreen;
    font-weight: bold;
}
div.label.reference > span.layerLabel {
    color: gold;
    font-weight: bold;
}
div.label.different > span.layerLabel {
    color:darkred;
    text-decoration: line-through;
}
div.label.connect > span.layerLabel {
    color: black;
}
div.label path, div.label circle {
    stroke:gray;
    fill: lightgray;
    stroke-width: 0.5;
}
div.label.both path, div.label.both circle, span.colorField.both, rect.performance.same {
    fill:rgb(97, 173, 97);
    background-color: rgb(97, 173, 97);
}
div.label.reference path, div.label.reference circle, span.colorField.reference, rect.performance.different {
    fill:crimson;
    background-color: crimson;
}
div.label.faded path, div.label.faded circle, div.label.former > span {
    stroke:lightgray;
    color:lightgray;
    fill: #eee;
    stroke-width: 0.5;
}
div.label.connect path, div.label.connect circle {
    fill: black;
}
div.label.target-selection > span.layerLabel {
    border: dashed;
}

path.annoscheme-link {
    fill: none;
    stroke: rgb(230, 230, 230);
    stroke-width: 2px;
    marker-end: url(#arrow-gray);
}

path.link {
    fill: none;
    stroke: gray;
    stroke-width: 2.5px;
    marker-end: url(#arrow-gray);
}

path.link.connect {
    stroke:black;
    stroke-width: 4px;
    marker-end: url(#arrow-black);
}

path.link.spotOn{
    stroke:darkgrey;
    stroke-width: 4px;
    marker-end: url(#arrow-black);
}

path.link.different {
    stroke:crimson;
}
path.link.same {
    stroke: rgb(97, 173, 97);
}
path.link.goldstandard {
    stroke: #000;
}

div.bracket {
    border-right: solid 4px;
    border-radius: 10px;
    width: 10px;

    opacity: 0.5;
}
div.bracket.left {
    border-right: none;
    border-left:solid 4px;
    border-radius: 10px;
    width: 10px;

    opacity: 0.5;
}

div.bracket.left.connect{
    border-left:solid 6px;
    opacity: 1 !important 
}

div.bracket.right.connect{
    border-right:solid 6px;
    opacity: 1 !important 
}

div.bracket.faded {
    opacity: 0.1;
}
div.bracket.connect {
    opacity: 1.0;
}
div.bracket-left {
    border-left: solid 4px lightgray;
    border-radius: 10px;
    width: 10px;
}
div.bracket-left.faded {
    border-color: #eee;
}
div.bracket-left.connect {
    border-left: solid 2px black;
    border-radius: 10px;
    width: 10px;
}

div.relations {
    display: flex;
}
div.relations div.relation {
    display: flex;
    border: solid 1px lightgray;
    border-radius: 14px;
    align-items: center;
}
div.relations span.info {
    margin-left: 10px;
}


button.tags {
    border-radius: 4px;
    margin-left: 15px;
    padding: 1px 10px;
    border-width: 1px;
    width: 110px;
    color: white;
   /* background-color: attr(data-annotation-type-color);
    border-color: attr(data-annotation-type-color);*/
}

button.vertical{
    margin-top: 5px;
    margin-bottom: 5px;
}

button.tags.active {
    font-weight: bold;
    border: 5px double dimgray;
    width: 140px;
    margin-left: 0px;
}

#layerButtons {
    position:absolute;
    top:0px;
    max-width:145px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
#layerButtons.sticky {
    position: fixed;
    top: 1.4em;
}
#layerButtons > button {
    width: 100%;
}
#layerButtons > button.active {
    border: 1px solid black;
}
#layerButtons > button > input {
    float: right;
}

#tagTable {
    width: 100%;
}


#extra {
    max-width: 145px;
}


#modal {
    position: fixed;
    bottom: 0px;
    width:100%;
    background-color: #eee;
}

select.form-select.form-select-sm.focussed {
    border-color: orange;
    border-width: 2px;
}

circle.label {
    cursor: pointer;
    stroke: black;
    stroke-width: 0.5;
}
circle.label.source{
    stroke-dasharray: 4 2;
}

g.node.connect > circle.label, g.node.selected > circle.label {
    stroke-width: 2px;
}

circle.clickarea {
    stroke: none;
    fill-opacity: 0.05;
    cursor: pointer;
}

text {
    pointer-events: none;
}
text.tag {
    text-anchor: start;
}

.label.source{
    border:dotted 1px gray;
}
.link, .link-creator {
    border-top:solid gray 1px;
    border-bottom:solid gray 1px;
    border-left:solid gray 1px;
}

svg.links > path {
    fill:transparent;
    stroke: lightgray;
    stroke-width:1;
    cursor: pointer;
}
svg.links > path:hover, g.links > path.selected {
    stroke:black;
    /*stroke-width: 1;*/
}
path.connector.reference {
    stroke:crimson
}
path.connector.both {
    stroke:rgb(97, 173, 97);
}

/* Home */
.user-greeting.vertical {
    max-width: var(--main-column-max-width);
    margin: 0.8em auto 1.3em;

    display: grid;
    grid-template-areas:
            "welcome widget"
            "title widget";
    grid-template-rows: auto;
    grid-template-columns: 1fr 270px;
}

.user-greeting, .user-greeting.horizontal {
    max-width: var(--main-column-max-width);
    margin: 0.8em auto 1.3em;

    display: grid;
    grid-template-areas:
            "widget"
            "welcome"
            "title";
    grid-template-rows: auto;
    grid-template-columns: 1fr;
}

.user-greeting p.tasklabel {
    grid-area: welcome;
}

.user-greeting p.taskinfo {
    grid-area: title;
    align-self: end;
}

.user-greeting div.annotator_of_the_week {
    grid-area: widget;
}

.taskinfo {
    padding-top: 0.8em;
    border-bottom-style: solid;
    border-bottom-color: lightgrey;
    border-bottom-width: 1px;
    margin-bottom: 1.3em;
}

.tasklabel{
    display: inline-block;
    /* margin-right: 1em; */
    font-size: 1.3em;
    display: block;
   
}

.chevron{
    margin-right: 2em;
    font-size: 1.3em;
    float: right;
}

.layerLabel {
    font-size: 0.75em;
    color: gray;
    cursor:default;
    padding-right: 2px;
    position:absolute;
}
li.legend.tag .layerLabel {
    left:20px;
}
span.goldstandard {
    margin-left: 3px;
}

.navbar{
    padding-left: 1.4em;
    padding-right: 1.4em;
    border-bottom-style: solid;
    border-bottom-color: lightgrey;
    border-bottom-width: 1px;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1000;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

#overall{
    padding-left: 1.4em;
    padding-right: 3.2em;
}

#welcomebox{
    margin-top: 2em;
    margin-bottom: 1.3em;
}

#annotationDialog,  #examplesDialog, .dialog{
    border-radius: 4px;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
    background-color: white;
    position:absolute;
    z-index: 100;
    
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -moz-user-select: none;
}
#annotationDialog .btn-close, #examplesDialog .btn-close {
    float:right;
    margin:5px;
}
#annotationDialog label, #examplesDialog label {
    margin:5px;
}
text.confidence {
    text-anchor: middle;
}

#examplesDialog div.content {
    max-width: 800px;
    margin: 5px 20px;
}
#examplesDialog div.example {
    border-top: 1px solid lightgray;
    border-bottom: 1px solid lightgray;
    user-select: all;
}


#extraInfo{ 
    padding-left: 0.8em;
    padding-right: 0.8em;
    padding-bottom: 0.8em;
}
#annotationDialog::backdrop{
    background: #6a6b7380;
  }

.btn-space{
    margin-left: 300px;
}

.dialogHeader{
    border-bottom-style: solid;
    border-bottom-color: lightgrey;
    border-bottom-width: 1px;
    font-size: large;
}


select {
    padding: 10px;
    padding-right: 30px;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
      background-repeat: no-repeat, repeat;
      background-position: right .7em top 50%, 0 0;
      background-size: .7em auto, 100%;
  }

.selectConfidence{
    width: 150px;
    margin-left: 1em;
    padding-left: 0.3em;
    border-style: solid;
    border-color: lightgrey;
    border-width: 1px;
}


circle.edit, rect.edit {
    fill: lightblue;
    stroke:blue;
    opacity: 0.5;
}

circle.delete, rect.delete {
    fill: lightpink;
    stroke:red;
    opacity: 0.5;
}
circle.create, rect.create {
    fill: lightgreen;
    stroke:green;
    opacity: 0.5;
}

label.form-check-label {
    margin-left: 5px;
}
div.issue {
    border: gray solid 1px;
    margin: 2px;
    padding: 10px;
}
td.issues {
    display: flex;
    flex-wrap: wrap;
}

tr.task {
    cursor: pointer;
}
tr.task:hover, tr.type:hover, tr.type.selected {
    background-color: lightgray;
}
tr {
    border-bottom: 1px solid #ddd;
  }


  .tasktable {
    margin-top: 30px;
}

.tasktable > table {
    width: 100%;
}

span.finished, input.export-check {
    float: right;
}
tr.task.finished, .list-group-item.finished {
    background: #badbcc;
}

span.footreference {
    font-size: .8em;
    vertical-align: super;
}

.overviewtickfont{
    font-size: var(--overview-categories-font); /* TODO https://developer.mozilla.org/en-US/docs/web/css/media_queries/using_media_queries */
    /*font-weight: bold;*/
    text-anchor: start;
    pointer-events: all;
    cursor: pointer;
  /* alignment-baseline: hanging; */ /* does not work in Firefox */ 
}

.categoryfont{
    font-size: var(--overview-categories-font);
    font-weight: bold;
    text-anchor: start;
    /*pointer-events: none;*/
    pointer-events: all;
    cursor: pointer;
    user-select: none; 
}

  /* for confetti */
  @keyframes confetti-slow {
    0% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
    
    100% { transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg); }
  }
  
  @keyframes confetti-medium {
    0% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
    
    100% { transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg); }
  }
  
  @keyframes confetti-fast {
    0% { transform: translate3d(0, 0, 0) rotateX(0) rotateY(0); }
    
    100% { transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg); }
  }
  
  .confetti-container {
    perspective: 700px;
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }
  
  .confetti {
    position: absolute;
    z-index: 1;
    top: -10px;
    border-radius: 0%;
  }
  
.confetti--animation-slow {
      animation: confetti-slow 3.25s linear 1 forwards;
    }
    
.confetti--animation-medium {
      animation: confetti-medium 2.75s linear 1 forwards;
    }
    
.confetti--animation-fast {
      animation: confetti-fast 2.25s linear 1 forwards;
    }



.annoGlyph{
    /* font-size: var(--overview-categories-font); */ /*comes from categoryfont*/
    transition: font-size 0.2s;
}

.levelLabel{
    /* font-size: var(--overview-categories-font); */ /*comes from categoryfont*/
    transition: font-size 0.2s;
}

.annoGlyph.glyphLowlight{
    fill: rgb(240, 240, 240) !important;
}

.categoryMarker.glyphLowlight{
    /* fill: rgb(240, 240, 240) !important; */
    stroke: rgb(240, 240, 240) !important;
}


.glyphHighlight{
    font-size: var(--overview-categories-highlight-font) !important;
}

/*.moveBox{animation-name: myAnimation; animation-duration: 4s;} 
@keyframes myAnimation {
from{transform:translateX(0px);}
to{transform:translateX(400px);} } button{cursor:pointer}*/


.labelLowlight{
    fill: rgb(240, 240, 240) !important;
    color: rgb(240, 240, 240) !important;
}

.labelHighlight{
    font-size: var(--overview-categories-highlight-font) !important;
}

.outsideCompareZone{
    fill: rgb(245, 245, 245) !important;
    stroke: rgb(245, 245, 245) !important;
    
}

.verticalCategoryMatch{
    fill: rgb(97, 173, 97)  !important;
}

.verticalCategoryMiss{
    fill:rgb(179, 117, 117)  !important;
}

.tiDialog {
    position: fixed;
    background: rgb(248, 249, 250);
    color: Black;
    padding: 10px;
    top: 400px;
    left: 120px;
    border-style: solid;
    border-color: rgb(165, 165, 165); /* rgb(97, 97, 97);*/
    z-index: 1001;
    border-width: 1px;
    visibility: hidden;
    border-radius:5px;
    font-size: var(--overview-categories-font);
    /* text-decoration: underline; */
}


/* Arrow */
.tiDialog:before {
    content: "";
    position: absolute;
    top: 17px;                         
    left:-30px;
    border: solid 15px transparent;
    border-right-color: rgb(120, 120, 120);
    z-index: 2000;
}

.tiDialog a{
    cursor: pointer;
    text-decoration: underline;
}

.tiDialog a:hover{
    text-decoration: underline !important;
}

.username:hover{
    text-decoration: underline !important;
}

.textPane {
    position: fixed;
    background: rgb(253, 253, 253);
    color:rgb(70, 70, 70) !important; 
    top: 400px;
    left: 120px;
    width: 25vw;
    border-style: solid;
    border-color: rgb(180, 180, 180); /* rgb(97, 97, 97);*/
    z-index: 1002;
    border-width: 1px;
    visibility: hidden;
    border-radius:3px;
    /* text-decoration: underline; */
}

.textPane .btn-close{
    float: right;
 }

.textPane p{
    font-size: 12px;
}

.textPane td{
    font-size: 12px !important; 
}



.textInfo{
    padding: 10px;
    padding-top: 20px;
    /* text-decoration: underline; */
  }

.borderless{
    width: 25vw;
}

.borderless td, .borderless th,.borderless thead {
    border: none !important;
    font-size: 14px;
    color:rgb(70, 70, 70) !important; 
}

.borderless > :not(:first-child) {
    border-top: 1px solid rgb(110, 109, 109)  !important;
  }

.w-20{
    width: 20% !important;
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-font-icon{
    font-size: 28px;
    padding-left: 10px;
    color: rgba(0,0,0,.55);
}

.markable{
    fill: rgb(235, 235, 235);
    /*border: 1px solid gray;*/
}

.markableText{
    font-size: var(--overview-markables-text-font);
    /* font-size: 12px; */
    text-anchor: start;
}

.focusMarkableText {
    font-size: var(--overview-markables-text-font);
    /* font-size: 12px; */
    text-anchor: start;
}

@keyframes spinner-line-fade-more {
    0%, 100% {
      opacity: 0; /* minimum opacity */
    }
    1% {
      opacity: 1;
    }
  }
  
  @keyframes spinner-line-fade-quick {
    0%, 39%, 100% {
      opacity: 0.25; /* minimum opacity */
    }
    40% {
      opacity: 1;
    }
  }
  
  @keyframes spinner-line-fade-default {
    0%, 100% {
      opacity: 0.22; /* minimum opacity */
    }
    1% {
      opacity: 1;
    }
  }
  
  @keyframes spinner-line-shrink {
    0%, 25%, 100% {
      /* minimum scale and opacity */
      transform: scale(0.5);
      opacity: 0.25;
    }
    26% {
      transform: scale(1);
      opacity: 1;
    }
  }

  #spinnerbackground{
    position: fixed;
    opacity: 0.8;
    background: rgb(30, 30, 35) !important; 
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 1000000;
  }

  .textBox {
    border: 1px solid gray;
    margin: 10px;
    padding: 10px;
}

 #annoSchemePane{
    position: fixed;
    background: rgb(253, 253, 253);
    color:rgb(70, 70, 70) !important; 
    top: 200px;
    left: 120px;
    width: 25vw;
    height: 400px;
    border-style: solid;
    border-color: rgb(180, 180, 180); /* rgb(97, 97, 97);*/
    z-index: 1000;
    border-width: 1px;
    visibility: hidden;
    border-radius: 5px;
 }

 #annoSchemePane .btn-close{
    float: right;
 }

 #annoSchemeTitle{
    font: "12px sans-serif" !important;
    padding-left: 1em;
 }

  .confusionPane{
    position: fixed;
    background: rgb(253, 253, 253);
    color:rgb(70, 70, 70) !important; 
    top: 200px;
    left: 120px;
    border-style: solid;
    border-color: rgb(180, 180, 180); /* rgb(97, 97, 97);*/
    z-index: 1002;
    border-width: 1px;
    visibility: hidden;
    border-radius: 5px;
    font-size: 6pt;
    /* text-decoration: underline; */
  }

  .confusionPane .btn-close{
    float: right;
 }

  .confusionInfo{
    padding: 10px;
    padding-top: 20px;
    /* text-decoration: underline; */
  }
  


  .confusionPane .lrow {
    display: flex;  
    align-items:flex-end; /* https://css-tricks.com/snippets/css/a-guide-to-flexbox/ */
  }
  
  .confusionPane .lcolumn {
    flex: 50%;
    padding: 20px;
  }



.roTH{
  vertical-align: bottom;
  text-align: center;
  font-size: 6pt;
}

.rotator{
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

 /* classes for the table view */
span.action {
    color: lightgray;
    display: block;
    font-size: small;
    cursor: pointer;
}


#auxLabels{
   font-size: var(--overview-pages-font);
}

.parafont{
    font-size: var(--overview-pages-font);
}

.counterfont{
    /* font-size: 16px !important; */
    /* mix-blend-mode: difference; */
}

.markableContentText{
    font-size: 9px;
    overflow: scroll;
    position: absolute;
    border-right: 0.5pt solid grey;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 1px;
    padding-right: 1px;
  
  /*-webkit-hyphens: auto;
     -moz-hyphens: auto;
          hyphens: auto; */
}

#table th,  #table td, #confusion th, #confusion td {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 1px 5px;
}
#table td > span {
    display: block;
    white-space: nowrap;
    border: solid 1px gray;
    border-radius: 5px;
    padding: 0px 4px;
}

table.sticky-header tr.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: white;
}

table.sticky-header tr.header th:nth-child(n+4) {
    vertical-align: bottom;
}

table .precision {
    display: block;
    padding: 0 .2em;
    text-align: center;
    font-weight: normal;
    height: 1.5em;
}
table .precision.placeholder {
    background-color: lightgray;
}

#confusion td.same {
    background-color: lightgreen;
}
#confusion td.different {
    background-color: lightcoral;
}

.tag-line {
    margin-bottom: 20px;
    display:flex;
}
.tag-line .label {
    width: 100px;
}

.tag-line div.tag {
    text-align: center;
    border: 1px solid gray;
    border-radius: 5px;
    overflow:hidden;
    white-space: nowrap;
}
.tag-line div.tag.same {
    background-color: lightgreen;
}
.tag-line div.tag[class*="different"] {
    background-color: lightcoral;
}
.tag-line div.tag.missing {
    background-color: lightgray;
}
.relations-stats .tag-line div.tag {
    overflow: visible;
    height: 1.8rem;
    white-space: break-spaces;
}
.relations-stats .tag-line div.tag span {
    white-space: nowrap;
}

.column.side {
    column-width: 400px;
}
g.node.truncator > circle {
    fill: orange;
}
g.node.truncated > circle {
    fill: lightgray;
}
circle.unintersting {
    fill: darkgray;
}
path.truncated {
    stroke: lightgray;
}

/* div.container.reading span.content::after{
    content : '〉'
} */

input.accordion-checkbox {
    margin-left:10px;
}

.fadedOut {
    opacity: 0.3;
} 

.spotOn {
    opacity: 1 !important;
}

div.bracket.left.spotOn{
    border-left:solid 6px;
}

div.bracket.right.spotOn{
    border-right:solid 6px;
}


#schemeOverview {
    overflow: visible;
}

.tab1{
    display: inline-block;
    margin-left: 100px;
}

#annoTexts{
    top: 3px;
    position: relative;
    left: 0px;
}

.btn.btn-decision {
    background-color: goldenrod;
    color: white;
}
.btn.btn-decision.inactive {
    background-color: darkgoldenrod;
    color: lightgray;
}

g.decision-node {
    stroke: gray;
    fill: white;
}
g.decision-node.highlight {
    fill:goldenrod;
}
g.decision-node.highlight.current {
    fill:darkgoldenrod;
}
g.decision-action {
    stroke: gray;
    fill: black;
}
g.decision-action.highlight {
    fill:goldenrod;
}
path.decision-link {
    stroke: gray;
}
path.decision-link.highlight {
    stroke: goldenrod;
}
text.label {
    font-size: 10px;
}
g.links text.label {
    font-size: 6px;
}

.question {
    min-height: 75px;
}


#options {
    position: fixed;
    bottom: 0;
    right: 64px;
    padding: 12px;
    background-color: white;
    z-index: 10;
}

[data-only-goldstandard=true] div.label.reference > span.layerLabel {
    color: black;
    font-weight: normal;
}

div#missing-detail-info div {
    display:flex;
    flex-wrap: wrap;
}

div#missing-detail-info div .id {
    margin: 0px 3px;
    cursor: pointer;
}

g.task g.label {
    display:none;
}
g.task.visible g.label {
    display:block;
}

rect.timeline {
    stroke: black;
    stroke-width: 1;
    fill:white;
    fill-opacity: 0.7;
}

rect.task_label_background {
    fill: white;
    fill-opacity: 0.9;
}

span.badge.status {
    position: absolute;
    top: 11px;
    right: 20px;
}

span.badge.status.X {
    background-color: Gray;
}

span.badge.status.S {
    background-color: Orange;
}

span.badge.status.R {
    background-color: DodgerBlue;
}

span.badge.status.C {
    background-color: SlateBlue;
}

span.badge.status.F {
    background-color: MediumSeaGreen;
}