/* when linking to different parts of the page this will give the page a smooth scroll effect */
html {
  scroll-behavior: smooth;
}

/* for htmx indicator. this hides the indicator on page load */
.htmx-indicator {
    opacity: none;
    transition: opacity 200ms ease-in;
}


[x-cloak] {
  display: none !important;
}

.htmx-indicator{
    opacity:0;
}

/* TOOL TIP */
.tooltip .tooltiptext {
  background-color: white;
  visibility: hidden;
  width: 120px;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 104%;
  transform: translateX(-97%);
  font-size: xx-small;
  text-wrap: wrap;
  z-index: 100;
}
.tooltip .tooltiptext a{
    color: #1d4ed8;
}
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #9ca3af transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
