ngb-molecular-viewer {

  .md-toolbar-panel {
    md-input-container {
      margin: 7px 0 7px 12px;
    }
  }

  .option-hack {
    display: inline;
  }
}

md-option .md-text .option-hack {
  display: none;
}

.thumbnail-button {
  cursor: pointer;
  width: 110px;
  height: 110px;
  overflow: visible;
  padding-left: 0;

  img {
    width: inherit;
    height: inherit;
  }

  .thumbnail-title {
    margin: 0;
    width: 110px;
    height: 35px;
    background-color: transparent;

    h5 {
      background-color: rgba(0, 0, 0, 0.5);
      width: 110px;
      height: 25px;
      line-height: 25px;
      white-space: nowrap;
      display: inline-block;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .thumbnail-title.selected {
    h5 {
      background-color: #4285f4;
    }
  }

  &:hover {
    .thumbnail-title {
      width: 110px;
      transition: all 0.4s ease;

      h5 {
        background-color: #4285f4;
      }
    }

  }
}

.structure-container {
  position: relative;
  min-height: 500px;
  padding: 0;

  canvas {
    min-height: 500px;
  }
}

.miew-actions-container {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

button.miew-action {
  width: 36px;
  height: 36px;
}


.ngb-miew-container {
  flex: 1;
  overflow: hidden;
}

.modes-content.hidden, .colors-content.hidden {
  display: none;
}
