/* Change the main banner background color */
header.md-header {
  background-color: var(--md-primary-fg-color); /* More4apps Blue */
  /* If your new background is dark, ensure text/icons are light */
  color: white;
}
.md-typeset h2 {
    /* H2, the Release Header (e.g. "Projects Module 36.20.15" */
    color: #2c3e50; /* A darker, distinct color */
    font-weight: 600; /* Make it bolder (default is often 400 or 500) */
}

[data-md-color-scheme="more4apps"] {
  --md-primary-fg-color:        #0047bb;
  --md-primary-fg-color--light: #ECB7B7;
  --md-primary-fg-color--dark:  #90030C;
}


/* Hide the header button */
.md-header__button {
  display: none !important; 
}
/* Make nested navigation items smaller */
.md-nav__item .md-nav__item .md-nav__link {
  font-size: 0.6rem; /* Smaller font for nested items */
}

/* Keep parent/major navigation items at normal size */
.md-nav__item .md-nav__link {
  font-size: 0.8rem; /* Normal size for parent items */
}

/* Add horizontal line between major sections on main content page */
.md-content h2 {
  border-top: 20px solid var(--md-primary-fg-color);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

/* Don't add border to the first h2 to avoid extra space at the top */
.md-content h2:first-of-type {
  margin-top: 0; /* Remove default top margin */
  border-top: none;
  padding-top: 0;
}


/* Hide h1 headings */
.md-content h1 {
  display: none;
}
/* Hide the left sidebar (Navigation) */
.md-sidebar.md-sidebar--primary {
  display: none;
}

/* Hide the left Navigation Title */
.md-nav__title {
  display: none;
}

.md-main__inner {
  width: 100%;
}

  /* Target all admonitions */
.md-typeset .admonition {
    margin-left: 20px; /* Adjust this value to your desired indent level */
}
/***** BUG ****/

/* Override the default theme border color with higher specificity */
.md-typeset .admonition.bug, 
.md-typeset details.bug {
  border-color: #f60d0d !important; /* Red border color */
}

.admonition.bug {
  border: 1px solid; /* Set border width and style */
  border-left-width: 5px; /* Thicker left border */
  margin-bottom: 1em; /* Add some space below the admonition */
}

/*
.admonition.bug .admonition-title {
  background-color: #f500571a; 
}*/

/**** ABSTRACT ****/

.admonition.abstract {
 /* background-color: #eef8f6; *//* Light red background */
  border-left-width: 5px; /* Thicker left border */
  margin-bottom: 1em; /* Add some space below the admonition */
}

/*.admonition.abstract .admonition-title {
  background-color: #cbe9f6; }*/

/**** INFO ****/

/* Override the default theme border color with higher specificity */
.md-typeset .admonition.info, 
.md-typeset details.info {
  border-color: #63666A !important; /* Grey border color */
 /* background-color: #f6dfdf24 !important; *//* Grey */
}

.admonition.info {
  border: 1px solid; /* Set border width and style */
  border-left-width: 5px; /* Thicker left border */
  margin-bottom: 1em; /* Add some space below the admonition */
}

.admonition.info .admonition-title {
  background-color: #D9D9D6; /* Light grey title background */
}