/* JavaScript-positioned help tooltip: kept inside the viewport on phones and tablets. */
.helptip-js .helpicon:hover::after,
.helptip-js .helpicon:hover::before {
  content: none;
}

.helpicon-tip {
  position: fixed;
  z-index: 100000;
  background-color: white;
  color: rgb(139, 179, 244);
  padding: 8px 12px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.helpicon-tip[hidden] {
  display: none;
}

.helpicon-tip::before {
  content: '';
  position: absolute;
  border: 6px solid transparent;
}

.helpicon-tip[data-placement='right']::before {
  left: -12px;
  top: var(--tip-arrow-y, 12px);
  margin-top: -6px;
  border-right-color: #fff;
}

.helpicon-tip[data-placement='left']::before {
  right: -12px;
  top: var(--tip-arrow-y, 12px);
  margin-top: -6px;
  border-left-color: #fff;
}

.helpicon-tip[data-placement='bottom']::before {
  top: -12px;
  left: var(--tip-arrow-x, 50%);
  margin-left: -6px;
  border-bottom-color: #fff;
}

.helpicon-tip[data-placement='top']::before {
  bottom: -12px;
  left: var(--tip-arrow-x, 50%);
  margin-left: -6px;
  border-top-color: #fff;
}
