/* =========================================================
   TriTech Helpful Bar + Feedback Drawer
   - Bottom full-width bar (Microsoft-ish)
   - Plain X at far right
   - Drawer overlays bar
   - Drawer scrolls but scrollbar hidden (scroll still works)
   ========================================================= */

/* Load Roboto if the topic page did not already load it */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* ---- TUNE THESE ---- */
:root{
  --tt-bar-h: 56px;
  --tt-drawer-h: 380px;      /* drawer height */
  --tt-rail-max: 980px;      /* centered content column width */
  --tt-pad: 24px;            /* left/right gutter */
}

/* Make room so the page doesn't hide behind the bar */
body{ padding-bottom: var(--tt-bar-h); }

/* =========================
   BAR
   ========================= */
#tt-helpful-bar{
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;

  height: var(--tt-bar-h) !important;
  z-index: 999999 !important;

  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  background: #fff !important;
  border-top: 1px solid rgba(0,0,0,.14) !important;
  box-shadow: 0 -4px 14px rgba(0,0,0,.10) !important;
}

#tt-helpful-bar.tt-hidden{ display:none !important; }

#tt-helpful-bar .tt-row{
  height: 100%;
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;

  position:relative;
  padding: 0 var(--tt-pad);
  box-sizing:border-box;
}

#tt-helpful-bar .tt-label{
  font-size: 14px;
  font-weight: 600;
}

/* Actions */
#tt-helpful-bar .tt-actions{
  display:flex;
  gap: 10px;
}

/* Buttons */
#tt-helpful-bar .tt-actions button{
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;

  display: inline-block !important;
  padding: 6px 18px !important;

  border-radius: 2px !important;
  border: 1px solid #203864 !important;
  background: #203864 !important;
  color: #ffffff !important;

  cursor: pointer !important;
  line-height: 1.2 !important;
  box-sizing: border-box !important;
  min-width: 64px;
}

#tt-helpful-bar .tt-actions button:hover{
  background: #2a4b82 !important;
  border-color: #2a4b82 !important;
}

#tt-helpful-bar .tt-actions button:active{
  background: #162b4a !important;
  border-color: #162b4a !important;
}

#tt-helpful-bar .tt-actions button:focus{
  outline: 2px solid rgba(32,56,100,.6) !important;
  outline-offset: 2px !important;
}

/* Plain X on far right */
#tt-helpful-bar .tt-x{
  position:absolute;
  right: var(--tt-pad);
  top:50%;
  transform: translateY(-50%);

  border:0 !important;
  background:transparent !important;
  padding:0 !important;

  width: auto !important;
  height: auto !important;

  font-size: 18px;
  line-height: 1;
  color: rgba(0,0,0,.60);
  cursor:pointer;
}

#tt-helpful-bar .tt-x:hover{ color: rgba(0,0,0,.90); }

/* =========================
   DRAWER
   ========================= */
#tt-feedback-drawer{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  z-index: 1000000;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 -10px 30px rgba(0,0,0,.18);

  height: var(--tt-drawer-h);
  transform: translateY(100%);
  transition: transform 220ms ease;

  display:flex;
  flex-direction:column;
  overflow:hidden;
}

#tt-feedback-drawer.tt-open{
  transform: translateY(0);
}

/* Header aligned to the same rail as content */
#tt-feedback-drawer .tt-drawer-head{
  height: var(--tt-bar-h);
  border-bottom: 1px solid rgba(0,0,0,.08);
  position:relative;
  padding:0;
  box-sizing:border-box;
}

#tt-feedback-drawer .tt-drawer-title{
  height: 100%;
  width: 100%;
  max-width: var(--tt-rail-max);
  margin: 0 auto;
  padding: 0 var(--tt-pad);
  padding-right: calc(var(--tt-pad) + 32px);
  box-sizing:border-box;

  display:flex;
  align-items:center;
  justify-content:flex-start;

  font-size: 14px;
  font-weight: 700;
}

/* Plain X at far right of drawer */
#tt-feedback-drawer .tt-drawer-x{
  position:absolute;
  right: var(--tt-pad);
  top:50%;
  transform: translateY(-50%);

  border:0 !important;
  background:transparent !important;
  padding:0 !important;

  font-size:18px;
  line-height:1;
  color: rgba(0,0,0,.60);
  cursor:pointer;
}

#tt-feedback-drawer .tt-drawer-x:hover{ color: rgba(0,0,0,.90); }

/* Body scrolls but scrollbar hidden */
#tt-feedback-drawer .tt-drawer-body{
  flex:1;
  min-height:0;

  width:100%;
  padding: 10px var(--tt-pad) 16px var(--tt-pad);
  box-sizing:border-box;

  overflow:auto;
  -webkit-overflow-scrolling: touch;

  display:flex;
  justify-content:center;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

#tt-feedback-drawer .tt-drawer-body::-webkit-scrollbar{
  width: 0;
  height: 0;
}

/* Make iframe tall so scrolling happens on drawer body */
#tt-feedback-iframe{
  width: 100% !important;
  max-width: var(--tt-rail-max) !important;
  height: 1400px !important;
  border: 0;
  display:block;
}

/* =========================
   Mobile tweaks
   ========================= */
@media (max-width: 640px){
  :root{
    --tt-pad: 16px;
    --tt-rail-max: 100%;
    --tt-drawer-h: 70vh;
    --tt-bar-h: 64px;
  }

  body{ padding-bottom: var(--tt-bar-h); }

  #tt-helpful-bar .tt-row{
    flex-wrap:wrap;
    padding-right: 44px;
  }
}

/* =========================================================
   RoboHelp 2026 Toolbar + Breadcrumbs
   ========================================================= */

#rh-modern-toolbar .rh-layout-TOOLBAR-wrapper{
  display: grid !important;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  width: 100%;
}

/* Buttons: top-right */
#rh-modern-toolbar .rh-layout-TOOLBAR-wrapper-right{
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: flex !important;
  justify-content: flex-end;
  gap: 14px;
}

/* Breadcrumbs: full width, below */
#rh-modern-toolbar .rh-layout-TOOLBAR-wrapper-left{
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100% !important;
  max-width: 100% !important;
}

/* Breadcrumb area */
#rh-modern-toolbar .rh-layout-BCRUMBS-container,
#rh-modern-toolbar .rh-layout-BCRUMBS-nav{
  width: 100% !important;
  max-width: 100% !important;
}

/* No wrap: scroll horizontally */
#rh-modern-toolbar .rh-layout-BCRUMBS-nav{
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  -webkit-overflow-scrolling: touch;
}

/* Make the breadcrumb list expand to its content width */
#rh-modern-toolbar .rh-layout-BCRUMBS-list-box,
#rh-modern-toolbar .rh-layout-BCRUMBS-list{
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  width: max-content !important;
  max-width: none !important;
}

#rh-modern-toolbar .rh-layout-BCRUMBS-list-item,
#rh-modern-toolbar .rh-layout-BCRUMBS-list-item a{
  white-space: nowrap !important;
}

/* Hide only likely LABEL elements */
#rh-modern-toolbar .rh-toolbar-label,
#rh-modern-toolbar .rh-toolbar-btn-label{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

/* Hide toolbar button labels */
#rh-modern-toolbar button.rh-button span:not(.RH-LAYOUT-TOOLBAR-button-icon){
  display:none !important;
}

/* =========================================================
   Font styles
   ========================================================= */

p {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

p strong,
p .Strong {
  font-weight: 700;
}

span.Emphasis,
p.Emphasis,
div.Emphasis {
  font-style: italic !important;
}

StrongBlueChar,
.StrongBlueChar {
  font-weight: 700;
  color: #8DB3E2;
}

StrongPinkChar,
.StrongPinkChar {
  font-weight: 700;
  color: #FF69B4;
}

/* =========================================================
   RoboHelp top nav: carets + fully expanding dropdowns
   ========================================================= */

/* Let dropdowns escape header wrappers */
.RH-LAYOUT-HEADER,
.RH-LAYOUT-HEADER-top-row,
.RH-LAYOUT-MENUBAR-container,
.RH-LAYOUT-MENUBAR-menubar,
.RH-LAYOUT-MENUBAR-menubar > li[role="presentation"] {
  overflow: visible !important;
}

/* Anchor each submenu to its parent */
.RH-LAYOUT-MENUBAR-menubar > li[role="presentation"] {
  position: relative !important;
}

/* Caret on top items that have a submenu */
.RH-LAYOUT-MENUBAR-item[aria-haspopup="true"]::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.45em;
  vertical-align: middle;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.08em);
  transform-origin: center;
  transition: transform 0.15s ease;
  opacity: 0.9;
}

.RH-LAYOUT-MENUBAR-item[aria-haspopup="true"] {
  cursor: pointer;
}

.RH-LAYOUT-MENUBAR-item[aria-haspopup="true"][aria-expanded="true"]::after {
  transform: rotate(225deg) translateY(0.02em);
}

/* Main dropdown box */
.RH-LAYOUT-MENUBAR-menubar > li > .RH-LAYOUT-MENUBAR-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  z-index: 99999 !important;

  display: none !important;
  min-width: 220px !important;
  width: max-content !important;
  max-width: 420px !important;

  background: #080808 !important;
  border: 1px solid #4a4949 !important;
  border-radius: 4px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.35) !important;

  margin: 0 !important;
  padding: 6px 0 !important;
  list-style: none !important;

  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Show submenu when parent is expanded */
.RH-LAYOUT-MENUBAR-item[aria-expanded="true"] + .RH-LAYOUT-MENUBAR-menu {
  display: block !important;
}

/* Reset submenu internals so items stack naturally */
.RH-LAYOUT-MENUBAR-menu > li,
.RH-LAYOUT-MENUBAR-menu > li[role="presentation"],
.RH-LAYOUT-MENUBAR-menu-item-wrapper,
.RH-LAYOUT-MENUBAR-menu-item-wrapper > div,
.RH-LAYOUT-MENUBAR-menu-item-wrapper > a {
  display: block !important;
  position: static !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* Submenu links */
.RH-LAYOUT-MENUBAR-menu .RH-LAYOUT-MENUBAR-menu-item {
  display: block !important;
  position: static !important;
  box-sizing: border-box !important;
  width: 100% !important;
  padding: 8px 16px !important;
  margin: 0 !important;

  color: #d8d8d8 !important;
  background: transparent !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  line-height: 1.35 !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* Hover/focus state */
.RH-LAYOUT-MENUBAR-menu .RH-LAYOUT-MENUBAR-menu-item:hover,
.RH-LAYOUT-MENUBAR-menu .RH-LAYOUT-MENUBAR-menu-item:focus {
  background: #151515 !important;
  color: #ffffff !important;
}

/* =========================================================
   RoboHelp Topic Font Fix
   Forces paragraphs and lists to match
   ========================================================= */

/* Force topic content font */
html body .RH-LAYOUT-CENTERPANEL-topic-box,
html body .RH-LAYOUT-CENTERPANEL-topic-box *,
html body [class*="CENTERPANEL"] [class*="topic"] *,
html body .RH-LAYOUT-CENTERPANEL-topic-box p,
html body .RH-LAYOUT-CENTERPANEL-topic-box li,
html body .RH-LAYOUT-CENTERPANEL-topic-box ul,
html body .RH-LAYOUT-CENTERPANEL-topic-box ol {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Match paragraph and list text size */
html body .RH-LAYOUT-CENTERPANEL-topic-box p,
html body .RH-LAYOUT-CENTERPANEL-topic-box li,
html body [class*="CENTERPANEL"] [class*="topic"] p,
html body [class*="CENTERPANEL"] [class*="topic"] li {
  font-size: 14px !important;
  line-height: 1.45 !important;
}

/* Keep headings bold/larger */
html body .RH-LAYOUT-CENTERPANEL-topic-box h1,
html body .RH-LAYOUT-CENTERPANEL-topic-box h2,
html body .RH-LAYOUT-CENTERPANEL-topic-box h3,
html body .RH-LAYOUT-CENTERPANEL-topic-box h4,
html body [class*="CENTERPANEL"] [class*="topic"] h1,
html body [class*="CENTERPANEL"] [class*="topic"] h2,
html body [class*="CENTERPANEL"] [class*="topic"] h3,
html body [class*="CENTERPANEL"] [class*="topic"] h4 {
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

/* Clean list spacing */
html body .RH-LAYOUT-CENTERPANEL-topic-box ul,
html body .RH-LAYOUT-CENTERPANEL-topic-box ol,
html body [class*="CENTERPANEL"] [class*="topic"] ul,
html body [class*="CENTERPANEL"] [class*="topic"] ol {
  margin-top: 6px !important;
  margin-bottom: 14px !important;
  padding-left: 28px !important;
}

/* List item spacing */
html body .RH-LAYOUT-CENTERPANEL-topic-box li,
html body [class*="CENTERPANEL"] [class*="topic"] li {
  margin-bottom: 3px !important;
}

/* Paragraph spacing */
html body .RH-LAYOUT-CENTERPANEL-topic-box p,
html body [class*="CENTERPANEL"] [class*="topic"] p {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
}

/* =========================================================
   TriTech Automatic Topic Sidebar TOC - CLEAN COMPACT
   ========================================================= */

.tt-topic-sidebar-layout {
  display: table !important;
  width: 100% !important;
  table-layout: fixed !important;
  margin-top: 0 !important;
}

.tt-topic-sidebar {
  display: table-cell !important;
  width: 245px !important;
  padding: 8px 24px 90px 0 !important;
  vertical-align: top !important;
  border-right: 1px solid #e2e8f0 !important;
}

.tt-topic-sidebar-inner {
  position: sticky !important;
  top: 20px !important;
  max-height: none !important;
  overflow: visible !important;
}

.tt-topic-sidebar-title {
  margin: 0 0 12px 0 !important;
  font-weight: 700 !important;
  color: #1f3864 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.tt-topic-sidebar a {
  display: block !important;
  margin: 0 0 7px 0 !important;
  padding: 0 !important;
  color: #4b5563 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

.tt-topic-sidebar a:hover,
.tt-topic-sidebar a:focus {
  color: #1f3864 !important;
  text-decoration: underline !important;
}

.tt-topic-sidebar a.tt-topic-sidebar-h3 {
  padding-left: 12px !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.tt-topic-content {
  display: table-cell !important;
  padding-left: 36px !important;
  vertical-align: top !important;
  min-width: 0 !important;
}

.tt-topic-content h2,
.tt-topic-content h3 {
  scroll-margin-top: 130px !important;
}

/* Mobile / narrow screens */
@media only screen and (max-width: 900px) {
  .tt-topic-sidebar-layout,
  .tt-topic-sidebar,
  .tt-topic-content {
    display: block !important;
    width: auto !important;
  }

  .tt-topic-sidebar {
    border-right: none !important;
    border-left: 3px solid #1f3864 !important;
    background: #f8fafc !important;
    padding: 12px 16px !important;
    margin: 16px 0 24px 0 !important;
  }

  .tt-topic-sidebar-inner {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .tt-topic-content {
    padding-left: 0 !important;

  }
}

/* =========================================================
   Helpful Bar Original Shadow Restore
   ========================================================= */

#tt-helpful-bar {
  box-shadow: 0 -4px 14px rgba(0,0,0,.10) !important;
  border-top: 1px solid rgba(0,0,0,.14) !important;
}

#tt-feedback-drawer {
  box-shadow: 0 -10px 30px rgba(0,0,0,.18) !important;
  border-top: 1px solid rgba(0,0,0,.14) !important;
}