/* Minddistrict | Zoho Desk Classic
 * Shared styles based on the Freshdesk design.
 * Preserve selector specificity: these rules override Zoho defaults.
 */

/* Fonts and brand colors */
@font-face {
  font-family: Nunito;
  src: url('https://www.minddistrict.com/user/themes/minddistrict/dist/fonts/nunito.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: FontAwesome;
  src: url('https://use.fontawesome.com/releases/v4.7.0/fonts/fontawesome-webfont.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --md-blue: #006da2;
  --md-green: #49aa7a;
  --md-purple: #aa2183;
  --md-text: #333;
  --md-light: #eee;
}

body.body,.html {
  font-family: sans-serif;
  color: var(--md-text);
  background: #fff;
}

/* Shared typography — specificity ensures precedence over Classic styles */
body .portalContainer :is(h1,h2,h3,h4,h5,h6,[role="heading"],.TOCContainer__tocHeading,.ModuleItem__moduleTitle) {
  font-family: Nunito,sans-serif;
  font-style: normal;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

body .portalContainer h1 {
  color: var(--md-purple);
  font-size: 32px;
  line-height: 43.75px;
}

body .portalContainer h2 {
  font-size: 24px;
  line-height: 35px;
}

body .portalContainer h3 {
  font-size: 20px;
  line-height: 30.625px;
}

body .portalContainer .TOCContainer__tocHeading {
  font-size: 20px;
  line-height: 30.625px;
}

/* Article content, accordion panels, and media */
body .articleContent {
  font: 16px/1.6 sans-serif;
  color: #333;
}

body p,body li,body pre.fd-callout {
  font-size: 16px;
  line-height: 1.6;
}

body p.lead {
  color: #555;
  font: 400 20px/28px sans-serif;
}

body hr {
  border: 0;
  border-top: 1px solid #ccc;
}

body pre.fd-callout {
  white-space: normal;
  overflow-wrap: anywhere;
  background: #eee;
  border: 0;
  border-radius: 4px;
  font-family: sans-serif;
  margin: 15px 0;
  padding: 10px 15px 10px 65px;
  position: relative;
}

body pre.fd-callout:before {
  border-radius: 4px 0 0 4px;
  font-family: FontAwesome;
  font-size: 24px;
  height: 100%;
  left: 0;
  line-height: 50px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 50px;
  color: #fff;
}

body .fd-callout--info:before {
  background: #006da2;
  content: '\f05a';
}

body .fd-callout--note:before {
  background: #49aa7a;
  content: '\f15c';
}

body .fd-callout--idea:before {
  background: #aa2183;
  content: '\f069';
}

body .fd-callout--warning:before {
  background: #ec8117;
  content: '\f071';
}

body .fd-callout--tip:before {
  background: #f8d232;
  color: #000;
  content: '\f0eb';
}

body .accordion {
  margin-bottom: 50px;
}

body .accordion__item {
  margin-bottom: 15px;
  border: 2px solid #eee;
  border-radius: 4px;
}

body .accordion__item:hover,body .accordion__item:focus-within {
  border-color: #006da2;
}

body .accordion__item-heading {
  margin: 0;
  padding: 0;
}

body .accordion .accordion__item-action {
  background: #f4f4f4;
  color: #006da2;
  cursor: pointer;
  display: block;
  font: 500 20px/30.625px Nunito,sans-serif;
  padding: 15px 52px 15px 15px;
  position: relative;
  text-decoration: none;
}

body .accordion__item-action:focus-visible {
  outline: 2px solid #006da2;
  outline-offset: -4px;
}

body .accordion__item-action:before {
  content: '';
  position: absolute;
  right: 15px;
  top: 24px;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-bottom: 3px solid #006da2;
  border-left: 3px solid #006da2;
  transform: rotate(-45deg);
}

body .accordion__item-action[aria-expanded=true]:before {
  transform: rotate(135deg);
}

body .accordion__item-content {
  display: block;
  padding: 15px;
}

body .accordion__item-content[hidden] {
  display: none!important;
}

body .accordion__item-content p:last-child {
  margin-bottom: 0;
}

body .external-link {
  display: inline-block;
  text-decoration: underline;
}

body .external-link:after {
  color: #006da2;
  content: '\f08e';
  font-family: FontAwesome;
  font-size: 14px;
  margin-left: 5px;
}

body .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body img {
  max-width: 100%;
  height: auto;
  box-sizing: border-box;
}

body img.fr-bordered {
  border: 1px solid #ccc;
}

body img.fr-dib {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

body img.fr-fil {
  margin-left: 0;
}

body img.fr-fir {
  margin-right: 0;
}

body table {
  max-width: 100%;
  box-sizing: border-box;
}

body td {
  overflow-wrap: anywhere;
}

body iframe {
  max-width: 100%;
}

body .fr-video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
}

/* Audience cards */
.md-entry-section {
  display: block;
  background: #fff;
  color: var(--md-text);
  padding: 32px 0;
  max-width: 1280px;
  box-sizing: border-box;
  margin: auto;
}

.md-entry-section h2 {
  font: 500 24px/35px Nunito,sans-serif;
  color: var(--md-purple);
  margin: 0 0 16px;
}

.md-entries {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 20px;
}

.md-entry {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--md-blue);
  text-decoration: none;
  box-sizing: border-box;
}

.md-entry:hover,.md-entry:focus-visible {
  border-color: var(--md-blue);
  outline: 2px solid var(--md-blue);
  outline-offset: 2px;
}

.md-entry img {
  width: 100%;
  max-width: 180px!important;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.md-entry span {
  font: 500 20px/1.4 Nunito,sans-serif;
  margin-top: 16px;
}

/* Header and search bar */
.md-masthead {
  width: 100%;
  background: #fff;
  color: #006da2;
  border-bottom: 1px solid #eee;
}

.md-masthead-inner {
  max-width: 1280px;
  margin: auto;
  padding: 10px 16px;
  box-sizing: border-box;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.md-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #006da2!important;
  text-decoration: none;
  font: 500 16px/1.4 Nunito,sans-serif;
}

.md-brand img {
  width: 36px;
  height: 40px;
  object-fit: contain;
}

.md-header-tools {
  color: #333;
  font: 14px/1.5 sans-serif;
}

.md-header-tools * {
  color: #333;
}

body .md-search-banner {
  width: 100%;
  max-width: none;
  display: block;
  background: #49aa7a;
  padding: 32px 0;
  margin: 0;
  min-height: 0;
}

body .md-search-banner .Header__titleSearchBox {
  display: block;
  max-width: 1280px;
  width: 100%;
  margin: auto;
  padding: 0 16px;
  box-sizing: border-box;
  text-align: left;
}

body .md-search-banner .Header__titleDescription {
  display: block;
  padding: 0;
  margin: 0;
  text-align: left;
}

body .md-search-banner .Header__welcomeTitle {
  display: block;
  font: 500 24px/35px Nunito,sans-serif;
  color: #fff;
  text-align: left;
  margin: 0 0 16px;
  padding: 0;
  letter-spacing: normal;
  text-transform: none;
}

body .md-search-banner .Header__banneralt {
  margin: 0;
  padding: 0;
}

body .md-search-banner .Header__searchSubCont {
  width: 100%;
  max-width: 850px;
  margin: 0;
}

body .md-search-banner .Header__searchalt {
  padding: 0;
  margin: 0;
}

body .md-search-banner .Header__searchLink {
  width: 100%;
  margin: 0;
}

body .md-search-banner .Header__searchBox {
  margin: 0;
}

#headerContainer .md-search-banner .Header__searchSubCont {
  position: static;
  padding: 0;
  box-shadow: none;
  animation: none;
  transform: none;
}

#headerContainer .md-search-banner .Header__searchLink {
  background: transparent;
}

#headerContainer .md-search-banner #bannerContainer {
  padding-top: 0!important;
}

/* Home page */
body .home .ArticlesContainer__title {
  font: 500 24px/35px Nunito,sans-serif;
  color: #aa2183;
  text-transform: none;
  letter-spacing: normal;
}

body .home #layoutContainer {
  max-width: 1280px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* Footer — CE background image because Zoho removes inline SVG */
.md-footer-inner {
  width: 100%;
  max-width: 1280px;
  padding: 24px 16px;
  margin: auto;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font: 16px/1.5 sans-serif;
}

body .Footer__footer {
  background: #006da2;
  color: #fff;
}

.md-footer-inner .md-ce-logo {
  display: block;
  flex: 0 0 70px;
  width: 70px;
  height: 50px;
  margin-left: auto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gNzM1IDUwNi41IDcxOC41IDQ0NWwtMi40LTlIODkxdi05MEg3MTYuMWwyLjQtOWMxNi41LTYxLjUgNjEuNC0xMTMuNSAxMTkuNi0xMzguMyAzMC44LTEzLjIgNjUuOC0xOS4yIDk2LjMtMTYuOCA3LjEuNiAxMy43IDEuMSAxNC43IDEuMSAxLjggMCAxLjktMS45IDEuOS00NS40VjkyLjNsLTUuMi0uN2MtNy4zLS44LTQ1LjUtLjUtNTUuMy41eiI+PC9wYXRoPjwvc3ZnPg==") center/contain no-repeat;
}

/* Tablet */
@media (max-width:979px) {
  .md-entries {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

/* Mobile */
@media (max-width:739px) {
  body .portalContainer h1 {
    font-size: 24px;
    line-height: 40.625px;
  }

  body .portalContainer h2 {
    font-size: 20px;
  }

  body table {
    width: 100%!important;
  }

  .md-entry-section {
    padding: 24px 0;
  }

  .md-entries {
    grid-template-columns: 1fr;
  }

  .md-entry {
    flex-direction: row;
    gap: 20px;
    text-align: left;
  }

  .md-entry img {
    width: 72px;
    max-width: 72px!important;
  }

  .md-entry span {
    margin: 0;
  }

  .md-masthead-inner {
    padding: 10px 12px;
  }

  .md-brand {
    font-size: 14px;
    gap: 10px;
  }

  .md-brand img {
    width: 30px;
    height: 34px;
  }

  body .md-search-banner {
    padding: 24px 0;
  }

  body .md-search-banner .Header__titleSearchBox {
    padding: 0 12px;
  }

  body .md-search-banner .Header__welcomeTitle,body .home .ArticlesContainer__title,.md-entry-section h2 {
    font-size: 20px;
    line-height: 30px;
  }

  .md-footer-inner {
    padding: 24px 12px;
    display: block;
  }

  body .home #layoutContainer {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Print: include collapsed accordion panels. */
@media print {
  body .accordion__item-content[hidden] {
    display: block!important;
  }
}


/* Show complete Freshdesk illustrations inside the existing knowledge-base icon boxes. */
.ModuleItem__kbSubcategoryImg .Avatar__img,
.SubscribeDepart__logosubscribe .Avatar__img {
  object-fit: contain;
}

/* Show the header text for the selected help-center language. */
.md-welcome-en, .md-welcome-de { display: none; }
html[lang|="en"] .md-welcome-nl, html[lang|="de"] .md-welcome-nl { display: none; }
html[lang|="en"] .md-welcome-en, html[lang|="de"] .md-welcome-de { display: inline; }

/* Hide article voting and social sharing in all help-center languages. */
.ArticleCmd__articleLike {
  display: none;
}

/* Hide article follow button and subscription text in all help-center languages. */
.ArticleDetailRightContainer__followContentLow {
  display: none;
}

