.rickscroll {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  &--performing-resize {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  &__bottom-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 2;
  }

  &__top-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
  }

  &__contents {
    position: relative;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  &__vertical-scrollbar {
    overflow-x: hidden;
    overflow-y: scroll;
    z-index: 2;
  }

  &__horizontal-scrollbar {
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
  }

  &__row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  &__content {
    overflow: hidden;
    flex-grow: 1;
    z-index: 1;
  }

  &__horizontal-wrapper {
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  &__gutter {
    z-index: 2;
  }

  &__handle {
    background-color: #000000;
    z-index: 2;

    &--grabbable {
      cursor: col-resize;
    }
  }

  &__header {
    position: absolute;
    width: 100%;
    z-index: 2;
  }

  &__header-gutter {
    position: absolute;
    width: 100%;
    z-index: 2;
    &--top {
      top: 0;
    }
    &--bottom {
      bottom: 0;
    }
  }

  &__partition {
    position: absolute;
    left: 0;
    right: 0;
  }
}
