/*@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400&family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');
:root {
    --textColor: #212121;
    --textColorLight: #757575;
    --primaryColor: #03A9F4;
    --primaryColorDark: #0288D1;
    --primaryColorLight: #B3E5FC;
    --accentColor: #8BC34A;
    --dividerColor: #BDBDBD;
    --horizontalScale: 1;
}
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-family: 'Lato', sans-serif;
    font-size: 12pt;
    transition: all 0.2s;
}
body {
    height: 100%;
    width: 100vw;
}
body[data-appstate="menu"] {
    overflow: hidden;
}
::placeholder {
    color: #c0c0c0;
    opacity: 0.4;
}
.templates {
    display: none;
}
h1 {
    font-size: 150%;
}
h2 {
    font-weight: normal;
}
a {
    text-decoration: none;
    color: var(--textColor);
}
ol {
    padding-left: 1rem;
}
svg {
    opacity: 0.6;
}
.menu svg {
    opacity: 1;
}
table {
    border-collapse: collapse;
    table-layout: fixed;
}
.diagnosisTable {
    margin-top: 3rem;
    opacity: 1;
    pointer-events: all;
    background: var(--dividerColor);
}
thead tr {
    position: sticky;
    top: -1px;
    top: calc(3rem - 1px);
    z-index: 1000;
    background: #f6f6f6;
    box-shadow: 0 1px 3px rgb(0 0 0/0.3);
}
.diagnosisTable tr {
    background: #fff;
}
.managementOverlay thead tr {
    position: relative;
    top: 0;
    box-shadow: none;
}

th {
    font-weight: normal;
}
tbody th {
    position: sticky;
    left: -1px;
}
thead th {
   background: rgba(0 0 0 /0.05);
   padding: 0.5rem;
    border-bottom: 1px solid rgb(0 0 0/0.2);
}
.controls {
    display: grid;
    grid-template-columns: 1fr 1fr 3fr;
    column-gap: 0.25rem;
    padding: 0.25rem 0;
}
.button {
    text-decoration: none;
    text-align: center;
    color: #000;
    display: block;
    padding: 0.25rem;
    border: 1px solid #c0c0c0; 
}
.button:hover {
    border: 1px solid #000; 
    background: rgb(0 0 0 /0.04);
}
th.evidenceTitle {
    padding: 0;
    position: relative;
    overflow: hidden;
}
.evidenceTitle h4 {
    font-size: 50%;
    background: rgb(0 0 0 /0.04);
    background: #B3E5FC50;
    border-bottom: 1px solid rgb(0 0 0/0.1);
    position: absolute;
    z-index: 3;
    top: 0; left: 0; right: 0;
    color: var(--textColor);
    /*opacity: 0; */
    pointer-events: none;
    transform: translateY(-100%);
    max-height: 1.4em;
}
.lrCell {
    background: #fff;
}
.carouselEnabled.evidenceTitle h4 {
    /*opacity: 1;*/
    transform: translateY(0);
}
.reorderHandle {
    position: absolute;
    box-shadow: 0 0 1px rgb(0 0 0/0.4);
    background: #fff;
}
.evidenceTitle .reorderHandle {
    bottom: 0;
    left: calc(50% - 1rem);
    width: 2rem;
    height: 0.7rem;
    line-height: 0.25rem;
    margin-top: -0.35rem;
    cursor: ew-resize;
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    border-radius: 0.125rem 0.125rem 0 0;
}
.evidenceTitle:hover .reorderHandle {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}
.hypothesis .reorderHandle {
    top: calc(50% - 1rem);
    left: 0;
    width: 7px;
    width: 0.5rem;
    height: 2rem;
    line-height: 2rem;
    cursor: ns-resize;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
    z-index: 20;
    border-radius: 0 0.125rem 0.125rem 0;
}
.hypothesis:hover .reorderHandle {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
.evidenceTitle input {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.evidenceTitle:hover {
    cursor: text;
    background: #f5f5f5;
}
/*.active.evidenceTitle input[type="text"] {
    display: block;
}*/
.editingToggledCell {
    cursor: text;
}
.active.editingToggledCell input[type="text"] {
    display: block;
}
/*
.evidenceTitle .makeTodo {
    position: absolute;
    top: 0.25rem; right: 0.25rem;
    width: 1rem; height: 1rem;
    background: #fff;
    box-shadow: 1px 1px 2px rgb(0 0 0/0.5);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}
.makeTodo:before {
    content: "?---";
    color: #000; text-decoration: none;
    font-size: 5pt;
    position: absolute;
    top: 0px; left: 1px;
    font-weight: bold;
}
.makeTodo:after {
    content: "?---";
    color: #000; text-decoration: none;
    font-size: 5pt;
    position: absolute;
    top: 7px; left: 1px;
    font-weight: bold;
}
.makeTodo:hover {
    background: rgb(255 255 0 /20%);
}
.evidenceTitle:hover .makeTodo {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
*/
/*
.makeTodo {
    background: var(--primaryColorDark);
    position: absolute;
    z-index: 3;
    top: 0.25rem;
    right: 0.25rem;
    transform: translateY(6px);
    opacity: 0;
    width: 1rem; height: 1rem;
    width: 1.4142rem;
    height: 1.4142rem;
    bottom: 100%; left: 100%;
    transform: rotate(45deg);
}
.evidenceTitle:hover .makeTodo,
.todo.evidenceTitle .makeTodo {
    /*transform: translate(-0.7rem,0.7rem) rotate(45deg);
    transform: translateY(0);
    opacity: 1;
}
.pin {
    background: var(--primaryColor);
    position: absolute;
    top: 2px;
    right: 4px;
    width: 0.3rem;
    height: 0.5rem;
    color: var(--primaryColor);
    text-align: center;
    line-height: 0.75rem;
    transform: rotate(45deg) translate(0);
    transition: all 0.2s;
}
.makeTodo:hover:not(.todo .makeTodo:hover) .pin {
    animation: pinshake 0.5s forwards;
    /* 
    line-height: 0.5rem;
    transform: translate(-0.15rem, 0.15rem) rotate(35deg);
    transition: all 0.1s;
}
@keyframes pinshake {
    0% { transform: rotate(45deg); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(60deg); }
    60% { transform: rotate(35deg); }
    80% { transform: rotate(55deg); }
    100% { transform: rotate(45deg); }
}
.todo.evidenceTitle .makeTodo .pin {
    line-height: 0.5rem;
    transform: translate(-0.15rem, 0.15rem) rotate(35deg);
    transition: all 0.2s;
}
.pin:before {
    content: "";
    position: absolute;
    top: -2px;
    left: -1px;
    width: calc(100% + 2px);
    height: 0.25rem;
    background: var(--primaryColor);
    border-radius: 50%;
}
.pin:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: calc(100% + 4px);
    height: 0.25rem;
    background: var(--primaryColor);
    border-radius: 50%;
}
*/
.makeTodo {
    position: absolute;
    z-index: 3;
    top: 0.75rem;
    right: 0.25rem;
    /*border: 1px solid var(--textColor);*/
    background: #f6f6f6;
    width: 0.85rem; height: 0.85rem;
    opacity: 0;
    transform: translateY(6px);
}
.lrCell .makeTodo {
    top: auto;
    bottom: 0.25rem;
    transform: translateY(-6px);
}
.makeTodo .checkmark {
    position: absolute;
    top: 0; left: 0;
    line-height: 0.85rem;
    line-height: 12px;
    width: 100%;
    pointer-events: none;
}
.todo,
.todo input,
.todo .carouselItem {
    color: #a0a0a0;
}
.todo .makeTodo .checkmark {
    opacity: 0;
}
.evidenceTitle:hover .makeTodo
/*, .todo .makeTodo*/ {
    opacity: 0.8;
    transform: translateY(0);
}
.lrCell:hover .makeTodo {
    opacity: 0.8;
    transform: translateY(0);
}

.makeCategory {
    position: absolute;
    z-index: 3;
    bottom: 0.2rem; right: 0.2rem;
    transform: translateY(-6px);
    opacity: 0;
    color: var(--textColor);
}
.evidenceTitle:hover .makeCategory,
.carouselEnabled.evidenceTitle .makeCategory {
    transform: translateY(0);
    opacity: 1;
}
th.pretest {
   background: rgba(0,180,260);
   background: var(--primaryColor);
}
td, 
.dummyCell {
    height: 3rem;
}
th, td, .dummyCell {
    position: relative;
    width: 14vw;
    max-width: 14vw;
    min-width: 14vw;
    max-height: 3rem;
    overflow: hidden;
    white-space: no-wrap;
    text-align: center;
    border: 1px solid #a0a0a0;
}
.managementOverlay th,
.managementOverlay td {
    width: 10.5vw;
    max-width: 10.5vw;
    min-width: 10.5vw;
}
td:focus-within, th:not(.hypothesis):focus-within {
    border: 1px solid blue;
    border: 1px solid var(--primaryColor);
    border-style: double;
}
tbody th {
    height: 3rem;
}
input {
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0.25rem;
    text-align: center;
}
input:focus {
    outline: 0;
}
thead th:focus {
    outline: none;
}
.cellValue {
    text-align: right;
}
.diagnosisTable th:first-child, 
.diagnosisTable td:first-child {
    width: 28vw;
    min-width: 28vw;
    max-width: 28vw;
    position: sticky;
    left: 0;
    z-index: 300;
    background: #fff;
}
.diagnosisTable th.hypothesis {
    background: rgb(0 0 0/0.15);
}
.dummyRow .dummyMainCell {
    width: 28vw;
    min-width: 28vw;
    max-width: 28vw;
}
.managementOverlay thead th:first-child, 
.managementOverlay td:first-child {
    width: 14vw;
    min-width: 14vw;
    max-width: 14vw;
    position: relative;
    background: #fff;
}
.dummyColumn .dummyMainCell {
    width: 14vw;
    min-width: 14vw;
    max-width: 14vw;
}
.pretestCell {
   background: rgb(0 180 260 /0.075);
    background: rgba(3 169 244 /0.2);
    background: rgb(205,238,253);
}
.hypothesis[data-referencehypothesisid]:not([referencehypothesisid=''])+.pretestCell {
    /* pretestCells next to cells indicating a link to another hypothesis */
    background: rgba(3 169 244 /0.3);
}
.pretestCell input {
    background: transparent;
}
.hypothesis[data-referencehypothesisid]:not([referencehypothesisid=''])+.pretestCell input {
    /* inputs in pretestCells next to cells indicating a link to another hypothesis */
    pointer-events: none;
}
.hypothesis {
    position: relative;
    padding-left: 7px;
}
.probabilityArea {
    overflow: hidden;
    width: calc(100% - 14px); height: 100%;
    margin: 0 auto;
    position: relative;
    background: rgb(0 0 0/0.01);
    pointer-events: none;
    /*border-left: 1px solid #000;
    border-right: 1px solid #000;*/
    box-shadow: 0 0 5px rgb(0 0 0/90%);
}
.thresholdArea {
    position: absolute;
    width: 100%; 
    width: calc(100% - 7px);
    height: 100%;
    top: 0; 
    /*left: 0;*/
    right: 0;
    background: #fff;
}
.probabilityIndicator {
    background: rgb(0 140 20/60%);
    background: var(--accentColor);
    opacity: 0.8;
    width: 100%;
    height: 100%;
    left: 0;
    transform-origin: left center;
    overflow: hidden;
    /*transform: translateX(0%) scaleX(0.01);*/
    transform: translateX(0%) scaleX(0.0025);
}
.conditionName {
    position: absolute;
    z-index: 300;
    color: #fff;
    height: 1.5rem;
    line-height: 1.5rem;
    left: 0; right: 0; bottom: 0;
    background: rgba(0 0 0/0.54);
    pointer-events: all;
    margin: 1px;
    background: rgb(205 205 205/0.3);
    border-radius: 0.75rem;
    color: var(--textColor);
}
.probabilityArea:hover .conditionName,
.conditionName:focus {
    background: rgb(205 205 205/0.54);
}
.treatmentThreshold {
    position: absolute;
    z-index: 250;
    width: 100%;
    height: 100%;
    left: calc(100% - 7px);
    top: 0;
    background: rgba(0 60 120 / 40%);
    /*background: var(--primaryColorDark);*/
    background: rgb(2 136 209 /40%); /* Previously primary color dark but opacity 40%.  Now 40% on background and opacity: 1 */
    background: rgb(2 136 209 /20%); /* Previously primary color dark but opacity 40%.  Now 40% on background and opacity: 1 */
    opacity: 1;
    transition: none;
}
.handle {
    position: absolute;
    top: 0; width: 7px; bottom: 0;
    cursor: ew-resize;
}
.treatmentThreshold .handle {
   left: 0; 
}
.handle:hover {
    background: rgb(0 0 0/0.1);
}
.testingThreshold {
    position: absolute;
    left: 0; top: 0; width: 7px; bottom: 0;
    background: rgb(255 255 255 /0.4);
    background: rgb(0 0 0 / 0.15);
    border-right: 1px dashed rgb(0 0 0/0.7);
    z-index: 10;
    transition: none;
}
.testingThreshold .handle {
   right: 0; 
}
.commentButton {
    position: absolute;
    top: 0.2rem; right: 0.2rem;
    width: 1rem; 
    /*
    height: 0.62rem;
    border-radius: 3px;
    background: #f0f0f0;
    border: 1px solid #b0b0b0;
    */
    /*border-top: none;*/
    transform: translateY(6px);
    opacity: 0;
}
.commentButton[data-comment]:not(.commentButton[data-comment=""]) {
    transform: translateY(0);
    opacity: 0.7;
}
.commentButton:before {
    /*
    content: "";
    background: #f0f0f0;
    position: absolute;
    top: calc(100% - 0.125rem); right: 0.125rem;
    width: 0.25rem; height: 0.25rem;
    transform: rotate(45deg);
    border: 1px solid #b0b0b0;
    border-top: none;
    border-left: none;
    */
}
td:hover .commentButton,
th:hover .commentButton {
    transform: translateY(0);
    opacity: 1;
}
.commentButton:hover,
.commentButton:hover:before {
    background: #e7e7e7;
}
.linkPretestButton {
    position: absolute;
    bottom: 0.2rem; right: 0.2rem;
    width: 1rem; height: 0.62rem;
    border-radius: 1px;
    border: 1px solid #a0a0a0;
    transform: translateY(-6px);
    opacity: 0;
}
.linkPretestButton:before {
    content: "";
    position: absolute;
    left: -1px; top: -1px;
    width: 33%; height: 100%;
    background: rgb(0 0 0/0.05);
    border-radius: 1px;
    border: 1px dashed #a0a0a0;
}
td:hover .linkPretestButton,
.hypothesis[data-referencehypothesisid]:not([referencehypothesisid=''])+.pretestCell .linkPretestButton {
    transform: translateY(0);
    opacity: 1;
}
.linkPretestButton:hover {
    border: 1px solid #787878;
}
.linkPretestButton:hover:before {
    border: 1px dashed #787878;
    background: rgb(0 0 0/0.1);
}
.managementOverlay {
    position: fixed;
    background: #fff;
    left: 27.5vw; /*width: 28vw;
    width: 72.5vw;*/
    top: calc(2.5rem - 2px); /*height: 12rem;*/
    top: calc(3rem + 3px); /*height: 12rem;*/
    padding: 0.5rem;
    border: 1px solid #c0c0c0;
    box-shadow: 3px 3px 8px rgb(0 0 0/40%);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}
.managementOverlay .hypothesisTitle {
    display: block;
    display: inline;
}
.managementOverlay textarea {
    display: block;
    width: 100%;
    height: 6rem;
    padding: 0.25rem
}
.managing .diagnosisTable {
  /*  filter: brightness(70%);*/
    opacity: 0.2;
}
.managing .managementOverlay {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
.managementGoals input[type=text] {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0; left: 0;
    font-size: 75%;
    display: none;
}
.managementGoals span {
    font-size: 75%;
}
.managementGoals .active input[type=text] {
    display: block;
}
.managementImpacts {
    display: none;
}
.activeRow.managementImpacts {
    display: table-row; 
}
.managementImpacts td {
    padding: 0.5rem;
}
.managementImpacts input[type=range] {
    height: 1rem;
}
.managementImpacts span {
    font-size: 75%;
}
.managementWeights .alignmentStatements {
    height: 1rem;
    overflow: hidden;
}
.alignmentCarousel {
    display: flex;
    flex-direction: column;
    transform: translateY(0rem);
}
.alignmentCarousel[data-score="-10"],
.alignmentCarousel[data-score="-9"],
.alignmentCarousel[data-score="-8"] {
    transform: translateY(0rem);
}
.alignmentCarousel[data-score="-7"],
.alignmentCarousel[data-score="-6"],
.alignmentCarousel[data-score="-5"],
.alignmentCarousel[data-score="-4"] {
    transform: translateY(-1rem);
}
.alignmentCarousel[data-score="-3"],
.alignmentCarousel[data-score="-2"],
.alignmentCarousel[data-score="-1"] {
    transform: translateY(-2rem);
}
.alignmentCarousel[data-score="0"] {
    transform: translateY(-3rem);
}
.alignmentCarousel[data-score="3"],
.alignmentCarousel[data-score="2"],
.alignmentCarousel[data-score="1"] {
    transform: translateY(-4rem);
}
.alignmentCarousel[data-score="7"],
.alignmentCarousel[data-score="6"],
.alignmentCarousel[data-score="5"],
.alignmentCarousel[data-score="4"] {
    transform: translateY(-5rem);
}
.alignmentCarousel[data-score="10"],
.alignmentCarousel[data-score="9"],
.alignmentCarousel[data-score="8"] {
    transform: translateY(-6rem);
}
.managementWeights .alignmentStatements span {
    font-size: 75%;
    height: 1rem;
    display: block;
    /*display: none;*/
}
.managementWeights .alignmentStatements .activeStatement {
    display: block;
}
.comment {
    padding: 0.5rem;
    width: 21vw;
    height: 9rem;
    box-shadow: 0 0 3px rgb(0 0 0/30%);
    position: absolute;
    z-index: 1000;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}
.comment textarea {
    width: 100%;
    padding: 0.5em;
    font-size: 75%;
    min-height: calc(100% - 2.25rem);
}
.commenting .comment {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0)
}
.linkPretest {
    padding: 0.5rem;
    width: 21vw;
    /*height: 9rem;*/
    box-shadow: 0 0 3px rgb(0 0 0/30%);
    position: absolute;
    z-index: 1000;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}
.pretestLinking .linkPretest {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
.linkPretest .disabledContent,
.linkPretest.noLinksAvailable .enabledContent {
    display: none;
}
.linkPretest .enabledContent,
.linkPretest.noLinksAvailable .disabledContent {
    display: block;
}
.linkPretest input {
    display: inline;
    width: 4rem;
    border-bottom: 1px solid var(--textColor)
}
.summaryOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 4000;
    display: flex;
    opacity: 0;
    pointer-events: none;
}
.summaryOverlay ul {
    padding-left: 1rem;
}
.viewingSummary .summaryOverlay {
    opacity: 1;
    pointer-events: all;
}
.hypothesisOverlay {
    background: rgb(0 0 0/40%);
    height: 100%;
    width: 28vw;
}
.summaryContent {
    width: calc(100% - 28vw);
    background: #fff;
    box-shadow: 0 -5px 5px rgb(0 0 0/60%);
    padding: 0.5rem 1rem;
    overflow: auto;
}
.summaryContent h2 {
    font-weight: bold;
    font-weight: normal;
    border-bottom: 1px solid #a0a0a0;
    margin-top: 0.75rem;
    font-size: 125%;
}
.summaryContent h3 {
    padding-top: 1rem;
}
ul.summaryNavigation {
    list-style: none;
    display: block;
    /*
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0.25rem;
    */
    width: 50%;
    padding: 1rem 0;
} 
.summaryNavigation li {
    display: inline-block;
    margin-right: 0.5rem;
}
.summaryNavigation a {
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: rgb(200 200 200 /20%);
}
[data-navigateto="overview"] .navigateToOverviewItem,
[data-navigateto="hypothesis"] .navigateToHypothesisItem,
[data-navigateto="goals"] .navigateToGoalItem {
    background: rgb(2 136 209 /20%);
}
.summaryTypes {
    position: relative;
    width: 75%;
}
.summaryOverview,
.summaryItems,
.summaryGoals {
    position: absolute;
    top: 0.5rem; left: 1rem;
}
.summaryOverview {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
}
.viewingSummary [data-navigateto="overview"] .summaryOverview {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.summaryItems {
    opacity: 0;
    pointer-events: none;
}
.viewingSummary [data-navigateto="hypothesis"] .summaryItems {
    opacity: 1;
    pointer-events: all;
}

.summaryGoals {
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
}
.viewingSummary [data-navigateto="goals"] .summaryGoals {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
.goalRelatedManagementItems {
    margin-bottom: 1rem;
}

.viewSummaryButton {
    position: fixed;
    bottom: 0.125rem;
    right: 0.125rem;
    z-index: 3000;
    padding: 0.5rem 1rem 0.75rem;
    text-align: center;
    background: #fff;
    border: 1px solid #121212;
}
.viewSummaryButton:hover {
    background: #f0f0f0;
}
.summaryItems {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 0.5rem;
    row-gap: 0.5rem;
    width: 100%;
}
.ruledOutNotification, .testingNotification, .managementItems {
    display: none;
}
.ruledOut .ruledOutNotification,
.managed .managementItems, 
.needsWorkup .testingNotification {
    display: block;
}
.availableFurtherFindings {
    display: none;
}
.moreFindingsAvailable .availableFurtherFindings {
    display: block;
}
.ruledOut {
    opacity: 0.4;
}
.warningNotification {
    background: rgb(255,249,196); 
    padding: 0.5rem 1rem;
}
.managementItems {
    padding-left: 1rem;
}
.managementSummaryItem {
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgb(0 0 0 /40%);
    margin: 2px;
    padding: 1rem;
}
/*
.saveButton {
    position: fixed;
    bottom: 0.125rem;
    right: 9.125rem;
    z-index: 3000;
    padding: 0.5rem 1rem;
    text-align: center;
    background: #fff;
    border: 1px solid #121212;
}
.saveButton:hover {
    background: #f0f0f0;
}
*/

.summaryOverviewItemData,
.summaryGoalRelatedManagementItemData {
    height: 1.25rem;
}
.expanded.summaryOverviewItemData,
.expanded.summaryGoalRelatedManagementItemData {
    height: 3.75rem;
}
.summaryOverviewItem h4,
.summaryGoalRelatedManagementItem h4 {
    font-weight: normal;
    display: flex;
    align-items: center;
}
.summaryOverviewItemDetails,
.summaryGoalRelatedManagementItemDetails {
    opacity: 0;
    transition-duration: 0.6s;
    font-size: 75%;
    white-space: pre-wrap;
}
.expanded .summaryOverviewItemDetails,
.expanded .summaryGoalRelatedManagementItemDetails {
    opacity: 0.5;
    transition-duration: 0.6s;
}
.expandButton {
    position: relative;
    width: 1rem;
    height: 1rem;
    display: none;
    line-height: 1rem;
    text-align: center;
}
.expandable {
    overflow: hidden;
}
.expandable .expandButton {
    display: block;
}
.expandButton .expandableConstant,
.expandButton .expandableIndicator {
    position: absolute;
    top: calc(50% - 0.0625rem);
    left: calc(50% - 0.25rem);
    width: 0.5rem;
    height: 0.125rem;
    background: var(--dividerColor);
}
.expandButton:hover .expandableConstant,
.expandButton:hover .expandableIndicator {
    background: var(--textColor);
}
.expandButton .expandableIndicator {
    transform: rotate(90deg);
}
.expanded .expandButton .expandableIndicator {
    transform: rotate(0);
}
.todo.lrCell input {
    background: #f0f0f0;
}

.treatmentThresholdName {
    position: absolute;
    right: calc(100% + 0.125em);
    top: 1.5em;
    font-size: 50%;
    color: var(--textColor);
    transform-origin: top right;
    transform: rotate(-90deg);
    opacity: 0;
    pointer-events: none;
    text-align: right;
    width: 5rem;
}
.lowManagementThreshold .treatmentThresholdName {
    left: calc(7px + 0.125em); right: auto;
    top: 0.25em;
    transform-origin: top left;
    opacity: 0;
    pointer-events: none;
    text-align: left;
    width: 5rem;
}
.treatmentThreshold:hover .treatmentThresholdName {
    transform: rotate(0deg);
    opacity: 0.8;
}
.treatmentThresholdProbabilityDisplay {
    position: absolute;
    right: calc(100% + 0.125em);
    top: 0.25em;
    font-size: 50%;
    color: var(--textColor);
    transform-origin: top right;
    transform: rotate(-90deg);
    opacity: 0;
    pointer-events: none;
}
.treatmentThreshold:hover .treatmentThresholdProbabilityDisplay {
    transform: rotate(0deg);
    opacity: 0.8;
}

.testingThresholdProbabilityDisplay {
    position: absolute;
    left: calc(100% + 0.25em);
    top: 0.25em;
    font-size: 50%;
    color: var(--textColor);
    transform-origin: top left;
    transform: rotate(90deg);
    opacity: 0;
    pointer-events: none;
}
.testingThreshold:hover .testingThresholdProbabilityDisplay {
    transform: rotate(0deg);
    opacity: 0.8;
}

.categoryMaker {
    position: absolute;
    padding: 0.5rem;
    width: 14vw;
    left: 56vw;
    overflow: hidden;
    box-shadow: 0 0 3px rgb(0 0 0/30%);
    z-index: 4000;
    background: #fff;
    transform: translateX(-6px);
    opacity: 0;
    pointer-events: none;
}
.categoryEditing .categoryMaker {
    transform: translateX(0);
    opacity: 1;
    pointer-events: all;
}
.categoryMaker[data-categoryitemcount="0"] { height: calc(4rem + 3.75rem); }
.categoryMaker[data-categoryitemcount="1"] { height: calc(4rem + 3.75rem); }
.categoryMaker[data-categoryitemcount="2"] { height: calc(4rem + 3.75rem + 1.7rem); }
.categoryMaker[data-categoryitemcount="3"] { height: calc(4rem + 3.75rem + 2*1.7rem); }
.categoryMaker[data-categoryitemcount="4"] { height: calc(4rem + 3.75rem + 3*1.7rem); }
.categoryMaker[data-categoryitemcount="5"] { height: calc(4rem + 3.75rem + 4*1.7rem); }
.categoryMaker[data-categoryitemcount="6"] { height: calc(4rem + 3.75rem + 5*1.7rem); }
.categoryMaker[data-categoryitemcount="7"] { height: calc(4rem + 3.75rem + 6*1.7rem); }
.categoryMaker[data-categoryitemcount="8"] { height: calc(4rem + 3.75rem + 7*1.7rem); }
.categoryMaker[data-categoryitemcount="9"] { height: calc(4rem + 3.75rem + 8*1.7rem); }
.categoryMaker[data-categoryitemcount="10"] { height: calc(4rem + 3.75rem + 8*1.7rem); } /* Does not grow at this point  */

.categoryMaker[data-categoryitemcount="0"] .categoryItems li:nth-of-type(3),
.categoryMaker[data-categoryitemcount="0"] .categoryItems li:nth-of-type(3) ~ li,
.categoryMaker[data-categoryitemcount="1"] .categoryItems li:nth-of-type(3),
.categoryMaker[data-categoryitemcount="1"] .categoryItems li:nth-of-type(3) ~ li,
.categoryMaker[data-categoryitemcount="2"] .categoryItems li:nth-of-type(4),
.categoryMaker[data-categoryitemcount="2"] .categoryItems li:nth-of-type(4) ~ li,
.categoryMaker[data-categoryitemcount="3"] .categoryItems li:nth-of-type(5),
.categoryMaker[data-categoryitemcount="3"] .categoryItems li:nth-of-type(5) ~ li,
.categoryMaker[data-categoryitemcount="4"] .categoryItems li:nth-of-type(6),
.categoryMaker[data-categoryitemcount="4"] .categoryItems li:nth-of-type(6) ~ li,
.categoryMaker[data-categoryitemcount="5"] .categoryItems li:nth-of-type(7),
.categoryMaker[data-categoryitemcount="5"] .categoryItems li:nth-of-type(7) ~ li,
.categoryMaker[data-categoryitemcount="6"] .categoryItems li:nth-of-type(8),
.categoryMaker[data-categoryitemcount="6"] .categoryItems li:nth-of-type(8) ~ li,
.categoryMaker[data-categoryitemcount="7"] .categoryItems li:nth-of-type(9),
.categoryMaker[data-categoryitemcount="7"] .categoryItems li:nth-of-type(9) ~ li,
.categoryMaker[data-categoryitemcount="8"] .categoryItems li:nth-of-type(10)
{ 
    opacity: 0;
}

.categoryMakerTitle {
    border-bottom: 1px solid var(--dividerColor);
}
.categoryMaker ul {
    list-style: none; 
}
.categoryMaker input[type=text] {
    font-size: 75%;
    height: auto;
}
.categoryMaker .controls {
    position: absolute;
    bottom: 0;
}
.categoryMaker li input[type="text"] {
    margin-top: 0.125rem
}
.categoryMaker li input[type="text"] {
    border: 1px solid var(--dividerColor);
    border-radius: 0.75rem;
}
.carouselContainer {
    overflow: hidden;
    height: 3rem;
}
input.tableColumnSwitcher {
    transform-origin: left top;
    display: block;
    width: 2.9rem;
    height: 1rem;
    position: absolute;
    z-index: 100;
    left: 1.25rem;
    top: 0;
    transform: rotate(90deg) translateY(8px);
    opacity: 0;
    pointer-events: none;
}
th.carouselEnabled:hover input.tableColumnSwitcher {
    opacity: 1;
    pointer-events: all;
    transform: rotate(90deg) translateY(0);
}
.carouselItem {
    height: 3rem;
    /*line-height: 3rem;*/
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(0 0 0/0.04);
    transform: scaleY(0.1);
}
.evidenceTitle .carouselItem {
    padding: 0 0.5rem;
}
.currentCarouselItem.carouselItem {
    background: rgb(0 0 0/0);
    box-shadow: 0 3px 5px rgb(0 0 0/0.1);
    transform: scaleY(1);
}
.cellCarousel {
    display: flex;
    flex-direction: column;
}
.cellCarousel {
    display: flex;
    flex-direction: column;
    transition: all 0.6s;
}
.cellCarousel[data-state="1"] { transform: translateY(0rem); }
.cellCarousel[data-state="2"] { transform: translateY(-3rem); }
.cellCarousel[data-state="3"] { transform: translateY(-6rem); }
.cellCarousel[data-state="4"] { transform: translateY(-9rem); }
.cellCarousel[data-state="5"] { transform: translateY(-12rem); }
.cellCarousel[data-state="6"] { transform: translateY(-15rem); }
.cellCarousel[data-state="7"] { transform: translateY(-18rem); }
.cellCarousel[data-state="8"] { transform: translateY(-21rem); }
.cellCarousel[data-state="9"] { transform: translateY(-24rem); }
.cellCarousel[data-state="10"] { transform: translateY(-27rem); }

header {
    position: fixed;
    z-index: 4000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.5rem;
    background: #012438;
    color: #fff;
}
header a {
    color: #fff;
}
header input {
    font: inherit;
    color: inherit;
    text-align: left;
    background: transparent;
    width: 33vw;
    width: 67vw;
}
header {
    padding-right: 2rem;
}
.contextArea {
    display: flex;
    align-items: center;
}
.menuButton {
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    margin-right: 0.5rem;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.5rem;
    border-radius: 2px;
}

.menuButton:hover {
    background: rgb(255 255 255 /0.2);
}
/*
.menuButton:before {
    position: absolute;
    content: "";
    border-bottom: 2px solid #fff;
    left: 0; right: 0;
    top: calc(50% - 1px);
}*/
.headerControls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "privacy save credentials";
    column-gap: 0.5rem;
    align-items: center;
}
header .button,
.menu .button,
.admin .button, .admin button {
    text-decoration: none;
    text-align: center;
    color: #fff;
    display: block;
    padding: 0.25rem;
    padding-bottom: 0.5rem;
    border: 1px solid #fff; 
}
.forgotPasswordLink {
    display: inline-block;
    margin: 0.25em 0 1rem;
    font-size: 75%;
}
header .button:hover,
.menu .button:hover,
.admin .button:hover, .admin button:hover {
    border: 1px solid #fff; 
    background: rgb(255 255 255 /0.2);
}
.saveButton {
    grid-area: save;
    position: relative;
    opacity: 1;
    pointer-events: all;
}
.pendingSave.saveButton {
    opacity: 0.5;
    pointer-events: none;
}
[data-projecttype="shared"] .saveButton {
    display: none;
}
.saveIndicator {
    position: absolute;
    right: calc(100% + 0.5rem);
    color: var(--accentColor);
    font-size: 1.5rem; line-height: 1.5rem;
    opacity: 0;
    top: 0;
    width: 2rem;
    height: 1.5rem;
}
.saveIndicator:before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    transform-origin: bottom right;
    transform: rotate(45deg);
    background-color: var(--accentColor);
    height: 0.33rem;
    width: 0.75rem;
}
.saveIndicator:after {
    content: "";
    position: absolute;
    bottom: 0; right: 0;
    transform-origin: bottom left;
    transform: rotate(-45deg);
    background-color: var(--accentColor);
    height: 0.33rem;
    width: 1.25rem;
}
.confirmingSave.saveIndicator {
    opacity: 1;
    animation: confirmingsave 2.5s forwards;
}
@keyframes confirmingsave {
    0% {
        opacity: 1;
        transform: scale(0.7) translateY(0);
    }
    5% {
        opacity: 1;
        transform: scale(1.2) translateY(0);
    }
    10% {
        opacity: 1;
        transform: scale(0.9) translateY(0);
    }
    15% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(1) translateY(-100%);
    }
}
.openCredentialsButton,
.logoutButton {
    grid-area: credentials;
}

/* Menu */
.menu {
    position: fixed;
    top: 0; left: 0;
    bottom: 0; right: 0;
    z-index: 5000;
    background: #012438;
    color: #fff;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
}
[data-appstate="menu"] .menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}
.menu ol {
    list-style: none;
    padding-top: 1rem;
}
.menu a {
    color: #fff;
}
.menu .newProjectButton {
    width: 4rem;
    /*margin-top: 0.5rem;*/
    margin-right: 4rem;
}
.menu .closeMenuButton {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 200%;
    line-height: 1rem;
}

.conditionProbabilityDisplay {
    font-size: 50%;
    position: absolute;
    width: 6rem;
    left: calc(50% - 3rem);
    bottom: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
}
.conditionName:hover + .conditionProbabilityDisplay {
    opacity: 1;
    transform: translateY(0px);
}

.probabilityDisplay,
thead th:not(.evidenceTitle) {
    user-select: none;
}

/* Credentials  */
header .credentials {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    background: #fff;
    border: 1px solid #000;
    padding: 1rem;
    color: var(--textColor);
    width: 25vw;
    opacity: 0;
    pointer-events: none;
    transform: translate(6px,-6px);
}
header .open.credentials {
    opacity: 1;
    pointer-events: all;
    transform: translate(0,0);
}
header .credentials input[type="text"],
header .credentials input[type="password"] {
    border: 1px solid var(--dividerColor);
    width: 100%;
}
header .credentials input[type="text"] {
    margin-bottom: 1rem;
}

header .credentials .button {
    padding: 0.5rem 1rem;
    text-align: center;
    background: #fff;
    color: var(--textColor);
    border: 1px solid var(--dividerColor);
    cursor: pointer;
}
header .credentials .button:hover {
    background: #f0f0f0;
    border: 1px solid var(--textColor);
}
header .credentials a {
    color: var(--textColor);
}
.registerLink {
    color: var(--textColor);
}
.registerLink:hover {
    text-decoration: underline;
}
.closeCredentialsButton {
    position: absolute;
    right: 0.5rem;
    top: 0.25rem;
    color: var(--dividerColor);
}
.closeCredentialsButton:hover {
    color: var(--textColor);
}

.menu .credentials {
    width: 25vw;
    margin-top: 1rem;
}
.menu .credentials input,
.register input {
    border: 1px solid #fff;
    width: 100%;
    text-align: left;
}
.menu .credentials input[type="text"] {
    margin-bottom: 1rem;
}
.menu .credentials h2 {
    font-weight: bold;
}
.menu .credentials form,
.admin  form {
    border: 1px solid #fff;
    padding: 1rem;
    margin-top: 0.25rem;
}
.menu .credentials .button,
.admin button {
    padding: 0.5rem 1rem;
    text-align: center;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
}
.adminContent {
    display: flex;
    flex-direction: column;
}
.menu .credentials .button:hover {
    background: rgb(255 255 255/0.2);
}

.projectArea {
    height: calc(100vh - 10rem);
    width: 50vw;
    width: 75vw;
    overflow-y: auto;
    overflow-x: hidden;
}
.projectActions {
    display: flex;
    justify-content: flex-start;
    justify-content: space-between;
    align-items: baseline;
    width: 75vw;
}
.projectCategories {
    display: grid;
    width: 33rem;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 0.25rem;
    margin: 1rem 0 0.25rem;
}
.projectCategories .button {
    border: none;
    background: rgb(255 255 255/0.075);
    border-radius: 0.25rem;
}
.projectCategories .button:hover {
    border: none;
}
[data-projectstate="ownProjects"] .ownProjectButton {
    cursor: pointer;
    pointer-events: none;
    background: rgb(255 255 255/0.2);
}
[data-projectstate="sharedProjects"] .sharedProjectButton {
    cursor: pointer;
    pointer-events: none;
    background: rgb(255 255 255/0.2);
}
[data-projectstate="archivedProjects"] .archivedProjectButton {
    cursor: pointer;
    pointer-events: none;
    background: rgb(255 255 255/0.2);
}
.projectTable {
    border: none;
    width: 50vw;
    width: 75vw;
    background: transparent;
    margin-top: 1rem;
}
.projectTable thead tr {
    border-bottom: 1px solid #fff;
    background: transparent;
    box-shadow: none;
    position: relative; top: 0;
}
.projectTable th,
.projectTable td {
    background: transparent;
    border: none;
    box-shadow: none;
    text-align: left;
    padding: 0.5rem;
}
.projectTable th:first-child,
.projectTable td:first-child {
    width: 25vw;
    min-width: 25vw;
}

.projectTable tbody tr:nth-child(odd):hover {
    background: rgb(255 255 255/0.05);
}
.projectTable tbody tr:nth-of-type(2n) {
    background: rgb(255 255 255/0.1);
}
.projectTable tbody tr:nth-of-type(2n):hover {
    background: rgb(255 255 255/0.15);
}
.pendingLoad.projectTable tbody tr {
    animation: rowpulse 1s infinite;
}
.pendingLoad.projectTable tbody tr:nth-child(odd) {
    animation-delay: 0.5s;
}
@keyframes rowpulse {
    0% {
        background: rgb(255 255 255/0.1);
    }
    50% {
        background: rgb(255 255 255/0.0);
    }
    100% {
        background: rgb(255 255 255/0.1);
    }
}

.openProjectButton {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}
.openProjectButton:hover {
    text-decoration: underline;
}
.projectActions {
    overflow: visible;  /* Allows tooltips to display properly  */
}
/*
.projectTitleData:hover {
    cursor: pointer;
}
.projectTitleData:hover a {
    text-decoration: underline;
}
*/
/*https://www.youtube.com/watch?v=LnSFuUJjYIo*/

.admin {
    padding: 1rem;
    background: #012438;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.admin a {
    color: #fff;
}
.admin a:hover {
    text-decoration: underline;
}
.admin p {
    padding-top: 1rem;
}
.admin input {
    margin-bottom: 1rem;
    height: auto;
    text-align: left;
}
.admin form {
    width: 33vw;
}
.adminMain {
}

.getStarted {
    background: #012438;
}
.introVideo {
    position: fixed;;
    min-width: 100%;
    min-height: 100%;
    top: 0; left: 0;
    opacity: 0.2;
}
.getStarted .intro {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 0; left: 0;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.introPrompt {
    width: 50%;
}
.introPrompt h1 {
    font-size: 500%;
}
svg.logoIcon {
    transform-origin: center center;
    transform: scaleX(-1);
}
.introPrompt p {
    padding-left: 0.5rem;
}
.getStartedButton {
    border: 1px solid #fff;
    display: inline-block;
    padding: 0.5rem;
    margin: 1rem 0.5rem;
    color: #fff;
}
.getStartedButton:hover {
    background: rgb(255 255 255/0.2);
}

/* Row and column reordering    */
.dummyRow {
    display: flex;
    opacity: 0; pointer-events: none;
    position: absolute;
    top: 0; left: 0;
    transition: all 0s;
    background: #fff;
    box-shadow: 0 0 5px rgb(0 0 0/0.5);
    z-index: 3500;
}
.dummyRow .duplicateContent {
    height: 1.5rem;
    line-height: 1.5rem;
    left: 0; right: 0; bottom: 0;
    background: rgba(0 0 0/0.54);
    margin: 1px;
    background: rgb(205 205 205/0.3);
    border-radius: 0.75rem;
    color: var(--textColor);
    width: calc(100% - 2px);
    transform: translateY(50%);
    transition: 'translateY' 1s;
}
.dummyRow.activeDummy .duplicateContent {
    transform: translateY(0);
    transition: 'translateY' 1s;
}
.dummyRow.activeDummy {
    display: flex;
    opacity: 1; pointer-events: all;
    cursor: none;
}
.dummyColumn {
    display: flex;
    flex-direction: column;
    opacity: 0; pointer-events: none;
    position: absolute;
    top: 0; left: 0;
    transition: all 0s;
    background: #fff;
    box-shadow: 0 0 5px rgb(0 0 0/0.5);
    z-index: 3500;
}
.dummyColumn .dummyMainCell {
    background: rgba(0 0 0 /0.1);
}
.dummyColumn .dummyMainCell .duplicateContent {
    width: 100%;
    text-align: center;
}
.dummyColumn.activeDummy {
    opacity: 1; pointer-events: all;
    cursor: none;
}
.dummyCell {
    display: inline-block;
}
.dummyRow .dummyExtraCell {
    width: 3.5rem;
    min-width: 3.5rem;
    transition: 'min-width' 0.5s;
}
.activeDummy.dummyRow .dummyExtraCell {
    width: 0.5rem;
    min-width: 0.5rem;
    transition: 'min-width' 0.5s;
}
.dummyColumn .dummyExtraCell {
    height: 2.5rem;
    min-height: 2.5rem;
    transition: 'min-height' 0.5s;
}
.activeDummy.dummyColumn .dummyExtraCell {
    height: 0.5rem;
    min-height: 0.5rem;
    transition: 'min-height' 0.5s;
}
.dummyCell:nth-of-type(2) { background: rgb(0 0 0/0.025); }
.dummyRow .dummyCell:nth-of-type(2) { background: rgb(205,238,253); }
.dummyCell:nth-of-type(3) { background: rgb(0 0 0/0.05); }
.dummyCell:nth-of-type(4) { background: rgb(0 0 0/0.075); }
.dummyCell:nth-of-type(5) { background: rgb(0 0 0/0.1); }
.dummyMainCell {
    display: flex;
    align-items: center;
}

.movingRow, .movingColumn {
    opacity: 0;
}
.overlappedRow {
    /*border-bottom: 2px solid blue;*/
    /*transform: translateY(0);*/
}
.overlappedRow ~ tr,
.overlappedRow + tbody > tr {
    /*transform: translateY(100%);*/
}
.overlappedLaterRow {
    transform: translateY(-100%);
}
.overlappedEarlierRow {
    transform: translateY(100%);
}
.overlappedColumn {
    /*border-right: 2px solid blue;*/
    /*transform: translateY(0);*/
}
.overlappedColumn ~ td,
.overlappedColumn ~ th {
    /*transform: translateX(100%);*/
}
.overlappedLaterColumn {
    transform: translateX(-100%);
}
.overlappedEarlierColumn {
    transform: translateX(100%);
}
/*
.overlappedRow + tr { color: red; }
.overlappedRow + tr + tr { color: yellow; }
.overlappedRow + tr + tr + tr { color: lightgreen; }
.overlappedRow + tr + tr + tr + tr { color: blue; }
.overlappedRow + tr + tr + tr + tr + tr { color: violet; }
*/

.diagnosisTable {
    transform-origin: left top;
}
[data-state="movingcolumn"] td, 
[data-state="movingcolumn"] th,
[data-state="movingrow"] td, 
[data-state="movingrow"] th  {
    user-select: none;
}
[data-state="movingrow"],
[data-state="movingcolumn"],
[data-state="movingrow"] *,
[data-state="movingcolumn"] * {
    cursor: none;
}
[data-state="movingcolumn"] {
    transform: scale(var(--horizontalScale));
}
[data-state="movingcolumn"].diagnosisTable th:first-child {
    /*position: relative;*/
}
[data-state="movingrow"] .hypothesis * {
    pointer-events: none;
}
/*
[data-state="movingcolumn"] .evidenceTitle * {
    pointer-events: none;
}
[data-state="movingcolumn"] .evidenceTitle:hover a,
[data-state="movingcolumn"] .evidenceTitle:hover .reorderHandle {
    opacity: 0;
}
*/
.overlappedColumn.evidenceTitle:hover {
    background: #e9e9e9;
}
.overlappedColumn.evidenceTitle:hover:not(.todo) .makeTodo,
.overlappedColumn.evidenceTitle:hover:not(.carouselEnabled) .makeCategory,
.overlappedColumn.evidenceTitle:hover .reorderHandle,
.overlappedColumn.evidenceTitle:hover .tableColumnSwitcher {
    opacity: 0;
}

/* Scrollbars   */
.menu, .admin {
  scrollbar-color: rgb(255 255 255/0.4) transparent;
}
.menu ::-webkit-scrollbar,
.admin ::-webkit-scrollbar {
  width: 0.5rem; /* Mostly for vertical scrollbars */
  height: 0.5rem; /* Mostly for horizontal scrollbars */
}
.menu ::-webkit-scrollbar-thumb,
.admin ::-webkit-scrollbar-thumb { /* Foreground */
  background: rgb(255 255 255/0.2);
  border-radius: 0.25rem;
}
.menu ::-webkit-scrollbar-track,
.admin ::-webkit-scrollbar-track { /* Background */
  background: transparent;
}

* {
  scrollbar-color: var(--dividerColor);
}
* ::-webkit-scrollbar {
  width: 0.5rem; /* Mostly for vertical scrollbars */
  height: 0.5rem; /* Mostly for horizontal scrollbars */
}
* ::-webkit-scrollbar-thumb { /* Foreground */
  background: var(--dividerColor);
  border-radius: 0.25rem;
}
* ::-webkit-scrollbar-track { /* Background */
  background: transparent;
}

/* Range inputs    */
/* Range input reset    */
input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
 /* width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]:focus {
  outline: none; /* Removes the blue border. You should probably do some kind of focus styling for accessibility reasons though. */
}

input[type=range]::-ms-track {
  width: 100%;
  cursor: pointer;

  /* Hides the slider so custom styles can be added */
  background: transparent; 
  border-color: transparent;
  color: transparent;
}

/* Range input styling: handle/thumb    */
/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--textColorLight);
  cursor: pointer;
  border: 1px solid rgb(0 0 0/0.8);
}

/* TODO */
/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--textColorLight);
  cursor: pointer;
  border: 1px solid rgb(0 0 0/0.8);
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--textColorLight);
  cursor: pointer;
  border: 1px solid rgb(0 0 0/0.8);
}

/* Range input styling: track    */
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.5rem;
  cursor: pointer;
  /*box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;*/
  background: var(--dividerColor);
  border-radius: 0.25rem;
  /*border: 0.2px solid #010101;*/
  box-shadow: inset 0 0 2px rgb(0 0 0/0.5);
}

input[type=range]:focus::-webkit-slider-runnable-track {
  /*background: #367ebd;*/
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071a9;
}
input[type=range]::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]:focus::-ms-fill-upper {
  background: #367ebd;
}

/*  Sharing Overlay */
.sharingSetup {
    overflow: hidden;
}
.sharingOverlay {
    position: fixed;
    z-index: 6000;
    justify-content: center;
    align-items: center;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #01243880;
    display: flex;
    opacity: 0;
    pointer-events: none;
}
.sharingSetup .sharingOverlay {
    opacity: 1;
    pointer-events: all;
}
.sharing {
    padding: 2rem 2rem 1rem;
    background: #fff;
    width: 30rem;
    transform: translateY(50%);
}
.sharingSetup .sharing {
    transform: translateY(0);
}
.sharedUserAdditionArea {
    display: flex;
    margin-top: 0.5rem;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.sharing input {
    border: 1px solid var(--dividerColor);
    width: 100%;
    text-align: left;
}
.addSharedUserButton {
    width: 3.5rem;
}
.potentialSharedUserList {
    position: absolute;
    top: 100%;
    left: 0;
    min-height: 2rem;
    width: 100%;
    box-shadow: 0 2px 4px rgb(0 0 0/0.5);
    background: #fff;
    list-style: none;
    opacity: 0;
    pointer-events: none;
}
.active.potentialSharedUserList {
    opacity: 1;
    pointer-events: all;
}
.potentialSharedUserList .sharedUser {
    padding: 1rem;
    cursor: default;
}
.potentialSharedUserList .sharedUser:hover {
    padding: 1rem;
    cursor: default;
    background: #B3E5FC40;
}

.potentialSharedUserList .sharedUser .removeUserButton {
    display: none;
}
.sharedUserList {
    min-height: 2rem;
    list-style: none;
    padding-top: 0.25rem;
}
.sharedUser {
    display: grid;
    grid-template-columns: auto 1fr min-content;
    column-gap: 0.5rem;
}
.sharedUser .email {
    color: var(--dividerColor);
}
.sharedUserList .sharedUser {
    padding: 0.25rem 0;
}
.closeOverlayButtons {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.updateSharedUsersButton {
    margin-left: 0.25rem;
}

/* Tool-tips    */
[data-tooltip] {
    position: relative;
}
[data-tooltip]:before {
    content: attr(data-tooltip);
    color: #fff;
    position: absolute;
    z-index: 5000;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--textColor);
    padding: 0.25rem;
    font-size: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transform: translateY(-25%);
    pointer-events: none;
    opacity: 0;
    transition: all 0.2s;
    white-space: nowrap;
}
[data-tooltip]:hover::before {
    transform: translateY(0px);
    opacity: 1;
}

/* Evidence Wizard  */
.evidenceWizardOverlay {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: rgb(0 0 0/0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
}
.active.evidenceWizard {
    opacity: 1;
    pointer-events: all;
}
.evidenceWizard a {
    /*
    text-decoration: none;
    color: #000;
    */
}
.evidenceWizard {
    background: #fff;
    width: 60vw;
    height: 50vh;
    min-height: 18rem;
    padding: 2rem;
    overflow: hidden;
    position: relative;
}
.stageCarousel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    top: 0;
    left: 0;
    width: 180vw;
    height: 100%;
}
[data-currentstage="1"] .stageCarousel { left: 0; }
[data-currentstage="2"] .stageCarousel { left: -60vw; }
[data-currentstage="3"] .stageCarousel { left: -120vw; }
.wizardStage {
    padding: 2rem;
    width: 60vw;
}

[data-content] {
    display: none;
}
[data-currentstage="2"] [data-mode="yes"][data-stage="2"] [data-content="yes"] {
    display: block; 
} 
[data-currentstage="3"] [data-mode="yes"][data-stage="3"] [data-content="yes"] {
    display: block; 
} 
[data-currentstage="2"] [data-mode="no"][data-stage="2"] [data-content="no"] {
    display: block; 
} 
[data-currentstage="3"] [data-mode="no"][data-stage="3"] [data-content="no"] {
    display: block;
}

.evidenceStrengthOptions {
    display: grid;
    column-gap: 0.25rem;
    grid-template-columns: repeat(11, 1fr);
    width: 100%;
}
.evidenceStrengthOptions a {
   border: 1px solid #aaa; 
   padding: 0.5rem;
   font-size: 65%;
   display: flex;
   align-items: center;
   text-align: center;
}
.evidenceStrengthOptions a:hover {
   border: 1px solid #787878; 
   background: #f0f0f0;
}
