@import 'theme.css';

.wy-nav-top {
    padding: 1%;
    background-color: #05203E;
    max-width: none;
    height: 50px;
    background-position: 4px 4px;
    background-repeat: no-repeat;
    background-size: 23%;
    font-family: Poppins sans-serif;
    background-image: url('https://knowledgebase.eo-lab.org/en/latest/_static/eolablogo.png');
}

.wy-nav-top a {
    color:#fff;
    font-weight:700;
    font-family: Poppins sans-serif;
}

.wy-nav-top img {
    margin-right:12px;
    height:45px;
    width:45px;
    background-color:#05203E;
    padding:5px;
    border-radius:100%;
    font-family: Poppins sans-serif;
}
.wy-nav-top i {
    font-size:30px;
    float:right;
    cursor:pointer;
    padding-top:inherit;
    font-family: Poppins sans-serif;
}

.wy-side-nav-search{
    background-color:#05203E;
    font-family: Poppins sans-serif;
}
.wy-side-scroll{
    background-color: #05203E;
    font-family: Poppins sans-serif;
}
.wy-nav-content {
    background-color: #05203E;
    font-family: Poppins sans-serif;
    max-width: none;
}
.wy-nav-content-wrap {
    background-color: #05203E;
    font-family: Poppins sans-serif;
}
.h2 {
    color: #73b3fd;
    font-family: Poppins sans-serif;
}
.section ul {
    color: white;
    font-family: Poppins sans-serif;
}
.wy-breadcrumbs li a:first-child {
    color: #FF8225;
    font-family: Poppins sans-serif;
}
.rst-content .toctree-wrapper > p.caption, .rst-content h1, .rst-content h2, .rst-content h3, .rst-content h4, .rst-content h5, .rst-content h6 {
    color: #157EFB;
    font-family: Poppins sans-serif;
}
.wy-breadcrumbs li {
    color: #FF8225;
    font-family: Poppins sans-serif;
}

.rst-content .section ol li > :first-child, .rst-content .section ul li > :first-child, .rst-content .toctree-wrapper ol li > :first-child, .rst-content .toctree-wrapper ul li > :first-child, .rst-content section ol li > :first-child, .rst-content section ul li > :first-child {
    color: white;
    font-family: Poppins sans-serif;
}
footer {
    color:white;
    font-family: Poppins sans-serif;
}
a:visited {
    color: #FF8225;
    font-family: Poppins sans-serif;
}
.rst-content .section ul li, .rst-content .toctree-wrapper ul li, .rst-content section ul li, .wy-plain-list-disc li, article ul li {
    color: white;
    font-family: Poppins sans-serif;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
    color: white;
    font-family: Poppins sans-serif;
}
.rst-content div[class^="highlight"] div[class^="highlight"], .rst-content pre.literal-block div[class^="highlight"] {
    color: black;
    font-family: Poppins sans-serif;
}
.rst-content .admonition-todo p:last-child, .rst-content .admonition p:last-child, .rst-content .attention p:last-child, .rst-content .caution p:last-child, .rst-content .danger p:last-child, .rst-content .error p:last-child, .rst-content .hint p:last-child, .rst-content .important p:last-child, .rst-content .note p:last-child, .rst-content .seealso p:last-child, .rst-content .tip p:last-child, .rst-content .warning p:last-child, .wy-alert p:last-child {
    color: black;
    font-family: Poppins sans-serif;
}
.rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td, .wy-table-backed, .wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td {
    background-color: #05203E;
}
html.writer-html5 .rst-content table.docutils th {
    color: white;
    font-family: Poppins sans-serif;
}
.rst-content .admonition, .rst-content .admonition-todo, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .note, .rst-content .seealso, .rst-content .tip, .rst-content .warning {
    color: black;
    font-family: Poppins sans-serif;
}
.rst-content .section ul li, .rst-content .toctree-wrapper ul li, .rst-content section ul li, .wy-plain-list-disc li, article ul li {
    color: gray;
    font-family: Poppins sans-serif;
}




/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(2) {
    display: none;
}

/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(3) {
    display: none;
}
/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(4) {
    display: none;
}
/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(5) {
    display: none;
}


/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(6) {
    display: none;
}

/* Hide "On GitHub" section from versions menu */
div.rst-versions > div.rst-other-versions > div.injected > dl:nth-child(7) {
    display: none;
}

.image-with-border {
    border: 2px solid black;
}

/* LEGACY NOTE Title Styling EO-Lab */
.admonition.legacy-note .admonition-title {
    background-color: #003f8a; /* Dark blue for title background */
    color: #ffffff; /* White text for strong contrast */
    font-weight: bold; /* Emphasize the title */
    padding: 5px; /* Add padding around the title */
    text-transform: uppercase; /* Make the title stand out */
    border-radius: 3px; /* Smooth corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Optional: Links in LEGACY NOTE */
.admonition.legacy-note a {
    color: #0073e6; /* Bright blue for links */
    text-decoration: underline;
}

.admonition.legacy-note a:hover {
    color: #005bb5; /* Darker blue on hover */
    text-decoration: none;
}

/* LEGACY NOTE Container Styling */
.admonition.legacy-note {
    background-color: #e6f0ff; /* Soft blue background for the container */
    border: 1px solid #003f8a; /* Dark blue border for emphasis */
    border-radius: 5px; /* Rounded corners */
    padding: 15px; /* Internal spacing */
    color: #003366; /* Deep blue text for readability */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow for emphasis */
}


/* Force all text in console code blocks to be black */
.rst-content .highlight-console pre,
.rst-content .highlight-console code {
    color: black !important;
    background: none !important;
    font-weight: normal !important;
    text-shadow: none !important;
    white-space: pre-wrap !important; /* Enable text wrapping */
    word-break: break-word !important;
}

/* Disable syntax highlighting for URLs, operators, numbers, and strings */
.rst-content .highlight-console .o,  /* Operators ($, :, etc.) */
.rst-content .highlight-console .m,  /* Numbers */
.rst-content .highlight-console .n,  /* Names */
.rst-content .highlight-console .s,  /* Strings */
.rst-content .highlight-console .p,  /* Punctuation */
.rst-content .highlight-console .nf, /* Functions */
.rst-content .highlight-console .na, /* Attribute names */
.rst-content .highlight-console .nn, /* Class names */
.rst-content .highlight-console .nc, /* Class names */
.rst-content .highlight-console .nt, /* Tags */
.rst-content .highlight-console .gr, /* Generic errors */
.rst-content .highlight-console .gd, /* Generic deleted */
.rst-content .highlight-console .gi, /* Generic inserted */
.rst-content .highlight-console .gh, /* Generic heading */
.rst-content .highlight-console .go, /* Generic output */
.rst-content .highlight-console .gp, /* Generic prompt */
.rst-content .highlight-console .gs, /* Generic strong */
.rst-content .highlight-console .gu, /* Generic subheading */
.rst-content .highlight-console .gt { /* Generic tracebacks */
    color: black !important;
    font-weight: normal !important;
}

/* Keep Python code blocks unchanged */
.rst-content .highlight-python pre {
    white-space: pre !important;
    word-break: normal !important;
    overflow-x: auto;
    color: inherit !important; /* Preserve syntax highlighting */
}


/* inherit the heading color for subheader formattings */

.rst-content h1 a,
.rst-content h2 a,
.rst-content h3 a,
.rst-content h4 a,
.rst-content h5 a,
.rst-content h6 a {
    color: inherit !important;
}

/* RTD-looking H2 heading (but NOT a real section title) */
.rst-content .rtd-h2 > p {
  font-family: "Roboto Slab","ff-tisa-web-pro","Georgia",Arial,sans-serif;
  font-size: 150%;
  font-weight: 700;
  line-height: 1.2;
  margin: 24px 0 12px;
  padding: 0;
  border: 0;
}
.rst-content .rtd-h2 > p { border-bottom: none !important; }
