/* MODIFIED 2021-10-01 */

.theme-dark
{
  --background-primary: #2f3136;
  --background-primary-alt: #36393f;
  --background-secondary: #141414;
  --background-secondary-alt: #222222;
  --text-normal: #5dbcd2;
  --text-faint: #999999;
  --text-muted: #aaaaaa;
  --text-selection: #164f92;
  --text-on-accent: #5dbcd2;
  --text-accent: #319cb4;
  --text-title-h1: #c7c400; /* CyberYellow: fcf601, FullYellow: fffb00, H1Yellow: c7c400 */
  --text-title-h2: #b9adff; 
  --text-title-h3: #52c1da;
  --text-title-h4: #67c073; /*6fcf7f*/
  --text-title-h5: #de87ca; /*d8d8d8*/
  --text-title-h6: #b4b4b4;
  --text-link: #99ff99;
  --text-a: #d669bc;
  --text-a-hover: #ec9ad9; /*previous: b3a14b */
  --text-mark: rgb(252, 246, 1, 0.45); /* SEE HIGHLIGHTER */
  --pre-code: #40444d;
  --text-highlight-bg: rgba(252, 246, 1, 0.4); /* SEE HIGHLIGHTER */
  --interactive-accent: rgb(252, 246, 1, 0.95);
  --interactive-accent-muted: rgb(252, 246, 1, 0.55);
  --interactive-accent-hover: #9e8aff; /* for Calendar Plugin*/
  --interactive-before: #5e6565;
  --interactive-hover: #36393f; /* for Calendar Plugin*/
  --background-modifier-border: #595959; /*595959*/
  --blockquote-border: #9e8aff;
  --interactive-accent-rgb: #fe8019;
  --font-family-editor: Avenir, Avenir Next, var(--default-font), sans-serif;
  --font-family-preview: Avenir, Avenir Next, var(--default-font), sans-serif;
  --scrollbar-bg: rgb(20, 20, 20, 0.0);
  --scrollbar-thumb-bg: #595959;
  --background-modifier-error: #36393f;
  --background-modifier-success: #36393f;
  --background-modifier-form-field: #2f3136;
  --background-modifier-form-field-highlighted: #2f3136;
}
#graph-view-canvas .links
{
  stroke: var(--interactive-accent-rgb) !important;
}

/**********************/
/* NEW SUPER GRAPH WITH FILTER */
/**********************/

.theme-dark .graph-view.color-fill-tag {
  color: #5dbcd2;
}

.theme-dark .graph-view.color-fill-attachment {
  color: #d669bc;
}

.theme-dark .graph-view.color-fill-unresolved {
  color: #9e8aff;
  Opacity:1;
}

.theme-dark .graph-view.color-arrow {
  color: #d669bc;
}

/**********************/
/* Graph View */
/**********************/

.graph-view.color-fill {
    color: #fcf601;
}
.graph-view.color-circle {
    color: #26798c;
}
.graph-view.color-line {
    color:  #26798c;
}

.graph-view.color-text {
    color: #cccccc;
}

.graph-view.color-fill-highlight {
    color: #26798c;
}
.graph-view.color-line-highlight {
    color: #5dbcd2;
}



/**********************/
/* BOLD AND ITALTICS */
/**********************/


strong {
  color: #9e8aff;
  font-weight: 700; /*previous bold purple: b399fff2 ; alt: red cf6f6f ; alt: yellow bdba2d*/
}


em {
  color: #bac04f; /*previous italic vegas gold: b8b894 ; alt: red ; alt: orange d6b456*/
}


/**********************/
/* HIGHLIGHTER */
/**********************/


mark
{
  background-color: var(--text-mark) !important;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 2px;
  padding-right: 2px;
}


.cm-s-obsidian span.cm-highlight {
    color: #0c0c0e;
    font-weight: 500;
    background-color: rgb(252, 246, 1, 0.49);
}

.markdown-preview-view mark {
    color: #0c0c0e;
    font-weight: 500;
    }



/*settings pop-up*/

.modal-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(252, 246, 1, 0.1);
}
.modal {
  background-color: var(--background-primary);
  border-radius: 4px;
  border: 1px solid var(--background-primary);
  box-shadow: 0 2px 8px var(--background-modifier-box-shadow);
  padding: 30px 50px;
  position: relative;
  min-width: 560px;
  }

.vertical-tab-content {
background-color: var(--background-primary);
padding: 5px 30px;
}

.u-pop {
  color: var(--text-title-h2);
}

.mod-settings .setting-item {
  padding: 0;
}

.setting-item-name {
  color: #b9adff;
}


/**********************/
/* links and brackets */
/**********************/
.cm-s-obsidian span.cm-formatting-link {
    color: #d669bc !important;
}


/***************************************/
/*          Blockquote                */
/***************************************/
/* for preview */
.markdown-preview-view blockquote {
    background-color: #222229;
    border: 0px solid;
    border-color: #8272d0 !important;
    border-left-width: 2px !important;
    border-radius: 0 0px 0px 0;
    /* font-family: merriwether, georgia, serif; */
    font-family: var(--font-family-preview);
    font-size: 0.95em;
    color: #5dbcd2;
    line-height: 1.5em;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
/* background alt: 1a1b24  vertical line alt: rgb(252, 246, 1, 0.70) */
    }


/***************************************/
/* link */
/***************************************/


a,
.internal-link,
.cm-hmd-internal-link,
.cm-link,
.cm-formatting-link
{
  color: var(--text-a) !important;
  text-decoration: none !important;
  font-family: var(--font-family-preview) !important;
}

/* link hover color */
a:hover,
.internal-link:hover
{
  color: var(--text-a-hover) !important;
  text-decoration: none !important;
}

/* make external links italics to differentiate */
a:not(.internal-link) {
  font-style: italic;
}

/* blockquote */
.cm-quote /* for editor */
{
  color: var(--text-normal) !important;
}

blockquote /* for preview */
{
  border-color: var(--blockquote-border) !important;
}

/* icons at top of panes*/
.file-view-actions a
{
  color: var(--text-muted) !important;
}

.file-view-actions a:hover
{
  color: var(--text-a) !important;
}

/* html tags in editor */
.cm-tag
{
  color: var(--text-accent) !important;
}

/* code blocks in preview */
pre code
{
  padding: 6px !important;
  line-height: normal;
  display: block;
  background-color: var(--pre-code) !important;
}

.markdown-preview-view pre
{
  padding: 0px !important;
}

/* in-line code for editor and preview and code block for editor*/
code,
.cm-inline-code
{
  background-color: var(--pre-code) !important;
  color: var(--text-muted) !important;
  bottom: 0px !important;
}

/* code and code blocks for preview */
.markdown-preview-view code
{
  font-size: 13.5px;
}


/**********/
/* tables */
/**********/


th
{
  font-weight: 800 !important;
}

thead
{
  border-bottom: 4px solid var(--background-modifier-border);
}

.table
{
  background-color: var(--background-secondary-alt);
  border: 1px solid var(--background-modifier-border);
  padding: 4px;
  line-height: normal;
  display: block;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* embedded images */
img
{
  display: block;
}

/* horizontal line in preview */
.markdown-preview-view hr
{
  background-color: var(--text-normal);
}


/***************************************/
/*             Presentation Mode              */
/***************************************/


.reveal h1 {
    color: var(--text-title-h1);
}

.reveal h2 {
    color: var(--text-title-h2);
}

.reveal h3 {
    color: var(--text-title-h3);
}

.reveal h4 {
    color: var(--text-title-h4);
}

.reveal h5 {
    color: var(--text-title-h5);
}

.reveal h6 {
    color: var(--text-title-h6);
}


/*************/
/* checkboxes */
/*************/


/* Death-au */
/* 3.9.3. Task lists! (I'm proud of this, but could use improvement) */
.markdown-preview-view .task-list-item-checkbox {
    -webkit-appearance: none;
    top: 1.8px !important;
    box-sizing: border-box;
    border: 1px solid  #888888;
    position: relative;
    width: 1em;
    height: 1em;
    margin: 0;
    margin-right: .7em;
}


.markdown-preview-view .task-list-item-checkbox:checked::before {
    content: '✓';
    position: absolute;
    color: #999999;
    font-size: 1em;
    line-height: 1em;
    width:1em;
    text-align:center;
    text-shadow: 0 0 0.1em #8d8d8d;
}


.markdown-preview-view .task-list-item-checkbox
{
  top: 0px;
}


.checkbox-container {
    background-color: #9196a1;
    border-radius: 14px;
    display: inline-block;
    height: 22px;
    position: relative;
    top: 4px;
    user-select: none;
    width: 42px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.15);
    transition: background 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border 0.15s ease-in-out, opacity 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

.checkbox-container.is-enabled {
    background-color: #5dbcd2;
}


.list-item-ending-flair {
    position: absolute;
    top: 7px;
    right: 10px;
    font-size: 12px;
    color: var(--text-accent);
    background-color: var(--background-secondary-alt);
    line-height: 12px;
    border-radius: 3px;
    padding: 2px 4px;
}

.list-item:hover .list-item-ending-flair {
    color: var(--text-accent);
    background-color: var(--background-secondary-alt);
}


button.mod-cta {
    background-color: #5dbcd2;
    color: #36393f;
}


.cm-hmd-frontmatter {
    font-size: 13px;
}




/*************/
/* LEFT side dock --------- RIBBON*/
/*************/


.side-dock-ribbon {
  background-color: #141414;
}

.side-dock-ribbon-tab-inner {
  background-color: #141414;
}

.side-dock-ribbon-action {
  background-color: #141414;
}


/* LEFT side dock ----- RIBBON FAILED ATTEMPTS*/
side-dock-ribbon-tab is-before-active {
  color: #141414;
  background-color: #141414;
}
side-dock-ribbon-before is-before-active {
  color: #141414;
  background-color: #141414;
}
side-dock-ribbon-tab-inner is-before-active {
  color: #141414;
  background-color: #141414;
}
side-dock-ribbon-tab-inner {
  color: #141414;
  background-color: #141414;
}

.side-dock-plugin-panel.mod-file-explorer,
.side-dock-plugin-panel.mod-starred,
.side-dock-ribbon-tab.is-after-active,
.side-dock-ribbon-before.is-before-active,
.side-dock-ribbon-after.is-before-active {
   background-color: #141414;
}




side-dock-ribbon-tab-inner is-after-active {
  background-color: #141414;
}

.side-dock-ribbon-tab.is-active {
  color: #cccccc !important;
}


.side-dock-title {
  background-color: #141414;
  }

.nav-buttons-container {
  background-color: #141414;
  }
  
.nav-header {
  background-color: #141414;
  }

/*************/
/* LEFT side dock --------- FILE EXPLORER*/
/*************/


.nav-folder-title {  
  color: #cccccc;
  background-color: #141414;
  font-weight: 500;
  margin-top: 0px;
  margin-bottom: -2px;
  }

.nav-file-title {  
  color: #999999;
  background-color: #141414;
  }
  
.nav-folder-children {
    background-color: #141414;
}


/*************/
/* RIGHT side dock SPECIAL STUFF*/
/*************/

/*Search result TEXT*/
.search-result-file-matches{  
  color: #999999;
  background-color: #141414;}
  
.search-result-file-match:hover {
    color: #d669bc;
    background-color: #141414;}

/*Search result TITLE*/
.search-result-file-title {  
  color: #5dbcd2;
  background-color: #141414;}
  
.search-result-file-title:hover {
	color: #d669bc;
    background-color: #333333; /* filename hover*/}
    
/*Search result MATCHED TEXT*/
.search-result-file-matched-text {  
  color: #cccccc;
  background-color: #141414;}

/*Search result BACKGROUND*/
.search-result-container {  
  color: #999999;
  background-color: #141414;}


/*************/
/* RIGHT side dock ******* RIBBON*/
/*************/


.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
    color: var(--text-normal) !important;
    background-color: #1a1a1a;
}


.side-dock-ribbon-tab.is-active .side-dock-ribbon-tab-inner:hover {
    color: #d669bc !important;
    background-color: #1a1a1a;
}

.nav-file-tag{ color: var(--text-normal); }  /* for the PNG text, but can't specifically target "PNG", just all of those filetype tags. */
.nav-file.is-active .nav-file-tag { color: var(--text-normal); }





/* side dock text, like file names and backlink context */
.side-dock-panels-container *
{
  font-size: 13px !important;
}

.side-dock-plugin-panel-inner  {
    
    background-color: #1a1a1a;
}

/* side dock titles at top */
.side-dock-title
{
  font-size: 20px !important;
  font-weight: 800 !important;
}



/* hover actions on side dock navigation */
.side-dock-ribbon-tab:hover,
.side-dock-ribbon-tab-inner:hover,
.side-dock-ribbon-action:hover,
.side-dock-ribbon-action.is-active:hover,
.nav-action-button:hover,
.side-dock-collapse-btn:hover
{
  color: var(--text-a);
}

/* condense line spacing on file explorer title list. also avoids character-level word breaks */
.nav-file-title-content,
.search-result-file-title,
.search-result-file-match
{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: normal !important;
  word-break: keep-all;
  font-size: 14px;
}

/* clean up side bar empty state (e.g. unlinked mentions) */
.search-empty-state
{
  width: auto;
  padding-left: 15px;
  padding-right: 15px;
  line-height: normal;
}






/* font for everything outside of editor/preview panes */
.app-container
{
  font-family: var(--font-family-preview);
}

.status-bar-item
{
  font-family: var(--font-family-preview);
  font-size: 12px;
}










/******************/
/* editor section */
/******************/








/* EDITOR Text (outside of headings and code) */

.cm-s-obsidian
{
  font-family: var(--font-family-editor);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 3% !important;
  padding-right: 0% !important;
}

.mod-single-child .cm-s-obsidian
{
  font-family: var(--font-family-editor);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 8% !important;
  padding-right: 4% !important;
}



/* EDITOR headings */


.cm-header-1
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-title-h1);
}

.cm-header-2
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 26px;
  font-weight: bold;
  color: var(--text-title-h2);
}

.cm-header-3
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 23px;
  font-weight: bold;
  color: var(--text-title-h3);
}

.cm-header-4
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 19px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h4);
}

.cm-header-5
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h5);
}

.cm-header-6
{
  font-family: var(--font-family-editor);
  font-weight: 500;
  font-size: 16px;
  font-weight: bold;
  line-height: 30px;
  color: var(--text-title-h6);
}

.cm-strong {
  color: rgb(179, 153, 255, 0.95);
  font-weight: 700;
}

.cm-em {
  color: #bac04f;
}

.cm-s-obsidian span.cm-hashtag {
    color: #d669bc;
    text-decoration: underline;
}



/* This is the dashes in bullets. Color does not work, 
but font weight does. */
.cm-formatting-list {
  color: #fcf601;
  font-weight: 700;
} 

.cm-formatting  /* This is the color of header hashtags. Don't change. */
.cm-formatting-list-ul
.cm-list-1 /* This is the color of text in lists. Don't change. */

/* This does not work */
.cm-hashtag {
  color: #fcf601;
}
.cm-meta cm-hashtag-end {
  color: #fcf601;
}

.cm-meta cm-hashtag-end {
  color: #fcf601;
}







/******************/
/* PREVIEW section */
/******************/







/* PREVIEW - normal text (outside of headings and code) */

p {
  margin-block-start: 0px;
}


.markdown-preview-view
{
  font-family: var(--font-family-preview);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 10% !important;
  padding-right: 10% !important;
    line-height: 22px;

}

.mod-single-child .markdown-preview-view
{
  font-family: var(--font-family-preview);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 10% !important;
  padding-right: 10% !important;
}


/* PREVIEW headings */


.markdown-preview-view h1
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 26px;
  font-weight: bold;
  line-height: 36px;
  margin-bottom: 15px;
  color: var(--text-title-h1);
}

.markdown-preview-view h2
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 24px;
  font-weight: bold;
  line-height: 34px;
  color: var(--text-title-h2);
}

.markdown-preview-view h3
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 22px;
  font-weight: bold;
  line-height: 32px;
  color: var(--text-title-h3);
}

.markdown-preview-view h4
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 19px;
  font-weight: bold;
  line-height: 28px;
  color: var(--text-title-h4);
}

.markdown-preview-view h5
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 18px;
  font-weight: bold;
  line-height: 27px;
  color: var(--text-title-h5);
}

.markdown-preview-view h6
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 16px;
  font-weight: bold;
  line-height: 24px;
  margin-bottom: 3px;
  color: var(--text-title-h6);
  
}






/* this code stuff isn't working for me */

code
{
  font-family: var(--font-family-preview);
  font-weight: 500;
  font-size: 16px;
  font-weight: none;
  color: var(--text-title-h3);
}

.code {
    background-color: var(--grey) !important;
    border: 1px solid var(--background-modifier-border) !important;
    border-color: #ba6ea0!important;
}








/* internal embedded link rendering in preview */
.markdown-embed-title
{
  font-weight: 600;
}


/* normal text outside of headings and code */
.markdown-preview-view
{
  font-family: var(--font-family-preview);
  font-size: 15px;
  color: var(--text-normal);
  padding-left: 8% !important;
  padding-right: 4% !important;
}



/* remove secondary scroll bar in editor that comes from adding variable padding */
.CodeMirror-scroll::-webkit-scrollbar {
    display: none;
}

/* to have sidebar hide and then reveal on hover
.app-container.is-left-sidedock-collapsed .side-dock.mod-left:not(:hover), .app-container.is-right-sidedock-collapsed .side-dock.mod-right:not(:hover) {
  width: 0px !important;
}
*/


/* internal embedded link rendering in preview */
.markdown-embed-title
{
  font-weight: 600;
}


/* clean up side bar empty state (e.g. unlinked mentions) */
.search-empty-state
{
  width: auto;
  padding-left: 10px;
  padding-right: 5px;
  line-height: normal;
}

/* remote secondary scroll bar in editor that comes from adding variable padding */
.CodeMirror-scroll::-webkit-scrollbar {
    display: none;
}

/* to have sidebar hide and then reveal on hover
.app-container.is-left-sidedock-collapsed .side-dock.mod-left:not(:hover), .app-container.is-right-sidedock-collapsed .side-dock.mod-right:not(:hover) {
  width: 0px !important;
}
*/










/******************/
/* Editor Code Appearance - */
/******************/

.CodeMirror-code span.cm-inline-code {     
	color: #d4d4d4 !important;
}



/* Editor CodeBlock TEXT Appearance - */
.cm-s-obsidian pre.HyperMD-codeblock {     
	color: #d4d4d4 !important;
}


.cm-s-obsidian pre.HyperMD-list-line {
    padding-top: 0.0em;
    min-height: 1.0em;
}



/******************/
/* Preview Code Appearance */
/******************/

br + .internal-embed {
    margin-top: -2rem;
}

.markdown-preview-view code {
color: #d4d4d4 !important;
background-color: var(--pre-code) !important;
bottom: -0.1px !important;
}


.markdown-embed {
    padding-left: 0px !important;
    padding-right: 5px !important;
    margin-left: 10px !important;
    margin-right: 4px !important;
}

.markdown-preview-view .markdown-embed, .markdown-preview-view .file-embed {
    border-top: .25px solid #b3a14b;
    border-bottom: .25px solid #b3a14b;
    padding: 0px 0;
    margin: 10px 0;
}

/******************/
/* Naked Embeds - But I'm keeping Border and Scroll! */
/******************/
.markdown-embed-title { display:none; }
.markdown-preview-view .markdown-embed-content>:first-child { margin-top: 0; }
.markdown-preview-view .markdown-embed-content>:last-child { margin-bottom: 0; }


.markdown-embed-link {
color: #5bb983 !important;
right: 2px !important;
}

.markdown-embed-link:hover {
color: #38dc7f !important;
}


/******************/
/* Custom addition by randulfr */
/******************/

.theme-dark .notice {
    background-color: #2f3136;
    color: rgba(252, 246, 1);
}



/***************************************/
/* Title Bar Button */
/***************************************/

.titlebar-button {
    -webkit-app-region: no-drag;
    padding: 0 10px;
    cursor: pointer;
    opacity: 0.9;
    display: inline-block;
    color: #52c1da;
}


.titlebar-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    flex-grow: 1;
    font-size: 12px;
    text-align: center;
    letter-spacing: 0.05em;
    opacity: 0.9;
    color: #52c1da;
}



/***************************************/
/* Transcluded notes embeds - By Ryan JA Murphy */
/***************************************/

.markdown-preview-view .markdown-embed {
  padding:0 calc(var(--nested-padding) / 2) 0 var(--nested-padding);
}
.markdown-embed-title {
  line-height:18px;
  height:24px;
  display: none;
}
.markdown-embed .markdown-preview-sizer {
    padding-left: 0em !important;
    padding-top: .25em !important;
    padding-bottom: 0em !important;
    min-height: 0em !important;
}
.markdown-embed .markdown-preview-sizer:first-child ul {
  margin-block-start:2px;
}
.markdown-embed .markdown-preview-section:last-child p,
.markdown-embed .markdown-preview-section:last-child ul {
  margin-block-end:15px;
}
.markdown-embed-link,
.file-embed-link {
  top:0px;
  right:0;
  text-align:right;
}
.file-embed-link svg,
.markdown-embed-link svg {
  width:16px;
  opacity:0;
}
.markdown-embed:hover .file-embed-link svg,
.markdown-embed:hover .markdown-embed-link svg {
  opacity:1;
}
.markdown-preview-view .markdown-embed-content > .markdown-preview-view {
  max-height: none !important;}
.markdown-embed .markdown-preview-view {
  padding:0;}
.internal-embed .markdown-embed {
  border:0;
  border:.5px solid var(--background-tertiary);
  border-left:2px solid #37aec8;
  border-radius:0;
  padding-left: 0;
  background-color: var(--background-primary-alt);
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  transition: all 0.3s cubic-bezier(.25,.8,.25,1);
}
.internal-embed .markdown-embed:hover {
    box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
    transform: translate3d(0px, -3px, 0px);
}
br + .internal-embed {
    margin-top: 1rem;
}
.markdown-embed-title ~ .markdown-embed-link,
.internal-embed[src*="#"] .markdown-embed-link {
  right:0 !important;
  width:3%;
}

.internal-embed:not([src*="#^"]) .markdown-embed-link {
    left: auto;
}
.internal-embed[src*="^"] .markdown-preview-sizer {
    padding-left: .25em !important;
    padding-top: 0 !important;
}
li > div.internal-embed {
    display: inline-flex;
    width: 99%
}

li .internal-embed .markdown-embed {
    width: 99%;
}

.markdown-embed-title {
  line-height:18px;
  height:24px;
  display: none;
}
.markdown-embed .markdown-preview-sizer {
    padding-left: 1em;
    padding-top: .5em;
}

.popover {
  box-shadow:0 20px 40px var(--background-modifier-box-shadow);
  pointer-events:auto !important;
  border:1px solid var(--background-modifier-border);
}
.popover .markdown-embed-link {
  display:none;
}
.popover .markdown-embed .markdown-preview-view {
  padding-bottom:1em;
}
.popover.hover-popover .markdown-embed .markdown-embed-content {
  max-height: none !important;
}

.popover.hover-popover .internal-embed[src*="^"] .markdown-embed {
    height: 100%;
    max-height: none;
}

.popover.hover-popover .internal-embed[src*="^"] {
    height: 3.25em;
}

.popover.hover-popover {
  max-height:40vh;
}











/***************************************/
/*    at a rule line before ul list    */
/***************************************/

ul ul { position: relative; }
ul ul::before {
  content:'';
  border-left: 0px solid #2c8ba0;
  position: absolute;
}
ul ul::before { left: -1em; top: 0; bottom: 0; }

/* rule line when there are checkboxes*/
ul .task-list-item ul::before {left: -1.03em !important}


li::marker {
  color: var(--text-title-h2);
}

.markdown-preview-view li .collapse-indicator {
  display: flex;
  margin-top: 6px;
}

.markdown-preview-view .collapse-indicator {
  display: flex;
  margin-top: .5em;
}

/***************************************/
/*    Tiny Tweaks now that Nick knows a smidgen more */
/***************************************/

/* To make all my hovering actions the same */
.side-dock-ribbon-tab:hover, 
.side-dock-ribbon-tab-inner:hover, 
.side-dock-ribbon-action:hover, 
.side-dock-ribbon-action.is-active:hover,
.nav-action-button:hover, 
.side-dock-collapse-btn:hover
.workspace-tab-header-inner:hover,
.workspace-tab-header-inner-icon:hover {
color: var(--text-normal);
}

/* The "other" Vertical Lines */
.workspace-ribbon.mod-left, .workspace-ribbon.mod-left.is-collapsed {
  border-right-color: rgb(158, 138, 255, .66);
}

.workspace-ribbon.mod-right, .workspace-ribbon.mod-right.is-collapsed {
  border-left-color: rgb(61, 216, 127, .66);
}

/* The "other" Vertical Lines - The "Resizers" */
.workspace-split.mod-vertical > * > 
.workspace-leaf-resize-handle, 
.workspace-split.mod-left-split > /*Can't figure out how to hide these bars*/
.workspace-leaf-resize-handle, 
.workspace-split.mod-right-split > /*Can't figure out how to hide these bars*/
.workspace-leaf-resize-handle {
  right: 0px;
  top: 0px;
  width: 2px;
  height: 100%;
  color: #d669bc;
  background-color:rgb(20, 20, 20,0.0);
  z-index: rgb(20, 20, 20,0.0);
  cursor: col-resize;
}


/* Bottom Status Bar */
.sync-status-icon.mod-success {
  color: rgb(61, 216, 127, .44);
}

/* ScrollBar */
::-webkit-scrollbar {
  width: 9px;
  height: 8px;
  border-radius: 0px;
}

::-webkit-scrollbar {
  background-color: var(--scrollbar-bg);
}
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-thumb, ::-webkit-scrollbar-thumb:active {
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb-bg);
}

::-webkit-scrollbar-thumb:active {
  background-color: rgb(93, 188, 210, .9);
}

/* Nick's Tiny Sliding Panes Tweaks */
.workspace-split.mod-root > .workspace-leaf:last-of-type .workspace-leaf-content {
  border-top-right-radius: 0px; /*instead of 6px*/
}

/* Publish Pop-up*/
.file-tree-item.mod-new .flair {
  background-color: var(--background-modifier-success);
  color: #5dd263;
}

.file-tree-item.mod-deleted .flair, .file-tree-item.mod-to-delete .flair {
  background-color: var(--background-modifier-error);
}

.file-tree-item .flair {
  line-height: 1.4;
  padding: 3px 8px;
  color: #e65959;
}

.file-tree-item.mod-changed .flair {
  background-color: var(--background-modifier-error);
  color: rgb(252, 246, 1, 0.75);
}




/* CALIFORNIA COAST MODIFIED MODALS */




.progress-bar-message {
  color: var(--text-faint);
}
.modal.mod-sync-history {
  background-color: var(--shade-0);
}
.modal {
  border-top: 1px solid #8272d0;
  border-bottom: 1px solid #8272d0;
  background: var(--background-primary);
  border-radius: 0px;
  max-width: 1000px;
  max-height: 90vh;
}
.modal.mod-settings .vertical-tab-content-container {
  border-left: var(--border-width) solid var(--background-modifier-border);
  padding-bottom: 0;
  padding-right: 0;
}
.modal.mod-settings {
  max-width: 1000px;
  width: 90vw;
  height: 90vh;
}

.modal.mod-settings .vertical-tab-header {
  height: 90vh;
}

.modal.mod-settings .vertical-tab-content-container {
  height: 90vh;
}

.modal.mod-community-theme,
.modal.mod-community-plugin {
  width: 90vw;
}

.modal,
.prompt,
.suggestion-container {
  box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.2);
}

.prompt-instructions {
  color: var(--text-title-h6);
}







 /* CALIFORNIA COAST MODIFIED SETTINGS  */


 .modal-close-button:before {
  font-weight: 200;
}

.horizontal-tab-content,
.vertical-tab-content {
  background: var(--background-primary);
}

.modal.mod-settings .vertical-tab-header {
  background: var(--background-secondary-alt);
  padding-top: 0px;
  padding-left: 10px;
}

.vertical-tab-header-group-title {
  font-size: 16px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  padding: 6px 18px;
  background: var(--background-secondary-alt);
}


.vertical-tab-nav-item {
  font-size: 15px;
  padding: 7px 6px;
  line-height: 1;
  cursor: var(--cursor);
  color: var(--text-normal);
  border-radius: var(--radius-s);
  background: var(--background-secondary-alt);
}


.vertical-tab-nav-item:hover {
  background: var(--background-secondary);
}

.vertical-tab-nav-item.is-active {
  color: var(--text-normal);
  background: var(--background-secondary);
}

.hotkey-list-container,
.hotkey-search-container {
  padding-left: 2px;
}
.setting-hotkey {
  background-color: var(--background-modifier-border);
  padding: 4px 0 4px 0;
  line-height: 8px;
  min-height: 0;
}
.setting-add-hotkey-button, .setting-restore-hotkey-button {
  color: var(--text-muted);
}
.setting-hotkey.mod-empty {
  background: transparent;
}

/*    Settings Popup   */
/*                    */


button.mod-cta {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--background-modifier-border);
}

button.mod-cta:hover {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
  border: 1px solid var(--interactive-accent);
}

.tree-item-self:hover .tree-item-flair {
  background-color: var(--interactive-accent);
  color: var(--background-secondary-alt)
}

.flair.mod-pop {
  background-color: var(--background-primary);
  color: var(--text-on-accent);
}

/* Tag List in Right Sidebar*/
.tree-item-self {
  display: flex;
  align-items: flex-start;
  padding-top: 0px;
  padding-right: 6px;
  padding-bottom: 0px;
  padding-left: 20px;
  border-radius: 3px;
  color: var(--text-muted);
}

/* Making sure "Conflict" text looks good*/
.theme-dark .setting-hotkey.has-conflict  {
  background-color: var(--background-modifier-error);
  color: #ff7575;
}
.setting-hotkey-icon.setting-delete-hotkey:hover {
  color: #5dbcd2;
}

button.mod-warning {
  background-color: var(--background-modifier-error);
  color: #b9adff;
}
button.mod-warning:hover {
  background-color: var(--background-modifier-error);
  color: #ff7575;
}





/* Death-au Realistic Highlighting*/
body{
  --fluro-yellow-rgb: 255, 255, 0;
  --fluro-pink-rgb: 255, 0, 255;
  --fluro-blue-rgb: 0, 255, 255;
  --fluro-green-rgb: 0, 255, 0;
  --text-highlight-rgb: var(--fluro-yellow-rgb);
}

mark.yellow{ --text-highlight-rgb: var(--fluro-yellow-rgb); }
mark.pink{ --text-highlight-rgb: var(--fluro-pink-rgb); }
mark.blue{ --text-highlight-rgb: var(--fluro-blue-rgb); }
mark.green{ --text-highlight-rgb: var(--fluro-green-rgb); }

.markdown-preview-view mark {
  margin: 0 -0.4em;
  padding: 0.1em 0.4em;
  border-radius: 0.8em 0.3em;
  background: transparent;
  background-image: linear-gradient(105deg,
    transparent 0,
    transparent 0.3em,
    rgba(var(--text-highlight-rgb), 0.7) 0.5em,
    rgba(var(--text-highlight-rgb), 0.4) 1.6em,
    rgba(var(--text-highlight-rgb), 0.4) calc(100% - 1.4em),
    rgba(var(--text-highlight-rgb), 0.7) calc(100% - 0.5em),
    transparent calc(100% - 0.3em),
    transparent 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: 0 0 0.75em var(--background-primary-alt);
}

.cm-s-obsidian span.cm-highlight {
  padding:0.1em 0;
  background: rgba(var(--text-highlight-rgb), 0.4);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: 0 0 0.75em var(--background-primary-alt);
}

.cm-s-obsidian span.cm-formatting-highlight{
  margin: 0 0 0 -0.4em;
  padding: 0.1em 0 0.1em 0.4em;
  border-radius: 0.8em 0 0 0.4em;
  background: none;
  background-image: linear-gradient(105deg,
    transparent 0,
    transparent 0.3em,
    rgba(var(--text-highlight-rgb), 0.7) 0.5em,
    rgba(var(--text-highlight-rgb), 0.4) 1.6em);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.cm-s-obsidian .cm-highlight+span.cm-formatting-highlight {
  margin: 0 -0.4em 0 0;
  padding: 0.1em 0.4em 0.1em 0;
  border-radius: 0 0.4em 0.8em 0;
  background: none;
  background-image: linear-gradient(105deg,
    rgba(var(--text-highlight-rgb), 0.4) calc(100% - 1.4em),
    rgba(var(--text-highlight-rgb), 0.7) calc(100% - 0.5em),
    transparent calc(100% - 0.3em),
    transparent 100%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* This is to hide queries in Preview Mode. Thanks Kassapa!*/
.markdown-preview-view .internal-query.is-embed .internal-query-header{ display:none; }


/*TAG PANE selected button thing

.nav-action-button.is-active {
  background-color: var(--background-primary);
  color: var(--text-normal);
  padding-left: 1px;
  padding-right: 1px;
  padding-top: 0px;
  padding-bottom: 0px;
}

.nav-action-button.is-active:hover {
  background-color: var(--background-primary);
  color: var(--text-normal);
}

/*fixing YAML tag color*/
.frontmatter-container .tag, .frontmatter-container .frontmatter-alias {
  text-decoration: none;
  background-color: var(--background-secondary-alt);
  border-radius: 30px;
  color: var(--text-a);
  font-size: 0.9em;
  padding: 2px 8px;
  margin: 2px 4px;
  line-height: 19px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/*less rounded tag pills*/
.frontmatter-container .tag, .frontmatter-container .frontmatter-alias {
  text-decoration: none;
  background-color: var(--background-secondary-alt);
  border-radius: 8px;
  color: var(--text-a);
  font-size: 0.9em;
  padding: 2px 8px;
  margin: 2px 4px;
  line-height: 19px;
  border: 1px solid transparent;
  white-space: nowrap;
}

/*  EMOJI INLINE FIX   */
img.emoji {
  display: inline-block;
}


/* Active buttons */
/*
.workspace-leaf-content[data-type='search'] 
.nav-action-button.is-active {
  background-color: var(--background-primary);
  color: var(--text-normal);
}

.workspace-leaf-content[data-type='backlink'] 
.nav-action-button.is-active {
    background-color: var(--background-primary);
    color: var(--text-normal);
}
*/

.nav-action-button.is-active {
  background-color: transparent;
  color: var(--text-on-accent);
}


/* Making the search dropdown box have smaller fonts */
.suggestion-container.mod-search-suggestion {
  font-family: var(--font-family-preview);
  font-size: 16px; /* doesn't work */
  line-height: 18px; /* this works, which is good enough */
}

























/* --------------------------------------------------------------------------------
Mobile styling - All of this is copied from @Kepano's Minimal Theme v 4.0.1
-------------------------------------------------------------------------------- */

.is-mobile {
  --font-settings-title:18px;
  --font-settings:16px;
  --font-settings-small:13px;
  --input-height:40px;
  --radius-m:8px;
}
.hider-tooltips .follow-link-popover {
  display:none;
}
.is-mobile .follow-link-popover {
  font-family:var(--font-ui);
}

/* Padding reset */
body.is-mobile {
  padding:0 !important;
}

.is-mobile .ͼ1 .cm-line,
.is-mobile .workspace-drawer-tab-container > *,
body.minimal-folding.is-mobile .view-header-title, 
.minimal-folding.is-mobile .allow-fold-headings.markdown-preview-view .markdown-preview-sizer,
.minimal-folding.is-mobile .allow-fold-lists.markdown-preview-view .markdown-preview-sizer {
  padding:0;
}
.is-mobile .titlebar {
  height:0 !important;
  padding:0 !important;
  position:relative !important;
  border-bottom:none;
}
.is-mobile .safe-area-top-cover {
  background-color:var(--background-primary);
}
.is-mobile .horizontal-main-container {
  background-color:var(--background-primary);
}
.is-mobile .workspace {
  border-radius:0 !important;
  transform:none !important;
}
.is-mobile .workspace-drawer:not(.is-pinned) {
  width:100vw;
  max-width:360pt;
  border:none;
  box-shadow:0 5px 50px 5px rgba(0,0,0,0.05);
}
.is-mobile .workspace-drawer.mod-left.is-pinned {
  max-width:280pt;
}
.is-mobile .workspace-drawer.mod-right.is-pinned {
  max-width:240pt;
}
.is-mobile .workspace-drawer.mod-right.is-pinned {
  border-right:none;
}
.is-mobile .workspace-leaf-content[data-type=starred] .item-list {
  padding-left:5px;
}
.is-mobile .workspace-drawer-tab-option-item-title,
.is-mobile .workspace-drawer-active-tab-title {
  font-size:var(--font-adaptive-small);
}
.is-mobile .workspace-drawer-tab-option-item:hover .workspace-drawer-tab-option-item-title,
.is-mobile .workspace-drawer-active-tab-header:hover .workspace-drawer-active-tab-title {
  color:var(--text-normal);
}
.is-mobile .workspace-drawer-active-tab-header:hover .workspace-drawer-active-tab-back-icon {
  color:var(--text-normal);
}

.is-mobile .markdown-preview-view ul,
.is-mobile .markdown-preview-view ol {
  padding-inline-start:2em;
}

.is-mobile .nav-file-title,
.is-mobile .nav-folder-title,
.is-mobile .outline,
.is-mobile .tree-item-self,
.is-mobile .tag-container,
.is-mobile .tag-pane-tag {
  font-size:var(--font-adaptive-small);
  line-height:1.5;
  margin-bottom:4px;
}
.is-mobile .backlink-pane > .tree-item-self,
.is-mobile .outgoing-link-pane > .tree-item-self {
  font-size:var(--font-adaptive-smallest);
}
.is-mobile .tree-item-flair {
  font-size:var(--font-adaptive-small);
}

.is-mobile .nav-files-container {
  padding:5px 5px 5px 5px;
}
.is-mobile .search-result-container {
  padding-bottom:20px;
}
.is-mobile .search-result-file-match-replace-button {
  background-color:var(--background-tertiary);
  color:var(--text-normal);
}
.is-mobile .search-result-file-matches,
.is-mobile .search-result-file-title {
  font-size:var(--font-adaptive-small);
}

/* Folding on mobile */

.ͼ1 .cm-foldGutter .cm-gutterElement {
  cursor:var(--cursor);
}

.ͼ1 .cm-foldPlaceholder {
  background:transparent;
  border-color:transparent;
}

.is-mobile .empty-state-action {
  border-radius:var(--radius-m);
  font-size:var(--font-adaptive-small);
}
.is-mobile .workspace-drawer-header {
  padding:20px 10px 0 25px;
}
.is-mobile .workspace-drawer-header-name {
  font-weight:var(--bold-weight);
  color:var(--text-normal);
  font-size:1.125em;;
}
.is-mobile .workspace-drawer-header-info {
  color:var(--text-faint);
  font-size:var(--font-adaptive-small);
  margin-bottom:0;
}
.is-mobile .mod-left .workspace-drawer-header-info,
.is-mobile.hider-status .workspace-drawer-header-info {
  display:none;
}
.is-mobile .workspace-drawer-active-tab-header {
  margin:2px 12px 2px;
  padding:8px 0 8px 8px;
}
.is-mobile .workspace-leaf-content .item-list,
.is-mobile .tag-container,
.is-mobile .backlink-pane {
  padding-top:10px;
}
.is-mobile .outgoing-link-pane,
.is-mobile .backlink-pane {
  padding-left:10px;
}
.workspace-drawer.mod-left .workspace-drawer-inner {
  padding-left:0;
}
.is-mobile .side-dock-ribbon {
  background:var(--background-secondary);
  border-right:1px solid var(--background-modifier-border);
  z-index:3;
  flex-direction:column;
  width:70px;
  padding:15px 0;
  margin-right:0px;
}
body:not(.is-ios).is-mobile .workspace-drawer-ribbon {
  padding:20px 5px;
}
.is-ios .is-pinned .side-dock-ribbon {
  padding:30px 0 20px 0;
}
body.is-mobile.hider-frameless:not(.hider-ribbon) .side-dock-actions {
  padding-top:5px;
}
.is-mobile .side-dock-actions, .is-mobile .side-dock-settings {
  flex-direction:column;
  border-radius:15px;
}
.is-mobile .mod-left .workspace-drawer-header,
.is-mobile .mod-left .workspace-drawer-tab-container {
  margin-left:70px;
}
.is-mobile .side-dock-ribbon .side-dock-ribbon-action {
  padding:9px 5px 2px 5px;
  margin:0 12px 4px;
  height:40px;
}
.is-mobile .side-dock-ribbon .side-dock-ribbon-action svg {
  width:22px;
  height:22px;
}
.is-mobile .workspace-drawer-active-tab-container {
  z-index:2;
  background-color:var(--background-primary);
}
.is-mobile .side-dock-actions,
.is-mobile .side-dock-settings {
  display:flex;
  align-content:center;
  justify-content:center;
  padding:0;
}
.is-mobile .workspace-drawer.mod-left:not(.is-pinned) {
  border-right:none;
}
.is-mobile .modal.mod-publish,
.is-mobile .modal.mod-community-plugin,
.is-mobile .modal.mod-settings {
  width:100vw;
  max-height:90vh;
  padding:0;
}
.is-mobile .modal-content {
  padding:0;
  border-radius:15px;
}
.is-mobile .nav-buttons-container {
  padding:0 0 10px 15px;
}
.is-mobile input[type='text'] {
  font-size:14px;
  height:var(--input-height)
}
.is-mobile .search-input-container input[type='text'] {
  -webkit-appearance:none;
  border-radius:50px;
  height:40px;
  padding:10px 20px;
  font-size:14px;
}
.is-mobile .search-input-clear-button {
  right:15px;
}
.is-mobile .modal, .is-mobile .prompt, .is-mobile .suggestion-container {
  width:100%;
  max-width:100%;
  border:none;
  padding:10px;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
}
.is-mobile .setting-item:not(.mod-toggle):not(.setting-item-heading) {
  flex-grow:0;
}
.is-mobile .community-plugin-item {
  margin:0;
}
.is-mobile .community-plugin-search .setting-item {
  margin-right:42px;
}
.is-mobile .community-plugin-search .setting-item-control {
  display:flex;
  flex-direction:row;
}
.is-mobile .community-plugin-search .setting-item-control button {
  width:40px;
  font-size:0;
  margin-left:10px;
  justify-content:center;
  color:white;
  border:none;
  box-shadow:none;
  background-color:transparent;
  background:no-repeat center center url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 100 100"><path fill="gray" d="M49.792 33.125l-5.892 5.892L33.333 28.45V83.333H25V28.45L14.438 39.017L8.542 33.125L29.167 12.5l20.625 20.625zm41.667 33.75L70.833 87.5l-20.625 -20.625l5.892 -5.892l10.571 10.567L66.667 16.667h8.333v54.883l10.567 -10.567l5.892 5.892z"></path></svg>');
  background-size:22px 22px;
}
.is-mobile .community-plugin-search .search-input-container {
  margin:0;
}
.is-mobile .suggestion-container {
  left:0;
  right:0;
  margin:0 auto;
  border:none;
}
.is-mobile .suggestion-item {
  font-size:var(--font-adaptive-normal);
  padding-left:10px;
  letter-spacing:0.001px;
}
.is-mobile .prompt-results .suggestion-flair {
  display:none;
}
.is-mobile input[type='text'].prompt-input,
.is-mobile input[type='text'].prompt-input:hover {
  line-height:2;
  padding:8px;
  font-size:var(--font-adaptive-normal);
}
.is-mobile .search-input-container input::placeholder {
  font-size:14px;
}
.is-mobile .modal-setting-back-button {
  border-bottom:1px solid var(--background-modifier-border);
  display:flex;
  margin-top:8px;
  height:54px;
  justify-content:center;
  align-items:center;
  background-color:var(--color-background);
  box-shadow:none;
}
.is-mobile .modal-setting-back-button-icon {
  position:absolute;
  left:10px;
}
.is-mobile .modal-setting-back-button span:nth-child(2) {
  flex-grow:1;
  text-align:center;
  font-weight:600;
  color:var(--text-normal);
}
.is-mobile .hotkey-list-container .setting-command-hotkeys {
  flex:unset;
}
.is-mobile .markdown-preview-view input[type=checkbox].task-list-item-checkbox {
  top:6px;
}
.is-mobile .workspace-drawer {
  border-width:var(--border-width);
}
.is-mobile .workspace-drawer-inner,
.is-mobile .workspace-drawer-active-tab-container {
  background-color:var(--background-secondary); 
}
.workspace-drawer-active-tab-icon {
  display:none;
}
.is-mobile .menu {
  border:none;
  width:100%;
  max-width:100%;
  left:0 !important;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
}
.is-ios .is-pinned .workspace-drawer-ribbon {
  padding:30px 0 20px 0;
}
.is-ios .workspace-drawer.is-pinned .workspace-drawer-header {
  padding-top:26px;
}
.is-mobile .workspace-split.mod-root {
  background-color:var(--background-primary);
}
.is-ios .mod-root .workspace-leaf {
  padding-top:20px;
}
.is-ios .mod-root .workspace-split.mod-horizontal .workspace-leaf:not(:first-of-type) {
  padding-top:0;
}
.is-mobile.focus-mode .view-actions {
  opacity:1;
}
.is-mobile .workspace-drawer-tab-options {
  padding-top:10px;
}
.is-mobile .workspace-drawer-tab-option-item {
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  user-select:none;
  margin:0 10px;
  padding:8px 10px;
  border-radius:var(--radius-m);
}
.is-mobile .workspace-drawer-header-icon {
  align-self:start;
}

body.is-mobile:not(.minimal-icons-off) .workspace-drawer-header-icon svg,
body.is-mobile:not(.minimal-icons-off) .nav-action-button svg,
body.is-mobile:not(.minimal-icons-off) .view-action svg {
  width:22px;
  height:22px;
}
body.is-mobile:not(.minimal-icons-off) .menu-item-icon svg {
   width:18px;
   height:18px;
}
.is-mobile .search-input-clear-button {
  height:18px;
  width:18px;
}
.is-mobile .search-input-clear-button:before {
  font-size:var(--font-settings);
  font-weight:500;
}
.is-mobile .menu-item {
  padding:5px 10px;
}
.is-mobile .menu-item-icon {
  margin-right:10px;
}
.is-mobile .view-header-title {
  font-size:125%;
}
.is-mobile .view-action {
  padding:5px 5px 4px;
}
.is-mobile .workspace-leaf-content:not([data-type='search']) .nav-buttons-container {
  border-bottom:var(--border-width) solid var(--background-modifier-border);
}
.is-mobile .workspace-leaf-content[data-type='search'] .nav-action-button,
.is-mobile .nav-action-button,
.is-mobile .workspace-drawer-header-icon {
  padding:4px 7px 0 !important;
  margin:5px 2px 2px 0;
  text-align:center;
  height:32px;
  cursor:var(--cursor);
}
.is-mobile .sync-status-icon {
  margin-top:2px;
}
.is-mobile .nav-file-title.is-active {
  box-shadow:0 0 0px 3px var(--background-tertiary);
}
.pull-down-action {
  top:0;
  left:0;
  right:0;
  width:100%;
  margin:0 auto;
  padding:50px 0 20px;
  text-align:center;
  border-radius:0;
  border:none;
  box-shadow:0 5px 200px var(--background-modifier-box-shadow);
}
.is-mobile .menu-item.is-label {
  color:var(--text-normal);
  font-weight:var(--bold-weight);
}
.is-mobile .menu-item.is-label .menu-item-icon {
  display:none;
}
.mobile-toolbar {
  width:100%;
  text-align:center;
  display:flex;
  overflow:scroll;
  background-color:var(--background-primary);
  border-top:1px solid var(--background-modifier-border);
}
.is-mobile .modal.mod-settings .vertical-tab-content-container {
  border:0;
}
.is-mobile .modal,
.is-mobile .modal-bg {
  transition:none !important;
  transform:none !important;
}
.is-mobile .document-search-container {
  height:56px;
  padding:10px 15px;
}
.is-mobile .document-search-container input[type='text'] {
  width:auto;
  margin:0 5px 0 0;
  height:32px;
  padding:5px 7px;
  border-radius:var(--radius-m);
  border:1px solid var(--background-modifier-border);
  background-color:var(--background-primary);
}
.is-mobile .document-search-container button {
  width:auto;
  margin:0px;
  background:transparent;
  font-size:14px;
  height:32px;
}
.is-mobile .modal .vertical-tab-header-group:last-child,
.is-mobile .modal .vertical-tab-content,
.is-mobile .minimal-donation {
  padding-bottom:70px !important;
}
.pull-out-action {
  top:0;
  height:100vh;
  padding:30px 10px;
  background:transparent;
  display:flex;
  justify-content:center;
  align-content:center;
  flex-direction:column;
}
.is-mobile .markdown-preview-view pre {
  overflow-x:scroll;
}
/* Sync */
.is-mobile .sync-history-list {
  padding:10px;
  background-color:var(--background-primary);
}
.is-mobile .sync-history-list-item {
  font-size:var(--font-adaptive-small);
  padding:8px 10px;
}
.is-mobile .sync-history-content-container .modal-button-container {
  padding:5px 10px 30px 10px;
}
.is-mobile .sync-history-content {
  outline:none;
  -webkit-appearance:none;
  border:0;
  background-color:var(--background-secondary);
}
.is-mobile .view-header-icon .three-horizontal-bars {
  opacity:0;
}
.is-mobile.plugin-sliding-panes .view-header-title {
  mask-image:unset;
  -webkit-mask-image:unset;
}
.is-mobile.plugin-sliding-panes-rotate-header .view-header-title {
  line-height:1.2;
}
.is-mobile .workspace-drawer-header-name-text {
  white-space:nowrap;
  margin-right:10px;
}
.is-mobile .mod-community-theme .modal-title {
  padding:10px 20px;
}
.is-mobile .modal.mod-community-theme,
.is-mobile .modal.mod-community-theme .modal-content {
  height:unset;
}
.is-mobile .mod-publish .modal-content {
  display:unset;
  padding:10px 10px 10px;
  margin-bottom:120px;
  overflow-x:hidden;
}
.is-mobile .mod-publish .button-container,
.is-mobile .modal.mod-publish .modal-button-container {
  padding:10px 15px 30px;
  margin-left:0px;
  left:0;
}
.is-mobile .modal.mod-publish .modal-title {
  padding:10px 20px;
  margin:0 -10px;
  border-bottom:1px solid var(--background-modifier-border);
}
.is-mobile .publish-site-settings-container {
  margin-right:0;
  padding:0;
}
.is-mobile .modal.mod-publish .modal-content .publish-sections-container {
  margin-right:0;
  padding-right:0;
}
.is-mobile .modal.mod-settings .vertical-tabs-container {
  display:flex;
  overflow:hidden;
  border-top-left-radius:15px;
  border-top-right-radius:15px;
}
.is-mobile .modal.mod-settings .vertical-tab-header:before {
  content:"Settings";
  font-weight:600;
  font-size:var(--font-settings);
  position:sticky;
  display:flex;
  height:54px;
  margin-top:6px;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-bottom:1px solid var(--background-modifier-border);
  background:var(--background-primary);
  left:0;
  top:0;
  right:0;
  z-index:1;
}
.is-mobile .modal .vertical-tab-header-group-title {
  padding:15px 20px 10px 20px;
  text-transform:uppercase;
  letter-spacing:0.05em;
}
.is-mobile .modal .vertical-tab-nav-item {
  padding:12px 0px;
  margin:0;
  border-radius:0;
  color:var(--text-primary);
  border-bottom:1px solid var(--background-modifier-border);
}
.is-mobile .modal .vertical-tab-nav-item:after {
  content:" ";
  float:right;
  width:20px;
  height:20px;
  display:block;
  opacity:0.2;
  background: center right no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='black'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7' /></svg>");
}
.theme-dark.is-mobile .modal .vertical-tab-nav-item:after {
  background: center right no-repeat url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='white'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7' /></svg>");
}
.is-mobile .vertical-tab-header-group-items {
  width:calc(100% - 40px);
  margin:0 auto;
}
.is-mobile .modal .vertical-tab-nav-item:first-child {
  border-top:1px solid var(--background-modifier-border);
}
.is-mobile .modal.mod-settings .vertical-tab-nav-item {
  font-size:var(--font-settings);
}
.is-mobile .modal svg.left-arrow-with-tail {
  -webkit-mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' class='h-6 w-6' fill='none' viewBox='0 0 24 24' stroke='currentColor'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 19l-7-7 7-7' /></svg>");
  height:26px;
  width:26px;
}
.is-mobile .modal-close-button {
  display:block;
  z-index:2;
  top:10px;
  right:12px;
  padding:4px;
  font-size:34px;
  width:34px;
  height:34px;
  background-color:var(--background-primary);
}
.is-mobile .modal-close-button:before {
  font-weight:300;
  color: var(--text-muted);
}
.is-mobile .modal-close-button:hover {
  background-color:var(--background-tertiary);
}

/* Mobile Community plugins */

.is-mobile .community-plugin-search {
  border:none;
}
.is-mobile .community-plugin-item:hover {
  background-color:transparent;
}

/* --------------- */
/* Phone styling */

@media (max-width:400pt) {

  .view-header-icon {
    display:none;
  }
  .is-mobile .suggestion-hotkey {
    display:none;
  }
  .is-mobile .modal,
  .is-mobile .menu,
  .is-mobile .prompt {
    border-radius:0;
    border:none;
  }
  .is-mobile .modal.mod-publish,
  .is-mobile .modal.mod-community-plugin,
  .is-mobile .modal.mod-settings {
    max-height:calc(100vh - 32px);
    box-shadow:0 -32px 0 0 var(--background-primary);
  }

  /* Disable hover backgrounds on phone */
  .is-mobile .view-action:hover,
  .is-mobile .nav-action-button:hover,
  .side-dock-ribbon .side-dock-ribbon-action:hover,
  .is-mobile .workspace-leaf-content[data-type='search'] .nav-action-button.is-active:hover,
  .is-mobile .workspace-leaf-content[data-type='backlink'] .nav-action-button.is-active:hover,
  .is-mobile .workspace-drawer-tab-option-item:hover,
  .is-mobile .workspace-drawer-header-icon:hover {
    background:transparent;
  }
  .is-mobile .modal-close-button:hover {
    background:var(--background-primary);
  }

  .is-mobile .suggestion-flair {
    right:0;
    left:auto;
    position:absolute;
    padding:5px 5px 0 0;
  }
  .is-mobile .prompt {
    border-radius:0;
    padding-top:5px;
    padding-bottom:0;
    max-height:calc(100vh - 120px);
    top:120px;
  }
  .is-mobile .suggestion-container {
    max-height:200px;
    border-top:1px solid var(--background-modifier-border);
    border-radius:0;
    padding-top:0;
    box-shadow:none;
  }
  .is-mobile .suggestion-container .suggestion {
    padding-top:10px;
  }
  .workspace-drawer-header-icon .pin {
    display:none;
  }
  .is-ios .workspace-drawer .workspace-drawer-header {
    padding-top:45px;}
  .is-ios .mod-root .workspace-leaf {
    padding-top:40px;
  }
  .is-mobile .mod-right .workspace-drawer-header div:nth-child(2) {
    display:none;
  }
  .is-mobile .workspace .workspace-drawer-backdrop {
    margin-top:-40px;
    height:calc(100vh + 50px);
    z-index:9;
  }
  .is-ios .workspace-drawer-ribbon {
    padding:50px 0 30px 0;
  }
  .is-mobile .view-header-title {
    max-width:calc(100vw - 90px);
    padding-right:20px;
    font-size:var(--font-settings-title);
    letter-spacing:-0.015em;
  }
  .is-mobile .workspace-drawer-header-name-text {
    font-size:var(--font-settings-title);
    letter-spacing:-0.015em;
  }
  .is-mobile .menu-item.is-label {
    font-size:var(--font-settings-title);
  }
  .is-mobile .view-header {
    border-bottom:var(--border-width) solid var(--background-modifier-border) !important;
  }
  .is-mobile .installed-plugins-container {
    max-width:100%;
    overflow:hidden;
  }
  .is-mobile .setting-item-info {
    flex:1 1 auto;
  }
  .is-mobile .kanban-plugin__board-settings-modal .setting-item-control,
  .is-mobile .setting-item-control {
    flex:1 0 auto;
    margin-right:0;
    min-width:auto;
  }
  .is-mobile .checkbox-container {
    flex:1 0 40px;
    max-width:40px;
  }
  .is-mobile .setting-item-description {
    word-break:break-word;
    white-space:pre-line;
  }
  .is-mobile .view-action {
    padding:0 4px 0 4px;
    height:22px;
  }
  .is-mobile .menu {
    padding-bottom:30px;
  }
  .is-mobile .frontmatter-container .tag,
  .is-mobile .cm-s-obsidian span.cm-hashtag,
  .is-mobile .tag {
    font-size:var(--font-adaptive-smaller);
  }

  /* experiment with scrolling tables 
  .is-mobile .markdown-preview-sizer > div {
    overflow-x:auto;
  }
  .is-mobile .markdown-preview-view.is-readable-line-width .markdown-preview-sizer,
  .is-mobile .markdown-preview-sizer {
    max-width:100%;
  }
  .is-mobile .markdown-preview-sizer > div > * {
    max-width:var(--max-width);
    margin-left:auto;
    margin-right:auto;
    margin-block-end:0.25em;
    margin-block-start:0.75em;
  }
  .is-mobile .markdown-preview-sizer > div > table {
    margin-top:20px;
    margin-left:6%;
    margin-right:6%;
  }
*/
  .is-mobile .setting-item-control select,
  .is-mobile .setting-item-control input,
  .is-mobile .setting-item-control button {
    margin-bottom:5px;
  }
  .is-mobile .setting-item-control input[type="range"] {
    margin-bottom:10px;
  }
  .is-mobile .modal .search-input-container {
    width:100%;
    margin:0;
  }

  .is-mobile .modal-close-button {
    top:18px;
  }

  /* Phone — Publish */

  .is-mobile .publish-section-header,
  .is-mobile .publish-changes-info {
    flex-wrap:wrap;
    border:none;
  }
  .is-mobile .publish-changes-info .publish-changes-add-linked-btn {
    flex-basis:100%;
    margin-top:10px;
  }
  .is-mobile .publish-section-header-text {
    flex-basis:100%;
    margin-bottom:10px;
    margin-left:20px;
    margin-top:-8px;
  }
  .is-mobile .publish-section {
    background:var(--background-secondary);
    border-radius:10px;
    padding:12px 12px 1px;
  }
  .is-mobile .publish-changes-switch-site {
    flex-grow:0;
    margin-right:10px;
  }
}

/* --------------- */
/* Tablet styling */

@media (min-width:400pt) {

  .mobile-toolbar-option {
    border-radius:8px;
    margin:6px 0;
  }
  .mobile-toolbar-option:hover {
    background-color:var(--background-tertiary);
  }
  .is-mobile.is-ios .safe-area-top-cover {
    background-color:transparent;
  }
  .is-mobile .modal,
  .is-mobile .modal-container .modal.mod-settings  {
    max-width:800px;
    transform:translateZ(0);
    border-top-left-radius:15px !important;
    border-top-right-radius:15px !important;
    margin-bottom:-15px;
    overflow:hidden;
  }
  .is-mobile .modal-container .modal.mod-settings .vertical-tabs-container {
    transform:translateZ(0);
  }
  .is-mobile .view-action {
    padding:5px 5px 4px;
  }
  .is-mobile .prompt {
    max-width:600px;
    max-height:600px;
    bottom:auto !important;
    border-radius:15px;
    top:100px !important;
  }
 .is-mobile .suggestion-container {
    max-width:600px;
    max-height:600px;
    border-radius:15px;
    bottom:80px;
    border:1px solid var(--background-modifier-border);
  }
  .is-mobile .modal-container .suggestion-item {
    padding:10px 5px 10px 10px;
    border-radius:var(--radius-m);
  }
  .is-mobile .suggestion-flair {
    right:0;
    left:auto;
    position:absolute;
    padding:10px;
  }
  .is-mobile .menu {
    top:60px !important;
    right:0 !important;
    bottom:auto;
    left:auto;
    margin:0 auto;
    width:360px;
    padding:10px 10px 20px;
    border-radius:15px;
    box-shadow:0 0 100vh 100vh rgba(0,0,0,0.5);
  }
  /* Animations */
  .is-mobile .menu,
  .is-mobile .suggestion-container,
  .is-mobile .modal,
  .is-mobile .prompt {
    transition:unset !important;
    transform:unset !important;
    animation:unset !important;
  }
  .is-mobile .modal-container .modal-bg{
    opacity:0.8 !important;
  }
  .is-mobile .modal-container .prompt {
    opacity:1 !important;
  }
  .is-mobile .community-plugin-search .setting-item {
  padding-top:10px;}
  .is-mobile .menu .menu-item:hover {
    background-color:var(--background-tertiary);
  }
  .is-mobile .setting-item:not(.mod-toggle):not(.setting-item-heading) {
    flex-direction:row;
    align-items:center;
  }
  .is-mobile .setting-item-control select,
  .is-mobile .setting-item-control input,
  .is-mobile .setting-item-control button {
    width:auto;
  }
  .is-mobile .workspace-drawer:not(.is-pinned) {
    margin:30px 16px 0;
    height:calc(100vh - 48px);
    border-radius:15px;
  }
  .is-mobile .setting-item:not(.mod-toggle):not(.setting-item-heading) .setting-item-control {
    width:auto;
    margin-top:0;
  }
  .is-mobile .modal .search-input-container input {
    width:100%;
  }
  .is-mobile .modal-setting-back-button,
  .is-mobile .modal.mod-settings .vertical-tab-header:before {
    margin-top:0;
  }
  .is-mobile .markdown-preview-view ol > li.task-list-item .collapse-indicator,
  .is-mobile .markdown-preview-view ul > li.task-list-item .collapse-indicator {
    margin-left:-2.5em;
    margin-top:0.1em;
  }
  .pull-down-action {
    width:400px;
    top:15px;
    padding:15px;
    border-radius:15px;
  }
}
