/* Make use of h-space */
.bd-page-width {
    max-width: 130rem;
}

.bd-main {
    .bd-content {
        .bd-article-container {
            max-width: 80em;
        }
    }
}

/* Styling for the parameters tables */

td.category {
    text-align: center;
    padding-left: 0.5em;
    padding-right: 0.5em;
    vertical-align: middle;
}

td.category.odd {
    background-color: #fcfafa;
}

td.category.even {
    background-color: #faf3fa;
}

/* Be a bit more generous with the padding */
img {
    padding: 5px;
}

/* This allows us to add a 1px transparent image and stretch it across the 
   width of the current container, causing any above float elements to no 
   longer overflow their parent. Necessary in QPolaris due to the way Sphinx
   handles images with float-left/right.
*/
img.clearfix {
    width: 100%;
    height: 1px;
}

.table-60 {
    width: 60%;
}

/* A subtle button that shows in the table caption for Enums */
.toggle-btn {
    font-size: 0.7em;
    padding: 0 4px;
    background: none;
    border: none;
    color: #999;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.toggle-btn:hover {
    color: #6ac1fb;
    background: none;
}

/* Bootstrap card styling - required for dark mode */
.card {
    background-color: rgba(0, 0, 0, 0);
    border-color: rgb(from var(--pst-color-text-base) r g b / 50%);

    .card-body {
        background-color: rgba(255, 0, 0, 0);
        color: var(--pst-color-text-base);
    }
}


/*
 * Hide the default python/jupyter download boxes on examples as they don't work on ANL webserver
 */


.sphx-glr-download-python {
    display: none;
}

.sphx-glr-download-jupyter {
    display: none;
}