/* CSS for Knowledge Pages */

.kmt-body-wrapper a {
  /* break-word: Has the same effect as overflow-wrap: anywhere combined with word-break: normal,
                 regardless of the actual value of the overflow-wrap property. */
  word-break: break-word;
}

.view-page {
  padding-top: 1rem;
}

/* Remove padding for symlink node wrapped with extra node__content */
.kmt-body-wrapper .node__content .node__content {
  padding: 0;
}

.block-views-blockrelated-contents-block-1 h2.block-title {
  border-bottom: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.5em;
}

.node--type-users-guide-page .content-main-inner {
  font-size: 1rem;
}

.node--type-users-guide-page .content-main-inner span.field-content {
  font-size: 1em;
}

.block-views-blockrelated-contents-block-1 .item-list > ol,
.block-views-blockrelated-contents-block-1 .item-list > ul {
  line-height: 1.5em;
  padding-left: 20px;
}

.block-views-blockrelated-contents-block-1 .item-list ul li.view-list-item {
  list-style-type: disc;
  margin-bottom: 0;
  overflow: visible;
}

.block-views-blockrelated-contents-block-1 .item-list li.view-list-item > div.views-field-title {
  margin-bottom: 0.625em;
  padding: 0;
}

/* [Start] Table of contents */

#block-tableofcontents .content {
  padding: 20px 0;
}

#toc {
  font-family: Tahoma, sans-serif;
  font-size: 14px;
}

#toc a {
  border-left: 2px solid #cdcdcd;
  display: inline-block;
  line-height: 20px;
  padding: 5px 15px;
  text-decoration: none;
}

#toc a:hover {
  color: #0065B3;
}

#toc .toc-heading {
  font-weight: 700;
  /* letter-spacing: 1.5px; */
  margin: 0 0 1rem;
}

/* [End] Table of contents */

.content-main-inner .row {
  max-width: unset;
}

.kmt-content,
.kmt-menu {
  font-size: 1rem;
}

.kmt-content h1 {
  /* font-size: 2em; /* 32px */
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-align: left;
}

.kmt-content h2,
.search-results h2 {
  /* font-size: 1.8em !important; /* 28.8px */
  font-size: 1.3rem !important;
  font-weight: bold;
  /* letter-spacing: 1px; */
  text-align: left;
  /* word-spacing: 2px; */
}

.kmt-content li,
body.node--type-announcement .main-page article .field ol > li {
  margin-bottom: 0.3rem;
  overflow-wrap: break-word;
  text-align: justify;
}

/* [Start] Search Form, e.g. Technical Articles page */
form.views-exposed-form {
  /* margin-bottom: 2rem; */
  margin-bottom: 20px;
}

form.views-exposed-form input.form-text {
  margin-top: 0px;
  margin-bottom: 1px;
}

form.views-exposed-form input.form-submit {
  font-size: 1rem;
  padding: 2px 20px 4px 20px;
}

form.views-exposed-form div.form-item,
form.views-exposed-form div.form-actions {
  display: inline-block;
}
/* [End] Search Form */

/* [Start] Search Page Listing, e.g. Technical Articles page */
article.node--view-mode-teaser.node--type-kb-articles h2,
article.node--view-mode-teaser.node--type-kb-how-to h2 {
  font-size: 20px;
  font-weight: 600;
}

article.node--view-mode-teaser.node--type-kb-articles .node__content,
article.node--view-mode-teaser.node--type-kb-how-to .node__content {
  font-size: .875rem;
  padding: 0px 0px 8px 0px;
}
/* [End] Search Page Listing, e.g. Technical Articles page */

.kmt-content h3 {
  /* font-size: 1.6em; /* 25.6px */
  font-size: 1.2rem;
  font-weight: bold;
}

.kmt-content h4 {
  /* font-size: 1.4em; /* 22.4px */
  font-size: 1.1rem;
  font-weight: bold;
}

.kmt-content h5, .kmt-content h6 {
  /* font-size: 1.2em; /* 19.2px */
  font-size: 1rem;
  font-weight: bold;
}

/*
.kmt-content h6 {
  font-size: 1em;
  font-weight: bold;
}
*/

.kmt-content p {
  overflow-wrap: break-word;
  text-align: justify;
}

.kmt-content ul {
  margin-bottom: 1rem;
}

.kmt-content table th,
.kmt-content table td,
table.view-table th,
table.view-table td {
  border-color: #dee2e6;
  border-width: 1px;
  overflow-wrap: break-word;
  padding: 5px;
  text-align: left;
}

.kmt-content table th,
table.view-table th {
  vertical-align: top;
}

.kmt-content table.col1-center td:nth-child(1),
.kmt-content table.col2-center td:nth-child(2),
.kmt-content table.col3-center td:nth-child(3) {
  text-align: center;
}

table td.col-center {
  text-align: center;
}

.kmt-content table thead th {
  background-color: #777;
  color: #fff;
  text-align: center;
}

table.view-table thead th,
table.view-table thead th a {
  color: #222 !important;
  text-align: center;
}

.kmt-content li.menu-item {
  font-size: 1rem;
  text-align: left;
}

/* [Start] Command / Programming Code */
.kmt-content pre {
  background-color: #f2f2f2;
  /* border: .125em solid #e6e6e6; */
  border: 2px solid #e6e6e6;
  overflow: auto;
  margin: 0em 0em 1em 0em;
  padding: 1em;
  tab-size: 4;
  word-spacing: normal;
  word-wrap: normal;
}
/* [End] Command / Programming Code */

/* field class in twig */

div > p:last-child {
  margin-bottom: 0;
}

.kmt-content > .help-title:not(:last-child),
.kmt-content > .help-field:not(:last-child) {
  margin-bottom: 24px;
}

ol.more-space > li,
ul.more-space > li,
div.more-space {
  margin-bottom: 1em;
}

div.important,
div.note {
  margin-bottom: 1em;
  padding: 14px !important;
  text-align: justify;
}

div.important {
  background-color: #f4cccc;
  background-position: 16px 15px;
  border: 2px solid #f4cccc;
}

div.note {
  background-color: #dff6dd;
  background-position: 16px 15px;
  border: 2px solid #dff6dd;
}

div.important:before,
div.note:before {
  display: block;
  font-weight: bold;
  margin-bottom: 13px;
  position: relative;
}

div.important:before {
  content: url(/sites/default/files/images/icon-important-wt.svg);
}

div.note:before {
  content: url(/sites/default/files/images/icon-note-wt.svg);
}

div.qna > div {
  margin-bottom: 1em;
  padding-left: 23px;
  text-align: left;
  text-indent: -23px;
}

div.qna > div:before {
  content: "Q. ";
  font-weight: bold;
}

div.qna > div > div {
  margin-top: 1em;
  padding-left: 0px;
  text-indent: 0px; 
  text-align: justify;
}

/* [Start] Help Centre (/support/helpcentre) */

div.doc-home {
  font-family: var(--conbiz-font-sans-serif);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
}

.doc-featured {
  padding-bottom: 64px;
}

.doc-featured .adc-rspflex-123 a {
  text-decoration: none !important;
}

.doc-featured .adc-rspflex-123 a h3,
.doc-featured .adc-rspflex-123 a.category-title {
  text-decoration: underline !important;
}

.doc-featured > .adc-rspflex-12,
.doc-featured > .adc-rspflex-123 {
  gap: 16px;
}

.doc-featured > .adc-rspflex-12 > div,
.doc-featured > .adc-rspflex-123 > div {
  padding: unset;
}

@media (min-width: 576px) {
  .doc-featured > .adc-rspflex-123 > div {
    flex: 0 0 48%;
  }
}

@media (min-width: 768px) {
  .doc-featured > .adc-rspflex-12 > div {
    flex: 0 0 47%;
  }

  .doc-featured > .adc-rspflex-123 > div {
    flex: 0 0 48%;
  }
}

@media (min-width: 1024px) {
  .doc-featured > .adc-rspflex-123 > div {
    flex: 0 0 31%;
  }
}

h2.doc-header {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: 110%;
}

.doc-featured h2.doc-header {
  margin-bottom: 24px;
}

.doc-category {
  background-color: rgb(244, 247, 248);
  padding: 24px;
  height: 100%
}

.doc-category:hover {
  transition: all 200ms cubic-bezier(0,0,.58,1) !important;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .09);
}

.doc-category > h3 {
  color: revert;
  font-family: var(--conbiz-font-sans-serif);
  font-size: 23px;
  font-style: normal;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: 0px;
  margin-bottom: 12px;
}

.doc-category > p {
  color: black;
  margin-bottom: unset;
}

/* [End] Help Centre (/support/helpcentre) */

/* [Start] Help Centre Section Page (/support/helpcentre/[section]) */

.section-block > div {
  border: 1px solid rgba(217, 217, 214, 0.8);
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.1);
  padding: 15px !important;
}

.adc-rspflex-123.section-block {
  gap: 10px;
}

/* [Start] 2025-02-10 (vincent.ip) hide print button on mobile view */
.btn-row.print {
  display: none;
}

@media (min-width: 576px) {
  .adc-rspflex-123.section-block > div {
    flex: 0 0 48%;
  }

  .btn-row.print {
    display: block;
  }
}
/* [End] 2025-02-10 (vincent.ip) hide print button on mobile view */

@media (min-width: 768px) {
  .adc-rspflex-123.section-block > div {
    flex: 0 0 48%;
  }
}

@media (min-width: 1024px) {
  .adc-rspflex-123.section-block > div {
    flex: 0 0 32%;
  }
}

.section-img {
  padding-bottom: 15px;
}

.section-link > p {
  font-size: 1rem;
  margin-bottom: unset;
  text-align: left;
}

/* [End] Help Centre Section Page (/support/helpcentre/[section]) */

#selected-sidelink {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 10px;
}

p.sw-tile-summary {
  font-size: 1rem;
}

/* [Start] Help Centre - Doc Sidebar */

.hide {
  display: none;
}

h1.detail-heading {
  margin-bottom: 14px;
}

/* sidebar sidebar-left */
.kmt-body-wrapper #block-chats {
  margin-bottom: 0px;
}

.kmt-body-wrapper .gva-body-wrapper {
  background-color: red;
}

.kmt-body-wrapper .sidebar {
  margin-bottom: 0px;
}

.kmt-body-wrapper .sidebar-inner {
  height: 100%;
}

.sidebar_left.users_guide_page,
.kmt-body-wrapper .sidebar_left {
  background-color: #ecf6ff;
  padding: 16px 24px 24px 24px;
  height: 100%;
}

.sidebar .sw-title {
  font-family: Tahoma, sans-serif;
  font-size: 24px;
  font-weight: bold;
  padding-top: 4px;
}

/* [Start] Help Centre - Doc Breadcrumb */

.breadcrumb-content-inner.sidebar .gva-block-breadcrumb .breadcrumb-links {
  text-align: left;
}

.breadcrumb-content-inner.sidebar .gva-block-breadcrumb .breadcrumb-links .content-inner {
  background: unset;
  padding: unset;
}

.breadcrumb-content-inner.sidebar .gva-block-breadcrumb .breadcrumb-links nav.breadcrumb ol li,
.breadcrumb-content-inner.sidebar .gva-block-breadcrumb .breadcrumb-links nav.breadcrumb ol li i {
  font-size: 12px;
}

.fa-angle-right:before {
  content: "\f105";
}
/* [End] Help Centre - Doc Breadcrumb */

/* [Start] Help Centre - Doc sidebar (new) */

.adc-left-menu-suggest.kmt-search-box {
  margin: 16px 0px 36px;
}

.adc-left-menu-suggest.kmt-search-box input {
  font-size: 12px;
}

.gva_menu.kmt-menu-new {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.gva_menu.kmt-menu-new li {
  padding: 0;
  margin: 0;
}

.gva_menu.kmt-menu-new li a,
.gva_menu.kmt-menu-new li span {
  color: #404040;
  display: block;
  font-family: var(--conbiz-font-sans-serif);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  padding-top: 8px;
  padding-right: 28px;
  padding-bottom: 8px;
}

/* Hide the summary marker */
.gva_menu.kmt-menu-new details summary::marker {
  content: "";
}
.gva_menu.kmt-menu-new details summary::-webkit-details-marker {
  display: none;
}

/* Open/close button */
.gva_menu.kmt-menu-new .sw-sidebar-button {
  float: right;
  top: -3px;
  right: -28px;
  position: relative;
  width: 20px;
  height: 31px;
  padding-right: 4px;
  padding-left: 6px;
}

.gva_menu.kmt-menu-new .is-active {
  background-color: #D2E2F3;
  font-weight: 590;
}

.gva_menu.kmt-menu-new li > a:hover,
.gva_menu.kmt-menu-new li > details > summary > a:hover,
.gva_menu.kmt-menu-new li > details > summary > span:hover {
  background-color: #E0EDFA;
  color: #404040;
}

.gva_menu.kmt-menu-new details[open] > summary > a > img.open,
.gva_menu.kmt-menu-new details[open] > summary > span > img.open {
  display: none;
}

.gva_menu.kmt-menu-new details:not([open]) > summary > a > img.close,
.gva_menu.kmt-menu-new details:not([open]) > summary > span > img.close {
  display: none;
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-0 {
  padding-left: 4px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-1 {
  padding-left: 24px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-2 {
  padding-left: 44px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-3 {
  padding-left: 64px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-4 {
  padding-left: 84px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-5 {
  padding-left: 104px
}

.gva_menu.kmt-menu-new .sw-sidebar-menuitem-6 {
  padding-left: 124px
}

/***** ***** Function Menu ***** *****/

.kmt-filter-title {
  font-family: Tahoma, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  padding-top: 5px;
}

.gva_menu.kmt-menu-new.function-menu li a {
  margin-top: 8px;
  padding-top: 0px;
  padding-left: 4px;
  padding-bottom: 0px;
}

.gva_menu.kmt-menu-new.function-menu li.active {
  background-color: #D2E2F3;
}

/* [End] Help Centre - Doc sidebar (new) */


.doc-tags-related {
  font-size: 1.4em; /* 22.4px */
  font-weight: bold;
}

.field--name-field-doc-tags {
  padding-top: 1rem;
  font-size: 0.8rem;
}

.field--name-field-doc-tags > .field__item:not(:last-child) {
  padding-right: 10px;
}

.field--name-field-doc-tags > .field__item {
  display: inline-block;
}

.field--name-field-doc-tags > .field__item > a::before {
  content: "#";
}

@media (min-width: 768px) {

  /* Table of contents */
  .kmt-body-wrapper .main-page .sidebar-right.col-sm-12 {
    display: none;
  }

  .kmt-content tr.mobileColumnGroup {
    display: none;
  }
}

@media (max-width: 767px) {

  .kmt-content th.rowHeader {
    display: none;
  }
}

.container-full {
  padding-right: 15px;
  padding-left: 15px;
}

@media (min-width: 1024px) {

  .container-full {
    padding-right: revert;
    padding-left: revert;
  }

  /* sidebar-left: Doc Menu */
  .kmt-body-wrapper .main-page .sidebar-left.col-lg-4,
  .kmt-body-wrapper .main-page .sidebar-left.col-lg-3 {
    -ms-flex: 0 0 388px;
    flex: 0 0 388px;
    max-width: 388px;
  }

  .kmt-body-wrapper .main-page .main-content.col-lg-8,
  .kmt-body-wrapper .main-page .main-content.col-lg-6 {
    -ms-flex: 1;
    flex: 1; /* 1 1 0% */
    max-width: none;
    width: calc(100% - 388px);
  }

  .kmt-menu {
    border: 0.1rem solid #666666;
    background-color: #EFEFEF;
    margin: 20px 15px 15px 15px;
    padding: 10px 0px;
  }

  .kmt-menu .menu-item {
    margin-bottom: 0px;
    overflow-wrap: break-word;
  }

  .kmt-menu .gva_menu {
    --spacing : 1.7em;
    --radius  : 10px;
    padding-left: 0px;
    padding-right: 10px;
  }

  .kmt-menu .gva_menu li {
    display      : block;
    position     : relative;
    padding-left : calc(2 * var(--spacing) - var(--radius) - 2px);
    padding-bottom: 4px;
    padding-top: 4px;
  }

  .kmt-menu .gva_menu ul {
    margin-left  : calc(var(--radius) - var(--spacing));
    padding-left : 0;
  }

  /* vertical line, start from 2nd level */
  .kmt-menu .gva_menu ul li {
    border-left : 2px solid #ddd;
  }

  .kmt-menu .gva_menu ul li:last-child {
    border-color : transparent;
    padding-bottom: 0px;
  }

  /* L-shape line, start from 2nd level */
  .kmt-menu .gva_menu ul li::before {
    content      : '';
    display      : block;
    position     : absolute;
    top          : calc(var(--spacing) / -2);
    left         : -2px;
    width        : calc(var(--spacing) + 2px);
    height       : calc(var(--spacing) + 1px);
    border       : solid #ddd;
    border-width : 0 0 2px 2px;
  }

  .kmt-menu .gva_menu summary {
    display : block;
    cursor  : pointer;
  }

  .kmt-menu .gva_menu summary::marker,
  .kmt-menu .gva_menu summary::-webkit-details-marker {
    display : none;
  }

  .kmt-menu .gva_menu summary:focus {
    outline : none;
  }

  .kmt-menu .gva_menu summary:focus-visible {
    outline : 1px dotted #000;
  }

  .kmt-menu .gva_menu li::after,
  .kmt-menu .gva_menu summary::before {
    content       : '';
    display       : block;
    position      : absolute;
    top           : calc(var(--spacing) / 2 - var(--radius));
    left          : calc(var(--spacing) - var(--radius) - 1px);
    width         : calc(2 * var(--radius));
    height        : calc(2 * var(--radius));
    border-radius : 50%;
    background    : #ddd;
  }

  .kmt-menu .gva_menu summary::before {
    z-index    : 1;
    background : #696 url('/sites/default/files/images/help/expand-collapse.svg') 0 0;
  }

  .kmt-menu .gva_menu details[open] > summary::before {
    background-position : calc(-2 * var(--radius)) 0;
  }

  .kmt-menu ul.menu li a {
    font-size: 1em;
  }

  .kmt-menu .menu-item--active-trail a.is-active {
    font-weight: bold;
  }
}

@media (min-width: 1200px) {

  .kmt-body-wrapper .main-page .main-content.col-lg-6 {
    width: calc(100% - 388px - 250px);
  }

  /* Table of contents - .sidebar-right.col-lg-3 */
  .kmt-body-wrapper .main-page .sidebar-right.col-xl-3:not(.hide) {
    display: revert;
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
    max-width: 250px;
  }
}

/* [Start] 2024-12-06 (vincent.ip) validator for video object's picture and mp4 video */ 
.dev-validator {
  border: 2px dotted #C00;
  margin: 5px 0px;
  padding: 5px;
}

.dev-validator::before {
  background-color: #C00;
  color: white;
  content: "Visible in internal \"dev-\" website only";
  display: block;
  padding: 0px 5px;
  text-align: left;
  width: 100%;
}

.table-check {
  border-spacing: 5px 0px;
  margin: 5px -5px;
}

.table-row {
  display: table-row;
}

.table-row > div {
  display: table-cell;
}

.table-row.img-check > div {
  text-align: left;
  width: 33%;
}

.table-row div.tag {
  background-color: black;
  color: white;
  // display: inline-block;
  padding: 0px 5px;
}

.video-check {
  text-align: left;
}
/* [End] 2024-12-06 (vincent.ip) validator for video object's picture and mp4 video */

#rn-abbreviation {
  align-items: center;
  background-color: #eeefef;
  border: 2px solid #eeefef;
  border-radius: 10px;
  column-gap: 10px;
  display: flex;
  margin-bottom: 1rem;
  padding: 18px;
}

#rn-abbreviation:before {
  content: url(/sites/default/files/images/info.png);
}

#rn-limitation {
  background-color: #ffd966;
  border: 2px solid #ffd966;
  border-radius: 10px;
  margin: 1rem 0rem;
  padding: 18px;
}

article.node--view-mode-video-page p {
  text-align: center;
}

.date {
  margin-bottom: 1rem;
}

h1.results {
  margin-bottom: 10px;
}

div.item-content > .node__title {
  margin-bottom: 10px;
}

div.item-content > div.node__content {
  padding: 0;
}

.views-exposed-form input.form-text {
  width: 400px;
}

ol.search-results {
  /*
  list-style-type: none;
  margin: 0;
  padding: 0;
  */
  list-style-type: decimal;
  padding-inline-start: 60px;
}

ol.search-results > li {
  padding: 10px;
}

/*ol.search-results > li:nth-child(even) {
  background-color: #f3f3f3;
}*/

ol.search-results > li::marker {
  font-size: 1.3rem;
  font-weight: bold;
}

.item-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%
}

@media only screen and (max-width: 600px) {
  .item-container {
    flex-direction: column;
  }

  .item-video {
    display: none;
  }

  .item-video:has(picture) {
    display: block;
  }

  form[id^="views-exposed-form-search-results-block-"] {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  form[id^="views-exposed-form-search-results-block-"] div.form-item {
    display: flex;
  }

  form[id^="views-exposed-form-search-results-block-"] .form-text,
  form[id^="views-exposed-form-search-results-block-"] .form-item {
    flex: 100%;
  }
}

.item-content {
  flex: 1;
}

.item-video {
  flex: 0 0 200px;
}

svg.pager-button {
  vertical-align: middle;
}

.pager ul.pager__items>li a:hover .pager-button path,
.pager ul.pager__items>li a:hover .pager-button rect {
  fill: #fff;
}

.menu-container:has(.mobile-menu) #menu-help-centre-mobile,
.menu-container:has(.mobile-menu) #breadcrumb-help-centre-mobile {
  display: none;
}

@media (max-width: 1023.98px) {
  .kmt-body-wrapper .main-page .sidebar-left,
  .kmt-body-wrapper .main-page .sidebar-right,
  .menu-container:has(.mobile-menu) nav.menu--main {
    display: none;
  }

  .menu-container:has(.mobile-menu) #menu-help-centre-mobile,
  .menu-container:has(.mobile-menu) #breadcrumb-help-centre-mobile {
    display: revert;
  }

  .kmt-body-wrapper .gva-offcanvas-mobile {
    height: 100vh;
    background-color: #ecf6ff;
  }

  .kmt-body-wrapper .gva-offcanvas-mobile .close-offcanvas {
    background-color: #fff;
  }

  .menu-container:has(.mobile-menu) {
    padding: 16px;
  }

  .main-menu-inner:has(.mobile-menu) .btn-gray-mobile {
    padding: 0 16px 16px;
  }
}

/* For view "SEO Checklist (Content)" Max. Length */
body.path-validator form.views-exposed-form div.form-actions {
  display: block;
}

@media print {
  div.important,
  div.note,
  #rn-abbreviation,
  #rn-limitation {
    border-color: #e6e6e6;
  }

  #video-object, #video-page-link {
    display: none !important;
  }
}