/* =============================================
   Layout from DatCite, see https://github.com/datacite/schema-docs/blob/4.7/docs/_static/css/custom.css
   ============================================= */

/* Show utterances block */
.utterances {
  height: 300px;
}

/* override table no-wrap */
.wy-table-responsive table td, .wy-table-responsive table th {
    white-space: normal;
}

/* Correct table alignment */
.rst-content table.docutils td, .rst-content table.field-list td, .wy-table td {
    vertical-align: top;
}

/* Correct table spacing*/
/* Tight line blocks inside table cells */
.rst-content td .line-block {
    margin-bottom: 0;
    line-height: inherit;
}

.rst-content td .line {
    margin-bottom: 0;
}

/* Fix bullet size in tables */
td>ul>li>p {
    line-height: 1rem;
    margin-bottom: 0;
    font-size: .9rem;
}

td>ul {
  margin-bottom: 0px !important;
}

/* Format affiliation links */
.affiliation img,
.orcid img {
  padding-left: 5px;
  padding-right: 2px;
  height: 16px
}

/* Add underline to links */
a {
  text-decoration: underline;
}

/* Exceptions to link underlining */
.wy-menu a,
.wy-side-nav-search a,
.wy-breadcrumbs a.icon,
h2 a,
h3 a,
h4 a {
  text-decoration: none;
}

/* Add bold to links with focus */
/* a:hover, a:focus {
  font-weight: bold;
} */

/* Exceptions to link bold */
.ethical-sidebar a:hover,
.ethical-sidebar a:focus {
  font-weight: normal;
}

/* Add bold to menu items with hover/focus */
.wy-menu-vertical li ul li a:hover,
.wy-menu-vertical li ul li a:focus {
  font-weight: bold;
}

/* Add missing focus state to menu */
.wy-menu-vertical li.current a:hover,
.wy-menu-vertical li.current a:focus {
    background: #d6d6d6;
}

/* =============================================
   Wider Page Layout for Sphinx RTD Theme
   ============================================= */

/* Increase the max-width of the nav content (default is 800px with sphinx_rtd_theme) */
.wy-nav-content {
    max-width: 1200px;
}

/* Version switcher: bottom-right floating box */
.rst-versions {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 220px;
    border-top: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.rst-versions .rst-current-version {
    padding: 8px 12px;
}

/* the list that opens when you click the box */
.rst-versions .rst-other-versions {
    max-height: 50vh;
    overflow-y: auto;
}