body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
}


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

html[data-theme="light"] {
    --pst-color-primary: #ed1c24;
	--pst-color-warning: #ed1c24;
	--pst-color-primary-highlight: #bc151b;
	--pst-color-secondary: #1A1A1A;
	--pst-color-secondary-highlight: #222222;
	--pst-color-table-row-hover-bg: #1a1a1a2b; 

}

html[data-theme="dark"] {
    --pst-color-primary: #ed1c24;
	--pst-color-warning: #ed1c24;
	--pst-color-primary-highlight: #bc151b;
	--pst-color-primary-text: #ffffff;
	--pst-color-background: #1A1A1A;
	--pst-color-on-background: #222222;
	--pst-color-surface: #222222;
	--pst-color-secondary: #ffffff;
	--pst-color-secondary-highlight: #ffffffb3;
	--pst-color-table-row-hover-bg: #1a1a1a2b; 
}

html[data-theme="light"] a:hover {
	color: #1A1A1A;
}

html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 {
	color: #ffffff;
}

html[data-theme="light"] a, a:visited {
	color: var(--pst-color-primary);
}

html[data-theme="dark"] a, a:visited {
	color: #ffffff;
}

html[data-theme="dark"] .reference.external {
	text-decoration: underline;

}

html[data-theme="dark"] p .reference.internal {
	text-decoration: underline;

}

html[data-theme="dark"] a:hover {
	color: var(--pst-color-primary);
}

html[data-theme="dark"] .prev-next-area a p.prev-next-title {
    color: white;
}

html[data-theme="dark"] .prev-next-area:hover a:hover p.prev-next-title:hover {
    color: var(--pst-color-primary);
}

html[data-theme="dark"] dt:target {
    background-color: #000000;
}

html .toctree-wrapper li[class^=toctree-l] {
	list-style: circle;
}

img:not(.logo__image, .footer_logo) {
	padding: 20px;
}

.simpletable td, .simpletable th {
    background-color: white;
}

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


table.border, .border table, .border caption, .border thead, .border tbody, .border th, .border td {
	border: thin solid gray !important;
	text-align: center;
}

/* Get rid of side bar , based on https://github.com/executablebooks/sphinx-book-theme/issues/732#issuecomment-1752572223 */
.bd-sidebar-primary div#rtd-footer-container {
	bottom:-1rem;
	margin:-1rem;
	position:fixed;
	}

img.logo__image, img.footer_logo {
	max-height: 150px
}
