body {
  color: gray;
  background-color: black;
}

a,
a:link {
  color: #3282b8;
}

.warn {
  color: red;
}

.answer-list {
  font-size: 20px;
  user-select: none;
  -webkit-user-select: none;
  /* Chrome/Safari */
  -moz-user-select: none;
  /* Firefox */
  -ms-user-select: none;
  /* IE10+ */
}

.answer-list .answer:hover {
  z-index: 99999;
  position: relative;
  background: black;
}

.answer-list .correct {
  /* color: green; */
  color: lightblue;
}

.answer-list .correct::after {
  content: " [Score = 2]";
  font-size: small;
}

.answer-list.rapid .correct::after {
  content: " [Score = 2]";
}

.answer-list .half-correct {
  color: yellow;
}

.answer-list .half-correct::after {
  content: " [Score = 1]";
  font-size: small;
}

.answer-list.rapid .half-correct::after {
  content: " [Score = 1]";
}

.answer-list .incorrect {
  color: red;
}

.answer-list .incorrect::after {
  content: " [Score = 0]";
  font-size: small;
}

.answer-list .not-marked {
  color: white;
}

.key {
  font-size: 20;
}

.hide {
  display: none;
}

.answered {
  /* color: green; */
  color: lightblue;
}

.unanswered {
  color: gray;
}

#question-list {
  list-style: none;
  float: right;
  padding: 1px;
  border: 1px solid gray;
  /*max-height: 80%;*/
  height: 100%;
  overflow-y: scroll;
}

.flagged {
  color: red;
}

.not-flagged {}

button {
  text-decoration: none;
  display: inline-block;
  padding: 0.35em 1.2em;
  border: 0.1em solid #52057b;
  margin: 0 0.3em 0.3em 0;
  border-radius: 0.12em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #a600ff;
  text-align: center;
  transition: all 0.2s;
  background-color: transparent;
}

button:hover {
  color: white;
  background-color: #52057b;
}

button a {
  text-decoration: none;
  color: inherit;
}

.main-nav-header {
  /* max-width: 50%; */
  float: right;
}

.main-nav-header span {
  float: right;
  padding-left: 10px;
}

.top-bar-link {}

.marking-list pre {
  display: inline;
  white-space: pre-wrap;
}

.mark-offcanvas {
  width: 45%;
}

.save {
  display: inline-block;
  padding: 0.35em 1.2em;
  border: 0.1em solid #ffffff;
  margin: 0 0.3em 0.3em 0;
  border-radius: 0.12em;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #ffffff;
  text-align: center;
  transition: all 0.2s;
  background-color: transparent;
}

.save:hover {
  color: #000000;
  background-color: #ffffff;
}

#stats-plot {
  width: 50%;
  float: right;
}

#dicom-image {
  width: 100%;
  height: 600px;
}

.dicom-viewer {
  width: 100%;
  height: 600px;
}

.rapid-dicom-viewer {
  width: 400px;
  height: 600px;
  position: fixed;
  top: 30px;
  right: 0px;
  float: right;
}

.marking-dicom {
  position: fixed;
  right: 0px;
  bottom: 0px;
  width: 45%;
  height: 90%;
  z-index: 1;
}

.cornerstone-canvas {
  height: 100%;
}

.marking {}

#question-mark-list {
  padding: 20px
}

#full-question-list {
  counter-reset: question-list;
  /* Set a counter named 'section', and its initial value is 0. */
}

#full-question-list li {
  padding-bottom: 20px;
}

#full-question-list li::before {
  counter-increment: question-list;
  content: counter(question-list) "  ";
  padding-right: 0.5em;
}

#full-question-list img {
  float: left;
  padding-right: 20px;
  padding-left: 10px;
}

#question-mark-list a {
  color: darkgray;
}

#question-mark-list .unmarked a {
  color: purple;
}

#question-mark-list li {
  padding-bottom: 5px;
}

#start-marking-button {
  float: right;
  position: sticky;
  top: 30px;
}

#save-annotations {
  position: absolute;
  left: 0;
}

#save-annotations.save-rapid-annotations {
  position: relative;
}

.drop-target {
  width: 100%;
  width: 100vw;
  height: 100px;
  text-align: center;
  font-size: larger;
  position: sticky;
  bottom: 0;
  left: 0%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

#drop-container {
  border: 1px dashed white;
}

.series-drop {
  position: sticky;
  height: 600px;
  bottom: -500px;
}

.submit-button {
  position: sticky;
  bottom: 0;
}

#feedback-drop-target {
  float: right;
  height: 100%;
  width: 30%;
}

.drop-target-active {
  background-color: #427aa1;
}

#drop-filenames span {
  font-size: xx-small;
  color: gray;
  padding-right: 1em;

}

.image-formset {
  border: 1px solid white;
}

select,
input {
  background-color: #05668d;
  color: white;
  border: none;
}

table.table {
  color: white;
}

#view-filter-options {
  /* float: right; */
}

.rapid-img {
  width: 300px;
  height: 300px;
}

.feedback-img {
  border: 1px solid #05668d;
}

.uploading {
  margin-top: -20px;
  height: 75%;
  /* float: right; */
  position: absolute;
  display: inline;
  max-width: 100px;
}

/* img.uploading:hover {
    height: 95%;
    position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%)
} */

.image-ident-warning {
  border: 2px solid red;
}


.image-ident-loading {
  background: rgba(142, 68, 173, 1);
  box-shadow: 0 0 0 0 rgba(142, 68, 173, 1);
  animation: pulse-purple 2s infinite;
}

@keyframes pulse-purple {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 68, 173, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(142, 68, 173, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 68, 173, 0);
  }
}

#annotation-json-content {
  display: none;
}

.cid-score-table {
  max-width: 400px;
}

.user-answer-score-0 {
  color: red !important;
}

.user-answer-score-1 {
  color: yellow !important;
}

.user-answer-score-2 {
  /* color: green; */
  color: lightblue !important;
}

.rapid-ans.user-answer-score-2 {
  color: lightblue;
}

.rapid-ans.user-answer-score-1 {
  /* color: green; */
  color: yellow;
}

.physics-ans .user-answer-score-1 {
  color: lightblue;
}

td.user-answer-score-0::after {
  content: "✗";
}

td.user-answer-score-1::after {
  content: "✓";
}

td.user-answer-score-2::after {
  content: "✓✓";
}

td.user-answer-score-1.rapid-ans::after {
  content: "✓";
}

td.user-answer-score-2.rapid-ans::after {
  content: "✓✓";
}

.score-row {
  font-weight: bolder;
  background-color: darkslateblue;
}

.user-answer-score pre {
  display: inline;
  color: inherit;
}

.correct-answer {
  color: white;
}

.user-answer-li {
  padding-top: 10px;
}

.parent-help:hover .help-text {
  opacity: 50%;
}

.parent-help .help-text {
  opacity: 0%;
}

.google-link {
  padding-left: 10px;
  font-size: smaller;
}

.abcde {
  list-style-type: lower-alpha;
}

.abcde li {
  padding: 0px;
  clear: right;
  vertical-align: text-top;
}

#full-question-list-physics li {
  padding-bottom: 10px;
}


#full-question-list-physics {
  width: 800px;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

.answer-1 {
  /* color: green; */
  color: lightblue;
}

.answer-0 {
  color: red;
}

.selector {
  border-color: #05668d;
}

.selector input {
  color: gray;
  background-color: white;
  font-size: small;
}

.selector .selector-available h2,
.selector .selector-chosen h2 {
  margin-bottom: 0px;
  border: none;
  /* border-color: #05668d; */
  background-color: #ebf2fa;
  color: #343a40;
  font-size: larger;
}

.selector .selector-available select,
.selector .selector-chosen select {
  border-color: #05668d;
}

#id_laterality {
  margin-top: 30px;
}

#id_laterality li {
  display: inline-block;
  border-radius: 4px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
  background: rgb(28, 184, 65);
  padding-right: 10px;
  color: white;
}

.add-popup {
  display: block;
}

.multi-image-block,
.series-block {
  display: inline-flex;
}

.sortable-placeholder {
  border: 4px solid purple;

}

.temp-thumb {
  float: right;
  height: 100px;
  width: 100px;
}

.long-answer pre {
  white-space: pre-wrap;
  font: inherit;
  color: inherit;
}

.long-answer .answer-heading {
  font-style: italic;
  font-weight: bold;
}

.proposed-answer {
  color: darkblue
}

.notes .complete {
  color: darkslategray;
}

table.longs .user-answer-score-4,
table.longs .user-answer-score-4\.0,
table.longs .user-answer-score-4\.5 {
  color: red;
}

table.longs .user-answer-score-5\.0,
table.longs .user-answer-score-5\.5 {
  color: yellow;
}

table.longs .user-answer-score-6\.0,
table.longs .user-answer-score-6\.5 {
  color: yellowgreen;
}

table.longs .user-answer-score-7\.0,
table.longs .user-answer-score-7\.5,
table.longs .user-answer-score-8\.0,
table.longs .user-answer-score-8,
table.longs .user-answer-score-8\.5 {
  color: green;
}

table.longs .user-answer-score- {
  background-color: red;
}

textarea,
input {
  border-radius: 2px;
  background-color: #343a40;
  color: lightgray;
}

.exam-list li,
#full-question-list li {
  display: flex;
}

.flex-col {
  flex: 1;
}

.flex-col-2 {
  flex: 2;
}

.flex-col-3 {
  flex: 3;
}

.flex-col-4 {
  flex: 4;
}

.score-answer-list {
  width: 55%;
}

.score-answer-list pre {
  white-space: pre-wrap;
}

.question-display-block {
  position: fixed;
  right: 0px;
  top: 30px;
  width: 40%;
}

.view-question-link {
  float: right;
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}

.view-question-link-longs {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}

.date {
  font-size: smaller;
  opacity: 50%;
}

.date:hover {
  opacity: 100%;
}

.floating-header {
  position: sticky;
  top: 1px;
  background-color: black;
  border: dashed 1px gray;
  padding-left: 1em;
  z-index: 999;
}

.sba-answer-list {
  list-style-type: lower-alpha;
}

.sba-answer-list li:hover {
  color: purple;
}

#menu-list button {
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 1px;
}

.sba-finish-list {
  /* display: flex; */
}

/* .sba-finish-list li {
  display: inline-block;
  border: 1px solid purple; 
  min-width: 10px;
}
*/

.sba-finish-list a button.unanswered {
  color: red;
  border-style: dashed;
}

.no-select {
  user-select: none;
}

.sba-answer-list .correct {
  background-color: green;
  color: white;
}

.id {
  opacity: 50%;
  font-size: small;
}

.sticky-alert {
  position: sticky;
  top: 5px;
}

.marking-block {
  display: inline-flex;
  flex-wrap: wrap;
}

.marking-block details {
  padding-right: 20px;
  flex: 1
}

.image-link {
  color: purple;
  text-decoration: underline;
  cursor: pointer;
}

.inner-display-block {
  display: none;
}

.hide-show {
  float: right;
  transform: rotate(90deg) translateX(10px);
  color: blueviolet;
  user-select: none;
}

.clear-both {
  clear: both;
}

.check-review {
  color: purple;
}

.current-mark {
  color: gray;
}

.select2-dropdown {
  background-color: #05668d;
  color: white;
  border-color: #05668d;
}

.select2-selection .select2-selection--multiple,
.select2 .select2-selection--single,
.select2-selection {
  background-color: #05668d;
  color: white;
  /* border: 1px solid #aaa; */
  border-radius: 0px;
}

.select2-search__field {
  background-color: #05668d;
  color: darkblue;
  border: 1px solid black;

}

.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default.select2-container--default .select2-selection--multiple,
.select2-selection .select2-selection__rendered .select2-selection__choice {
  background-color: #5897fb;
}

.select2-selection__rendered {
  user-select: none;
}

.temp-thumb-large {
  width: 1000px;
  height: 1000px;
  max-width: 1000px;
}

.image-duplicate {
  border: 2px solid orange;
}

.finding-form {
  border: 1px dashed darkblue;

}

.finding-box {
  display: flex;
  border: 1px dashed gray;
}

.view-finding-button {
  flex: 1;
}

.view-finding-details {
  flex: 4;
}

.delete-finding-link,
.edit-finding-link {
  flex: 1;
}

summary h2,
summary h3,
summary h4,
summary h5 {
  display: inline;
}

.mark-buttons {
  position: sticky;
  bottom: 0px;
  background-color: black;
  opacity: 80%;
}

.small-url-button {
  padding: 0px;
}

button a, button a:link, button a:visited, button a:hover {
  text-decoration: none;
  color: inherit;
}

details.filter {
  border: 1px solid gray;
  padding: 10px;
  margin: 20px;
}