/*
 * Overrides to the tippy used by this module.
 * This is also used on the Configuration form.
 */

/* Bubble */
.tippy-box {
  background: #ffffff;
  box-shadow: 2px 3px 10px 2px rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  color: #000000;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-top: -4px;
}

.tippy-box p {
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-bottom: 20px !important;
}

.tippy-box p:last-child {
  margin-bottom: 0 !important;
}

.tippy-box .tooltip-title {
  position: relative;
  color: var(--text-secondary, #000);
  font-family: var(--Fonts-Family-Text, "Open Sans");
  font-size: var(--Typeface-Size-Text-Regular, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: 19px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom:0px;
}

.tippy-box .tooltip-content {
  position: relative;
  color: var(--text-secondary, #000);
  font-family: var(--Fonts-Family-Text, "Open Sans");
  font-size: var(--Fonts-Size-Text-Small, 14px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--Fonts-Line-Height-x-sm, 18px);
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom:8px;
}

.tippy-box .tooltip-content ul,.tippy-box .tooltip-content ol {
  margin-bottom: 0px !important;
}

.tippy-box .tooltip-content ul li,.tippy-box .tooltip-content ol li{
  color: var(--text-secondary, #000) !important;
}


.tippy-box .tippy-content {
  padding: 8px;
  min-width: 120px;
  max-width: 288px;
  background-color: #fffaec;
  display: flex;
  flex-direction: column;
  gap: 8px;

}

.tippy-box .tippy-content a {
  color: #1a76c5;
  text-decoration: underline !important;
  font-weight: 600;
  line-height: 16px;
}

.tippy-box .tippy-arrow {
  color: #ffffff;
}

.tippy-box[data-placement^=top]>.tippy-arrow:before {
  bottom: -12px;
  border-width: 15px 13px 0;
  border-top-color: #fffaec;
  left:-6px;
}

.tippy-box[data-placement^=bottom]>.tippy-arrow:before {
  top: -9px;
  border-width: 0 10px 8px;
  border-bottom-color: #fffaec;
  left:-4px;
}

/*
 * Added from before
 */
.tippy-tooltip[data-animation=fade][data-state=hidden] {
  opacity: 0;
}

.tippy-iOS {
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

.tippy-popper {
  pointer-events: none;
  max-width: calc(100vw - 10px);
  transition-timing-function: cubic-bezier(.165, .84, .44, 1);
  transition-property: transform;
}

.tippy-tooltip {
  position: relative;
  border-radius: 4px;
  line-height: 1.4;
  transition-property: visibility, opacity, transform;
  outline: 0;
  background-color: #333;
  color: #fff;
}

.tippy-tooltip[data-placement^=top] > .tippy-arrow {
  border-width: 8px 8px 0;
  border-top-color: #333;
  margin: 0 3px;
  transform-origin: 50% 0;
  bottom: -7px;
}

.tippy-tooltip[data-placement^=bottom] > .tippy-arrow {
  border-width: 0 8px 8px;
  border-bottom-color: #333;
  margin: 0 3px;
  transform-origin: 50% 7px;
  top: -7px;
}

.tippy-tooltip[data-placement^=left] > .tippy-arrow {
  border-width: 8px 0 8px 8px;
  border-left-color: #333;
  margin: 3px 0;
  transform-origin: 0 50%;
  right: -7px;
}

.tippy-tooltip[data-placement^=right] > .tippy-arrow {
  border-width: 8px 8px 8px 0;
  border-right-color: #333;
  margin: 3px 0;
  transform-origin: 7px 50%;
  left: -7px;
}

.tippy-tooltip[data-interactive][data-state=visible] {
  pointer-events: auto;
}

.tippy-tooltip[data-inertia][data-state=visible] {
  transition-timing-function: cubic-bezier(.54, 1.5, .38, 1.11);
}

.tippy-arrow {
  position: absolute;
  border-color: transparent;
  border-style: solid;
}

.tippy-tooltip-text {
  text-decoration: underline;
  cursor: default;
}

.ckeditor-tooltip-text{
  margin-left: 3px;
}
