/* Legacy styles */
span.guilabel {
  font-weight: bold;
}

/* Accordion panels */

.panel-default {
  padding-top: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--border-radius-base);
}

.panel,
.panel-default {
  border-bottom: 1px solid transparent;
}

.panel-heading .title:after {
  position: absolute;
  right: var(--lt-accordion-padding-horizontal);
  content: "\f067";
  /*f067 for plus sign instead of chevron*/
  color: currentcolor;
  font-family: FontAwesome;
  font-size: 0.6em;
  font-weight: 100;
  margin-left: 10px;
  vertical-align: 10%;
  font-style: normal;
  transition: transform 0.3s;
}

.panel-heading.active .title:after {
  transform: rotate(135deg);
}

.panel-heading {
  position: relative;
  display: block;
  width: 100%;
  padding: var(--lt-accordion-padding-vertical)
    var(--lt-accordion-padding-horizontal);
  font-weight: var(--font-weight-bold);
  color: var(--accordion-color-text, var(--color-text-primary));
  text-align: left;
  list-style: none;
  cursor: pointer;
  background-color: transparent;
  background-image: none;
  border: 0;
  touch-action: manipulation;
  border-bottom: var(--border-width) solid var(--lt-accordion-border);
  transition: border-color 0.2s ease;

  &.active {
    border-bottom-color: transparent;
  }
}

.panel:has(.panel-heading.active) {
  border-bottom-color: var(--lt-accordion-border);
}

.panel-heading .title {
  display: flex;
  align-items: center;
  font-weight: 500;
}

.panel .section {
  margin-bottom: 20px;
}

/* Style the accordion panel. Note: hidden by default */
div.panel-body {
  padding: var(--lt-accordion-padding-vertical)
    var(--lt-accordion-padding-horizontal);
  overflow: hidden;
  /*background-color: white;*/
  display: none;
}

#article-comments {
  display: none;
}

.article-body code.sgmltag-element,
.article-body code.sgmltag-attribute {
  color: #1486d2;
  background: transparent;
  border: none;
  border-radius: inherit;
  padding: 0px;
  margin: 0px;
}

code.sgmltag-attribute:before {
  content: "@";
}

.article .table th,
.article .table th a {
  color: inherit;
  font-size: inherit;
  font-weight: 700;
  text-align: left;
}

.article td.tableheader {
  font-weight: bold;
  font-size: inherit;
}

.article .section h1 {
  font-weight: 700;
  font-size: 36px;
}

.article .section h2 {
  font-weight: 700;
  font-size: 32px;

  margin-bottom: 0px;
  text-align: left;
}

/*.article .titlepage h3.title*/
.article h3 {
  font-weight: 500;
  font-size: 24px;
  color: #2c2d30;
  line-height: 27px;
  display: block;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  margin-top: 40px;
}

/*Accordion titles:*/
.article .panel-heading h1,
.article .panel-heading h2,
.article .panel-heading h3,
.article .panel-heading h4,
.article .panel-heading h5,
.article .panel-heading h6,
.article .panel-heading .title {
  padding-bottom: 0px;
  margin-bottom: 10px;
  border-bottom: none;
  margin-top: 0px;
}

.article .section h4 {
  font-weight: 700;
  font-size: 18px;
}

.article .section h5 {
  font-weight: 700;
  font-size: 16px;
}

.promoted-articles-item {
  display: inline !important;
}

.article .informaltable.wide {
  width: 150%;
}

.taxonomy-business:before {
  content: "Business";
  background-color: #42a5f5;
}

.taxonomy-professional:before {
  content: "Professional";
  background-color: #f9b300;
}

.taxonomy-business:before,
.taxonomy-professional:before {
  color: #fff;
  border-radius: 4px;
  padding: 4px;
  font-size: 10px;
  display: block;
  margin-bottom: 10px;
  width: 70px;
}

dt,
dd {
  display: inline-block;
}

dt {
  vertical-align: top;
  /*color: #54a1e5;*/
  width: 30%;
  padding-right: 10px;
  margin-top: 1em;
  font-weight: 600;
}

dt em {
  font-style: normal;
}

dd {
  width: 60%;
}

.caption p {
  margin-top: 0px;
  font-style: italic;
  margin-bottom: 2em;
}

.article h4,
.procedure .title {
  font-weight: 600;
  font-style: italic;
  margin-top: 40px;
}

h1.article-title {
  font-weight: 900;
}

.article .note h3.title,
.article .tip h3.title,
.article .warning h3.title,
.article .caution h3.title,
.article .important h3.title,
.lt-article .note h3.title,
.lt-article .tip h3.title,
.lt-article .warning h3.title,
.lt-article .caution h3.title,
.lt-article .important h3.title {
  display: none;
  margin-top: 0.5em;
  font-size: 18px;
  line-height: inherit;
  padding: 0px;
  border-bottom: none;
  margin-bottom: 0px;
}

.article .note,
.article .tip,
.article .warning,
.article .caution,
.article .important,
.article .danger,
.lt-article .note,
.lt-article .tip,
.lt-article .warning,
.lt-article .caution,
.lt-article .important,
.lt-article .danger {
  display: block;
  padding: 12px 18px 12px 48px;
  -webkit-border-radius: var(--border-radius-base);
  -moz-border-radius: var(--border-radius-base);
  border-radius: var(--border-radius-base);
  -moz-background-clip: padding;
  /* -webkit-background-clip: padding-box; */
  /* background-clip: padding-box; */
  border: var(--border-width);
  border-style: solid;
  margin-top: 18px;
  margin-bottom: 18px;
  position: relative;

  border-color: var(--info-callout-color);
  background-color: var(--info-callout-color);
  margin-left: 0px !important;
  margin-right: 0px !important;
}

.lt-article,
.article {
  .callout > * + *,
  .note > * + *,
  .warning > * + *,
  .danger > * + *,
  .success > * + * {
    margin-top: 0;
  }
}

.article .note:before,
.article .tip:before,
.article .warning:before,
.article .caution:before,
.article .important:before,
.article .danger:before,
.lt-article .note:before,
.lt-article .tip:before,
.lt-article .warning:before,
.lt-article .caution:before,
.lt-article .important:before,
.lt-article .danger:before {
  content: "\f040";
  display: inline-block;
  color: var(--color-text-primary);
  font-size: 1.25rem;
  font-weight: 300;
  position: static;
  vertical-align: middle;
  margin-inline-end: 1rem;
  font-family: FontAwesome;

  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lt-article .note,
.article .note {
  padding-left: 18px;
}

.lt-article .note::before,
.article .note:before {
  content: "";
}

.lt-article .important:before,
.article .important:before {
  content: "\f05a";
}

.lt-article .tip,
.article .tip {
  border-color: var(--info-callout-color);
  background-color: var(--info-callout-color);
}

.lt-article .tip:before,
.article .tip:before {
  content: "\f0eb";
  color: var(--color-text-primary);
}

/*Warning*/
.lt-article .warning,
.article .warning {
  border-color: var(--warning-callout-color);
  background-color: var(--warning-callout-color);
}

.lt-article .warning:before,
.article .warning:before {
  content: "\f071";
  color: var(--color-text-primary);
}

/*Caution*/
.lt-article .caution,
.article .caution {
  border-color: var(--warning-callout-color);
  background-color: var(--warning-callout-color);
}

.lt-article .caution:before,
.article .caution:before {
  content: "\f071";
  color: var(--color-text-primary);
}

.lt-article .danger,
.article .danger {
  border-color: var(--danger-callout-color);
  background-color: var(--danger-callout-color);
}

.lt-article .danger:before,
.article .danger:before {
  content: "\f071";
  color: var(--color-text-primary);
}

.lt-article .keycap,
.article .keycap {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0.1em 0.5em;
  margin: 0 0.2em;
  box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 0 2px #fff inset;
  background-color: #f7f7f7;
}

.article .keycap strong,
.article .keycap em,
.article .keycap i,
.lt-article .keycap strong,
.lt-article .keycap em,
.lt-article .keycap i {
  font-style: normal;
  font-weight: normal;
}

.article-body img {
  border: 1px solid #dedede;
  box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.14);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  max-width: 100%;
}

.article-author,
.article-subscribe,
.article-unsubscribe {
  display: none !important;
}

.article-content {
  margin-top: 0px !important;
}

.article-header {
  margin-bottom: 0px !important;
}

.no-image-border img {
  border: none;
  box-shadow: none;
}

.article .informaltable td,
.article .table td,
.article .alternate td {
  padding-left: 1em;
  padding-right: 1em;
}

.article .table table,
.article .informaltable table,
.article .alternate table,
tr,
td,
th {
  border: none !important;
}

.article .table table > tbody + tbody,
.article .informaltable table > tbody + tbody,
.article .alternate table > tbody + tbody {
  border: none !important;
}

/*.article .table table tr:nth-child(even),
.article .informaltable table tr:nth-child(even),
.article .alternate table tr:nth-child(even){
    background-color: #F7F7F7;
}
*/
.article .informaltable th,
.article .table th,
.article .alternate table th {
  border-bottom: thin solid #555 !important;
}

.article .zd-article .informaltable td,
.article .table td {
  vertical-align: top;
  border-bottom: 0.5px solid #eee !important;
}

span.remark {
  display: none;
}

.zd-article ol,
.zd-article ul {
  margin-bottom: 2em !important;
}

.article .alternate table {
  width: 130%;
  /* Only used for the keyboard shortcuts*/
}

body {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;

  -webkit-font-smoothing: antialiased;
  -webkit-margin-after: 12px;
  -webkit-margin-before: 0px;
  -webkit-margin-end: 0px;
  -webkit-margin-start: 0px;
}

.article .keycap {
  font-size: 0.85rem;
}

.article .keycap em {
  font-style: normal;
}

/* Special for callout icons */
.content-container .calloutlist img,
.content-container .co img {
  width: 1em;
  margin-top: 0.2em;
}

/* If not using images for callouts, make sure the color of the callout number is not changed by a highlight plugin */
.co span {
  color: #54a1e5 !important;
}

.videoobject {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
  margin-top: 2em;
}

.videoobject iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* For Wistia javascript embed */
.video-container.wistia {
  max-width: 620px;
}

/*.wistia_embed{
    height: 349px;
    width: 620px;
}*/

.video-container.wistia .videoobject {
  padding-top: 0px;
}

/* Override this in custom css to set the width for videos if you want a set size */
.video-container {
  /*width: 100%;*/
}

.inlinemediaobject {
  display: inline-block;
  height: 1.5em;
  vertical-align: -0.275em;
}

.inlinemediaobject img:not([height]):not([width]) {
  height: 100%;
  width: auto;
}

/*Glossary popovers*/
.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: none;
  max-width: 276px;
  padding: 1px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 1.42857143;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
  white-space: normal;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);

  line-break: auto;
}

.popover.top {
  margin-top: -10px;
}

.popover.right {
  margin-left: 10px;
}

.popover.bottom {
  margin-top: 10px;
}

.popover.left {
  margin-left: -10px;
}

.popover-title {
  padding: 8px 14px;
  margin: 0;
  font-size: 14px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-radius: 5px 5px 0 0;
}

.popover-content {
  padding: 9px 14px;
}

.popover .mediaobject * {
  width: 100% !important;
}

a.glossterm {
  border-bottom: 1px dotted #333333;
}

/* Make sure images don't overflow*/
.popover-content * {
  max-width: 100%;
}

.popover > .arrow,
.popover > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.popover > .arrow {
  border-width: 11px;
}

.popover > .arrow:after {
  content: "";
  border-width: 10px;
}

.popover.top > .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #999;
  border-top-color: rgba(0, 0, 0, 0.25);
  border-bottom-width: 0;
}

.popover.top > .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  content: " ";
  border-top-color: #fff;
  border-bottom-width: 0;
}

.popover.right > .arrow {
  top: 50%;
  left: -11px;
  margin-top: -11px;
  border-right-color: #999;
  border-right-color: rgba(0, 0, 0, 0.25);
  border-left-width: 0;
}

.popover.right > .arrow:after {
  bottom: -10px;
  left: 1px;
  content: " ";
  border-right-color: #fff;
  border-left-width: 0;
}

.popover.bottom > .arrow {
  top: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-width: 0;
  border-bottom-color: #999;
  border-bottom-color: rgba(0, 0, 0, 0.25);
}

.popover.bottom > .arrow:after {
  top: 1px;
  margin-left: -10px;
  content: " ";
  border-top-width: 0;
  border-bottom-color: #fff;
}

.popover.left > .arrow {
  top: 50%;
  right: -11px;
  margin-top: -11px;
  border-right-width: 0;
  border-left-color: #999;
  border-left-color: rgba(0, 0, 0, 0.25);
}

.popover.left > .arrow:after {
  right: 1px;
  bottom: -10px;
  content: " ";
  border-right-width: 0;
  border-left-color: #fff;
}

.hide {
  display: none !important;
}

.abstract-title {
  font-weight: bold;
}

.article .glossary > dl > dt .glossterm {
  top: auto;
  visibility: visible;
}

/* Do not display the preview linktext provider helper in output */
.linktextprovider {
  display: none !important;
}

iframe.gdoc,
iframe.onedrive {
  display: block;
  width: 100%;
  height: 500px;
  border: 1px solid #ccc;
}

/* Sub procedures are treated like substeps */
ol.procedure ol.procedure,
ul.procedure ul.procedure {
  list-style-type: lower-alpha !important;
}

ol.procedure ol.procedure ol.procedure,
ul.procedure ul.procedure ul.procedure {
  list-style-type: lower-roman !important;
}

ol.procedure ol.procedure > li::before,
ul.procedure ul.procedure > li::before {
  display: none;
}

.relationship-toc ul {
  margin: 0 0 0em;
  list-style: none;
}

.relationship-toc > ul {
  padding-left: 0px;
}

div.relationship-toc-title {
  font-weight: bold;
  margin-bottom: 0.5em;
}

.section-toc .topic-link,
.relationship-toc .topic-link {
  font-size: 0.9em;
}

.related-topic p {
  margin-bottom: 0em;
  margin-top: 0em;
}

/* CHECKLISTS */
/* Remove margins and padding from the list */
ul.checklist {
  margin: 0;
  padding: 0;
  padding-left: 0px;
}

/* Style the list items */
ul.checklist > li {
  cursor: pointer;
  position: relative;
  padding: 12px 8px 12px 40px;
  /*background: #eee;*/
  font-size: 18px;
  transition: 0.2s;
  list-style-type: none;

  /* make the list items unselectable */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;

  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

/* Background-color on hover */
ul.checklist li.checked:hover {
  background-color: #eee;
}

ul.checklist li.checked,
ul.checklist > li:hover {
  background-color: #eee;
}

/* When clicked on, add a background color and strike out text */
ul.checklist li.checked .check-item-content {
  text-decoration: line-through;
  opacity: 0.2;
}

/* Style the close button */
.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 12px 16px 12px 16px;
}

.close:hover {
  background-color: #f44336;
  color: white;
}

.checklist-checkbox-wrapper {
  /*position: relative;*/
  display: inline-block;
}

.listitem {
  position: relative;
}

.check-item-content {
  display: inline-block;
  margin-left: 2em;
}

.checklist-checkbox-wrapper label {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  height: 28px;
  left: 16px;
  position: absolute;
  top: 12px;
  width: 28px;
}

.checklist-checkbox-wrapper label:after {
  border: 2px solid #ccc;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 0.4;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}

.checklist-checkbox-wrapper input[type="checkbox"] {
  visibility: hidden;
}

.checklist-checkbox-wrapper input[type="checkbox"]:checked + label {
  background-color: #fff;
  border-color: #2ab27b;
}

.checklist-checkbox-wrapper input[type="checkbox"]:checked + label:after {
  opacity: 1;
  border-color: #2ab27b;
}

.checklist-reset-wrapper {
  text-align: right;
  padding: 12px 16px 12px 16px;
}

.checklist-reset {
  color: #ccc;
}

/* Anchor links */
.anchor-icon {
  font-size: 0.8em;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.2s ease-in-out 0.1s;
  -webkit-transition: opacity 0.2s ease-in-out 0.1s;
  -moz-transition: opacity 0.2s ease-in-out 0.1s;
  -ms-transition: opacity 0.2s ease-in-out 0.1s;
}

.title:hover > .anchor-icon {
  opacity: 1;
}

.article a[id]:not(.anchor-icon) {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
}

/* End Anchor links */

/* Swagger embed */
.topic-link.swagger-subnav {
  font-size: 0.8em;
  padding: 5px 5px 5px 15px;
  margin: 0;
}

.swagger-ui .info .title small {
  display: none !important;
}

.rte .button,
.lt-article .button,
article .button,
.article .button {
  --button-font-weight: 400;
  --color-button-text: #271526;
  --color-button: var(--button-color-primary);
  --button-padding-vertical: 0.66em;
  --button-padding-horizontal: 1.333em;
  --button-bg-color: #271526;

  display: inline-flex;
  padding: var(--button-padding-vertical, 0.375rem)
    var(--button-padding-horizontal, 0.75rem);
  margin-bottom: 0;
  font-size: var(--button-font-size, var(--text-sm));
  font-weight: var(--button-font-weight, 600);
  color: var(--color-button-text);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: var(--color-button);
  background-image: none;
  border: var(--button-border-width, var(--border-width)) solid transparent;
  border-radius: var(--button-border-radius, var(--border-radius-base));
  touch-action: manipulation;
  transition: all 0.5s ease;

  display: inline-flex;
  align-items: center;
  gap: 0.25rem;

  * {
    font-weight: var(--button-font-weight);
    color: var(--color-button-text);
  }

  &:hover:not(.lt-btn--icon),
  &:focus:not(.lt-btn--icon) {
    --button-bg-color: #fff2c0;
    --color-button-text: #271526;
    --color-button: var(--color-brand-primary);
    text-decoration: none;
    transform: translateY(-2px);
    color: #271526;
  }

  &:active:not(.lt-btn--icon) {
    --color-button-text: var(--color-brand-primary-inverse);
    --color-button: var(--color-brand-primary-pressed);
    background-image: none;
  }
}

.rte .button::after,
.lt-article .button::after,
article .button::after,
.article .button:after {
  display: inline-flex;
  font-family: "Font Awesome 6 Free", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  color: inherit;
  content: "\f061";
  opacity: 1;
  transition: transform 0.5s ease, color 0.3s ease;
  transform: translateY(-1px);
  margin-inline-start: 0.5em;
  margin-inline-end: 0;
  will-change: transform, color;
  backface-visibility: hidden;
}

.rte .button:hover::after,
.lt-article .button:hover::after,
article .button:hover::after,
.article .button:hover:after {
  transform: translateX(0.5em) translateY(-1px);
}
