/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Belleza&family=Libre+Baskerville:wght@700&display=swap')

/*Declare variables*/
:root {
      /*color scheme*/
  --main-bg-babyblue: #E7F2F8;
  --highlight-olive: #498275;
  --highlight-salmon: #FFA384;
  --highlight-mauve: #B99095;

  --highlight-gray: #788b97;
  --link-color:#4183c4;

  /*fonts*/
  --font-title: 'Libre Baskerville', serif;
  --font-body: 'Bellefair', serif;
  --font-h1: 'Belleza', sans-serif;
  --font-code: 'Source Code Pro', monospace;
}



/*Book title*/
.book .book-body{
	font-family: 'Bellefair', serif;
}

/*h1*/
.book .book-body .page-wrapper .page-inner section.normal h1 {
	margin-top: 0.2em;
	font-family: var(--font-h1);
	color: #498275;
	font-weight: bolder;
}

/*h2*/
.book .book-body .page-wrapper .page-inner section.normal h2 {
    font-family: var(--font-h1);
    color:#498275
}

/*h3*/
.book .book-body .page-wrapper .page-inner section.normal h3 {
    font-family: var(--font-h1);
    color:#3da68e
}
/*inline code*/
.book .book-body .page-wrapper .page-inner section.normal code {
	font-family: var(--font-body), monospace;
	color: var(--highlight-salmon);
	background: none;
	padding: 0px;
	font-size: 1em;
}


/*sidebar*/
.summary {
	background-color: var(--main-bg-babyblue);
	border-right: 2px solid var(--highlight-salmon) !important;
}

.book .book-summary ul.summary li.active > a {
	color: var(--highlight-salmon) !important;
}

.book .book-summary ul.summary li ul {
	background-color: var(--main-bg-babyblue) !important;
}

/*Change font color to white when active*/
.book .book-summary ul.summary li.chapter li.active > a {
	background-color: var(--highlight-salmon) !important;
	color: #fff;
}

/*Change hover color, bold font on hover*/
.book .book-summary ul.summary li:not(:active):hover > a {
	color: var(--highlight-salmon) !important;
	font-weight: bold;
}


/*Tables*/
table {
	border: 4px solid var(--highlight-salmon);
}
th {
	background-color: var(--highlight-mauve);
	color: var(--main-bg-babyblue);
}
tr:nth-child(odd) {
	background-color: #f1f9f9;
	color: var(--txt-color);
}
tr:nth-child(even) {
	background-color: var(--main-bg-color);
	color: var(--txt-color);
}
.rt-table > .rt-thead.-header {
  background-color: #ccd4e6 !important;
}

.rt-align-right {
    text-align: center;
}

p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}
