/* Default (light) colors scheme */
:root {
  color-scheme: light dark;
  --main-color: #000000;
  --link-color: #12834b;
  --main-color-alt: #26282a;
  --main-bg-color: #f2f2f2;
  --content-bg-color: #fff;
  --content-active-color: #ddd;
  --content-border-color: #eee;
  --content-bg-color-alt: #f9f9f9;
  --content-pre-color: #323232;
  --header-color: #090e21;
  --header-bg-color: rgba(255, 255, 255, 0.1);
  --highlight-anim-color: #d1e8f6;
  --notification-color: #c5d3f4;
  --admonition-note-color: rgba(197, 211, 244, 1.0);
  --admonition-warning-color: rgba(255, 228, 228, 1.0);
  --admonition-important-color: rgba(246, 203, 151, 1.0);
}

/* theme/lang selectors */
@font-face {
  font-family: 'themes';
  src: url('/style/themes2.woff?hwtq5a') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

.theme-switch-wrapper {
  display: flex;
  align-items: center;
}
.theme-switch {
  display: inline-block;
}
.theme-switch input {
  display: none;
}
.theme-icon {
  font-family: 'themes' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
  font-size: 18px;

}
.theme-icon::before {
  color: var(--link-color);
  content: "\e900";
  transition: 0.2s;
}
.theme-icon:hover {
  transition: 0.2s;
  opacity: .5;
}
input:checked + .theme-icon::before {
  content: "\e901";
}
.lang-icon.theme-icon:before {
  content: "\e9c9";
}
#qds-trans-ul > li:not(.active):hover {
  cursor:pointer;
}
#qds-trans-ul {
  width: auto;
}

/* qt-design-system overrides */
body.qt-design-system a.c-button {
  background: #000000 !important;
}

body.qt-design-system .c-navigation-header > li > a,
body.qt-design-system .h-wysiwyg-html p > a:not(.c-button):not(.c-link),
body.qt-design-system .c-sidebar-navigation .c-sidebar-navigation--active a,
body.qt-design-system .b-header__secondary-level a:not(.c-button) {
  color: var(--link-color) !important;
}
body.qt-design-system .c-sidebar-navigation a {
  color: var(--main-color) !important;
}
body.qt-design-system .b-sidebar--full-width .b-sidebar__sidebar {
  background: var(--main-bg-color) !important;
}
body.qt-design-system div.c-box--grey {
  background-color: var(--main-bg-color) !important;
}
body.qt-design-system .c-form-select,
body.qt-design-system .c-form-select--dark {
  border-color: #4a4a4a !important;
  background-color: var(--main-bg-color) !important;
  border-width: 1px !important;
  color: var(--main-color) !important;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M13.962,8.885l-3.736,3.739c-0.086,0.086-0.201,0.13-0.314,0.13S9.686,12.71,9.6,12.624l-3.562-3.56C5.863,8.892,5.863,8.611,6.036,8.438c0.175-0.173,0.454-0.173,0.626,0l3.25,3.247l3.426-3.424c0.173-0.172,0.451-0.172,0.624,0C14.137,8.434,14.137,8.712,13.962,8.885'></path></svg>") !important;
}
