/* All header section numbers*/
.header-section-number {
  padding-right: .2em;
  font-weight: 500;
  font-family: Arial, "Sans-Serif";
}
/* Individual header section numbers*/
.level1 .header-section-number {
  display: inline-block;
  color: rgb(0,85,129);
  font-weight: bold;
}
.level2 .header-section-number {
  display: inline-block;
  color: rgb(26,189,201);
  font-weight: bold;
}
.level3 .header-section-number {
  display: inline-block;
  color: rgb(26,189,201);
  font-weight: bold;
}
.level4 .header-section-number {
  display: inline-block;
  color: rgb(26,189,201);
  font-weight: bold;
}
.level5 .header-section-number {
  display: inline-block;
  color: rgb(26,189,201);
  font-weight: normal;
}
.level6 .header-section-number {
  display: inline-block;
  color: rgb(0,0,0);
  font-weight: normal;
}
/* Individual header section titles*/
h1, .level1 h1, .section h1 {
  color: rgb(0,85,129);
  font-weight: bold;
}
h1:after, .level1 h1:after, .section h1:after {
    content: ""; /* This is necessary for the pseudo element to work. */
    display: block; /* This will put the pseudo element on its own line. */
    width: 4%; /* Change this to whatever width you want. */
    padding-top: 20px; /* This creates some space between the element and the border. */
    border-bottom: 10px solid rgb(26,189,201); /* This creates the border. Replace black with whatever color you want. */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px
}
h2, .level1 h2, .section h2 {
  color: rgb(26,189,201);
  font-weight: bold;
}
h3, .level1 h3, .section h3 {
  color: rgb(26,189,201);
  font-weight: bold;
}
h4, .level1 h4, .section h4 {
  color: rgb(26,189,201);
  font-weight: bold;
  font-style: italic;
}
h5, .level1 h5, .section h5 {
  color: rgb(26,189,201);
  font-weight: normal;
}
h6, .level1 h6, .section h6 {
  color: black;
  font-weight: normal;
  font-style: italic;
}

.book .book-body .page-wrapper .page-inner {
  max-width: 75%;
}

body {
  text-align: justify;
}

bmtgreen {
  color: rgb(26,189,201);
}

bmtpink {
  color: rgb(226,1,119);
}

/* Model Classes */
mc {
	color: rgb(2,182,220);
}

/* Model Implementations */
mi {
	color: rgb(126, 209, 225);
}

tcmd {
  font-family: "Lucida Console", "Courier New", monospace;
  color: rgb(0,0,255);
}

teq {
  font-family: "Lucida Console", "Courier New", monospace;
  color: rgb(255,0,0);
}

tblk {
  font-family: "Lucida Console", "Courier New", monospace;
  color: rgb(0,0,0);
}

tgrn {
  font-family: "Lucida Console", "Courier New", monospace;
  color: rgb(0,128,0);
}

tgry {
  font-family: "Lucida Console", "Courier New", monospace;
  color: rgb(128,128,128);
}

/* Make figure captions bold */
.figure .caption {
  font-weight: bold;
}

/* Make table captions bold */
caption {
  font-weight: bold;
}
.table-wrapper {
  overflow-x: scroll;
  white-space: nowrap;

}

.scrollable-block {
    white-space: nowrap;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.9em;
}

.code-block {
	font-family: Monospace;
	background-color: #F7F7F7;
	font-size: 0.85em;
}

.align1 {
  display: inline-block;
  width: 180px;
}
.align2 {
  display: inline-block;
  width: 280px;
}
.align3 {
  display: inline-block;
  width: 340px;
}
.align4 {
  display: inline-block;
  width: 450px;
}
.align5 {
  display: inline-block;
  width: 550px;
}
.align6 {
  display: inline-block;
  width: 650px;
}
.align7 {
  display: inline-block;
  width: 750px;
}
.align8 {
  display: inline-block;
  width: 800px;
}

/* Chapter TOC */
.chapter-toc {
  padding: 0em 0em;
  margin: 0em 0;
  font-family: Arial, "Sans-Serif";
  line-height: 0.3;
  white-space: pre-wrap;
}
.chapter-toc a {
  color: inherit !important;
  font-weight: inherit !important;
  font-family: inherit !important;
  text-decoration: none !important;
}
.chapter-toc .level-1 {
  color: rgb(0,85,129);
  font-weight: bold;
  font-size: 1.3em;
}
.chapter-toc .level-2 {
  font-weight: bold;
  font-size: 1.1em;
}
.chapter-toc .level-3 {
  color: rgb(96,96,96);
  font-weight: bold;
}
.chapter-toc .level-4 {
  color: rgb(115, 115, 115);
  font-style: italic;
  font-weight: bold;
}
.chapter-toc .level-5 {
  color: rgb(96,96,96);
  font-weight: normal;
}

/* -------------------------------------------------------------- */
/* FIX FOR NAVIGATION + CHAPTER TOC SPACING AND WRAPPING          */
/* -------------------------------------------------------------- */

/* Allow long sidebar headings to wrap instead of ... and avoid justify gaps */
.book .book-summary ul.summary li a,
.book .book-summary ul.summary li span {
  white-space: normal !important;     /* allow wrapping */
  overflow: visible !important;       /* don't clip text */
  text-overflow: initial !important;  /* remove ... */
  text-align: left !important;        /* stop big gaps from justify */
}

/* Ensure in-page chapter contents list is left-aligned (no wide gaps) */
.chapter-toc {
  text-align: left;
}


```{css, echo=FALSE}
.book .book-body .page-wrapper .page-inner {
  max-width: 85%;
}

#AppCommands table td,
#AppCommands table th {
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

#AppCommands table {
  width: 100% !important;
  table-layout: fixed;
}

#AppCommands .appcmd-body-line {
  margin-bottom: 0.35em;
}

#AppCommands .appcmd-label {
  font-weight: 600;
  color: #4f5f67;
}

#AppCommands .appcmd-meta-label {
  font-weight: 400;
  color: #4f5f67;
}

#AppCommands .appcmd-construction-line {
  color: #4f5f67;
}

#AppCommands .appcmd-body-line:last-child {
  margin-bottom: 0.55em;
}

#AppCommands .appcmd-meta-block {
  margin-top: 0.25em;
}

#AppCommands table th:nth-child(1),
#AppCommands table td:nth-child(1) {
  width: 30%;
  max-width: 30%;
}

#AppCommands table th:nth-child(2),
#AppCommands table td:nth-child(2) {
  width: 70%;
  max-width: 70%;
}
```
