.wy-nav-content {
    max-width: 100% !important;
}

/*	ReadTheDocs uses a paragraph spacing margin of 24px by default, which is a bit too large.
	The bottom margin has been reduce to 16px.
*/

.rst-content p {
    margin-bottom: 16px;
}

.rst-content blockquote {
    margin-bottom: 16px;
}

.rst-content ul {
    margin-bottom: 16px;
}

.rst-content section ul {
    margin-bottom: 16px;
}

.rst-content div[class^=highlight] {
    margin-bottom: 16px;
}

/*	The RTD :code: directive is the only way to create inline monospaced text, but it shows the text
	in red and enclosed within a text box. The :mono: and :monobold: roles have been created so that
	we can output regular and bold monospaced inline text.
*/

.mono {
	font-family: monospace;
	font-weight: normal;
}
.boldmono {
	font-family: monospace;
	font-weight: bold;
}

/*	Use the :small: directive, which uses the smalltext css definition below, to get text output
	smaller than normal.
*/

.smalltext {
	font-size: smaller;
}

/*	Used with the .. image: directive to slightly lower left aligned images and to reduce the
	default 24px spacing below images. This makes icon images appear better aligned with the text
	that flows around it. To apply this, add the following two lines to the image directive:
		:align: left
		:class: image-lowered
*/
.rst-content .align-left.image-lowered {
    margin-top: 0.04in;
    margin-bottom: 4px;
}

/*	Figure captions are output immediately below the image. Adding some spacing above the caption
	makes it look better.
*/
.rst-content figure .caption-text {
   line-height: 36px;
}

/*	Field lists display the left hand term in bold, but it looks better for our purposes when the
	term is shown using the normal font weight. The extra spacing at the bottom of field lists has
	also been removed (however there is still a bit of extra spacing due to the blockquote that the
	field list is embedded in).
*/
.rst-content dl dt {
    font-weight: normal;
}
html.writer-html5 .rst-content dl.field-list {
    margin-bottom: 0 !important;
}

/*	The LaTeX default font is too large. You must be very careful when adjustign the font size to
	ensure that uppercase letters all have the same font height and that the braces and parentheses
	that surround syntax don't have breaks in them. I've found that 79% and 89% both produce fairly
	good results, but 79% better matches the font size of the normal document text.
*/
.math {
    font-size: 0.79em;  /* Using 79% of default size */
}

/* The following customizations are for the ".. container" directive */


/*	Use ".. container:: two-column"  to get two column "flexbox" output with a 20 pixel margin
	between columns (gap: 20px) and equal width columns (flex: 1).
*/
.two-column {
  display: flex;
  gap: 20px;
}
.two-column > div {
  flex: 1;
}

/*	Use ".. container:: keep-together" to keep images defined in a container from flowing around
	other text and images in a following container. This is only needed when images and text are
	alternated in the document without enough text to keep the images from overlapping (and
	therefore flowing around) each other.
*/
.keep-together::after {
    content: "";
    display: table;
    clear: both;
}

/*	The following customizations are for wrapping text in in table output, since by default the
	"Read The Docs" theme disables wrapping in tables */

/*	Specify ":class: allow-wrap" in tables to enable normal table wrapping.
*/
.allow-wrap td,
.allow-wrap th {
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: break-word;
}

/*	Specify ":class: wrap-last" in tables to enable wrapping only on the last column.
*/
.wrap-last td:last-child,
.wrap-last th:last-child {
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: break-word;
}

/*	Specify ":class: wrap-first" in tables to enable wrapping only on the first column.
*/

.wrap-first td:first-child,
.wrap-first th:first-child {
	white-space: normal !important;
	overflow-wrap: break-word;
	word-break: break-word;
}

/*	The following inhibits shrinking of images in the last column of the "wrap-first" table class.
	This is used in the CYCLE syntax, where the action list in the first column needs to wrap, but
	the image in the right (last) column must not shrink.
*/
.wrap-first td:last-child img {
	max-width: none;
	height: auto;
	display: block;
}
