/*This file contains the styles for the tooltips used in the CKEditor. */
/*For styles inside the editor admin pages see ckeditor5-custom.css*/
/* Beat module specificity */
body:not(.path-admin) .ckeditor-tooltip-text {
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  font-weight: 700;
}

/* Add the little i icon */
/* If you update this style, make sure to update it inside ckeditor5-custom.css too */
body:not(.path-admin) .ckeditor-tooltip-text::after {
  content: "i";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 0.25rem;
  border-radius: 50%;
  background-color: var(--primary-b-500);
  vertical-align: middle;
  transition: background .2s ease, color .2s ease;
  width: 20px;
  height: 20px;
  flex-direction: column;
  color: var(--primary-c);
  text-align: center;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
}

/* Hover state for the little i icon */
body:not(.path-admin) .ckeditor-tooltip-text:hover::after {
  background-color: var(--primary-b-900);
  color: var(--primary-d);
}

/* tooltip bubble */
body .tippy-box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 383px;
  max-height: 181px;
  background:  var(--primary-b-100);
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.20);
  color: var(--primary-b-900);
  padding: 20px;
  font-size: 1rem;
  line-height: 24px;
  border-radius: 0;
}

/*this is the arrow pointer of the tooltip bubble */
.tippy-arrow {
  width: 31px;
  height: 21px;
}
/*!* this is arrow pointer of the tooltip bubble  *!*/
body .tippy-box > .tippy-arrow::before {
  display: none;
}
