/* Mkdocs Material Font Variables */
:root {
  font-size: revert;
  --md-text-font: "Roboto";
  --md-code-font: "Roboto Mono";
}
:root  > * {
  --md-typeset-color: rgb(33, 33, 33);
  --md-typeset-a-color: #00526d;
}

@scope (.md-container) {
  /* Re-apply MkDocs - Material reset */
  a {
    color: inherit;
    text-decoration: none;
  }
}

/* Hide everything in the header except the search box */
.md-header__title,
.md-logo,
.md-header__container > :not(.md-search) {
  display: none !important;
}

/* Limit the max width of the content area */
.md-header__inner,
.md-main__inner {
  max-width: 1140px;
  margin-top: 0;
}

/* Desktop */
@media screen and (min-width: 1220px) {
	/* Hide the site title in the sidebar */
	.md-nav--primary .md-nav__title {
	  display: none !important;
	}

	/* Left sidebar (navigation) */
	.md-sidebar--primary {
	  width: 225px;
	  flex: 0 0 225px;
	}
	
	/* Right sidebar (table of contents) */
	.md-sidebar--secondary {
	  width: 150px;
	  flex: 0 0 150px;
	}

	/* When drawer is closed, hide it completely */
	#__drawer ~ .md-overlay {
	  position: absolute !important;
	  top: 0;
	  left: 0;
	  height: 0;
	  width: 0;
	  z-index: 10;
	}
}
/* Non-Desktop (See mkdocs-material src/templates/assets/stylesheets/_config.scss) */
@media screen and (max-width: 1219px) {
  /* Fix conflict between Bootstrap's reboot and block display in _sidebar.scss */
  .md-sidebar--primary[hidden] {
    display: block !important;
  }
}

/* Override for selective scaling */
html {
  font-size: 100%;
}

.md-nav,
.md-nav--primary, 
.md-content__inner {
  font-size: 14px;
}

.md-nav--secondary,
.md-nav--secondary .md-nav {
  font-size: small;
}

/* Adjust md-typeset styling */
.md-typeset {
  font-size: 14px;
  line-height: normal;
  .admonition {
    font-size: small;
  }

  h1 {
    font-weight: bold;
    color: inherit;
  }
  h2, h3 {
    font-weight: bold;
  }
  h4, h5, h6 {
    font-weight: 700;
  }
  h5 {
    text-transform: none;
  }
}

/* Fix for Bootstrap styled badge badge-info with hardcoded color */
a.badge-info {
    color: #fff;
    background-color: #17a2b8;
}

/* Override for carousel */
.carousel-inner {
   margin-bottom:50px !important;
}
.carousel-indicators {
  display: flex !important;
  bottom: -50px !important;
  margin-top: 0px !important;
  margin-left: 15% !important;
  margin-right: 15% !important;
}
.carousel-indicators li {
  background-color: #17425080 !important;
}
.carousel-indicators .active {
  background-color: #174250ff !important;
}
.carousel-item img {
  aspect-ratio:  5 / 3 !important;
  object-fit: contain !important;
}
.carousel-item div {
  min-height: 6em !important;
}

/* Style for inline code blocks */
code {
  color: red !important;
}
