html, body, input {
    font-weight: 200;
}

body {
    display:flex;
    flex-direction: column;
    min-height: 100vh;
}

body, html {
    height: 100%;
}

h1, h2, h3, h4, h5 {
    font-weight: 400;
}

.main-content {
    margin-top: 1em;
    font-weight: 200;
    flex: 1;
}

.logo {
    border: 0;
    width: 2rem;
    height: 2rem;
}

.logo-large {
    border: 0;
    width: 5rem;
    height: 5rem;
}

.navbar {
    font-weight: 500;
}

.navbar-brand {
    font-size: 1.5em
}

.active {
    text-decoration: underline;
}

.admin {
    position: relative; /* Ensures positioning context */
}

.breadcrumb-container {
    background-color: #0dcaf0;
}

.admin::after {
    content: "ADMIN";
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(132, 192, 212, 0.2); /* Semi-transparent background */
    color: rgba(132,192,212);
    font-weight: bold;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 10; /* Ensure it's above the content */
}

.tooltip.show p {
    text-align:left;
}

footer {
    width: 100%;
}

.parsedown {
    padding: 1em;
    border: 1px solid #cccccc;
    font-size: .8rem;
}

.parsedown h1 {
    font-size: 1.4rem !important;
}

.parsedown h2 {
    font-size: 1.2rem !important;
}

.parsedown h3 {
    font-size: 1rem !important;
}

.parsedown h4 {
    font-size: .8rem !important;
}

.parsedown h1, h2, h3, h4 {
    font-weight: 500;
}

.iframe-container {
    flex: 1 0 auto; /* Takes all available space */
    overflow: hidden;
}
iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.logo-container {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: start;
    justify-content: end;
    overflow: hidden;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

.logo-mini {
    height: 1rem;
    width: auto;
    object-fit: contain;
}

.sticky-toc {
    position: -webkit-sticky; /* For Safari */
    position: sticky;
    top: 20px; /* Adjust as needed */
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    box-shadow: 0px 4px 2px -2px gray;
}

.sticky-toc a {
    text-decoration: none;
    color: #007bff;
}

.sticky-toc a:hover {
    text-decoration: underline;
}