/* If you really like this theme */
/* please consider support me */
/* https://ko-fi.com/leslyecream */
/* or even better contribute reporting bugs */
/* code improvements and sharing ideas */
/* THANK YOU! ᵔᴥᵔ */


/* LAGOM SETTINGS */
body {
  /* --interactive-normal: var(--background-modifier-border) !important; */ /* button colors */
  --input-shadow: var(--background-modifier-border) 0 0 0 1px !important;
  --input-shadow-hover: hsla(var(--color-accent-hsl), 0.6) 0 0 0px 1px !important;
  --interactive-hover: hsla(var(--color-accent-hsl), 0.1) !important;
  --mac-terminal-shadow: rgba(9, 30, 66, 0.10) 0px 4px 8px 5px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;	
  --nav-item-size: 16.4px; /* font size files */
  --radius-s: 11.5px;
  --nav-indentation-guide-width: unset;
  --default-font-size: 16px; /* Notes and editor */
  --line-height-note: 21px;
  --p-spacing: 8px; 
  --letter-spacing-note: 0.1px;
  --padding-default-note-style: 35px;
  --text-note-align: justify;
  --focus-active-line-opacity: 0.8;
  --focus-non-active-line-opacity: 0.55;
  --show-dotted-line: 1px;
  --active-line-font-size: calc(var(--default-font-size) + 1px);
  --active-line-indicator: "+ ";
  --icon-file-indicator: "·";
  --icon-file-size: 15px;
  --inline-title-align: center;
  --inline-title-size: 20px;
  --inline-code-font-size: calc(var(--default-font-size) - 1.5 px);
  --code-size-edit-mode: 13.9px; /* Font Size */
  --code-size: 14px; /* Font Size */
  --macos-button-size: 16px;
  --quotes-align: justify;
  --quote-padding: 10px 15px 10px 15px;
  --quote-font-size: var(--default-font-size);
  --quote-icon: "“";
  --hide-empty-properties: none;
  --hide-add-button: none;
  --hide-separator-yaml: none;
  --hide-callout-title: none;
  --callouts-align-text: justify;
  --callout-font-size-title: 16px;
  --properties-icon-size: unset;
  --separator-icon: "o0o";
  --separator-icon-color: #6C6C6C6B
  --show-explorer-buttons: none;
  --explorer-bar-position: absolute;
  --icon-settings: none;
  --num-of-notes: none;
  --show-vault-name: none;
  --files-bookmarks-search-bar: flex;
  --show-editor-text-bar: none;
  --scrollbars: none;
  --icon-ui-opacity: 0.9;
  --metadata-label-font-size: calc(var(--default-font-size) - 1px);
  --metadata-input-font-size: var(--default-font-size);
  --metadata-property-radius: var(--radius-s);
  --metadata-divider-color: none;
  /* --metadata-gap: 23px; */
  /* --metadata-property-background: #49292; */
  --metadata-display-editing: none;
  --properties-editor-font-size: var(--default-font-size);
  --theme-dark-opacity: 0.85;
  --theme-light-opacity: 0.90;
  --table-border-width: 1px solid;
  --table-header-weight: normal;
  --h1-size: 20px;
  --h2-size: 18px;
  --h3-size: 17px;
  --h4-size: 14px;
  --h5-size: 12px;
  --headers-align: left;
  --headers-space-simetry: 1.3em;
  --folder-border-color: #50505088;
  --list-indent: 17px;
  --tabs-height: 300px;
  --bg-url: ;
  --filename-line-thickness: 1.8px;
  --filename-separator-style: dotted;
  --input-border-width: 1px;
  --setting-items-background: none !important;

}


/* SAFE PLACE */
body.is-phone,
body.is-mobile {
  --safe-area-inset-top: var(--safe-place-position) !important;
}


/* Snippet by @digirhys to modify corner radius for UI elements as of Obsidian 1.11.4 update */
:root * {
  /* Individual tool/option icons in left sidebar (new note, new folder, sort, etc.) */
  --clickable-icon-radius: 11.5px;
  /* Mobile bottom navbar (forward/back, search, new tab, etc.) */
  --navbar-radius 11.5px;
  /* Dropdown menus & text input fields, selection items in popup menus (i.e. Command Palette items, Quick Switcher items, etc.) */
  --touch-radius-xxs: 11.5px;
  --touch-radius-xs: 11.5px;
  --touch-radius-s: 11.5px;
  --touch-radius-m: 11.5px;
  /*--touch-radius-l: 4px;*/
  --touch-radius-xl: 11.5px;
  --pill-radius: 11.5px;
}

/* Corner radius for open note previews in tab select */
.mobile-tab-preview,
.mobile-tab-preview-embed,
.mobile-tab-preview-empty {
  border-radius: var(--touch-radius-s);
}

/* Bottom action bar, settings button, close modal button, container for reading view & ellipses menu buttons, sync status icon */
.mod-raised {
  background-color: none !important;
  border-radius: var(--touch-radius-s) !important;
}

/* Left sidebar, reading view, and ellipses menu */
.is-phone .view-header .view-action {
  border-radius: var(--touch-radius-s);
}

/* Radius for text input fields. For whatever reason, this is the class that changes the input for the Command Palette */
.is-phone .prompt-input[type=text] {
  border-radius: var(--touch-radius-s);
}


/* BACKGROUND IMAGE */
.workspace-bg .app-container::before {
  background-image: var(--bg-url);
  opacity: var(--bg-opacity, 0.8);
  filter: blur(var(--bg-blur, 4px));
  background-color: var(--uw-background);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1; 
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}


/* OBSIDIAN THEME */
body.theme-dark {
  opacity: var(--theme-dark-opacity); 
}

body.theme-light {
   opacity: var(--theme-light-opacity);
}


/* LINKS */
.internal-link {
	text-decoration: none !important;
	border-bottom: 1.95px var(--internal-link-border-style) !important;
}

.external-link {
  background-image: none;
  padding-right: 0px;
  text-decoration: none !important;
  border-bottom: 1.65px solid;
  text-underline-offset: 0.2em;
  /* text-indent: 10px; */
}


/* TABS */ 
.mobile-tab-title {
  order: 1;
  white-space: wrap;
}

.mobile-tab-preview {
  order: 2;
  height: var(--tabs-height);
}

.mobile-tab-switcher-scroll::webkit-scrollbar {
  display: none;
}


/* BOTH MODES */
 .markdown-preview-view, .cm-s-obsidian {
  padding-left: var(--padding-default-note-style) !important;
  padding-right: var(--padding-default-note-style) !important;
  text-align: var(--text-note-align);
  font-size: var(--default-font-size);
  width: auto;
}


/* EDITOR MODE */
.markdown-preview-view .metadata-add-button {}
.theme-light, .cm-s-obsidian::not(.theme-dark) {}
.mod-cm6 .cm-editor {
  top: -80px !important;

}

.cm-s-obsidian {
  padding: 10px !important;
}


/* CUSTOM BACKGROUNG */
.theme-light .cm-s-obsidian {
  content: "";
  background-image: var(--background-image-editor)!important;
 /* background-repeat: ; */
  background-size: var(--background-image-editor-size);
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}


/* Style page for editor mode */
.page-style-editor-mode .cm-s-obsidian {
  position: relative !important;
  padding-left: calc(var(--padding-note-content) - 5%);
  padding-right: calc(var(--padding-note-content) - 5%);
  margin: 80px 15px 0px 15px !important;
  border-top-left-radius: var(--radius-s);
  border-top-right-radius: var(--radius-s);
  box-shadow: var(--mac-terminal-shadow);
  border: 0.5px solid var(--background-modifier-border);
}


/* READ MODE */
.workspace-split.mod-root .view-content {}

.markdown-preview-view {
  padding: auto !important;
  letter-spacing: var(--letter-spacing-note); 
  line-height: var(--line-height-note) !important;
}


/* Style page for read mode */
.page-style-read-mode .markdown-preview-view{
  position: relative !important;
  padding-top: 5px !important;
  top: 80px !important;
  margin: 0px 15px 0px 15px !important;
  border-top-left-radius: var(--radius-s);
  border-top-right-radius: var(--radius-s);
  padding-left: var(--padding-note-content);
  padding-right: var(--padding-note-content);
  border: 0.5px solid var(--background-modifier-border);
  box-shadow: var(--mac-terminal-shadow);
}


/* ACTIVE LINE */

/* Focus active line (?) */
.CodeMirror-lines:not(.selecting) .CodeMirror-code > :not(.CodeMirror-activeline) {
  opacity: var(--focus-active-line-opacity);
}

/* Non-active blocks */ 
.cm-editor.cm-focused .cm-line:not(.cm-active) {
  opacity: var(--focus-non-active-line-opacity);
}

/* focus active line */
.CodeMirror-activeline.CodeMirror-linebackground, .cm-active.cm-line {
 /*
  border-bottom: var(--show-dotted-line) dotted var(--text-accent);
  font-size: var(--active-line-font-size);
 */
  width: fit-content;
  background: var(--active-line-background)
}

.CodeMirror-activeline.CodeMirror-linebackground, .cm-active.cm-line::before {
  content: var(--active-line-indicator);
  color: var(--text-accent);
  font-weight: 600;
}


/* CHECKBOXES */
.mod-rtl .checkbox-container {
  padding: 0px !important;
}


/* INLINE TITLE */
.inline-title {
  font-family: unset;
  margin: 0px;
  padding: 0px;
  padding-bottom: 6px;
  text-align: var(--inline-title-align) !important;
  font-size: var(--inline-title-size);
  font-weight: var(--inline-title-bold);
  letter-spacing: var(--letter-spacing-note);
}


/* INLINE TITLE -  MAGAZINE STYLE */ 
.magazine-style .inline-title {
  font-family: var(--magazine-title-font) !important;
  height: 90vh !important;
  display: flex !important;
  align-items: center; 
  min-height: 90svh;
  place-items: center;
  box-sizing: border-box;
  text-align: center;
  margin: calc(var(--padding-default-note-style) * -1) !important;
  margin-bottom: 20px !important;
  padding: 2rem !important;
  font-size: 200% !important;
  line-height: 1.1;
  font-weight: bold;
  word-wrap: break-word;
  background-image: linear-gradient(rgba(255, 255, 255, var(--magazine-opacity)), rgba(255, 255, 255, var(--magazine-opacity))), var(--magazine-background) !important;
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );
  text-align: var(--inline-title-align) !important;
  font-size: var(--inline-title-size);
  font-weight: var(--inline-title-bold);
  letter-spacing: var(--letter-spacing-note);
}

.inline-title-always-uppercase .inline-title {
  text-transform: uppercase;
}

.block-title-read-mode .workspace-leaf-content[data-mode="preview"] .markdown-preview-view .mod-header .inline-title {
  pointer-events: none;
}


/* HIGHLIGHTS */
.cm-s-obsidian span.cm-formatting-highlight, .cm-s-obsidian span.cm-highlight, .markdown-preview-view mark {
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 2px;
}


/* BLOCK QUOTES */
.markdown-rendered blockquote, .blockquote-normal {
  margin: 0px !important;
  text-align: var(--quotes-align);
  padding: var(--quote-padding) !important;
  border-left: 0px !important;
  font-size: var(--quote-font-size);
  border-radius: 0px;
  border-top: var(--quote-hide-top-line) dashed var(--background-modifier-border);
  border-bottom: var(--quote-hide-down-line) dashed var(--background-modifier-border);
}

blockquote::before {
  content: var(--quote-icon);
  font-size: 3.5em;
  position: relative !important;
  top: 30px;
  right: 45%;
  left: 45%; 
  color: var(--text);
}


/* BACKLINKS */
.embedded-backlinks .backlink-pane > .tree-item-self {}


.embedded-backlinks .nav-buttons-container {}

.embedded-backlinks .nav-header > .search-input-container {}

.embedded-backlinks .nav-header{}


.embedded-backlinks {}

/* BACKLINK BOX (OUTSIDE) */
.embedded-backlinks .tree-item.search-result {}

/* RESUME BACKLINKS BOX */
.embedded-backlinks .search-result-file-match {}


/* TASK LISTS */
.task-list-item {
	padding: 2px 0px 2px 0px !important;
	margin: 0px 0px 0px 45px !important;
}

.markdown-preview-view ul,
.markdown-preview-view ol,
.markdown-source-view.cm-s-obsidian ul,
.markdown-source-view.cm-s-obsidian ol {
  padding: 2px 0px 2px 0px;
  margin: 0px 0px 0px -17px;
}


/* SUB-LISTS */
.markdown-preview-view ul ul,
.markdown-preview-view ol ol,
.markdown-source-view.cm-s-obsidian ul ul,
.markdown-source-view.cm-s-obsidian ol ol {
  padding 0px;
  margin-left: 0.6em;
}


/* TASKS (PENDING) */
span.cm-formatting-task {}

/* 

input[type=checkbox] {
  --webkit-appearance: none;
  border-radius: 50%;
  padding-top: 0px;
  margin: 0px;
}

 */

/* TASK CHECKBOX */
.markdown-preview-view .task-list-item-checkbox { 
  margin-right: 10px;
} 

/* TASK ITEM */
.markdown-preview-view .task-list-item { 
  padding-inline-start: 10px;
}

/* 

input[type=checkbox] {
  --webkit-appearance: none;
  appearance: none;
  border-radius: 50%;
  border: 2px solid !important;
  padding-top: 0px;
  margin: 0px;
}

input[type=checkbox]:focus{
  outline:0;
}

input[type=checkbox]:checked {
  background-color: var(--red);
  border: 2px solid var(--red);
  background-position: center;
  background-size: 70%;
  background-repeat: no-repeat;
}
 */


/* CODE BLOCKS */
 /* INLINE CODE - edit view */ 
.cm-s-obsidian span.cm-inline-code:not(.cm-formatting):not(.cm-hmd-indented-code):not(.obsidian-search-match-highlight) {
  font-size: var(--code-size) !important;
}

.cm-inline-code,
:not(pre) > code {
  color: var(--background-primary) !important;
  background-color: var(--text-accent) !important;
  border-radius: 0px !important;
}

/* Inline code and code blocks - read mode */
.markdown-preview-view code  {
  border-radius: 0px;
  padding-left: 7px;
  padding-right: 7px;
  font-size: var(--code-size);
}

/* Read mode - only code block */
.markdown-rendered pre {
  margin: 16px 0px 16px 0px !important;
  border-radius: var(--radius-s);
  border: 1px solid var(--background-modifier-border);
  /* box-shadow: rgba(0, 0, 0, 0) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important; */
  font-size: var(--code-size);
}

/* CODE BLOCK EDITOR MODE */
.cm-line.HyperMD-codeblock {
  border-radius: 0px;
  font-size: var(--code-size-edit-mode);
  background: var(--background-secondary);
  border: 1.5px solid var(--background-primary);
}

/* CODE BLOCK PREVIEW AND EDITOR */
.cm-s-obsidian .HyperMD-codeblock span.cm-inline-code {}

/* Don't wrap codeblocks */
.code-wrap pre > code, code[class*="language-"] {
  white-space: var(--wrap-code-blocks);
}

/* MACOS TERMINAL */
.markdown-preview-view pre {
  padding: 55px 15px 15px 15px;
} 

/* MacOS Light Mode */
body.theme-light .markdown-preview-view pre::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 15px;
  width: 59px;
  height: 59px;
  background-image: url("data:image/png;base64, ");
  filter: grayscale(100%) !important;
  opacity: 60%;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

/* MacOS Night Mode */
body.theme-dark .markdown-preview-view pre::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 15px;
  width: 59px;
  height: 59px;
  background-image: url("data:image/png;base64, ");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: 2;
}

/* Copy Button */
.markdown-rendered button.copy-code-button {
  margin-right: 15px !important;
  padding: 0px;
  top: 8px;
}

/* NUMBER LINES */
body:not(.no-codeblock-line-numbers)
.HyperMD-codeblock-begin{
  counter-reset:codeblock-line-numbers;
}

body:not(.no-codeblock-line-numbers)
.HyperMD-codeblock.cm-line:not(.HyperMD-codeblock-begin,.HyperMD-codeblock-end){
  padding-left:2.8em;
}

body:not(.no-codeblock-line-numbers)
.HyperMD-codeblock:not(.HyperMD-codeblock-begin,.HyperMD-codeblock-end):before{
  color:var(--text-muted);text-align:right;content:counter(codeblock-line-numbers);counter-increment:codeblock-line-numbers;background-color:var(--bg2);width:1.7em;height:100%;padding-right:1.4em;font-size:.75em;line-height:2;position:absolute;left:0
}

.obsidian-banner-spacer {
  height: calc(var(--banner-height) - 10rem);
 /* display: none; */
}

.frontmatter-container {}

.cm-hmd-frontmatter {
  background: var(--background-modifier-box-shadow) !important;
}

/* ROW NUMBERS IN GUTTER SOURCE / LIVE PREVIEW */
.markdown-source-view.mod-cm6 .cm-gutters {
  padding: 0px;
  font-size: 16px !important;
}

/* POSITION OF ROW NUMBERS IN GUTTER SOURCE / LIVE PREVIEW */
.markdown-source-view.mod-cm6 .cm-scroller {
  margin: 0px;
  border: 0px solid;
}


/* HEADERS */
.cm-editor .mod-cm6 .HyperMD-header,
.markdown-reading-view h1,
.markdown-reading-view h2,
.markdown-reading-view h3,
.markdown-reading-view h4,
.markdown-reading-view h5,
.markdown-reading-view h6 {
  text-align: var(--headers-align) !important;
  page-break-after: avoid;
  margin: 18px 0px 18px 0px !important;
  max-width: fit-content !important;
  padding: 0px !important;
  line-height: var(--headers-space-simetry);
}

.heading-collapse-indicator {
  border-right: 5.5px solid var(--text-accent) !important;
  left: 90% !important;
  width: 10%;
  margin: 0px !important;
}


/* TAGS */
@font-face {
  font-family: 'Formular';
  src: url('data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAXMAA4AAAAACOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAAFZAAAABYAAAAWABMABkdQT1MAAAV8AAAAIAAAACBEdkx1R1NVQgAABZwAAAAvAAAAMCN+JIxPUy8yAAACDAAAAEcAAABgII84HWNtYXAAAAJUAAAAMQAAADwAOwB9Z2FzcAAABVwAAAAIAAAACP//AANnbHlmAAABRAAAACgAAAAoKX11F2hlYWQAAAGcAAAANgAAADYW4dEnaGhlYQAAAewAAAAgAAAAJA/2Cc9obXR4AAAB1AAAABgAAAAYDeYAd2xvY2EAAAGMAAAADQAAAA4APAA8bWF4cAAAAWwAAAAeAAAAIABLAEVuYW1lAAACiAAAAq4AAAXocAf8uHBvc3QAAAU4AAAAJAAAADNVXVC5AAIAdwAAA8MFtgADAAcAADMRIRElIREhdwNM/T8CNf3LBbb6SoEEtHjaY2BkYGBgY3BiYGYAASYgZmQAiTmA+QwACZIAkQAAeNpjYGAQQUAAAt4AeQAAAAABAAAAAgCDDlp/b18PPPUACwgAAAAAAM8sf4QAAAAA4KMGkP+m/lgITAc7AAAACAACAAAAAAAABDkAdwAAAAACqgAAAAAAAAI5AAAEygAAeNpjYGRgYLP8Z8l4krv//zIGBg4fBqAICmADAH24BNx42mNgZrnJOIGBlYGB1ZjlLAMDwywIzXSWIY0pC0gzIAFGBnTgwKDAoMxm+c+S8ST7XcY3CgwM08EKfzCdAlIKDEwAU4UM+QB42mNgYGBiYGBgBmIRIMkIplkYNIA0G5BmBMoqMCj//w/kg+n/T/4/AqsCAgCI4wiyAAAAeNqtUrtu1EAUvfZu3g/RISGERqJJpMReVkFityKJlBSRUEgRiXJsjx+s12ONZ9dxw5/QUFJS8QF8AZ9CS8Px7CRrIJEosOWZc1/nnrkeInrmFOTQ4nmHb4EdWoe1wC6tEbe4Ry8ptbjfyVmhHfpo8WrHv0Zv6bPF67RHPy3e6ODNTt8teuw8t3i7g3dozxlbvEtPnQBKnP4GrC/OB4sdeuQOLHZp131tcY/eu28s7ndyVuiJ+9Xi1Y5/jT653y1ep8uetnijgzc7fbfI632zeLuDd5D/w+JdetU/OZVlo7Ik1Wwv3GfDwYujQywjFjTsnDe8EOyEJxGvuIJxwK4bHqaiyvmcXWQqy0UxkR47znNmSCqmRCXUXETemVTTWc7VlUjabUHW5VpS3TGN2W3VuJUyuhaqymTBht5gMLzMBa8EGsRCMS2ZTgVbqq9EqNvUWCoTiWWhmVY8ElOuJoxrrbJgZlIKqbNQVN6/ni/Vuhz7fl3XXqBkXcTyxpMqOS4aNoOgOtOpnGlWCjXNKqM3q1ipZJoFmRaRLe+W+jkEFKHw6ZQkldSQoowS3GJNDLcwpH3sQxrQCzqiQ4tG8AXIZXSOu9/gK0jAOgFKKMJa4VM2coDItcEheAViOfAc3gv0avvl8BY0gQIP3mPYOfalkspYbaXAPscaIfMM+YqmNDN8iq7gT+6srrKHdN2n6m9NY3T/s9f4biojsLSqKtRIVLR+D5EB9kvDwo3uxQlik8twJmnW1ETum31bEwLdssZGwbImNn5tPAo9IninRtsEPg6vNnwBNC9ZCuytFZoTe//9/6Wmb4n5+Hhr83rQoBCrkdOqvoGnPUuCP12YWzSzE6rB1Z5PGs0MPMJMPUN8Od/M3IfScKbmhG1Veyd+7/5QVx96FxMozOr/AnWqLjEAAHjaY2BiAIP/DAxpDNgAGxAzMjAxMjEwM7Cx+IX6+AAAP3gCvAAAAAH//wACAAEAAAAMAAAAAAAAAAIAAQADAAUAAQAAAAEAAAAKABwAHgABREZMVAAIAAQAAAAA//8AAAAAAAB42mNgZGBg4GLQYdBjYHZx8wlhEEmuLMphkMtJLMljkGNgAcoy/P/PAAcArlkHTgA=') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

p:has(a.tag) {
  line-height: 35px !important;
}

/* HIDE HASHTAG */
a.tag:not(.markdown-preview-view) {
  display: inline;
  font-family: 'Formular', var(--font-text) !important;
  padding: 10px 12px 5px 0px !important;
  text-align: center;
  border: 1px solid var(--background-modifier-box-shadow);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px
  0px 0px 0.2px !important;
}

/* HIDE "X" IN TAGS */
.markdown-preview-view .mod-header .metadata-container .multi-select-pill-remove-button {
  display: none
}

.markdown-preview-view .mod-header .metadata-container .multi-select-pill {
  padding-right: 0.7em;
}


/* TABLES */
/* ALTERNATE COLORS */
.markdown-preview-view tr:nth-child(odd) {
  background-color: var(--background-primary);
}
.markdown-preview-view tr:nth-child(even) {
  background-color: var(--background-secondary);
}

/* CELLS */
.markdown-rendered tbody {
  padding: 10px;
  text-align: center;
  /* min-width: 100%; */
  background: transparent;
  font-size: var(--default-font-size);
}

/* TITLE */
.markdown-rendered thead t tr th {
  text-align: center;
  border-bottom: 1px solid var(--background-modifier-border);
  background: var(--background-secondary);
	font-weight: 600;

}

/* STYLE */
table {
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 2.5px 0px;
  /* max-width: 100%; */
  min-width: 100%;
  width: fit-content;
  margin: calc(var(--custom-line-height) * 1.5) auto;
  font-size: var(--default-font-size);
  border-radius: var(--radius-s);
  border-bottom: 1px solid var(--background-modifier-border);
}

td {
    border-left: 1px solid var(--background-modifier-border) !important;
    border-right: 1px solid var(--background-modifier-border) !important;
} 

th {
	border: 1px solid var(--background-modifier-border) !important;
}

/* ROUNDED CORNERS */
:root table {
--table-border-radius: var(--radius-s);
  border-collapse: separate;
  border-spacing: 0px;
}

th:first-child {
  border-top-left-radius: var(--table-border-radius)
}
th:last-child {
  border-top-right-radius: var(--table-border-radius)
}
tr:last-child td:first-child {
  border-bottom-left-radius: var(--table-border-radius)
}
tr:last-child td:last-child {
  border-bottom-right-radius: var(--table-border-radius)
}

:root :is(td, th) {
  border-width: 0 var(--table-border-width) var(--table-border-width) 0;
  text-align: center;
}


/* PROPERTIES */
/* HIDE EMPTY PROPERTY */
.metadata-property:has([placeholder="No value"]) {
  display: var(--hide-empty-properties) !important;
}

/* HIDE HEADER */
.metadata-properties-heading {
  display: none;
}

.metadata-property-key {
	width: 40%;
}

.metadata-property-value {}
.metadata-content {
  background: var(--background-primary) !important;
  border-radius: 0px !important;
}
.metadata-property {}

/* HIDE ADD BUTTON */
.metadata-add-button {
  display: var(--hide-add-button) !important;
  width:50% !important;
  margin: 0px auto 0px auto !important;
}

/* TO-DO fix aliases, dates values and so on */
.metadata-properties, .metadata-properties *, .metadata-properties-heading {
  text-transform: capitalize;
  font-size: var(--metadata-label-font-size);
  text-align: right;
}

/* ICONS */
.metadata-property-key .metadata-property-icon {
  --icon-size: var(--properties-icon-size);
}

.metadata-container {
	margin-top: 10px;
  border-bottom: dotted 2.1px var(--background-modifier-border);
  border-top: dotted 2.5px var(--background-modifier-border);
  padding-top: 5px;
  padding-bottom: 5px;
  /* --input-height: var(--metadata-input-height); */
}

/* fixed datetime position (?) */
.metadata-property input[type='datetime-local'] {
  display: flex !important;
  justify-content: flex-end !important;
  left: 20px;
  margin: 0px;
  padding: 0px;
  font-size: var(--metadata-label-font-size);
}

/* DATE VALUE */
.metadata-property input[type='date'] {
  left: 0px;
  font-size: var(--metadata-label-font-size);
}
.metadata-property input[type='number'] {
  font-size: var(--metadata-label-font-size);

}
/* VALUES */
.metadata-property-value {
  display: flex;
  justify-content: flex-end;
}

/* fixed tags position (?) */
.metadata-property[data-property-key="tags"] .multi-select-pill {
  display: flex !important;
  background: transparent;
  margin: 0px;
  border-radius: 0px;
  left: 25px;
}


/* YAML COLORS */
/* values */
span.cm-meta.cm-hmd-frontmatter + span.cm-hmd-frontmatter {
  font-family: var(--font-ui);
  font-size: var(--properties-editor-font-size);
}

/* numbers */
span.cm-number.cm-hmd-frontmatter {
  font-family: var(--font-ui);
  font-size: var(--properties-editor-font-size);

}

/* key text */
span.cm-atom.cm-hmd-frontmatter {
  font-family: var(--font-ui);
  color: var(--text-accent);
  font-size: var(--properties-editor-font-size);

}

/* separator */
span.cm-meta.cm-hmd-frontmatter {
  font-family: var(--font-ui);
  color: var(--text-accent);
  font-size: var(--properties-editor-font-size);
}

/* values */
.cm-hmd-frontmatter {}

/* Hide separators  (EDITOR MODE) */
.cm-hmd-frontmatter.cm-hmd-frontmatter.cm-def {
  display: var(--hide-separator-yaml);
}


/* CALLOUTS */
.cm-callout {}
.hide-callout .callout-title {}

.callout[data-callout="one"] {
background: var(--callout-one-color);
}

.callout[data-callout="two"] {
background: var(--callout-two-color);
}

.callout[data-callout="three"] {
background: var(--callout-three-color);
}

.callout-icon {
  --icon-size: 0em;
  opacity: 0 !important;
  display: none;
}

.callout img {
  margin-top: 15px;
  padding-left: auto;
  padding-right: auto;
  margin-bottom: 15px;
  border-radius: var(--radius-s);
}

.callout-content p {
  text-align: var(--callouts-align-text);
  margin: 12px 12px 12px 12px !important;
  display: block !important;
  padding: 0px;
}

.callout-title-inner {
  display: var(--hide-callout-title);
  font-size: var(--callout-font-size-title);
  margin: 7px auto 7px auto;
  padding-bottom: 3.8px;
  border-bottom: 0.7px solid;
  white-space: normal !important;
}

.callout {
  border: 1px solid var(--background-modifier-border);
  padding: 0px 10px 2px 10px !important;
}


 /* EMBED NOTES */
body {
  --embed-max-height: 400px;
  --embed-border-left: none;
}

/* HIDE EMBED ICON NOTE */
.markdown-embed-link {
  color: var(--hide-icon-link-embed-notes) !important;
  margin: 3px 3px 3px 3px;
  border-radius: 100%;
  background: var(--background-secondary);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 1px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important;
}


/* SHOW TITLE - DEFAULT */
.markdown-preview-view .markdown-embed-title,
.markdown-preview-view .obsidian-metatable {
  text-align: center;
  border-bottom: 1.5px solid var(--text-accent);
  border-image-source: linear-gradient(to right, transparent, var(--separator-icon-color), transparent) !important;
  border-image-slice: 1;
  border-width: 1px;
  white-space: wrap;
  display: block;
  margin: 0px 0px 10px 0px;
  padding: 1px 1px 10px 1px !important;
}


/* HIDE TITLE - STYLE SETTINGS */
.hide-embed-title .markdown-preview-view .markdown-embed-title,
.markdown-preview-view .obsidian-metatable {
  border-bottom: 0px solid var(--text-accent);
  display: none;
}


/* EMBED CONTENT */
.markdown-embed-content {}


/* EMBED FRAME */
.markdown-embed {
  padding: 15px 7px 7px 0px !important;
  border-radius: var(--radius-s);
  border: 1px solid var(--background-modifier-border);
  /* box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important; */
}

/* Fix top space when title is disabled */
.hide-embed-title .markdown-embed-content {
  padding-top: 20px;
}


 /* Separator GRADIENT */
.cm-line hr,
.markdown-preview-view hr {
  margin-block-start: 4em;
  margin-block-end: 4em;
  border: none;
  height: 0;
  border-bottom: 1px solid;
  border-image-slice: 1;
  border-width: 1px;
  border-image-source: linear-gradient(to right, transparent, var(--separator-icon-color), transparent) !important;
}

hr {
  margin-top: 30px !important;
  margin-bottom: 30px !important;
}

/* Separator icon */
.markdown-preview-view hr::after, .markdown-source-view hr::after {
  content: var(--separator-icon);
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  padding: 0.25rem;
  color: var(--separator-icon-color);
  background-color: var(--background-primary);
  margin-top: -2.5px;
}

/* 

.workspace-drawer-backdrop, .modal-container, .is-phone, .suggestion-bg{
	background: #00000097;
  box-shadow: var(--input-shadow)
}

.nav-files-container>div>.nav-folder>.nav-folder-title>.nav-folder-title-content{
	font-weight:600;
}

.nav-folder:nth-child(odd).nav-folder-title, .nav-file:nth-child(odd){}

 */


/* COMMANDER ICONS  */

.view-header {
  margin: 0px;
  padding: 0;
  left: 38px;
  box-shadow: none !important;
  border-radius: 0px !important;
 /* position: relative !important; */
}

.view-header .view-actions {
  box-shadow: none !important;
  background: var(--background-primary) !important;
  background-color: var(--background-primary) !important;
  border-radius: 0px !important;
  padding: 0px !important;
}



/* IMPORTANT - FILE EXPLORER PANEL */
.workspace-drawer {
  background: transparent !important;
  border-radius: 0px !important;
  width: 100%;
}


/* FILE EXPLORER POP-UP */
body.is-mobile.popup-explorer .workspace-drawer {}

body.is-mobile.popup-explorer .workspace-drawer-inner {
  margin: 30px 15px 10px 15px;
  border-radius: var(--radius-s);
  border: 1px solid var(--background-modifier-border);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 2.5px 0px;
  padding: 10px 3px 5px 3px;
}

body.is-mobile.popup-explorer .workspace-drawer-backdrop {
  background: hsla(black, 0.65);
}


/* EXPLORER ICONS */
.nav-buttons-container .clickable-icon {
  background: var(--background-primary) !important;
  color: var(--text-accent) !important;
  background-color: var(--background-primary) !important;
}


/* EXPLORER ICONS (Background) */
.is-phone .nav-buttons-container {
  top: auto !important;
  box-shadow: none !important;
  background: var(--background-primary) !important;
  background-color: var(--background-primary) !important;;
}


/* HIDE EXPLORER TOOLBAR (Sort, New folder) OLD OBSIDIAN */
.nav-header {
  display: var(--show-explorer-buttons) !important;
  border-radius: var(--radius-s);
  margin: 0px 20px 5px 20px;
  min-width: 75%;
  border: 0px solid var(--background-modifier-border);
  /* box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important; */
}


/* EXPLORER BAR (SORT, NEW, EXPAND) - POSITION */
.is-phone {
  .workspace-drawer .nav-buttons-container {
    position: var(--explorer-bar-position) !important; /* static */
  }
}


/* HIDE EXPLORER FOLDER INDICATOR ICON */
.collapse-icon svg.svg-icon {
  display: none !important;
}



/* SETTINGS */
/* INTERNAL FRAME - CODE BY @FLOODLIGHT (VELOCITY THEME) */

.mod-settings,
.mod-narrow,
.mod-confirmation {
	--background-modifier-form-field: transparent;
	--background-modifier-form-field-hover: transparent;
	& .setting-item:not(.style-settings-heading) {
		border-inline: 1px solid var(--background-modifier-border);
		box-shadow: var(--mac-terminal-shadow);
		clip-path: inset(0px -24px 0px -24px);
		padding: 12px 20px 12px 22px;
		flex-wrap: wrap;
		row-gap: 10px;
		& .setting-item-info {
			contain: content;
			flex: 7;
			margin-left: -5px ; !important;
		}
		&:not(.style-settings-info-text) .setting-item-control {
			flex: 3;
			--icon-color: var(--text-muted);
		}
	}
	
	& .setting-item:last-of-type,
	.setting-item:has( + .setting-item.setting-item-heading),
	.setting-item:not(.setting-item-heading):has( + :not(.setting-item)) {
		box-shadow: 
		var(--mac-terminal-shadow);
		border-bottom: 1px solid var(--background-modifier-border);
		border-radius: 0 0 var(--radius-s) var(--radius-s);
		clip-path: inset(0px -24px -24px -24px);
		padding-bottom: 14px;
	}
	
	& .setting-item.setting-item-heading + .setting-item:last-of-type,
	.setting-item:not(.setting-item-heading):only-of-type,
	.setting-item:first-child:has( + .setting-item.setting-item-heading),
	:not(.setting-item) + .setting-item:last-child,
	:not(.setting-item) + .setting-item:not(.setting-item-heading):has( + *:not(.setting-item)),
	.setting-item:not(.setting-item-heading):first-child:not(:has( + .setting-item)),
	.setting-item.setting-item-heading + .setting-item:not(.setting-item-heading):has( + .setting-item.setting-item-heading),
	div[class*="settings-section"] > .setting-item {
		border: 1px solid var(--background-modifier-border);
		border-radius: var(--radius-s) !important; 
		clip-path: none !important;
		padding-block: 14px;
	}
	& .setting-item:not(.setting-item-heading):first-of-type,
	.setting-item.setting-item-heading + .setting-item,
	:not(.setting-item) + .setting-item:has( + .setting-item) {
		border-top: 1px solid var(--background-modifier-border);
		border-radius: var(--radius-s) var(--radius-s) 0 0;
		clip-path: inset(-24px -24px 0px -24px);
		padding-top: 16px;
	}
	& .setting-item.setting-item-heading  {
		background-color: transparent !important;
		border: none !important;
		box-shadow: none !important;
		font-weight: var(--font-semibold);
	}
	& .setting-item-description {}
	& .setting-item-name {
		overflow: visible;
	}
}
.mobile-option-setting-item {
  border: 1px solid var(--background-modifier-border);
  border-radius: var(--radius-m);
  padding: 12px 16px;
}
.installed-plugins-container {
    padding-top: 0;
    border-top: none;
}


/* GROUP SETTINGS */
.setting-item-description {}

.vertical-tab-header-group-items {
  padding: 5px;
  margin: 5px 25px 0px 25px !important;
  border: 1px solid var(--background-modifier-border);
  border-radius: var(--radius-s);
  box-shadow: var(--mac-terminal-shadow)
}

.vertical-tab-header-group-title {
  font-size: var(--h2-size) !important;
  text-align: center;
  margin: auto auto !important;
}


/* HIDE SETTINGS ICON */

.workspace-drawer-header-icon {
  display: var(--icon-settings);
  background: none !important;
  box-shadow: none !important;
  background-color: none;
  border-radius: 0 !important;  
  /* padding: 0px;
  margin: 0px 0px 0px 0px; */
}



/* HIDE INFO AND NUM_NOTES VAULT */
.workspace-drawer-header-info {
  display: var(--num-of-notes);
 /* margin: 0px auto 0px auto ; */
}


/* HIDE VAULT NAME */
.workspace-drawer-header-switcher {
  display: var(--show-vault-name);
}

/* VAULT & SETTINGS - POSITION */
.is-phone {
  .workspace-drawer-header {
    order: var(--vault-settings-position) !important;
    padding-top: 0;
    padding-bottom: 15px;
    padding-inline-start: 20px;
  }
  .workspace-drawer-inner {
    padding-bottom: calc(max(var(--safe-area-inset-bottom), var(--size-4-4)) - var(--keyboard-height)); 
  }
}



/* FILE, SEARCH, BOOKMARK BAR - POSITION */

.is-phone {
  .workspace-drawer-tab-options {
    display: var(--files-bookmarks-search-bar) !important;
    order: var(--files-bookmarks-search-bar-position) !important;
    padding-bottom: 5px !important;
  }
  .workspace-drawer-tab-options-list {
    padding-top: var(--touch-size-l);
    padding-bottom: var(--size-4-2);
    bottom: unset;
    top: 0;
  }
}


.workspace-drawer-header-name {}
.modal-container{}




/* FILES, BOOKMARKS, SEARCH BAR 

body.is-mobile .workspace-drawer-active-tab-header {
  display: var(--files-bookmarks-search-bar);
  border-radius: var(--radius-s);
  padding: 8px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important;
  margin: 10px 23px 5px 23px !important; 
}


/* multiline file text */
.nav-file-title,
.nav-folder-title,
.nav-file-title-content:not(.mk-tree-text),
.nav-folder-title-content {
  white-space: pre-wrap;
  text-align: var(--multiline-files-explorer);
  hyphens: var(--hyphens-files-explorer) !important; 
}

/*

body.is-mobile .workspace-drawer-tab-option-item {
  background-color: brown;
  border-radius: 4px;
  margin: 8px;
  padding: 0.8rem 1rem;
}

body.is-mobile .workspace-drawer-header {
  padding: 12px 12px 0;
}
*/


/* HIDE SIDEBAR ICON */
.view-action[aria-label="Expand"] {
 /* left: 50px; */
  position: absolute;
  display: none !important;
}


/* EDITOR BAR */
.mobile-toolbar-options-container {
  border: 1px var(--background-modifier-border) solid; 
  margin-left: 34px;
  margin-right: 34px;
  border-radius: var(--radius-s);
  margin-bottom: 10px;
  width: 85%;
  height: fit-content;
  padding: 0px !important;
  bottom: auto !important;
  top: 0px !important;
  display: flex !important;
   justify-content: center !important;
   align-items: center !important;
}

.mobile-toolbar {
  display: var(--show-editor-text-bar) !important;
  position: absolute !important;
}


/* COMMAND PALETTE */

.is-phone .prompt {
  width: 85%;
  height: 90% !important;
  margin-top: -10px !important;
  border-radius: var(--radius-s);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 2.5px 0px;
}
 

/* NAVIGATION BAR */
.mobile-navbar {
  display: var(--hide-navbar);
  border: 0.5px solid var(--background-modifier-box-shadow);
  box-shadow: var(--mac-terminal-shadow);
  border-radius: var(--radius-s);
  width: 70%;
  padding-top: 10px !important;

}


/* Enable glass effect */
.nav-bar-blur .mobile-navbar {
  background: rgba(255, 255, 255, 0.10) !important;
  backdrop-filter: blur(var(--navbar_blur_level)) !important;
}


/* HIDE SCROLLBARS */
body:not(.native-scrollbars) ::-webkit-scrollbar {
  width: 4px;
  height: 23px;
  display: var(--scrollbars);
}


/* MENU - RIBBON */
.is-mobile .menu {
  font-size: var(--nav-item-size) !important;
  max-width: 85%;
  padding: 1px 1px 1px 1px;
  bottom: 10px !important;
  border-radius: var(--radius-s) !important;
}


.is-mobile .menu-item:not(.menu-separator) {
	border-bottom: 0px dashed var(--background-modifier-border);
	border-radius: 0px;
	background: transparent !important;
  padding: 10px 1px 10px 1px !important;
}

/* SECONDARY MENU

.menu-separator:not(.is-mobile, .menu-item) {
	border-bottom: 1.5px dashed var(--background-modifier-border);
}

/* UI ICONS */
.is-mobile {
  --icon-l-stroke-width: 1.8px;
  --icon-opacity: var(--icon-ui-opacity);
}


/* SEARCH AND REPLACE */
.is-mobile .document-search input {}

.mod-active .document-search-container {
  border-radius: 0px 0px var(--radius-s) var(--radius-s);
  box-shadow: rgba(0, 0, 0, 0.35) 0px 0px 5px 0px, rgba(27, 31, 35, 0.1) 0px 0px 0px 0px !important;
}

.is-mobile .document-replace-container {
  display: flex;
  margin: 0px;
  width: 50px;
}


/* BUTTONS */
.is-mobile .document-search button {
  margin-top: 5px;
  padding-right: 10px;
}

.is-mobile .document-search .document-search-close-button {
  padding-top: 10px;
}


/* BACKGROUND SEARCH */
.is-mobile .document-search-container {
  margin-bottom: 5px;
  border-bottom: 1px;
  solid var(--background-modifier-border);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 2.5px 0px;
}

/* Inputs radius */
input[type='text'], input[type='search'], input[type='email'], input[type='password'], input[type='number'] {
  border-radius: var(--radius-s);
}

/* FILES AND FOLDERS */
body {
  --folder-1: var(--normal-folder-1);
  --folder-1-open: var(--normal-folder-1-open);
  --folder-2: var(--normal-folder-2);
  --folder-2-open: var(--normal-folder-2-open);
  --folder-3: var(--normal-folder-3);
  --folder-3-open: var(--normal-folder-3-open);
  --folder-padding: 2.3px;
}

/* FILE'S NAME - SEPARATOR */

.nav-file {
  border-bottom: var(--filename-line-thickness) var(--filename-separator-style) var(--background-modifier-border);
}

/* THE FILE NAME */
.nav-file-title-content {
  padding-right: 10px;
}

body:not(.is-grabbing) .nav-file-title:hover {
  background: transparent !important;
}


/* FILE SELECTED */
body:not(.is-grabbing) .nav-file-title.is-active:hover {
  background: transparent !important;

}

.nav-file-title:hover {
  background: transparent !important;
}

/* FRAME NAME LIST */
.nav-file-title {
  border-radius: 0px !important;
  margin: 0px !important;
}

.nav-file-title.is-active,
.nav-folder-title.is-active {
	color: var(--text-accent);
	font-style: italic;
  background: transparent !important;
}

.nav-file-title-content {
  line-height: 1.12;
  min-width: 90%;
  padding: 5px 0px 5px 0px;
}

/* FILE COLOR SELECTED */
.nav-file-title:not(.is-mobile):hover {
  background: transparent !important;
  
}

/* TO-DO - CHECK THIS */
.remove-file-icons .nav-file-title:before {
  display: none;
}

/* ICON FILE */
.nav-file-title:before {
  content: var(--icon-file-indicator) !important;
  padding-right: 7px;
  font-size: var(--icon-file-size);
  padding-bottom: 7px;
  margin-left: -18px;
}

.nav-folder-children .nav-folder .nav-file:last-child {}

.workspace-leaf-content[data-type="starred"] .nav-file-title::before {
  display: none;
}


/* FOLDERS */
.nav-folder {
  border: 0.9px solid var(--folder-border-color);
  border-radius: var(--radius-s);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 1.4px 0px;
  margin: 11px 13px 11px 13px !important;
}

/* highlight selected folder */
.nav-folder:hover {
  background: transparent !important;
}

.nav-folder-children {
  margin: 0px 10px 0px 10px;
}

/* HIDE INDICATORS */
body:not(.nav-folder-indicators) .nav-folder-collapse-indicator {}

/* ROOT FOLDER FRAME */
body:not(.nav-folder-indicators) .nav-folder-title {
  padding: 6px 5px 3px 12px;
  /* space indicator ICONIZE */
}

.nav-folder.mod-root .nav-folder .nav-folder .nav-file {}
.remove-folder-icons .nav-folder .nav-folder-title-content:not(.nav-folder.mod-root > .nav-folder-title .nav-folder-title-content):before {
  /* padding-left: 20px; */ 
  /* SPACE BEFORE TITLE FOLDER - ICONIZER */
}

body, .folder-notebooks {
  /*--normal-folder-1: "»";
  --normal-folder-2: "»";
  --normal-folder-3: "»"; ; */
  --folder-icon-size: 1.5em;
  --normal-folder-1-open: "╔";
  --normal-folder-2-open: "╔";
  --normal-folder-3-open: "╔";
}

/* ROOT FOLDER */
.nav-folder .nav-folder-title-content:before {
  content: var(--folder-1-open);
  padding-right: 10px;
  /* Space between icon (open folder) and folder title */
}

.nav-folder.is-collapsed .nav-folder-title-content:before {
  content: var(--folder-1);
}

/* FOLDER LEVEL 2 */
.nav-folder.mod-root .nav-folder .nav-folder .nav-folder-title-content:before {
  content: var(--folder-2-open);
}

.nav-folder.mod-root .nav-folder .nav-folder.is-collapsed .nav-folder-title-content:before {
  content: var(--folder-2);
}

/* FOLDER LEVEL 3 */
.nav-folder.mod-root .nav-folder .nav-folder .nav-folder .nav-folder-title-content:before {
  content: var(--folder-3-open);
}

.nav-folder.mod-root .nav-folder .nav-folder .nav-folder.is-collapsed .nav-folder-title-content:before {
  content: var(--folder-3);
}

.nav-folder-collapse-indicator {
  display: block;
}


/* SIDEBAR */
.workspace-drawer-active-tab-header {
/* FILES MENU TOP BAR */
  border: 1px var (--background-modifier-border)  !important;
  border-radius: var(--radius-s);
  background: var(--background-primary) !important;
}


/* NOTE GALLERY PLUGIN */
.note-card {
  border-radius: var(--radius-s);
  max-height: 400px;
  padding: 10px;
}

.note-card .inline-title {
  font-weight: 400;
}

.note-card .card-content {
  min-height: 150px;
}


/* CUSTOM TOOLBAR PLUGIN */
.callout[data-callout="note-toolbar"] {
  border-radius: var(--radius-s);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 0px 0px;
}


/* IMAGES */

body {
  --img-align: 0px;
}
.img-center {
  --img-align: auto;
}

/* 

.img-adjust .view-content .markdown-rendered img:not([width]) {
  min-width: 85%;
  max-width: 85%;
}

 */

.markdown-rendered img {
  border-radius: var(--radius-s);
/* margin: calc(var(--custom-line-height) * 0) var(--img-align); */
 /* margin-top: 12px; */
}

.img-adjust .view-content img {
  max-width: 85%;
}

.enable-shadows-borders-img .view-content img {
  border: 1px solid var(--background-modifier-border);
  box-shadow: var(--background-modifier-box-shadow) 0px 0px 2.5px 0px;
}

.view-content img {
  border-radius: var(--radius-s);
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-s);
}

.markdown-rendered img {}


.theme-light img, .theme-light .page-gallery__image  {
  filter: saturate(105%);
  opacity: 0.95;
}

.theme-library img, .theme-library .page-gallery__image  {
} 

.grayscale-dark-mode.theme-dark img, .theme-dark .page-gallery__image {
  filter: brightness(90%);
  filter: grayscale(100%) !important; 
  opacity: var(--opacity-grayscale-images);
}


/* SEARCH */
.search-result-file-match {
  padding: 12px !important;
  font-size: calc(var(--default_size) - 1px);
  
}
/* Background results */
.search-result-container {
  font-size: var(--default-font-size);
}

.internal-query, .internal-query-header {
  border: 0px;

}

.internal-query, .internal-query-header-title {
  font-size: var(--h3-size);
  margin-bottom: 5px;
  margin-top: 5px;
  border: 0px;
}

.search-result-container.mod-global-search {}
.search-info-more-matches {}
.search-suggest-info-text {}

.search-result-file-matches {
  box-shadow: var(--mac-terminal-shadow);
  padding: 7px;
  margin-left: 10px;
  margin-right: 10px;
}

/* EXACT TEXT BAR */
.search-info-container {}

.search-result-file-match:hover .search-result-file-match-destination-file {}

.search-params {
  font-size: calc(var(--default-font-size) - 1px);
}

/* NUM RESULTS & SORT OPTIONS */
.search-results-result-count, .search-results-info .dropdown {
  font-size: calc(var(--default-font-size) - 1px) !important;
}

/* SEARCH */
.global-search-input-container {
  border-radius: var(--radius-s);
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important;
  border: 0.5px solid var(--background-modifier-border);
}


/* @settings

name: Hide & move elements 
id: hide-elements
settings:
  -
      id: safe-place-position
      title: Move top buttons
      description: "Note: Only in case the top buttons cover the phone status bar"
      type: variable-number
      default: 35
      format: px
  -         
      id: icon-settings
      title: Show icon settings
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
  - 
      id: num-of-notes
      title: Show number of notes
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
  - 
      id: show-explorer-buttons
      title: Show explorer buttons

      type: variable-select
      default: Hide
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: block
  -
      id: explorer-bar-position
      title: Move explorer buttons
      type: variable-select
      default: Up
      options:
          - 
              label: Up
              value: static
          - 
              label: Down
              value: absolute
  - 
      id: show-editor-text-bar
      title: Show editor bar
      type: variable-select
      default: Show
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
  - 
      id: hide-navbar
      title: Hide navigation bar
      type: variable-select
      default: block
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: block
  - 
      id: files-bookmarks-search-bar
      title: Show menu files
      type: variable-select
      default: Hide
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: block
  -
      id: files-bookmarks-search-bar-position
      title: Move menu files
      type: variable-select
      default: Top
      options:
          - 
              label: Up
              value: 0
          - 
              label: Down
              value: 1
  - 
      id: show-vault-name
      title: Show vault
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
  -
      id: vault-settings-position
      title: Move vault and settings
      type: variable-select
      default: Up
      options:
          - 
              label: Up
              value: 0
          - 
              label: Down
              value: 1
  -
      id: scrollbars
      title: Show scrollbars
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
 */

/* @settings
name: Notes & Editor
id: notes-values
settings:
  - 
      id: text-note-section
      title: Text note
      type: heading
      level: 2
      collapsed: true
  - 
      id: default-font-size
      title: Font size
      type: variable-number
      default: 17.5
      format: px
  - 
      id: p-spacing
      title: Paragraph spacing
      type: variable-number
      default: 24
      format: px
  -
      id: padding-default-note-style
      title: Padding note
      type: variable-number
      default: 50
      format: px
  -
      id: list-indent
      title: List indent  
      type: variable-number
      default: 17
      format: px
  - 
      id: letter-spacing-note
      title: Letter spacing
      type: variable-number
      default: 0.03
      format: px
  - 
      id: line-height-note
      title: Line height
      type: variable-number
      default: 24.5
      format: px
  - 
      id: text-note-align
      title: Text align 
      type: variable-select
      default: justify
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      id: focus-active-line-opacity
      title: Opacity active line
      type: variable-number
      default: 0.8
  - 
      id: focus-non-active-line-opacity
      title: Opacity non-active line
      type: variable-number
      default: 0.65
  - 
      id: separator-icon
      title: Separator content
      type: variable-text
      default: o0o
      quotes: true
  - 
      id: separator-icon-color
      title: Separator color
      type: variable-color
      opacity: true
      format: rgb
      alt-format:
         -
             id: accent-rgb
             format: rgb
      default: '#6C6C6C6B'
  -
      id: active-line-indicator
      title: Active line indicator
      type: variable-text
      default: —
      quotes: true
  - 
      id: active-line-background
      title: Background
      type: variable-color
      opacity: true
      format: rgb
      alt-format:
         -
             id: accent-rgb
             format: rgb
      default: '#6C6C6C6B'
  -
      id: show-dotted-line
      title: Show line indicator
      type: variable-select
      default: 1.5px
      options:
          - 
              label: Show
              value: 1.5px
          - 
              label: Hide
              value: 0px
  - 
      id: page-style-read-mode
      title: Style Page
      type: class-toggle
      description: Turn on the page-like view in reading mode.
      default: false
  - 
      id: page-style-editor-mode
      title: Style Page (Editor)
      type: class-toggle
      default: false
  - 
      id: padding-note-content
      title: Side paddings
      type: variable-number
      description: Change this value if the note content is too close to its edges.
      default: 35
      format: px
  - 
      id: background-image-editor
      title: Background image (source mode)
      type: variable-text
      description: url(https://example.com/image.jpg)
      default: None
  - 
      id: background-image-editor-size
      title: Background size
      type: variable-number
      default: 200
      format: px
  - 
      id: headers-section
      title: Headers
      type: heading
      level: 2
      collapsed: true
  - 
      id: headers-font-size
      title: Font size
      type: heading
      level: 3
      collapsed: true
  - 
      id: h1-size
      title: Header H1
      type: variable-number
      default: 20
      format: px
  - 
      id: h2-size
      title: Header H2
      type: variable-number
      default: 18
      format: px
  - 
      id: h3-size
      title: Header H3
      type: variable-number
      default: 16
      format: px
  - 
      id: h4-size
      title: Header H4
      type: variable-number
      default: 14
      format: px
  - 
      id: h5-size
      title: Header H5
      type: variable-number
      default: 12
      format: px
  - 
      id: h6-size
      title: Header H6
      type: variable-number
      default: 10
      format: px
  - 
      id: headers-others
      title: Others
      type: heading
      level: 3
      collapsed: true
  - 
      id: headers-space-simetry
      title: Header space
      type: variable-number
      default: 1.5
      format: em
  - 
      id: headers-align
      title: Align
      type: variable-select
      default: left
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      id: inline-title-section
      title: Inline title
      type: heading
      level: 2
      collapsed: true
  - 
      id: magazine-style
      title: Magazine style
      description: An elegant inline title inspired by The New Yorker covers 
      type: class-toggle
      default: true
  -
      id: magazine-background
      title: Magazine background
      description: "Sintax: url('myimage.com/here.jpg')"
      type: variable-text
      default: ""
  - 
      id: magazine-opacity
      title: Magazine opacity
      type: variable-number
      default: 0.6
      format:
  - 
      id: magazine-title-font
      title: Magazine font
      type: variable-text
      default: ""
  - 
      id: block-title-read-mode
      title: Block Inline Title
      type: class-toggle
      default: true
  - 
      id: inline-title-align
      title: Title align
      type: variable-select
      default: justify
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      id: inline-title-size
      title: Font size
      type: variable-number
      default: 18.2
      format: px
  - 
      id: inline-title-bold
      title: Bold
      type: variable-number
      default: 400
      format: px
  - 
      id: inline-title-always-uppercase
      title: Uppercase lock
      type: class-toggle
      default: true
  - 
      id: code-block-section
      title: Code blocks & Inline code
      type: heading
      level: 2
      collapsed: true
  - 
      id: wrap-code-blocks
      title: Wrap code (Read mode)
      type: variable-select
      default: normal
      options:
          - 
              label: Enable
              value: pre
          - 
              label: Disabled
              value: normal
  - 
      id: code-size
      title: Font size (Preview)
      type: variable-number
      default: 15
      format: px
  - 
      id: code-size-edit-mode
      title: Font size (Editor)
      type: variable-number
      default: 15
      format: px
  - 
      id: quotes-section
      title: Quotes
      type: heading
      level: 2
      collapsed: true

  - 
      id: quote-font-size
      title: Font size
      type: variable-number
      default: 15.7
      format: px
  - 
      id: quotes-align
      title: Align text
      type: variable-select
      default: justify
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      id: quote-padding
      title: Quote padding
      type: variable-text
      default: 10px 15px 10px 15px
  - 
      id: quote-icon
      title: Quote icon
      type: variable-text
      default: "“"
  - 
      id: quote-hide-top-line
      title: Hide top line
      type: variable-select
      default: Show
      options:
          - 
              label: Hide
              value: 0px
          - 
              label: Show
              value: 1.5px
  - 
      id: quote-hide-down-line
      title: Hide down line
      type: variable-select
      default: Show
      options:
          - 
              label: Hide
              value: 0px
          - 
              label: Show
              value: 1.5px
  - 
      id: callouts-section
      title: Callouts
      type: heading
      level: 2
      collapsed: true
  - 
      id: hide-callout-title
      title: Show  title
      type: variable-select
      default: unset
      options:
          - 
              label: Hide
              value: None
          - 
              label: Show
              value: unset
  - 
      id: callout-font-size-title
      title: Font size
      type: variable-number
      default: 16
      format: px
  - 
      id: callouts-align-text
      title: Align text
      type: variable-select
      default: justify
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      
  - 
      id: embed-section
      title: Embed notes
      type: heading
      level: 2
      collapsed: true
  - 
      id: hide-embed-title
      title: Hide  embed title
      type: class-toggle
      default: true
  - 
      id: hide-icon-link-embed-notes
      title: Show icon
      type: variable-select
      default: Show
      options:
          - 
              label: Hide
              value: transparent
          - 
              label: Show
              value: var(--background-modifier-border)
  - 
      id: images-section
      title: Images
      type: heading
      level: 2
      collapsed: true
  - 
      id: enable-shadows-borders-img
      title: Enable shadows and borders
      type: class-toggle
      default: true
  - 
      id: grayscale-dark-mode
      title: Grayscale images
      description: Only dark mode
      type: class-toggle
      default: true
  - 
      id: opacity-grayscale-images
      title: Opacity
      type: variable-number
      default: 0.9
      format:
  - 
      id: links-section
      title: Links
      type: heading
      level: 2
      collapsed: true
  - 
      id: internal-link-border-style
      title: Underline style
      description: Only affect local links
      type: variable-select
      default: dotted
      options:
          - 
              label: Dotted
              value: dotted
          - 
              label: Dashed
              value: dashed
          - 
              label: Solid
              value: solid
  - 
 */

/* @settings
name: Properties & YAML
id: yaml-values
settings:
  - 
      id: hide-empty-properties
      title: Show empty properties
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: none
          - 
              label: Show
              value: unset
  - 
      id: hide-add-button
      title: Show 'add properties' button
      type: variable-select
      default: None
      options:
          - 
              label: Hide
              value: None
          - 
              label: Show
              value: flex
  - 
      id: properties-icon-size
      title: Icon size
      type: variable-number
      default: unset
      format: px
  - 
      id: properties-editor-font-size
      title: YAML font size
      type: variable-number
      default: 16
      format: px
  - 
      id: hide-separator-yaml
      title: Show separators in Source mode
      type: variable-select
      default: none
      options:
          - 
              label: Hide
              value: None
          - 
              label: Show
              value: unset
 */

/* @settings
name: Obsidian UI
id: others-values
settings:
  - 
      id: radius-s
      title: Radius border
      type: variable-number
      default: 11.2
      format: px
  - 
      id: icon-ui-opacity
      title: Icons opacity
      type: variable-number
      default: 0.85
      format: px
  - 
      id: nav-bar-blur
      title: Glass effect
      type: class-toggle
      default: true
  - 
      id: navbar_blur_level
      title: Blur level
      type: variable-text
      default: 8px
  - 
      id: theme-light-opacity
      title: Light mode - Opacity
      type: variable-number
      default: 0.85
      format: 
  - 
      id: theme-dark-opacity
      title: Dark mode - Opacity
      type: variable-number
      default: 0.75
      format: 
 */

/* @settings
name: Explorer & Files
id: files-folders
settings:
  - 
      id: icon-file
      title: Icon file
      type: variable-text
      default: "·"
      quotes: true 
  -
      id: icon-file-size
      title: Icon file
      type: variable-number
      default: 25
      format: px
  -
      id: nav-item-size
      title: Font size
      type: variable-number
      default: 16
      format: px
  -
      id: hyphens-files-explorer
      title: Hyphens Enabled
      type: variable-select
      default: True
      options:
         - 
             label: True
             value: auto
         - 
             label: False
             value: manual
  -
      id: multiline-files-explorer
      title: Align text
      type: variable-select
      default: justify
      options:
          - 
              label: Justify
              value: justify
          - 
              label: Center
              value: center
          - 
              label: Left
              value: left
          - 
              label: Right
              value: right
  - 
      id: popup-explorer
      title: Pop-up style
      type: class-toggle
      default: true
  - 
      id: folder-border-color
      title: Border color (folders)
      type: variable-color
      opacity: true
      format: rgb
      alt-format:
         -
             id: accent-rgb
             format: rgb
      default: '#6c6c6c6b'
  - 
      id: filename-separator-style
      title: Separator style
      type: variable-select
      default: dotted
      options:
          - 
              label: Dotted
              value: dotted
          - 
              label: Dashed
              value: dashed
          - 
              label: Solid
              value: solid
  - 
      id: filename-line-thickness
      title: Line thickness
      type: variable-number
      default: 1.8
      format: px
 */

/* @settings
name: Tabs
id: tabs
settings:
  - 
      id: tabs-height
      title: Tab height
      type: variable-number
      default: 300
      format: px
 */