/*Header Glows*/
.theme-dark .cm-header-1,
.theme-dark .cm-header-2,
.theme-dark .cm-header-3,
.theme-dark .cm-header-4,
.theme-dark .cm-header-5,
.theme-dark .cm-header-6, 
.theme-dark .markdown-preview-view h1, 
.theme-dark .markdown-preview-view h2, 
.theme-dark .markdown-preview-view h3, 
.theme-dark .markdown-preview-view h4, 
.theme-dark .markdown-preview-view h5,
.theme-dark .markdown-preview-view h6 
{
    border-left: 46px;
    color: #ffffff;
    font-weight: 600;
    text-shadow:
    0 0 2px #fff,
    0 0 10px #a7a3a3,
    0 0 15px #676565,
    0 0 20px #3e3d3d;
} 

.theme-dark .cm-s-obsidian .cm-strong {
    font-weight: 600;
    color: white;
}

/*INTERNAL LINKS*/
/*internal Link -edit mode  */
.theme-dark .cm-s-obsidian span.cm-link, .theme-dark .cm-s-obsidian span.cm-hmd-internal-link,.theme-dark .footnote-link{
    color: #ff9797;
    text-decoration: none;
    text-shadow: 0 0 5px #fa0e3b, 0 0 10px #fa0e3b ,0 0 13px #fa0e3b;
}
/*internal Link -edit mode - Hover  */
.theme-dark .cm-s-obsidian span.cm-link, .theme-dark .cm-s-obsidian span.cm-hmd-internal-link:hover {
    color:  #ff9797;
    text-shadow: 0 0 10px #fa0e3b, 0 0 20px #fa0e3b, 0 0 30px #fa0e3b,0 0 40px #fa0e3b,0 0 50px #fa0e3b;
    text-decoration: none;
    transition: 1.2s; 
    font-weight: 600;
}

/*link brackets are faded*/
.theme-dark .cm-s-obsidian span.cm-formatting-link{
    color: rgba(255, 255, 255, 0.26);    
}
/*Internal Links Preview Mode*/

/*internal Link  Preview Mode Hover*/
.theme-dark .markdown-preview-view .internal-link {
    text-decoration: none;
    color: #ff9797;
text-decoration: none;
text-shadow: 0 0 5px #fa0e3b, 0 0 10px #fa0e3b ,0 0 13px #fa0e3b;
text-decoration: none;
}
.theme-dark .markdown-preview-view .internal-link:hover{
    color: #ff9797;
font-weight: 600;
text-shadow: 0 0 15px #fa0e3b, 0 0 18px #fa0e3b, 0 0 21px #fa0e3b,0 0 24px #fa0e3b,0 0 27px #fa0e3b;
text-decoration: none;
    transition: 2s;
}

/*Internal Link unresolved?*/
.theme-dark .markdown-preview-view .internal-link.is-unresolved {
    opacity: 1;
        font-weight: 300;
    color: #fa0e3b;
    text-shadow:none;
}
.theme-dark .markdown-preview-view .internal-link.is-unresolved:hover {
    opacity: 1;
    font-weight: 600;
    color: #fa0e3b; 
    text-shadow:none;
}

/*HASHTAGS*/
/*Hashtags glow green*/
.theme-dark .cm-s-obsidian span.cm-hashtag, .theme-dark .pane-clickable-item,.theme-dark .tag {
    color: #86f59f;
    text-decoration: none;
    text-shadow: 0 0 5px #0af740, 0 0 10px #0af740, 0 0 15px #0af740;
}

.theme-dark .cm-s-obsidian span.cm-hashtag:hover , .theme-dark .pane-clickable-item:hover , .theme-dark .tag:hover {
    color: white;
    text-decoration: none;
    text-shadow: 0 0 10px #0af740, 0 0 20px #0af740, 0 0 30px #0af740, 0 0 40px #0af740, 0 0 50px #0af740;
    transition: 1.2s;
}

.theme-dark .workspace-leaf.mod-active .view-header-title {
    font-weight: 300;
    font-size: 20px;
    color: #ff9797;
    text-shadow:
    0 0 3px #fa0e3b,
    0 0 6px #fa0e3b,
    0 0 12px #fa0e3b;
}


.theme-dark {
    --background-primary: #131210;
    --background-primary-alt: #131210;
    --background-secondary: #131210;
    --background-modifier-border:#131210;
    --background-secondary-alt:#131210;
    --interactive-accent: #b5102e;
    --text-normal: #bfbfbf;
    --text-accent: #fa0e3b;
    --text-muted: #9a1029;
}


.theme-dark .side-dock-ribbon-tab, .theme-dark .side-dock-ribbon-action {
    color: #9a1029;
    text-align: center;
    cursor: pointer;
    stroke-width: 2px;
  
}

.theme-dark .side-dock-ribbon-tab:hover, .theme-dark .side-dock-ribbon-action:hover {
    color: gold;
    text-align: center;
    cursor: pointer;
    stroke-width: 4px;
   zoom: 105%;
    transition: 1.4s;

}
.theme-dark .side-dock-ribbon-tab:active, .theme-dark .side-dock-ribbon-action:active {
    color: #fa0e3b;
    text-align: center;
    cursor: pointer;
    stroke-width: 4px;
   zoom: 115%;
}

.theme-dark .workspace-ribbon.is-collapsed {
    background-color: #131210;
}

.theme-dark .workspace-ribbon.mod-right.is-collapsed {
    border-left-color: #131210;
}
.theme-dark .workspace-ribbon.mod-left.is-collapsed {
    border-right-color: #131210;
}

.theme-dark .workspace-ribbon-collapse-btn {
    margin-top: 20px;
    padding: 20px 6px;
    stroke-width: 15px;
    cursor: pointer;
    color: #f7002f;
    transform: none;
    transition: transform 200ms ease-in-out;
}

.theme-dark .workspace-ribbon-collapse-btn:hover {
    color: #f7002f;
    stroke-width: 5px;
}

.theme-dark .workspace-ribbon.is-collapsed .workspace-ribbon-collapse-btn{
     margin-top: 20px;
    padding: 20px 6px;
    stroke-width: 5px;
    cursor: pointer;
    color: rgba(250, 14, 59, 0.55);
    
}

.theme-dark .workspace-ribbon.is-collapsed .workspace-ribbon-collapse-btn:hover{
     margin-top: 20px;
    padding: 20px 6px;
    stroke-width: 15px;
    cursor: pointer;
    color:#f7002f;
    
}


.theme-dark .workspace-ribbon.is-collapsed .workspace-ribbon-collapse-btn:active,.theme-dark .workspace-ribbon-collapse-btn:active{
    stroke-width: 15px;
    color: gold;
}


body:not(.is-grabbing) .nav-file-title:hover, body:not(.is-grabbing) .nav-folder-title:hover {
    background-color: #131210;
    color: #f8e57a !important;
    text-shadow: 0 0 15px gold, 0 0 18px gold, 0 0 21px gold, 0 0 24px gold, 0 0 27px gold;
}

.nav-file.is-active > .nav-file-title, .nav-file.is-active > .nav-folder-title, .nav-file.is-active > .nav-folder-collapse-indicator, .nav-folder.is-active > .nav-file-title, .nav-folder.is-active > .nav-folder-title, .nav-folder.is-active > .nav-folder-collapse-indicator {
    background-color: #131210;
    color: #fa0e3b; 
    color: white;
    text-shadow:
    0 0 3px #fa0e3b,
    0 0 6px #fa0e3b,
    0 0 12px #fa0e3b;
}

.theme-dark .nav-file-title, 
.theme-dark .nav-folder-title,
.theme-dark .nav-folder-collapse-indicator {
    color: #fa0e3b;
}

.theme-dark .nav-folder-collapse-indicator:hover {
    color: #fa0e3b;
}


.theme-dark .nav-file.is-active > .theme-dark .nav-file-title, 
.theme-dark .nav-file.is-active > .theme-dark .nav-folder-title, 
.theme-dark .nav-file.is-active >.theme-dark  .nav-folder-collapse-indicator, 
.theme-dark .nav-folder.is-active >.theme-dark  .nav-file-title, 
.theme-dark .nav-folder.is-active > .theme-dark .nav-folder-title, 
.theme-dark .nav-folder.is-active > .theme-dark .nav-folder-collapse-indicator {
    background-color: #131210;
    color: gold;
}

.theme-dark input[type='text']:active, .theme-dark input[type='search']:active, .theme-dark input[type='email']:active, .theme-dark input[type='password']:active, .theme-dark input[type='number']:active, .theme-dark input[type='text']:focus, .theme-dark input[type='search']:focus, .theme-dark input[type='email']:focus, .theme-dark input[type='password']:focus, .theme-dark input[type='number']:focus {
    border-color: var(--interactive-accent);
}


.theme-dark .nav-action-button {
    color: var(--text-muted);
    padding: 0 10px;
    cursor: pointer;
}
.theme-dark .nav-action-button:hover {
    color: gold;
    stroke-width: 5px;
    transition: 1.2s;
}
.theme-dark .nav-action-button:active {
    color:#fa0e3b;
    zoom: 105%;
}
.theme-dark .search-result-file-matched-text {
    color: #fff;
    background-color: #131210;
     text-shadow:
    0 0 3px #fa0e3b,
    0 0 6px #fa0e3b,
    0 0 9px #fa0e3b,
    0 0 12px #fa0e3b,
    0 0 18px #fa0e3b;
}

.theme-dark .search-result-file-matches {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    color: #ffd700;
    margin-left: 10px;
    border-bottom: 1px solid var(--background-modifier-border);
}

.theme-dark .search-result-collapse-indicator {color: #9a1029;}
.theme-dark .search-result-collapse-indicator:hover { color: gold; stroke-width: 2px; transition:1.2s;}
.theme-dark .view-header-icon:hover {
    color: gold;
    stroke-width: 2px;
    zoom:110%;
    
}
.theme-dark .view-header-icon:active {
    color:gold;
    stroke-width: 2px;
    zoom:110%;
    
}
.theme-dark .view-action:hover {
   color: gold;
    stroke-width: 2px;
    zoom:110%;
    
}
    .theme-dark .menu-item:hover >.menu-item-icon {
    zoom: 110%;
    color: gold;
        stroke-width: 4px;
}
.theme-dark .pane-clickable-item:hover > .pane-list-item-ending-flair{
    background-color:#131210;
    font-size: 17px;
    
}

.theme-dark strong {
    font-weight: 600;
    color: #ffffff;
}


.theme-dark .setting-item-name {
    color: #ea0f38;
    font-size: 16px;
}

.theme-dark .setting-item-description {
    color: var(--text-normal);
    font-size: 14px;
}

.theme-dark .markdown-preview-view hr {
    border: none;
    border-top: 2px solid;
    border-color: #cb0f33;
}

/*Checkbox*/
.theme-dark .markdown-preview-view .task-list-item-checkbox {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
    margin-right: 6px;
    filter: hue-rotate(132deg);
}
.theme-dark .markdown-preview-view ul > .theme-dark li.task-list-item.is-checked {
    text-decoration: line-through;
    color: #923535;
}

.theme-dark .status-bar{
    background-color: #131210;
    border-top: 1px solid #131210;
}
.theme-dark .status-bar:hover {
    color: #fff;
    text-shadow:
    0 0 2px #fa0e3b,
    0 0 4px #fa0e3b,
    0 0 6px #fa0e3b,
    0 0 8px #fa0e3b;
    
}
.theme-dark .suggestion-item.is-selected {
    background-color: #131210;
    color: gold;
    font-size: 17px;
    font-weight: 600;
}
.theme-dark .suggestion-item {
    color: white;
    font-size: 15px;
}

.theme-dark .suggestion-note{
    color: #fa0e3b;
    font-size: 13px;    
}
.theme-dark .suggestion-note .is-selected{
    color: white;
    font-size: 15^px;    
}

.theme-dark .markdown-preview-view .mod-highlighted * {
    color: #ffffff;
    text-shadow:
    0 0 2px #ffd700,
    0 0 4px #ffd700,
    0 0 6px #ffd700,
    0 0 8px #ffd700;
    background-color: #fa0e3b!important;
}



.theme-dark .workspace-leaf-resize-handle{
background-color: rgba(250, 14, 59, 0.28);
    width: 2px;
}
.theme-dark .workspace-leaf-resize-handle:hover {
    background-color: #f8e57a;
    box-shadow: 
    0 0 2px gold,
    0 0 4px gold,
    0 0 6px gold;

}

.theme-dark .search-info-more-matches {
    color: #fa0e3b;
}

.theme-dark .button.mod-cta{
   font-weight: 600;
}
.theme-dark .button.mod-cta:hover {
    background-color: gold;
    color: black;
    font-weight: 600;
    transition: 2s;
}

/* outliner for the file and folders */
.nav-folder,.nav-file{
  margin:0 !important;
  border-left: 1px solid #f8f0f2;
    
}
/*horizontal line in editmode*/
.theme-dark .div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-hr {
    color: transparent;
}

.theme-dark div:not(.CodeMirror-activeline)>.CodeMirror-line span.cm-hr:after {
    content: "";
    position: absolute;
    height: 2px ;
    width: 100%;
    background: #fa0e3b ;
    left: 0;
    top: 50%;
}



/*Focus Mode*/
/* inline formatting disappears if not active line*/
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-formatting,
div:not(.CodeMirror-activeline) > .CodeMirror-line span.cm-string.cm-url
{
  display: none;
}
/* except list markers */
span.cm-formatting-list, span.cm-header, span.cm-formatting-task,span.cm-hashtag {
  display: inline !important; 
}
.workspace-ribbon.is-collapsed:not(:hover) .workspace-ribbon-collapse-btn, 
.workspace-ribbon.is-collapsed:not(:hover) .side-dock-actions, 
.workspace-ribbon.is-collapsed:not(:hover) .side-dock-settings {display:none;}
.workspace-ribbon.is-collapsed:not(:hover) {width: 0;}
.workspace-split.mod-left-split[style="width: 0px;"] {margin-left: 0;}
.workspace-split.mod-right-split[style="width: 0px;"] {margin-right: 0;}
.workspace-ribbon {transition: none}

/*bullet relationship lines*/
.cm-hmd-list-indent .cm-tab, ul ul { position: relative; }
.theme-dark .cm-hmd-list-indent .cm-tab::before, ul ul::before {
 content:'';
 border-left: 1px solid #fa0e3b;
 position: absolute;
}
.cm-hmd-list-indent .cm-tab::before { left: 0; top: -5px; bottom: -4px; 
}
ul ul::before { left: -11px; top: 0; bottom: 0; 
} 

/*LIGHT THEME*/
.theme-light .cm-s-obsidian .cm-header, .theme-light  .cm-s-obsidian .cm-strong {
    font-weight: 500;
    color: black;
}

.theme-dark .nav-file-title-content:hover, .theme-dark .nav-folder-title-content:hover {
    border-radius: 2px;
    background-color: #131210;
    color: #f8e57a !important;
    text-shadow: 0 0 15px gold, 0 0 18px gold, 0 0 21px gold, 0 0 24px gold, 0 0 27px gold;
}
.theme-dark .workspace-tab-header {
    color: #9a1029;
    text-align: center;
    stroke-width: 2px;
}
.theme-dark .workspace-tab-header:hover {
    color: gold;
  stroke-width:4px;
    transition:1.2s;
}

.theme-dark .workspace-tab-header.is-active {
    background-color: var(--background-secondary);
    color:#fa0e3b;
    stroke-width:10px;
}

.theme-dark .titlebar-button {
   color: #fa0e3b;
    opacity: 1;
    display: inline-block;
}

.theme-dark .collapsible-item-self {
    color: #fa0e3b;
}

.theme-dark .collapsible-item-self:hover {
    color: gold;
    font-size: 17px;
}

.theme-dark .cm-s-obsidian span.obsidian-search-match-highlight {
    color: white;
    text-shadow: 0 0 15px gold, 0 0 18px gold, 0 0 21px gold,0 0 24px gold,0 0 27px gold;
    text-decoration: none;
    background-color:#131210;
}

.theme-dark mark, .theme-dark .cm-s-obsidian span.cm-formatting-highlight, .theme-dark .cm-s-obsidian span.cm-highlight {
    color: #fcefab;
    text-shadow: 0 0 5px gold, 0 0 10px #bcb27f, 0 0 15px #937c00;
    text-decoration: none;
    background-color:rgba(0, 0, 0, 0);
}
.theme-dark .titlebar-text
{color:#fa0e3b;
font-size: 12px;}

.theme-dark .u-pop {
    color: #fa0e3b;
}


.theme-dark .nav-folder-collapse-indicator:hover {
    color: gold;
}
.theme-dark input[type='text'], input[type='search'], .theme-dark input[type='email'], input[type='password'], .theme-dark input[type='number'] {
    color: white;
}

.theme-dark .graph-controls input[type='text'], .theme-dark .graph-controls input[type='range'] {
    width: 100%;
    font-size: 14px;
    color: white;
}
.theme-dark .graph-controls {
    position: absolute;
    left: 8px;
    top: 8px;
    padding: 8px 16px 8px 8px;
    background-color: #131210;
    min-width: 140px;
    max-width: 240px;
    border: 1px solid var(--background-modifier-border);
    border-radius: 6px;
    max-height: calc(100% - 16px);
    overflow: auto;
}
.theme-dark .graph-controls .setting-item-name {
    font-size: 14px;
    color: #ffffff;
    display: inline-block;
}
.theme-dark .graph-control-section-header {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}


/*graph-view*/

.theme-dark .graph-view.color-fill{color: #fa0e3b !important;}
.theme-dark .graph-view.color-fill-tag { color:#0af740 !important;}
.theme-dark .graph-view.color-arrow{color: #fa0e3b !important;}
.theme-dark .graph-view.color-circle{color: #ffd700 !important;}
.theme-dark .graph-view.color-line{color: #ff9797 !important;}
.theme-dark .graph-view.color-text{color: white !important;}
.theme-dark .graph-view.color-fill-highlight{color:#fff;}
.theme-dark .graph-view.color-line-highlight{color:#ffd700;}
.theme-dark .graph-view.color-fill-unresolved{color:white;}

.tooltip {
    animation: pop-down 1200ms`;}
.tooltip.mod-right {
  animation: pop-right 1200ms;}

.tooltip.mod-left {
  animation: pop-right 1200ms;}

/*SCroll bar size*/
.theme-dark .CodeMirror-vscrollbar, .theme-dark .CodeMirror-hscrollbar, ::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}

.theme-dark .clickable-icon {
    color: #ff9797;
    cursor: pointer;
    margin: 0 6px;
}
.theme-dark .clickable-icon:hover {
    color: #fa0e3b;
}

.theme-dark .modal.mod-settings button:not(.mod-cta) {
    background-color: #fa0e3b;
}
.theme-dark .button {
    color: #131210;
    font-weight: 500;
}
.theme-dark .button:hover {
    color: #f8f6f2;
    font-weight: 500;
}


.theme-dark .CodeMirror-selected
{
  background-color:#a0011f;
}

.theme-dark ::selection {
  color: white !important;
  background-color:#a0011f;
}

.theme-dark .input[type='range'] {
    width: 100px;
    -webkit-appearance: none;
    background-color: #b5102e;
    border-radius: 3px;
}
.theme-dark .graph-controls-button {stroke-width: 4px; color: #fa0e3b;}
.theme-dark .graph-controls-button:hover{stroke-width: 6px; color: #ffd700;}



.theme-dark .search-empty-state {
    color: white;
    font-size: 19px;
}


.theme-dark .markdown-preview-view blockquote {
   
    border: 1px solid ;
    border-color: #fa0e3b;
    border-left-width: 1px;
    box-shadow:0 0 5px #ac0424, 0 0 10px #720016, 0 0 15px #40000c; 
    padding: 10px;
}


.theme-dark .cm-s-obsidian span.cm-url,.theme-dark .external-link {
    color: #ffffff;
    text-decoration: underline;
    word-break: break-all;
    background-image: linear-gradient(transparent, transparent), url(/public/images/fdc8603….svg);
}
.theme-dark .cm-s-obsidian span.cm-url:hover,.theme-dark .external-link:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #fa0e3b, 0 0 10px #fa0e3b;
}

.theme-dark .cm-s-obsidian span.cm-formatting-list {
    color: #e4e1e2;
}


.theme-dark .markdown-preview-view code, .theme-dark .cm-s-obsidian span.cm-inline-code {
    color: #ecb4c2;
    font-family: var(--font-monospace);
    background-color: #570414;
    border-radius: 4px;
    text-shadow: 0 0 5px #fa0e3b, 0 0 10px #fa0e3b;
    padding: 2px 4px;
    font-size: 1.1em;
}

.theme-dark .cm-s-obsidian pre.HyperMD-footnote span.cm-hmd-footnote {
    color: #ffe7eb;
    cursor: text;
    text-decoration: none;
}

.theme-dark .graph-controls .setting-item.mod-slider .setting-item-control, .graph-controls .setting-item.mod-search-setting .setting-item-control {
    color: blue;
}

.theme-dark input[type='range'] {
    width: 100px;
    -webkit-appearance: none;
    background-color: #342a2c;
    border-radius: 3px;
}