rect.bordered {
    stroke: #E6E6E6;
    stroke-width: 2px;
}

text.mono {
    font-size: 12pt;
    font-family: "Inter var";  /* prior to new nav this was Roboto, also not a monospace font. -dan */
    fill: #000;
}

text.axis-workweek {
    fill: #000;
}

text.axis-worktime {
    fill: #000;
}

.heatmap-table {
    position: relative;
}

.heatmap-table, .legend-table {
    border-spacing: 5px 0;
    border-collapse: separate;
    width: 100%;
}

.heatmap-table td, .legend-table td {
    text-align: left;
    min-width: 50px;
    vertical-align: top;
}

.heatmap-technique-cell{
    border-spacing: 5px 0;
    border-collapse: separate;
    width: 100%;
    background: white;
}

.heatmap-technique-cell td{
    text-align: left;
    vertical-align: middle;
}

.heatmap-technique-cell .technique-expand-cell, .heatmap-technique-cell .subtechnique-expand-cell{
    min-width: 0px;
}

.heatmap-technique-cell .subtechnique-expand-cell{
    border-right-width: 2px;
    border-right-color: #0a0a0a;
}

.heatmap-technique-cell .technique-value-cell, .heatmap-technique-cell .subtechnique-value-cell{
    min-width: 40px;
}

.subtechnique-value-cell{
    padding-left: 10px;
}

/* .heatmap-table td {
  position: relative;
} */
.heatmap-table th {
    position: sticky;
    top: 0;
    text-align: center;
    padding: 0 2px;
    z-index: 1;
}

.has-outcome {
    cursor: pointer;
}

.has-outcome:hover {
    opacity: 0.8 !important;
}

.heatmap-wrap {
    padding: 0 10px 15px;
}

.heatmap-overflow {
    height: 1150px; /* this is set dynamically */
    overflow-x: auto;
    overflow-y: auto;
    position: relative;
}

.heatmap-overflow .popover {
    max-width: 435px;
    min-width: 320px;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.30);
    z-index: 70;
}

.legend-box {
    margin-bottom: 15px;
    padding: 5px 10px;
}

.legend-table td {
    text-align: center;
}

.legend-key-bg {
    height: 35px;
    border-radius: 3px;
}

.legend-text {
    height: 22px;
}

.legend-subtext {
    font-size: 13px;
}

.nocoverage{
    border: 2px dashed #888;
    color: #bbb;
    cursor: text;
}

.NO_COVERAGE{
    border: 2px dashed #888;
    color: #bbb;
}

.outcome-count-badge {
    background-color: rgba(255, 255, 255, 0.75);
    color: rgba(0, 0, 0, 0.87);
    position: absolute;
    top: 4px;
    right: 4px;
    border: 0;
}

.technique-id-badge {
    background-color: rgba(255, 255, 255, 0.75);
    color: rgba(0, 0, 0, 0.87);
    position: absolute;
    bottom: 4px;
    right: 4px;
    border: 0;
}

.heatmap-overflow .list-group {
    margin-bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 400px;
}

.heatmap-overflow .list-group-item {
    border: none;
    border-top: 1px solid #ddd;
    padding: 8px 4px 8px 0;
}

.heatmap-overflow .list-group-item:first-child {
    border: none;
}

.list-item-text {
    max-width: 295px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
}

.list-item-subtext {
    font-size: 12px;
}

.list-item-subtext .outcome-status-sep {
    font-size: 5px;
    position: relative;
    top: -3px;
    padding: 0 4px;
}

h4.heatmap-header{
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    margin: 0 0 0 16px;
}

.list-item-container {
    display: grid;
}

/* subtechnique support */

.pt-cell {
    display: flex;
    flex-direction: row;
    border-radius: 4px;
}

.pt-mitreid {
    color: #1a1a1a;
    font-size: 12px;
    font-weight: bold;
    padding-left: 1px;
}

.pt-mitreid.nocoverage {
    border: 0px none;
    color: #bbb;
}

.pt-mitreid.NO_COVERAGE {
    border: 0px none;
    color: #bbb;
}

.pt-coverage {
    border: 2px solid gray;
    min-height: 55px;
    cursor: pointer;
}

.has-outcome-badge {
    min-height: 55px !important;
}

.st-coverage {
    cursor: pointer;
}

.st-coverage:hover {
    opacity: 0.8 !important;
}

.pt-container {
    width: 100%;
    padding: 2px;
}

.pt-label {
    flex: 0 1 100%;
    position: relative;
    padding: 5px;
    font-size: 15px;
}

.pt-dropdown {
    flex: 1 1 13px;
    background-color: #dadada;
    transition: all .35s;
    cursor: pointer;
    border-right: 1px solid #bbbbbb;
    display:flex; justify-content: flex-end; flex-direction: column;
    overflow: hidden;
    outline: none;
}

.pt-dropdown:active, .pt-dropdown:focus {
    outline: none;
}

.pt-dropdown:hover {
    background-color: #c5c5c5;
}

.pt-dropdown-arrow {
    display:inline-block;
    color: #5d5d5d;
    font-size: 8px;
    text-align: center;
    margin-bottom: 2px;
}

.rt90 {
    margin-left: 1px;
    transform: rotate(90deg);
}

.outcome-count-badge {
    background-color: rgba(255, 255, 255, 0.75);
    color: rgba(0, 0, 0, 0.87);
    position: absolute;
    top: 4px;
    right: 4px;
    border: 0;
}

.technique-data-divider{
    margin-bottom: 0px;
    margin-top: 0px;
    border-top: 1.5px solid #0a0a0a;

}

.outcome-badge {
    padding: 3px 5px;
    display: inline-block;
    min-width: 10px;
    min-height: 30px;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    color: black;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    border-radius: 12px;
}

.pt-count {
    padding-top: 2px;
    padding-bottom: 2px;
    color: #929292;
}

.pt-this-count {
    border-top: 1px solid gray;
}

div.outcome-count-badge > div.active {
    color: black;
}

/* tree setup */

ul.tech-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.tech-tree heatmap-cell-subtechnique li {
    position: relative;
    margin-left: 7px;
    padding-left: 6px;
    margin-top: 0;
    margin-bottom: 0;
    margin-right: 4px;
    border-left: 2px solid #e5e5e5;
}

ul.tech-tree heatmap-cell-subtechnique:last-child li {
    border-left: none;
    padding-left: 8px;
}

ul.tech-tree heatmap-cell-subtechnique li:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 21px;
    vertical-align: top;
    border-bottom: 2px solid #e5e5e5;
    content: "";
    display: inline-block;
}

ul.tech-tree heatmap-cell-subtechnique:last-child li:before {
    border-left: 2px solid #e5e5e5;
    width: 10px;
}

div.tech-tree-sub-container {
    margin-right: 0px;
    max-width: 100%;
    width: 100%;
}

div.tree-sub-container > div {
    /*cursor: pointer;*/
}

.pt-label, .technique-new{
    min-height: 30px;
}

.technique-new {
    padding: 5px;
    border-radius: 4px;
    position: relative;
    z-index: 0;
    text-align: left;
    max-width: 100%;
    width: 100%;
    text-transform: none;
    display: block;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.technique-new, .technique-new:active, .technique-new:focus {
    outline: none;
}

.pt-container, .pt-container:active, .pt-container:focus {
    outline: none;
}
