.study-explore {
  position: relative;
  min-height: 70vh;
  display: flex;
  flex-direction: column;

  .gene-load-spinner {
    position: absolute;
    top: 40%;
    left: 50%;
    color: #999;
    font-size: 2.5em;
  }

  a {
    cursor: pointer;
  }

  button.action {
    border: none;
    background: none;
  }

  button.action-plus {
    border: none;
    float: right;
    background: #fff;
    color: #3D5A87;
    background-color: $options-color;
    margin-top: -0.5rem;
  }

  button.action-minus {
    border: none;
    float: right;
    background: #fff;
    color: #3D5A87;
    background-color: $options-color;
    margin-top: -2.5rem;
  }

  .plot {
    position: relative;
    background: #fff;
    min-height: 300px;

    .help-block {
      margin-left: 1em;
    }
  }

  .plot-title {
    height: 1.2em;
    margin-left: 1em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;

    .badge {
      font-weight: normal;
      margin-right: 0.2em;
    }

    .correlation {
      font-weight: normal
    }
  }

  .icon-button {
    margin-left: 1em;
    margin-right: 1em;
  }

  .violin-title {
    margin-left: 110px;
  }

  .color-update-toggle {
    font-weight: normal;
  }

  .customize-color-palette {
    margin-right: 1em;
  }
}

.popover-badge {
  font-weight: normal;
  margin-right: 0.2em;
}

.explore-tab-content {
  background: #fff;
  display: flex;
  flex-wrap: wrap;

  button.action {
    background: #fff;
  }

  .panel {
    border: none;
  }
}

.create-annotation-control {
  display: inline;
  position: relative;
  top: -80px;

  .panel-collapse.in {
    border: 1px solid #bbb;
    border-radius: 5px;
    margin-top: 4rem;
    margin-bottom: -8rem;

  }

  label {
    font-weight: normal;
  }

  input[type="text"] {
    margin-bottom: 0.5em;
    width: 100%;
  }

  .delete-icon {
    border: none;
    color: #777;
    background: none;
    max-height: 1.8em;
    border-radius: 1em;

    &:hover {
      background: #eef;
    }
  }

  ul {
    padding-inline-start: 10px;
  }

  .gene-load-spinner {
    position: relative;
    left: 43%;
    right: 50%;
  }
}

.heatmap-legend-color {
  height: 60px;
}

.explore-plot-tab-content {
  min-height: 70vh;
}


.view-options-toggle {
  padding: 1em 0em;
  font-weight: bold;

  button {
    float: right;
    background: none;
    font-weight: normal;
  }
}

.view-options-toggle-on {
  position: absolute;
  right: 1px;
  padding: 0.5em;
  background: #fff;
  z-index: 30;
}

.desktop-view-options {
  position: absolute;
  top: 10px;
  right: 2em;
}

.mobile-view-options {
  display: none;
}

@media (max-width: 991.98px) {
  .mobile-view-options {
    display: block;
    text-align: center;
    padding-top: 1em;
  }

  .desktop-view-options {
    display: none;
  }
}


.study-explore .view-options {
  // leave room for the 'view options' toggle
  margin-top: 3em;
}

.render-controls {
  margin-bottom: 1em;
}

.react-switch {
  vertical-align: middle;
  margin-left: 4px;
}

#gene-list-upload, #color-manifest-upload {
  display: none;
}

#color-picker-modal {
  input {
    font-family: 'Courier';
    width: 5em;
    border: 2px solid #333;
    border-radius: 5px;
    margin: 0.5em 0em;
  }

  .preview-block {
    width: 2em;
    height: 1.5em;
    display: inline-block;
  }
}

.study-plot-tabs {
  li  {
    a {
      color: #fff;
      background: $action-color;
      align-self: baseline;
    }
    a:hover {
      background: lighten($action-color, 10%);
    }
  }
  li.active > a {
    border-left: 1px solid $action-color;
    border-right: 1px solid $action-color;
    border-top: 1px solid $action-color;
    background: #fff;
    color: #333;
    margin-right: 8px;
    margin-left: 8px;
  }

  li.disabled > a {
    background: #fff;
    color: #999999;
    border-bottom: 1px solid #ddd;
  }
}

.options-label {
  font-size: 1.2em;
}

.margin-extra-right {
  margin-right: 10px;
}

.options-bg {
  background: $options-color;
}

.right-panel {
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ccc;
}

.options-panel-actions {
  padding-bottom: 20px;
}

.action-with-bg {
  background: $options-color !important;
}

.minified-options {
  background: #fff;
}

// to position content in the explore tab forward
.position-forward {
  z-index: 3;
}

.warning-inline {
  color: $warning-icon-color;
  font-size: 12px;
  display: inline-flex;
}

.clear-warning-inline {
  font-size: 13px;
  font-weight: bold;
  background: none;
  border: none;
  margin-left: 0px;
}

.clear-warning-inline:hover {
  background: $warning-background-color;
}

.clear-warning-inline svg {
  position: relative;
  top: 2px;
}

.clear-warning-inline path {
  fill: $warning-icon-color;
}

