.custom-wrapper {
  position: relative;
  float: left;
  padding: 0 9px 0 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.custom-content {
  position: relative;
  height: 100%;
  width: calc(100% + 27px);
  padding: 0 0 0 0;
  /* overflow-x: auto; */
  overflow-x: hidden;
  overflow-y: scroll;
  box-sizing: border-box;
}

.custom-content:after {
  pointer-events: none;
  position: fixed;
  content: '';
  top: 0;
  right: 0;
  width: 9px;
  height: 100%;
  background: rgba(161,195,203,.9);
  z-index: 3;
}

.custom-content.rtl {
  width: calc(100% + 27px);
  right: auto;
}

.custom-scroll {
  position: absolute;
  background: #03727e;
  border-radius: 4px;
  width: 9px;
  right: 0 !important;
  top: 0;
  z-index: 2;
  cursor: pointer;
  opacity: .5;
  transition: opacity 0.25s linear;
}

.custom-hidden {
  display: none;
}

.custom-container:hover .custom-scroll,
.custom-container:active .custom-scroll {
  opacity: 1;
}

.custom-grabbed {
  -o-user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
