/*
 * This vars file is based off of Bootstrap. Not all vars are used.
 *
 * The most obviously unused ones (e.g., modal windows, etc) were removed.
 * There are some vars that remain that are not actually used but
 * perhaps should be. E.g. using dropdown colours.
 */
/******************************
 Greyscale colours
 *******************************/
/******************************
 Colours
 ******************************/
/*
 Use these classnames in your HTML markup:
 as-no-dpui:
 Add to things that are meant to be displayed when NOT using enhanced UI controls. These are fallback controls.
 as-dpui:
 Add to things that ARE enhanced controls. These are typically added during pageload with JS.
 with-dpx:
 Add to containers that may or may not contain enhanced controls.
 The contents of these elements are hidden until after the page is done loading. This
 reduces the "flash" as JS runs to enhance controls.
 If there are many elements on a page, you might consider putting this on a 'high'
 parent (e.g., a <form>) to hide the entire contents until page load.
 */
body .as-no-dpui {
  display: block; }

body .as-dpui {
  display: none; }

body.with-dpui .as-no-dpui {
  display: none; }

body.with-dpui .as-dpui {
  display: block; }

body.with-js .with-dpx {
  visibility: hidden; }

body.with-js .with-dpx {
  visibility: hidden; }

.without-dpui .dpx-placeholder {
  display: none; }

body.with-js.with-dpui.with-pageload-dpx-done .dpx-placeholder {
  display: none; }

body.with-js.without-dpui.with-pageload-done .with-dpx {
  visibility: visible; }

body.with-js.with-dpui.with-pageload-dpx-done .with-dpx {
  visibility: visible; }

:root {
  --brand-primary: #252525;
  --danger: #d9534f;
  --warning: #f0ad4e;
  --neutral: #F8AF3C;
  --success: #5cb85c;
  --info: #5bc0de;
  --background-color: #fff;
  --text-color: #252525;
  --text-color-lighter: #7a7a7a;
  --font-family-sans-serif: Lato, "Helvetica Neue", Arial, Helvetica, sans-serif;
  --font-family-heading: Rubik, sans-serif;
  --font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
  --brand-primary-d-75: #121212;
  --brand-primary-d-100: #0c0c0c;
  --brand-primary-d-125: #050505;
  --brand-primary-d-150: black;
  --brand-primary-l-100: #3f3f3f;
  --brand-primary-l-250: #656565;
  --brand-primary-l-350: #7e7e7e;
  --brand-primary-yiq: #fff;
  --brand-primary-d-75-yiq: #fff;
  --brand-primary-d-100-yiq: #fff;
  --brand-primary-rgb: 37, 37, 37;
  --danger-d-75: #d23430;
  --danger-d-100: #c9302c;
  --danger-d-125: #bf2e29;
  --danger-d-150: #b52b27;
  --danger-l-100: #e27c79;
  --danger-yiq: #fff;
  --danger-d-75-yiq: #fff;
  --danger-d-100-yiq: #fff;
  --danger-rgb: 217, 83, 79;
  --warning-d-75: #ed9d2b;
  --warning-d-100: #ec971f;
  --warning-d-125: #ea9214;
  --warning-d-150: #df8a13;
  --warning-l-100: #f4c37d;
  --warning-yiq: #212529;
  --warning-d-75-yiq: #212529;
  --warning-d-100-yiq: #212529;
  --warning-rgb: 240, 173, 78;
  --neutral-d-75: #f7a017;
  --neutral-d-100: #f69b0b;
  --neutral-d-125: #ec9408;
  --neutral-d-150: #df8c08;
  --neutral-l-100: #fac36d;
  --neutral-yiq: #212529;
  --neutral-d-75-yiq: #212529;
  --neutral-d-100-yiq: #212529;
  --neutral-rgb: 248, 175, 60;
  --success-d-75: #48a648;
  --success-d-100: #449d44;
  --success-d-125: #409440;
  --success-d-150: #3d8b3d;
  --success-l-100: #80c780;
  --success-yiq: #fff;
  --success-d-75-yiq: #fff;
  --success-d-100-yiq: #fff;
  --success-rgb: 92, 184, 92;
  --info-d-75: #3bb4d8;
  --info-d-100: #31b0d5;
  --info-d-125: #2aaacf;
  --info-d-150: #28a1c5;
  --info-l-100: #85d0e7;
  --info-yiq: #212529;
  --info-d-75-yiq: #fff;
  --info-d-100-yiq: #fff;
  --info-rgb: 91, 192, 222;
  --tcl-danger-b-6: #712b29;
  --tcl-danger-w-6: #eba6a3;
  --tcl-danger-w-10: #f7dddc;
  --tcl-danger-w-9: #f4cfce;
  --tcl-danger-w-9-d-50: #f0bab9;
  --tcl-danger-b-6-d-100: #4b1d1b;
  --tcl-info-b-6: #2f6473;
  --tcl-info-w-6: #aadeee;
  --tcl-info-w-10: #def2f8;
  --tcl-info-w-9: #d1edf6;
  --tcl-info-w-9-d-50: #bce5f1;
  --tcl-info-b-6-d-100: #20454f;
  --tcl-success-b-6: #306030;
  --tcl-success-w-6: #aadaaa;
  --tcl-success-w-10: #def1de;
  --tcl-success-w-9: #d1ebd1;
  --tcl-success-w-9-d-50: #c0e3c0;
  --tcl-success-b-6-d-100: #1f3e1f;
  --tcl-warning-b-6: #7d5a29;
  --tcl-warning-w-6: #f7d4a3;
  --tcl-warning-w-10: #fcefdc;
  --tcl-warning-w-9: #fbe8cd;
  --tcl-warning-w-9-d-50: #f9ddb6;
  --tcl-warning-b-6-d-100: #563e1c; }

/*
 XIMEA - custom CSS for the Deskpro HelpCenter theme
 Paste into: Admin > User Interface > Helpcenter > Page Layout & Design > CSS > Edit Custom CSS
 Evaluated as SCSS.
 Replaces the old !important overrides from the legacy "custom-head-include" template.
 Base colors come from the theme COLORS section (Brand Primary #252525, Text Color #252525);
 this file only adds the XIMEA orange accent. Verified in HelpCenter preview on 2026-11-27.
 */
/* ---------- Links: XIMEA orange on hover ----------
 HelpCenter colors link hover with var(--brand-primary), which is dark (#252525) for the header
 banner, so hover was not visible. Buttons (.btn) keep the theme style.
 !important is needed to beat the theme's long nested hover selectors (e.g. navigation block titles). */
.dp-po a:not(.btn):hover, .dp-po a:not(.btn):hover *, .dp-po a:not(.btn):focus, .dp-po a:not(.btn):focus * {
  color: #df7746 !important;
  text-decoration: none !important; }

/* ---------- Form inputs (old: light grey border, orange on focus) ---------- */
input[type="text"], input[type="email"], input[type="password"], textarea, select {
  border: 1px solid lightgray; }
  input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, textarea:focus, select:focus {
    border-color: #df7746;
    outline: none;
    box-shadow: none; }

/* ---------- Header: narrower, aligned with the page content ----------
 Default header is full-width (container-fluid) with a ~49 px tall logo. */
.dp-po .dp-po-header {
  padding: 6px 0; }
  .dp-po .dp-po-header > .container-fluid {
    max-width: 1300px;
    /* same as the content .container */
    margin: 0 auto; }

.dp-po .dp-po-logo {
  padding-right: 25px; }
  .dp-po .dp-po-logo img {
    height: 32px;
    width: auto; }

.dp-po .dp-po-brand-name {
  font-size: 16px; }

/* ---------- Extra XIMEA orange accents (static, not only on hover) ---------- */
.dp-po .dp-po-header {
  border-bottom: 3px solid #df7746; }
.dp-po .dp-po-brand-name, .dp-po a .dp-po-brand-name {
  color: #df7746 !important; }
.dp-po .dp-po-search svg {
  color: #df7746; }
.dp-po .dp-po-search input.omnisearch {
  border-bottom: 3px solid #df7746; }
.dp-po .dp-po-navigation-block-title {
  color: #df7746; }
.dp-po .dp-po-navigation-block-right svg, .dp-po .dp-po-navigation-block-right i {
  color: #df7746 !important; }
.dp-po .dp-po-category-title .count {
  color: #df7746; }
.dp-po .breadcrumb-outer .breadcrumb-item a::after {
  background-color: #df7746 !important; }

/* ---------- Breadcrumb: hide the 16x16 favicon in front of "Help Center" ----------
 It rendered as a lone orange dot; the "Help Center" crumb already links home. */
.dp-po .breadcrumb-outer .breadcrumb-image {
  display: none !important; }

/* ---------- Buttons (e.g. "Contact Us"): orange on hover ----------
 Theme hover only darkens Brand Primary, which is invisible on #252525. */
.dp-po .btn-primary:hover, .dp-po .btn-primary:focus {
  background-color: #df7746 !important;
  border-color: #df7746 !important;
  color: #fff !important; }

/* ---------- "My Tickets" header link (inserted by the script in custom-footer.html.twig) ---------- */
.dp-po .ximea-my-tickets {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #252525;
  white-space: nowrap; }
@media (max-width: 767px) {
  .dp-po .ximea-my-tickets {
    display: none;
    /* still available in the user menu on mobile */ } }

/* ---------- User avatar initials: readable (default was dark text on grey) ---------- */
.dp-po .dp-po-avatar-name {
  background-color: #252525 !important;
  color: #fff !important;
  font-weight: 600; }

.dp-po .dp-po-user-login:hover .dp-po-avatar-name {
  background-color: #df7746 !important;
  color: #fff !important; }

/* ---------- Replace the theme's hard-coded light blue (#e1eefb) with light XIMEA orange ----------
 The HelpCenter theme does not derive this tint from Brand Primary, so it stays blue otherwise.
 Article content notes/warnings (.dp-po-post-content-note) are intentionally left as they are. */
.dp-po .dropdown-item:hover, .dp-po .dropdown-item:focus, .dp-po .dp-po-like:hover .dp-po-like-icon, .dp-po .dp-po-notification, .dp-po .dp-po-table-row:hover, .dp-po .dp-po-tooltip, .dp-po .dp-po-community-channel-icon, .dp-po .dp-po-community-header-view-link.active, .dp-po .dp-po-community-header-view-link:hover, .dp-po .dp-po-community-status-link:hover .dp-po-status-ribbon-from, .dp-po .dp-po-community-title-icon, .dp-po .dp-po-community-title-button:hover, .dp-po .dp-po-guides-left .dp-po-guides-icon, .dp-po .dp-po-kb-featured-number, .dp-po .dp-po-news-listing-link:hover .dp-po-news-listing-date, .dp-po .dp-po-profile-stats-icon, .dp-po .dp-po-search-sidebar-link.active, .dp-po .dp-po-guides-contents-link.active, .dp-po .dp-po-news-recent-link:hover {
  background-color: #fbe9e0 !important; }
.dp-po .dp-po-community-status-link:hover .dp-po-status-ribbon-from::after {
  border-left-color: #fbe9e0 !important; }
.dp-po .dp-po-category-title-link:hover .dp-po-icon {
  background: transparent !important; }
.dp-po .dp-po-category-title-link:hover .dp-po-category-title-icon {
  background: #fbe9e0; }

/* ---------- Ticket form dropdowns (e.g. Department) ----------
 Theme highlights options with Brand Primary text on Brand Secondary background, which is
 invisible with our dark Brand Primary. Hovered option: light orange background; selected option:
 bold orange text. !important because the form stylesheet is injected after the custom CSS. */
.dp-pc_field .react-select__menu .react-select__option.react-select__option--is-selected {
  background-color: transparent !important;
  color: #df7746 !important;
  font-weight: 600; }

.dp-pc_field .react-select__menu .react-select__option.react-select__option--is-focused {
  background-color: #fbe9e0 !important;
  color: #df7746 !important; }

/* Navigation blocks on the home page (Knowledgebase / Contact Us): orange border on hover */
.dp-po .dp-po-navigation-block-link:hover {
  border-color: #df7746 !important; }

/* ---------- KB articles imported from the Redmine wiki (kept from the old head include) ---------- */
div.dpx-hc-kb-article-content h1:first-child, div.dp-po-kb-article-content h1:first-child {
  display: none; }

div.wiki h1 {
  font-size: 300%;
  line-height: 200%;
  font-weight: 500; }
div.wiki h2 {
  font-size: 200%;
  line-height: 200%;
  font-weight: 500; }
div.wiki h1, div.wiki h2, div.wiki h3 {
  margin-left: 0.5rem; }
div.wiki p, div.wiki table {
  margin: 0 0.5rem; }
div.wiki ul {
  margin: 0; }
div.wiki table {
  border-collapse: collapse;
  margin-bottom: 1em;
  width: auto; }
div.wiki table, div.wiki td, div.wiki th {
  border: 0 solid #bbb;
  padding-right: 4px;
  vertical-align: middle; }
div.wiki tr.zebra {
  background-color: lightgray; }
div.wiki tr.zebra, div.wiki tr.even, div.wiki tr.odd {
  border: 1px solid lightgray; }

div.dpx-hc-kb-article-content pre, div.dp-po-kb-article-content pre {
  margin: 1em 1em 1em 1.6em;
  padding: 2px 2px 2px 0;
  background-color: #fafafa;
  border: 1px solid #dadada;
  width: auto;
  overflow-x: auto;
  overflow-y: hidden; }
div.dpx-hc-kb-article-content code, div.dp-po-kb-article-content code {
  background-color: transparent;
  border: 0;
  color: #000;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 90%; }

a.wiki-anchor {
  display: none;
  margin-left: 6px;
  text-decoration: none; }
  a.wiki-anchor:hover {
    color: #aaa; }

h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor {
  display: inline;
  color: #ddd; }

ul.toc {
  list-style: none;
  padding: 0.6em 0.6em 0.6em 1em;
  margin-top: -2em;
  margin-bottom: 2em;
  font-weight: 500;
  background: #eee;
  box-shadow: 0 0 3px 0 darkgrey; }
  ul.toc ul {
    list-style: none; }
