/* Main index page overview cards */

/* More prominent card borders */ 
.sd-card {
  border: 2px solid var(--pst-color-border) !important;
  border-radius: 3px !important;
}

html[data-theme="light"] {
    --pst-color-secondary: var(--bs-blue) !important;
}
html[data-theme="dark"] {
    --pst-color-secondary: var(--bs-blue) !important;
}

/* fly you fool ! survol */
.sd-card:hover {
    border-color: var(--bs-blue) !important;
    /* sinon voir les couleurs de _static/pydata-sphinx-theme.css à la build */
}

/* from xarray's doc */
html[data-theme="dark"] div.cell_output .text_html:has(div.xr-wrap) {
  background-color: var(--pst-color-on-background) !important;
  color: var(--pst-color-text-base) !important;
}

/* Modified from Rameau's doc */
/* customise footer ------------------------------------------------- */
.bd-footer .footer-items__end, .bd-footer .footer-items__start {
    gap: 0;
}

.navbar-corporate img {
    margin-bottom: 0;
    height: 77px;
}

.navbar-corporate img {
    margin-bottom: 0;
    height: 77px;
}
a.navbar-corporate, a.navbar-corporate:hover {
    border-bottom: hidden;
}

/* customise header ------------------------------------------------- */
/* Change font size in header */
.navbar-brand {
    font-size: 20px;
}

/* Change elements size (eg switcher) */
.navbar-nav .nav-item {
    font-size: 14px;
}

/* Change link size in navbar */
.navbar-nav .nav-link {
    font-size: 16px;
}

/* Force navbar to use full width */
.navbar {
    width: 100%;
}

/* reduce margin */
.navbar-nav {
    margin: 0;
}
