pre code.hljs {
  padding: 1em;
  display: block;
  overflow-x: auto;
  font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace !important;
}

code.hljs {
  padding: 3px 5px;
}

.hljs {
  color: #fff;
  background: #1c1b1b;
  font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace !important;
}

.hljs-subst {
  color: #fff;
}

.hljs-comment {
  color: #999;
}

.hljs-attr, .hljs-doctag, .hljs-keyword, .hljs-meta .hljs-keyword, .hljs-section, .hljs-selector-tag {
  color: #88aece;
}

.hljs-attribute {
  color: #c59bc1;
}

.hljs-name, .hljs-number, .hljs-quote, .hljs-selector-id, .hljs-template-tag, .hljs-type {
  color: #f08d49;
}

.hljs-selector-class {
  color: #88aece;
}

.hljs-link, .hljs-regexp, .hljs-selector-attr, .hljs-string, .hljs-symbol, .hljs-template-variable, .hljs-variable {
  color: #b5bd68;
}

.hljs-meta, .hljs-selector-pseudo {
  color: #88aece;
}

.hljs-built_in, .hljs-literal, .hljs-title {
  color: #f08d49;
}

.hljs-bullet, .hljs-code {
  color: #ccc;
}

.hljs-meta .hljs-string {
  color: #b5bd68;
}

.hljs-deletion {
  color: #de7176;
}

.hljs-addition {
  color: #76c490;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

.menu {
  z-index: 100;
  white-space: nowrap;
  background: #f8fafc;
  border-radius: .5rem;
  padding: .5rem;
  position: absolute;
  top: 0;
  right: 0;
  box-shadow: 0 8px 12px rgba(0, 0, 0, .35);
}

.popup-menu {
  position: relative;
}

.menu-up {
  bottom: 0;
  top: unset;
}

.menu-item {
  color: #374151;
  cursor: pointer;
  border-radius: .375rem;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  font-size: .875rem;
  transition: all .2s;
  display: flex;
}

.menu-item:hover {
  color: #2563eb;
  background-color: #e4e4e4;
}

.TextComboSearchResult {
  z-index: 100;
  background-color: #fafafa;
  border: 1px solid #ddd;
  width: 100%;
  position: absolute;
}

.TextComboSearchResult .no-results {
  text-align: center;
  padding: 8px 12px;
}

.TextComboSearchResultItem {
  cursor: pointer;
  padding: 8px 12px;
}

.TextComboSearchResultItem:hover {
  background-color: #eee;
}

.ClearableTextInput .x {
  cursor: pointer;
  color: #ff5b5b;
  font-size: 28px;
  position: absolute;
  top: -2px;
  right: 8px;
}

.ClearableTextInput .x:hover {
  color: red;
}

.tf-snack {
  opacity: .98;
  color: #fcfcfc;
  z-index: 200;
  background: #fff;
  border: 1px solid #f2f2f2;
  border-radius: 4px;
  min-width: 360px;
  min-height: 140px;
  padding: 0;
  position: fixed;
  bottom: 16px;
  right: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .1);
}

.tf-snack .tf-snack-label {
  color: #444;
  margin: 8px;
  font-size: 20px;
  font-weight: bold;
}

.tf-snack .tf-snack-content {
  color: #666;
  margin: 8px 12px 12px;
  font-size: 16px;
}

.tf-snack .tf-snack-x {
  cursor: pointer;
  color: #f0506e;
  font-size: 24px;
  position: absolute;
  top: -2px;
  right: 10px;
}

.tf-snack .tf-snack-x:hover {
  color: #cc0a2e;
}

.led {
  border-radius: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  display: inline-block;
  transform: translateY(2px);
  transition: background-color 50ms !important;
}

.hljs, [class^="hljs"] {
  font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace;
}

.tf-stop-scrolling {
  height: 100%;
  overflow: hidden;
}

.tf-value-changed {
  border: 3px solid #f0506e;
}

input[type="checkbox"].tf-value-changed {
  border: 3px solid #f0506e;
}

.truffle-icon {
  font: inherit;
  color: inherit;
  text-transform: none;
  fill: red;
  background-color: rgba(126, 56, 56, 0);
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: inline-block;
  overflow: visible;
}

.tf-stretch {
  align-content: stretch;
  display: flex;
}

.tf-min-width-column {
  flex-direction: column;
  max-width: 200px;
  display: flex;
}

.tf-wide-column {
  flex-grow: 1;
}

.tf-box {
  display: inline-block;
}

.tf-circle {
  color: #002ab3;
  text-align: center;
  background: #add8e6;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 8px;
  font-size: 16px;
  line-height: 80px;
  display: inline-block;
}

.tf-debug {
  border: 5px dotted red;
}

.tf-width-100 {
  width: 100px;
}

.tf-dim {
  opacity: .5;
}

.tf-dim:hover {
  opacity: 1;
}

.tf-demo-todos-table table th {
  vertical-align: middle;
}

.tf-demo-todos-table table td {
  text-align: center;
}

.tf-demo-todos-options-window {
  width: 620px;
}

.tf-demo-todos-options-window label {
  width: 100%;
  display: inline-block;
}

.tf-demo-todos-options-window > div.tf-modal-window-content > span {
  color: #1e87f0;
}

.tf-demo-area-wrapper {
  text-align: center;
  margin: 12px 0;
  padding: 0;
}

.tf-demo-area {
  text-align: left;
  background: #ffffe0;
  margin: 0 auto;
  padding: 16px;
  display: inline-block;
  position: relative;
}

.main-menu-link {
  color: #444;
  margin: 18px;
}

.main-menu-link:hover {
  color: #f0506e;
  text-decoration-color: #f0506e;
  text-decoration-thickness: 4px;
}

.link-selected {
  margin: 18px;
  font-weight: bold;
  -webkit-text-decoration: underline #f0506e;
  text-decoration: underline #f0506e;
  text-decoration-thickness: 4px;
  display: inline-block;
}

.foo {
  border-top: 8px dotted purple;
}

.bar {
  border-bottom: 8px dotted #98fb98;
}

.radio {
  flex-direction: column;
  display: flex;
}

.radio-item {
  align-items: center;
  font-family: sans-serif;
  display: flex;
}

.radio-item input[type="radio"] {
  margin-right: 8px;
}

.tf-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.tf-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 4px;
}

.checkbox-text {
  word-break: break-word;
}

.tf-form-labeled-number .label {
  min-width: 100px;
  margin-right: 12px;
}

.radio label {
  display: block;
}

.tf-shutter {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 50;
  background-color: rgba(0, 0, 0, .24);
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

.tf-modal-window {
  z-index: 100;
  background-color: #f8f8f8;
  border: 1px solid #eee;
  flex-direction: column;
  gap: 0;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  display: flex;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.tf-modal-window-content {
  background-color: #f8f8f8;
  flex-grow: 1;
  padding: 16px;
  display: block;
  overflow-y: auto;
}

.tf-modal-window-header {
  background-color: #1e87f0;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 44px;
  margin: 0;
  display: flex;
  position: relative;
}

.tf-modal-window-header-title-section {
  color: #f3f3f3;
  margin-left: 16px;
  display: block;
  position: relative;
}

.tf-modal-window-header-buttons-section {
  color: #f3f3f3;
  margin-right: 16px;
  display: block;
  position: relative;
}

.tf-modal-window-close {
  color: #e8e8e8;
  cursor: pointer;
  font-size: 24px;
}

.tf-modal-window-close:hover {
  color: tomato;
}

.tf-modal-window-footer {
  overflow: none;
  text-align: right;
  background-color: #f8f8f8;
  max-height: 100px;
  padding: 12px;
  display: block;
}

.tf-window-content-two-columns {
  flex-direction: row;
  display: flex;
}

.tf-window-content-two-columns div {
  width: 50%;
  display: block;
}

@media (max-width: 600px) {
  .tf-modal-window {
    width: 98%;
  }

  .tf-modal-window-content {
    padding: 12px;
  }
}

.tf-demo-box {
  border: 15px solid red;
  margin: 8px;
  padding: 12px;
  display: inline-block;
}

.memory-game-card {
  text-align: center;
  cursor: pointer;
  border: 10px solid #1e87f0;
  border-radius: 5px;
  width: 80px;
  height: 80px;
  margin: 8px;
  font-size: 38px;
  display: inline-block;
  box-shadow: 8px 8px 11px -9px #42445a;
}

.counter {
  text-align: center;
  color: #111;
  border: 12px solid #222;
  border-radius: 3px;
  margin: 12px;
  padding: 12px;
  font-size: 40px;
  font-weight: bold;
  display: inline-block;
}

.flying-box {
  color: #eee;
  text-align: center;
  background-color: #436bbb;
  border: 1px solid #f2f2f2;
  border-radius: 4px;
  width: 140px;
  padding: 18px;
  position: absolute;
  box-shadow: 8px 8px 8px #b4b4b4;
}

.demo-content {
  border: 1px dotted #888;
  margin-top: 8px;
  padding: 8px;
  display: block;
}

.pie {
  --w: 100px;
  width: var(--w);
  aspect-ratio: 1;
  color: #333;
  align-content: center;
  justify-content: center;
  margin: 5px;
  font-family: sans-serif;
  font-size: 20px;
  font-weight: bold;
  display: inline-grid;
  position: relative;
}

.pie:before {
  content: "";
  background: conic-gradient(var(--c) calc(var(--p) * 1%), rgba(0, 0, 0, 0) 0);
  -webkit-mask: radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(99% - var(--b)), #000 calc(100% - var(--b)));
  -webkit-mask: radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(99% - var(--b)), #000 calc(100% - var(--b)));
  mask: radial-gradient(farthest-side, rgba(0, 0, 0, 0) calc(99% - var(--b)), #000 calc(100% - var(--b)));
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

