table {
  border-width: 1px;
  border-style: solid;
  width: 90%;
}

/*
  override bootstrap table colors
  see https://github.com/pydata/pydata-sphinx-theme/pull/1711
  fixed in 0.15.3
  */
.table {
  /* background */
  --bs-table-bg: transparent;
  /* ensure text and bullets are visible */
  --bs-table-color: var(--pst-color-text-base);
}

td {
  border-width: 1px;
}

.bd-main .bd-content .bd-article-container {
  max-width: 98%;
  /* default is 60em */
}

.bd-page-width {
  max-width: 98%;
  /* default is 88rem */
}

html {
  --pst-font-family-heading: Cambria, Georgia, Times,
    var(--pst-font-family-base-system);
}

/* official code_aster logo colors */
html[data-theme="light"] {
  --pst-color-primary: #3b7dc0;
  --pst-color-secondary: #1d3a70;
}

html[data-theme="dark"] {
  --bs-body-color: #9ca4af;
  --pst-color-primary: #608dbb;
  --pst-color-secondary: #476da1;
}

.dropdown-menu li {
  position: relative;
}

.dropdown .dropdown-menu {
  min-width: 5em !important;
}

.dropdown-caret {
  padding-left: 10px;
}

.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}

.dropdown-menu>li:hover>.dropdown-submenu {
  display: block !important;
}

.dropdown-submenu {
  max-height: 40em;
  overflow: auto;
}
