/* SECTION: Balloons and Notices */

/* common styles for balloon notes AND notices */
.tip, .note, .caution, .plugindisclaimer, .notice, .solution-notice, .trainingbox, .healthcheck, .plainGrayNotice, .ds-release-notice {
  margin-top: 1em;
  margin-bottom: 20px;
  border-radius: 0.2rem;
  font-size: 1rem;
  border-width: 2px 2px 2px 6px;
  border-style: solid;
}

/* common styles for balloon notes  */
.tip, .note, .caution, .plugindisclaimer {
  padding: 14px 15px 15px 49px;
  background-repeat: no-repeat;
  background-size: 22px;
  background-position: 14px 1em;
}

/* specify styles balloon notes  */
.tip {
  border-color: var(--balloons-green);
  background-image: var(--balloon-icon-tip);
}

.note {
  border-color: var(--balloons-blue);
  background-image: var(--balloon-icon-note);
}

.caution {
  border-color: var(--balloons-orange);
  background-image: var(--balloon-icon-caution);
}

.plugindisclaimer {
  border-color: var(--balloons-orange);
  background-image: var(--balloon-icon-caution);
}

/* common styling for notices */
.notice, .solution-notice, .trainingbox, .healthcheck, .plainGrayNotice, .ds-release-notice {
  padding: 14px;
}

.notice, .solution-notice {
  border-color: var(--balloons-teal);
}

.notice i, .solution-notice i {
  font-size: 1.4rem;
  color: var(--balloons-teal); 
}

.notice  td:first-of-type, .solution-notice td:first-of-type {
  padding-right: 12px;
  vertical-align: top;
}

.trainingbox {
  padding-left: 49px;
  border-color: var(--balloons-purple);
  position: relative;
}

.trainingbox a:first-of-type {
  font-weight: 600;
  font-size: 1.1rem;
}

.trainingbox a:first-of-type:before {
  content: "Academy Online: "
}

.trainingbox::before {
  content: "\f19d";
  font-family: FontAwesome;
  font-size: 1.25rem;
  color: var(--balloons-purple);
  left: 11px;
  position: absolute;
  top: 16px;
}

.plainGrayNotice {
  padding: 15px 15px 15px 20px;
  border-color: var(--balloons-grey); 
}

.healthcheck {
  position: relative;
  border-color: var(--balloons-grey);
  padding: 15px 15px 15px 49px;
}

.healthcheck::before {
  content: "\f21e";
  font-family: FontAwesome;
  font-size: 1.25rem;
  left: 13px;
  position: absolute;
  top: 16px;
  color: var(--balloons-grey);
}

/* SAIL Design System Callout */

.ds-release-notice {
  border-color: var(--light-blue) !important;
  position: relative;
  padding-left: 45px;
 }

.ds-release-notice-a-big{
  font-weight: 600  !important;
  font-size: 16px;
}

.ds-release-notice-a {
  color: var(--light-blue);
}

.ds-release-notice-p {
  margin-top: 6px;
  margin-bottom: 0px;
}

.ds-release-icon {
  left: 7px;
  position: absolute;
  top: 14px;
  width: 30px;
}

/* cloud_only now replaced by .notice in include, however there are still hardcoded instances in docs so leaving it for now */
.cloud_only {
  background-color: rgba(57, 159, 198, 0.06);
  margin-top: 1em;
  border-radius: 0px;
  padding: 15px;
  padding-left: 61px;
  margin-bottom: 1em;
  border: 1px solid #00446a;
  border-left-width: 6px;
  position: relative;
  color: #00446a;
}

i.cloudIcon {
  left: 5px;
  position: absolute;
  top: 2px;
  font-size: 2.5rem;
  z-index: 1;
}

i.cloudIcon:first-of-type {
  left: 11px;
  position: absolute;
  top: 11px;
  color: #3ba3ca;
  z-index: 10;
}

table.ambox-BestPractice {
  border: 1px solid #b9ccd5;
  margin: 5px 0 4px 40px;
  width: 92%;
}

.uxdg_pattern_notice {
  border-color: #687188;
  color: #687188;
  background-color: #fbfbfb;
  margin-top: 1em;
  border-radius: 0px;
  padding: 6px;
  margin-bottom: 15px;
  border: 1px solid;
  border-left-width: 6px;
  font-size: 14px;
}

.uxdg_pattern_notice i {
  font-size: 20px;
}

/* Do and Don't Examples  */
.example-do,
.example-dont,
.example {
  margin-top: 1em;
  color: rgb(8, 8, 8);
  border-radius: 0px;
  padding: 10px;
  padding-left: 11px;
  margin-bottom: 20px;
  border-left: 6px solid;
  position: relative;
}

.example-do {
  border-color: #1cc101;
}

.example-dont {
  border-color: #de0037;
}

.example {
  border-color: #505050;
}

.example-do::before,
.example-dont::before,
.example::before {
  display: block;
  width: 126px;
  font-weight: bold;
  margin-top: -10px;
  margin-bottom: 15px;
  color: #fff;
  padding: 1px 6px 1px 6px;
}

.example-do::before {
  content: "DO";
  background-color: #1cc101;
  width: 126px;
}

.example-dont::before {
  content: "DON'T";
  background-color: #de0037;
  width: 167px;
}

.example::before {
  content: "EXAMPLE";
  background-color: #505050;
  width: 167px;
}

/* !SECTION */

/* ANCHOR: heading hover links */

.header-link {
  position: absolute;
  left: 0.5em;
  opacity: 0;
  font-size: 16pt;
  line-height: normal !important;
  transition: opacity 0.2s ease-in-out 0.1s;
  color: #b7b7b7;
  top: 0px;
  border: unset;
  background: unset;
  padding-inline: unset;
}

.header-link svg {
  width: 30px;
  height: 30px;
}

.header-link:focus {
  opacity: 1;
  color: #555555;
}

.header-link-visible {
  opacity: 1;
}

.header-link:hover {
  color: #555555;
}

.header-link:hover + .header-link-tooltip,
.header-link:focus + .header-link-tooltip,
.header-link-tooltip:hover {
  opacity: 1;
}

.header-link:hover + .header-link-tooltip::before,
.header-link:focus + .header-link-tooltip::before,
.header-link-tooltip:hover::before {
  opacity: 1;
}


.header-link-tooltip {
  position: absolute;
  background: #555555;
  color: #fff;
  text-align: center;
  font-size: 11pt;
  top: 3px;
  border-radius: 2px;
  left: 50px;
  padding: 4px 10px 4px 10px;
  font-weight: 400;
  opacity: 0;
  width: max-content;
  line-height: normal;
  transition: opacity 0.2s ease-in-out 0.1s;
  z-index: 1001;
}

.header-link-tooltip::after {
  content: attr(data-tooltip);
}

.header-link-tooltip::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid #555555;
  border-color: transparent #555555 transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease-in-out 0.1s;
}

.check-icon {
  color: #00e000;
  margin-right: 5px;
  font-size: inherit;
}

.header-link-wrapper {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
}

/* Visually hidden but accessible to LLM crawlers.
  Uses clip-rect technique so content stays in the DOM
  but is invisible to sighted users. */
.LLMVisibleOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}