/* The icon */
.help-desk,
.help-link {
  cursor: pointer;
}
.help-tip {
  cursor: default;
}
.help-link,
.help-tip {
  display: inline-block;
  margin: auto;
  text-align: center;
  border: 1px solid var(--secondary);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  line-height: 16px;
}
.help-desk {
  position:absolute;
  top:13px;
  right:20px;
  display: inline-block;
  margin: auto;
  text-align: center;
  border: 1px solid var(--secondary);
  border-radius: 8px;
  padding:0 5px;
  height: 18px;
  line-height: 16px;
}
.help-link:before,
.help-tip:before {
  content: "?";
  font-family: var(--font-body);
  font-weight: bold;
  color: var(--secondary);
}
.help-desk:hover,
.help-link:hover {
  border: 1px solid var(--primary);
}
.help-tip:hover .help-msg,
.help-msg:hover {
  display: block;
  transform-origin: 100% 0%;
  -webkit-animation: fadeIn 0.3s ease;
  animation: fadeIn 0.3s ease;
}

/* The tooltip */
.help-tip .help-msg {
  display: none;
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  background-color: #ffffff;
  padding: 12px 16px;
  width: 158px;
  transform: translate(-95%, -10%);
  height: auto;
  position: absolute;
  border-radius: 3px;
  box-shadow: 0 0px 20px 0 rgba(0, 0, 0, 0.1);
  color: var(--ol);
  font-size: 12px;
  line-height: 18px;
  z-index: 99999999;
}

.help-tip .help-msg a {
  text-decoration: none;
}

.help-tip .help-msg a:hover {
  text-decoration: underline;
}

/* The pointer of the tooltip */
/* .help-tip p:before { 
	position: absolute;
	content: '';
	width: 0;
	height: 0;
	border: 10px solid transparent;
	border-bottom-color:#FFFFFF;
	top: -9px;
	left: 50%;
	transform: translate(-50%, -50%);
} */

/* Prevents the tooltip from being hidden */
.help-tip .help-msg:after {
  width: 10px;
  height: 40px;
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
}

/* CSS animation */
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 100%;
  }
}
