/*
#ffca54  yellow
#ff679b  pink
#5a7001 green
*/
/*body {
    font-family: "Source Sans Pro" !important;
    font-size: "30pt";
}
*/
h1,
h2 {
    color: #5a7001 !important;
}

h3 {
    color: #555555;
}

/* Top menu */
#navbar-main {
    /*background: #5a7001 !important;*/
    box-shadow: 0px 2px 4px rgba(90, 111, 0, 0.11);
    font-weight: bold;
    font-size: larger;

}

#navbar-main-elements li.nav-item a {
    color: rgba(90, 111, 0, 0.8);
}

#navbar-main-elements li.active a {
    font-weight: 600;
    color: #5a7001 !important;
}

.col-9 {
    flex: 0 0 80%;
    max-width: 80%;
}

/* Left pannel size */
@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Top menu right button */
.navbar-toggler {
    color: rgba(90, 111, 0, 0.5) !important;
    border-color: rgba(90, 111, 0, .5) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath stroke='rgba(255,255,255,.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}

/* Left bar list colors */
.bd-sidebar .nav>.active>a {
    color: #5a7001 !important;
}

.bd-sidebar .nav>li>a:hover {
    color: #5a7001 !important;
}

.bd-sidebar .nav>.active:hover>a,
.bd-sidebar .nav>.active>a {
    color: #5a7001 !important;
}

u.bd-sidebar .nav>li>ul>.active:hover>a,
.bd-sidebar .nav>li>ul>.active>a {
    color: #5a7001 !important;
}

/* Right bar list colors */
.toc-entry>.nav-link.active {
    color: #5a7001 !important;
    border-left: 2px solid #5a7001 !important;
}

/* ========================================
   ADMONITION BOX STYLING
   ======================================== */

/* Examples box styling */
.admonition-examples {
    background-color: white !important;  /* Yellow background */
    border-left: 4px solid #5a7001 !important;  /* Green border */
    padding: 12px;
    margin: 20px 0;
}

.admonition-notes {
    background-color: white !important;  /* Yellow background */
    border-left: 4px solid #5a7001 !important;  /* Green border */
    padding: 12px;
    margin: 20px 0;
}

.admonition-examples .admonition-title {
    background-color: #5a7001 !important;  /* Green header */
    color: white !important;  /* White text */
    padding: 8px 12px;
    margin: -12px -12px 12px -12px;  /* Extend to edges */
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.admonition-notes .admonition-title {
    background-color: #5a7001 !important;  /* Green header */
    color: white !important;  /* White text */
    padding: 8px 12px;
    margin: -12px -12px 12px -12px;  /* Extend to edges */
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}
/* Note box styling - using more specific selectors to override theme */
/* div.admonition.notes,
.admonition.notes {
    background-color: white !important; 
    border-left: 4px solid #5a7001 !important; 
    border-color: #5a7001 !important; 
    padding: 12px;
    margin: 20px 0;
} */

/* div.admonition.notes.admonition-title,
.admonition.notes.admonition-title {
    background-color: #5a7001 !important; 
    color: white !important; 
    padding: 8px 12px;
    margin: -12px -12px 12px -12px; 
    font-weight: bold;
    border-radius: 4px 4px 0 0;
} */

/* ========================================
   ADMONITION ICON COLOR CUSTOMIZATION
   ========================================
   Change all admonition icons to pink (#ff679b)
   Note: The icon is rendered using ::after pseudo-element, not ::before
   This applies to all admonition types: Note, Warning, Examples, etc.
   ======================================== */
/*

.admonition>.admonition-title::after {
    color: #ff679b !important;
}

.admonition-examples>.admonition-title::after {
    color: #ffca54 !important; 
}

.admonition.note>.admonition-title::after {
    color: #ffca54 !important; 
}
*/

/* Ensure all admonition types get the yellow icon */
div.admonition>.admonition-title::after {
    color: #ffca54 !important;  /* Catch-all rule for any admonition type */
}