/* v 2.36 Rick 26-06-2024 */

:root {
  --font-size-small: 14px;
  --text: #333;
  --spacing-3: 16px;
  --weight-semibold: 600;
  --focus: #0078e7;
  --focus-width: 2px;
  --text-subtle: #888;
  --font-size-extra-small: 10px;
  --text-glow-high-contrast: #fff;
  --body-background-medium: #f5f5f5;
}

#left-sidebar .inner-padding.widget_block > p {
    display: none;
}


/* make first article in menu transparant */ 
#affixed-left-container > ul > li:nth-child(1){
  background-color: transparent;
}


/* For .margin-top-sm-tablet */
.margin-top-sm-tablet {
margin-top: 8px;
}

/* For .position-fixed */
.position-fixed {
position: fixed;
}

/* For .display-flex */
.display-flex {
display: flex;
}

/* For .flex-direction-column */
.flex-direction-column {
display: flex;
flex-direction: column;
}

#affixed-left-container {
/*position: sticky;
top: 24px;
/*  height: 100vh;*
max-height: calc(100vh - 24px); 
overflow-y: auto;  */
z-index: 1;
margin-top:0!Important;
height: 92vh; /* Used to be 100 vh before ads */
}

/* Adjust margin left for Level 1 Menu */ 
#affixed-left-container > ul > li > span {
margin-left: -3px; 
}

/* Adjust margin left for Level 2 menu */
#affixed-left-container ul > li > ul > li
{
margin-left: 0px;
margin-bottom: 3px;
}

/* make sure to add a dot before overview pages */

#affixed-left-container > ul > li:nth-child(-n+6) > ul > li:nth-child(1) > a::before,
#affixed-left-container > ul > li:nth-child(6) > ul > li > ul > li:nth-child(1) > a::before 

{
content: "";
position: absolute;
top: 40%;
left: 3px; 
width: 4px;
height: 4px;
border-radius: 50%;
background-color: #000;
}

/* changes padding of menu items
level 1 detail - Active + regular 
impacts highlighting */
#affixed-left-container > ul > li > ul > li > a, 
#affixed-left-container > ul > li > ul > li.tree-item-active > a{
padding-left: 16px;
margin-left: -2px;
margin-right: -2px;
}


/* 2 LEVELS DEEP details 
impacts highlighting  */
#affixed-left-container > ul > li > ul > li > ul > li > a,
#affixed-left-container > ul > li > ul > li > ul > li.tree-item-active >a {
padding-left: 16px; 
margin-left: -2px;
margin-right: -2px;
}  


a.tree-item.is-leaf.has-external-link-indicator {
    text-overflow: ellipsis;
    overflow-wrap: normal;
    overflow: hidden;
}


/* make background menu white */
#affixed-left-container > ul > li, ul > li > ul > li.tree-item.is-expanded {
background-color: white;
} 



/* padding in menu */
nav ul li{
  padding: 0px 2px ;
}

.tree-item-active {
background-color: #f2f2f2;
border-radius: 4px;
}


/* For .margin-bottom-xxs */
@media (max-width: 575.98px) {
.margin-bottom-xxs {
  margin-bottom: 4px;
}
}

@media (min-width: 767px) {
.content-area {
  width: 70% !important;
}

.is-left-sidebar {
  width: 350px !important;
  min-width: 350px;
}
}


/* For .visually-hidden */
.visually-hidden {
position: absolute;
width: 1px;
height: 1px;
margin: -1px;
border: 0;
padding: 0;
white-space: nowrap;
clip-path: inset(100%);
clip: rect(0 0 0 0);
overflow: hidden;
}

/* For .tree */
.tree {
list-style: none;
margin: 0;
padding: 0;
}

/* add margin above and below autocomplete box */
.autocomplete.display-block {
    padding-top: 5px;
    padding-bottom: 5px;
}


/* For .table-of-contents */
ul.table-of-contents {
/*background-color: #f2f2f2; */
border-radius: 4px;
/* padding: 6px; */
}

/* For .is-vertically-scrollable */
.is-vertically-scrollable {
overflow-y: auto;
}

/* For .flex-grow-1 */
.flex-grow-1 {
flex-grow: 1;
}

/* For .flex-shrink-1 */
.flex-shrink-1 {
flex-shrink: 1;
}

/* For .tree-item */
.tree-item {
margin: 3px 0;
border-radius: 4px;
transition: background-color 0.2s ease-in-out;
}

.tree-item:hover {
background-color: #f2f2f2;

}

/* For .is-leaf */
.tree-item .is-leaf {
font-weight: bold;
}

/* TREE */
.tree {
  position: relative;
  font-size: 15px
}



/* ul.tree, .tree ul {
  list-style-type: none;
  margin-bottom: 0;
} */

/* changes highlight color of active page */
li.tree-item-active a.tree-item.is-leaf{
color: #2e4ff3 ;
}


.tree-item.is-leaf {
  color: var(--text) ;
}

.tree-item > .tree-group {
  display: none;
}

ul li.tree-item {
margin-bottom: 5px;
}

.tree-item.is-expanded > .tree-group {
  display: block;
}

.tree-group {
  margin-left: var(--spacing-3);
  padding-bottom: 0px; 
}

li.tree-item.is-expanded > ul.tree-group{
    margin-top: 0px;
}

li.tree-item.is-expanded > ul > li {
    margin: 0em;
}

.tree-item.is-leaf,
.tree-expander {
  display: block;
  padding-left: var(--spacing-3);
  padding-top: 1px;
  padding-bottom: 1px;
}



.tree-expander {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.tree-expander-indicator {
  display: inline-block;
  position: absolute;
  top: 2x;
  left: 3px;
  color: var(--text-subtle);
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  transition: transform 0.15s ease-in-out;
}

.tree-item.is-expanded>.tree-expander>.tree-expander-indicator {
    transform: rotate(90deg);
}




/* .tree-item.is-selected {
  color: var(--text-glow-high-contrast) !important;
  font-weight: var(--weight-semibold);
  background-color: var(--body-background-medium);
} 

.tree-item.is-leaf.has-icon {
  display: flex;
}

.tree-item.is-leaf.has-icon span.icon {
  line-height: 2;
  align-items: baseline;
  flex-shrink: 0;
  width: 1rem;
  font-size: var(--font-size-extra-small);
}

.tree-item.is-leaf.has-icon span:not(.icon) {
  padding-left: var(--spacing-2);
}

.tree[data-is-collapsible='false'] .tree-item.is-leaf {
  padding-left: 0 !important;
}
*/
/* icon */
.docon-chevron-right-light:before {
  content: ">";
}


.autocomplete-input {
  padding: 5px 5px 5px 10px; /* changed by rick */
  font-size: 18px ;          /* changed by rick */ 

}

.autocomplete-loader {
position: absolute;
right: 10px;
top: 8px;
	
}

.autocomplete-loader.input-lg {
top: 10px;
font-size: 1.25rem;
}

.autocomplete-suggestions {
position: absolute;
z-index: 2;
max-height: 30rem;
min-width: 100%;
max-width: 100%;
padding: 0;
margin: 2px 0px 0px 0px !important;
list-style-type: none;
cursor: default;
border: 1px solid darkgray;
background-color: white;
}

/* make font color black in autocomplete box */
li.autocomplete-suggestion a {
  color: black;
}


/* automcomplete when selected */
.autocomplete input[type="text"]:focus{
outline: 3px solid #0078d4 ;
border-radius: 2px;
}  

 .autocomplete input[type="text"] {
width: 100%; 
box-sizing: border-box;
border-radius: 3px;
}

 
.display-block {
display: block !important;
}



/* add boxshadow to auto-suggestion */
#ax-67-listbox {
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
border-radius: 4px;
}


#ax-67-listbox li {
padding: 5px 10px 0px;
margin: 0px;
border-bottom: 1px solid #d3d3d3;
}

/* removes border of the last item in the dropdown
/* #ax-67-listbox li:last-child {
border-bottom: none !important;
} */
#ax-67-listbox li a {
text-decoration: none;
display: block;
font-size: 15px;
}

/* .autocomplete-suggestions @media (min-width: 768px) {
.autocomplete-suggestions {
  max-width: 500px;
}
} */

.autocomplete-suggestion {
display: block;
}

.autocomplete-suggestion:hover,
.autocomplete-suggestion.is-active-descendant {
background-color: var(--body-background-medium);
outline-color: currentColor !important;
outline-offset: -2px;
border: 2px !important;
border-style: dashed !important;
}
.autocomplete-suggestion:hover:focus,
.autocomplete-suggestion.is-active-descendant:focus {
@extend %focus;
}




/* For Firefox */
/* Note that this will also affect the track width */
/* You may need to adjust the padding and margin of the container element to account for this 
div.scrollmagic-pin-spacer 
* {
scrollbar-width: thin;
scrollbar-color: #888 #fff;
}
*/

/* below breaks scrollbar for the syntax highlighter. For example for the page https://powerquery.how/datetime-fromtext/ */



/* For Edge and IE */
/* Note that this will also affect the track width */
/* You may need to adjust the padding and margin of the container element to account for this  */
div.scrollmagic-pin-spacer *::-webkit-scrollbar {
width: px;
}
div.scrollmagic-pin-spacer *::-webkit-scrollbar-track {
background-color: #fff;
}
div.scrollmagic-pin-spacer *::-webkit-scrollbar-thumb {
background-color: #888;
}