.pageView {
  display: flex;
  flex-direction: column;
}

.page-row {
  flex-direction: row;
}

.page-row-center {
  flex-direction: row;
  justify-content: center;
}

.page-column {
  flex-direction: column;
}

.page-column-center {
  flex-direction: column;
}

.grid-block {
}

.grid-block-left {
  margin-left: $mobile-margin-left;
}

.left-aligment-margin {
  margin-left: $mobile-margin-left;
  margin-right: 0px;
}

@media (min-width: 960px) {
  .left-aligment-margin {
    margin-left: $desktop-margin-left;
  }
}

.grid-block-center {
  margin-left: 20px;
  margin-right: 20px;
  justify-content: center;
}

.comments-block-row {
  // margin-left: 10px;
  // margin-right: 10px;
  width: $comment-block-width !important;
}

.comments-block-column-left {
  margin-left: $mobile-margin-left;
  width: $comment-block-width !important;
}

.comments-block-column {
  margin-left: 0px;
  margin-right: 10px;
  width: $comment-block-width !important;
}

.info-block,
.view-content,
.view-task-content,
.mobile-grid-wrapper,
.mobile-task-wrapper {
  border: 2px solid $mid-grey;
}

.info-block {
  border-radius: 10px;
  width: fit-content;
}

.view-content,
.view-task-content {
  display: flex;
  // justify-content: flex-start;
  margin-right: 20px;
  flex-direction: column;
  // align-self: flex-start;
  // align-items: flex-start;
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
}

.view-block-content {
  display: flex;
  margin-right: 20px;
  flex-direction: column;
  padding: 10px 10px 10px 10px;
  border-radius: 10px;
}

.info-content,
.legend-content,
.legend-content-mobile {
  display: flex;
  // justify-content: flex-start;
  margin-bottom: 10px;
  flex-direction: column;
  // align-self: flex-start;
  // align-items: flex-start;
  padding: 5px;
  border-radius: 5px;
}

.view-content.dark-mode-bg,
.view-task-content.dark-mode-bg,
.legend-content.dark-mode-bg,
.legend-content-mobile.dark-mode-bg {
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: white;
}

// specifically for bottom navigation to make background dark
.bottom-navigation.dark-mode-bg {
  background-color: $very-light-grey;
  backdrop-filter: blur(10px);
  color: white;
}

.view-content.dark-mode-bg-ff,
.view-task-content.dark-mode-bg-ff,
.legend-content.dark-mode-bg-ff,
.legend-content-mobile.dark-mode-bg-ff {
  background-color: rgba(0, 0, 0, 0.6);
  // backdrop-filter: blur(10px);
  color: white;
}

// specifically for bottom navigation to make background dark
.bottom-navigation.dark-mode-bg-ff {
  background-color: rgba(0, 0, 0, 1);
  box-shadow: 0px 5px 18px 9px $mid-grey;
  color: $white;
}

.view-content.light-mode,
.view-task-content.light-mode
// .legend-content.light-mode
{
  background-color: rgba(255, 255, 255, 0.6);
  color: $dark-grey;
}

// specifically for bottom navigation to make background dark
.bottom-navigation.light-mode {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 5px 18px 9px $mid-grey;
  color: $dark-grey;
}

.legend-content-mobile.light-mode {
  background-color: rgba(255, 255, 255, 1);
  color: $dark-grey;
}

.view-content.light-mode-bg,
.view-task-content.light-mode-bg,
.bottom-navigation.light-mode-bg
// .legend-content.light-mode-bg,
// .legend-content-mobile.light-mode-bg
{
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  color: $dark-grey;
}

// specifically for bottom navigation to make background dark
.bottom-navigation.light-mode-bg {
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  color: $dark-grey;
}

.view-content.light-mode-bg-ff,
.view-task-content.light-mode-bg-ff,
.legend-content-mobile.light-mode-bg-ff,
.legend-content.light-mode-bg-ff,
.bottom-navigation.light-mode-bg-ff {
  background-color: rgba(255, 255, 255, 0.8);
  // backdrop-filter: blur(10px);
}

.k-choices {
  display: flex;
  flex-direction: column;
  padding-top: 0px;
  border-left: 0px solid $mid-grey;
  position: relative;
}

.k-choice {
  border-bottom: 1px solid $mid-grey;
  flex-basis: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 0;
}

.k-choice,
.k-choice.light-mode {
  border-bottom: 1px solid $mid-grey;
}

.k-choice.dark-mode {
  border-bottom: 1px solid white;
}

.k-choice-details {
  display: flex;
  flex-direction: column;
}

.k-border-left,
.k-border-left.light-mode {
  border-left: 1px solid $grid-border;
}

.k-border-left.dark-mode {
  border-left: 1px solid white;
}

.k-border-right,
.k-border-right.light-mode {
  border-right: 1px solid $grid-border;
}

.k-border-right.dark-mode {
  border-right: 1px solid white;
}

.k-border-bottom,
.k-border-bottom.light_mode {
  border-bottom: 1px solid $grid-border;
}

.k-border-bottom.dark-mode {
  border-bottom: 1px solid white;
}

.choice-text {
  max-width: 200px;
  overflow: hidden;
  word-wrap: normal;
  white-space: wrap;
  // text-overflow: ellipsis;
}

.choice-text-survey {
  min-width: 120px;
  max-width: 240px;

  overflow: hidden;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -moz-hyphens: auto;
  display: flex;
  flex-grow: 1;
  white-space: pre-line;
}

.k-participant-end {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  padding: 5px;
  align-items: center;
  justify-content: center;

  &.dark-mode-edit-color {
    color: $white;
  }
  &.regular-mode-edit-color {
    color: $dark-grey;
  }
}

.disabled {
  color: $light-grey !important;
  cursor: not-allowed;
}

.comments {
  margin-top: 10px;
  width: 100%;
}

.mobile-view-switch {
  padding: 0;
}

@media screen and (min-width: 960px) {
  .grid-block-left,
  .comments-block-column-left {
    margin-left: $desktop-margin-left;
  }
}
