.footer .theme-info {
    display: none;
}

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    background: color-mix(in srgb, var(--color-background-primary) 92%, transparent);
    backdrop-filter: blur(7px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

#page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#page-loader .loader-spinner {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    border: 3px solid var(--color-background-border);
    border-top-color: var(--color-brand-primary);
    animation: petres-loader-spin 0.8s linear infinite;
}

@keyframes petres-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    #page-loader {
        transition: none;
    }

    #page-loader .loader-spinner {
        animation-duration: 1.6s;
    }
}

body[data-theme="dark"] .adaptive-theme-svg img {
    filter: invert(1) hue-rotate(180deg);
}

@media (prefers-color-scheme: dark) {
    body:not([data-theme="light"]) .adaptive-theme-svg img {
        filter: invert(1) hue-rotate(180deg);
    }
}

a.adaptive-theme-svg + figcaption,
a.adaptive-theme-svg + figcaption .caption-number,
a.adaptive-theme-svg + figcaption .caption-text {
    font-style: italic;
}





/* Custom Coloring */
h1 { color: var(--color-heading-1); }
h2 { 
    color: var(--color-heading-2); 
    padding-top: 10px;
    padding-bottom: 10px;
}




/* eclipse  */
.eclipse-keyword-table td,
.eclipse-keyword-table th {
    text-align: center;
    vertical-align: middle;
}
a{
    transition: color 0.2s;
}

.sidebar-logo{
    max-width: 80%;
    margin-left: 0;
}

.highlight button.copybtn:hover, .highlight button.copybtn, .highlight button.copybtn:focus {
    background-color: transparent;
}

.highlight, body:not([data-theme="light"]) .highlight {
    background-color: var(--color-sidebar-background);
    border: 1px solid var(--color-sidebar-background-border);
}   
body:not([data-theme="light"]) .sidebar-tree .toctree-l1>.reference:not(.current), body:not([data-theme="light"]) .sidebar-tree .toctree-l1>label .icon:not(.current) {
    color: white;
}

table caption{
    margin-bottom: .5rem;
    font-style: italic;
    font-size: unset;
}

table.docutils{
    border-radius: unset;
    box-shadow: unset;
}
table.docutils td:first-child, table.docutils th:first-child {
    border-left: 1px solid var(--color-table-border);;
}
table.docutils td:last-child, table.docutils th:last-child{
    border-right: 1px solid var(--color-table-border);
}

table.docutils th{
    border-top: 1px solid var(--color-table-border);;
}

article table.align-default{
    margin-left: 0;
    margin-right: 0;
}
/* Override Definition column (2nd column) */
/* .eclipse-keyword-table td:nth-child(2),
.eclipse-keyword-table th:nth-child(2) {
    text-align: left;
} */

/* .admonition, .topic{
    background: var(--color-sidebar-background);
} */


.sd-card-hover:hover{
    /* box-shadow: 0 .1rem .25rem var(--sd-color-shadow), 0 0 .0625rem rgba(0, 0, 0, .1) !important; */
        transform: translateY(-2px);
}
.sd-card {
    /* margin: 0 !important; */
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-property: border-color, background-color, box-shadow, transform;
}

/* Replace flex with grid */
.sd-container-fluid .sd-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

/* Make each card behave nicely */
.sd-col {
    max-width: 100% !important;
    flex: unset !important;
    margin: 0;
    padding: 0;
    width: 100%;
}
.grid-item-header{
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.grid-item-title {
    margin: 0;
}
.grid-item-icon{
    width: 22px;
    height: 22px;
    margin-right: 14px;
    color: var(--color-brand-primary);
}
/* .grid-item-card {
    border-radius: 12px;
    padding: 1rem;
    background: #2b2b2b;
    border: 1px solid #444;
}

.badge {
    display: inline-block;
    padding: 0.2em 0.6em;
    margin: 0.2em;
    border-radius: 999px;
    font-size: 0.75rem;
    background-color: #3a3f58;
    color: #cfd3ff;
} */