@import url('https://fonts.googleapis.com/css?family=Roboto+Slab:700|Lato:400,400i,700');
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface|Source+Sans+Pro:400,400i,700,700i|Lora:400,400i,700,700i&display=swap');






p.caption {
  color: #777;
  margin-top: 10px;
}
p code {
  white-space: inherit;
}
pre {
  word-break: normal;
  word-wrap: normal;
}
pre code {
  white-space: inherit;
}


* Links */
.book .book-body .page-wrapper .page-inner section.normal a {
  color: #702082;
}



/* line goes all the way across full chapter title */
.level1 h1 {
  border-bottom: 3px solid #bed3ec;
}


/* Shadow for Figures */

gradient {
background-color: #e4e4e4;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0idnNnZyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjAlIj48c3RvcCBzdG9wLWNvbG9yPSIjZmZmZmZmIiBzdG9wLW9wYWNpdHk9IjEiIG9mZnNldD0iMCIvPjxzdG9wIHN0b3AtY29sb3I9IiNkYmRiZGIiIHN0b3Atb3BhY2l0eT0iMSIgb2Zmc2V0PSIwLjI0NSIvPjxzdG9wIHN0b3AtY29sb3I9IiNkYmRiZGIiIHN0b3Atb3BhY2l0eT0iMSIgb2Zmc2V0PSIwLjcyMyIvPjxzdG9wIHN0b3AtY29sb3I9IiNmZmZmZmYiIHN0b3Atb3BhY2l0eT0iMSIgb2Zmc2V0PSIxIi8+PC9saW5lYXJHcmFkaWVudD48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI3ZzZ2cpIiAvPjwvc3ZnPg==);
background-image: -webkit-gradient(linear, 0% 0%, 100% 0%, color-stop(0, white), color-stop(0.245, #cbcbcb), color-stop(0.723, #cbcbcb), color-stop(1, white));
background-image: -webkit-linear-gradient(left, white 0%, #cbcbcb 25%, #cbcbcb 75%, white 100%);

background-image: linear-gradient(to right, white 0%, #cbcbcb 25%, #cbcbcb 75%, white 100%);
background-image: -ms-linear-gradient(left, white 0%, #cbcbcb 25%, #cbcbcb 75%, white 100%);
}
.highlight_active, #bookmark_div li.toc-active, #toc_wrapper .active .header-section-number, #toc_wrapper .tocify > ul.tocify-header:nth-of-type(even) .list-group-item.active, #toc_wrapper .tocify > ul.tocify-header:nth-of-type(odd) .list-group-item.active {
background-color: white !important;
color: #d2aa1b;
font-weight: bold;
-webkit-border-radius: 0px;
-moz-border-radius: 0px;
-ms-border-radius: 0px;
border-radius: 0px;
}
.shadow, div.figure {
-moz-box-shadow: 0px 3px 10px #403636;
-webkit-box-shadow: 0px 3px 10px #403636;
box-shadow: 0px 3px 10px #403636;
}
.tocbox, #bookmark_div, #toc_wrapper .tocify > ul.tocify-header {
margin-bottom: 20px;
max-height: 600px;
overflow: auto;
position: relative;
margin-top: -17px;
padding-top: 15px;
}





/* DROP CAPS*/


/*p:nth-child(2):first-letter {   /* /* DROP-CAP FOR FIRST P BENEATH EACH H1 OR H2*/ /*
  color: #2f65a7;
  float: left;
  font-family: 'Abril Fatface', serif;
  font-size: 7em;
  line-height: 65px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  margin-bottom: 9px;
}
*/

/* try the below with the ~ instead...or just the space?) */

.section.level1 > p:first-of-type:first-letter { /*drop cap for first p beneath level 1 headers only within class .section*/
  color: #2f65a7;
  float: left;
  font-family: 'Abril Fatface', serif;
  font-size: 6em;
  line-height: 65px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  margin-bottom: 9px;
}

/* add drop cap to first paragraph that follows the first 2nd level header*/
/*
.section.level2:first-of-type > p:first-of-type:first-letter {
  color: #2f65a7;
  float: left;
  font-family: 'Abril Fatface', serif;
  font-size: 7em;
  line-height: 65px;
  padding-top: 4px;
  padding-right: 8px;
  padding-left: 3px;
  margin-bottom: 9px;
}
*/


/*------------- Body and header text---------------- */

body {
text-align: justify}

.book.font-family-0 {
  font-family: 'Droid Serif', Georgia, serif;
}

.book.font-family-1 {
 font-family: "Droid Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}


a {
color: #3b556e;
}

dt {
  color: #2f65a7;
}

dd {
  margin-bottom: 12px;
  margin-left: 20px;
  padding-left: 20px;
}



.book-body table {
  background: #40e0d0;
  border: 0px;
}


/*  color of text*/
.book .book-body .page-wrapper .page-inner section.normal table td, .book .book-body .page-wrapper .page-inner section.normal table th {
/*  font-family: "Droid Sans",Arial,Sans;*/
  color: #333333;
  border: 1px;
  font-size: 11pt;
  height: 15px;
  padding: 0px;
  cellpadding="0";
  cellspacing="0";
  text-shadow: none;
}


/*  color for header Datatable*/
.book .book-body .page-wrapper .page-inner section.normal th {
  background: #40e0d0;
  font-weight: bold;
}

.book .book-body .page-wrapper .page-inner section.normal blockquote {
  quotes: none;
  text-shadow: none;
  background: #40e0d0;
  padding:  7px 20px 1px 20px;
  color: #333333;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

/*  color for chunk code*/

.book .book-body .page-wrapper .page-inner section.normal pre {
    background: #eeeeee;
    padding: 5px 10px 5px 10px;
    margin: 0px 0px 5px 0px;
}




.book .book-summary ul.summary li.active>a {
  color: #ffffff;
}

.book .book-summary ul.summary li a:hover {
  background-color: #ffffff;
  color: #3b556e;
}
.book .book header h1 {
  opacity: 1;
  text-align: left;
}

#header .title {
  margin-bottom: 0EM;
}
#header h4.author {
  margin: 0;
  color: # 666;
}
#header h4.author em {
  font-style: normal;
}

.book-body p.caption {
  color: #333333;
  background-color: #eeeeee;
  padding-left: 20px;
  font-size: 8pt;
}

h1, h2, h3, h4, h5 {
  font-family: 'Prata', serif;
  color: #2f65a7;
}

.title {
  font-family: 'Prata', serif;
  font-size: 3em !important;
  color: #2f65a7;
}

.subtitle {
  font-family: 'Prata', serif;
  color: #2c6793 !important;
}

.subtitle em {
  font-style: normal !important;
}

.author {
  color: #2c6793 !important;
}

p.author em {
  font-style: normal !important;
}







table {
margin: 10px;
border: 1px solid black;
font-size: 9pt;
border-spacing: 0px;

background-color: #FFF;

min-width: 40%;

}
table td {
font-family: sans-serif;
font-size: 9pt;
border: 1px solid black;
padding: 4px;
}
table th {
background-color: #117ec2 !important;
color: white !important;
border: 1px solid black;
font-family: sans-serif;
font-size: 10pt;
font-weight: bold;
padding-left: 3px;
padding-right: 3px;
padding-top: 5px;
padding-bottom: 5px;
}
table caption {
color: black;
background-color: rgba(211, 211, 211, 0.27);
padding: 8px;
margin-bottom: 0px;
margin-top: 10px;
border-top: 1px solid lightgrey;
border-left: 2px solid lightgrey;
border-right: 1px solid lightgrey;
font-weight: bolder;
}
.nowrap table {
white-space: nowrap;
}

.table-striped > tbody > tr:nth-child(odd) > td,
.table-striped > tbody > tr:nth-child(odd) > th {
background-color: #F2F2F2;
}
.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
background-color: #d2aa1b;
}




.flat-table {
  display: block;
  font-family: sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 115%;
  overflow: auto;
  width: auto;
}








/*--- LOGO ---*/

    .toc-logo {
      width: 200px !important;
      object-fit: contain;
      margin: 0 auto;
      display: block;
    }

    .toc-logo img {
      max-width: 100%;
      margin-bottom: 10px;
    }

    .summary > li:first-child {
      height: auto !important;
    }



/*-----Body Links-------*/

.book .book-body .page-wrapper .page-inner section.normal a {
  color: #2f65a7;
}

.book .book-body .page-wrapper .page-inner section.normal a:hover {
 color: #1f5386; /* darker color when hovering */
 text-decoration: none;
}


/* The next two rules make the horizontal line go straight across in top navbar */

.summary > li:first-child {
	height: 50px;
	padding-top: 10px;
	border-bottom: 1px solid rgba(0,0,0,.07);
}

.book .book-summary ul.summary li.divider {
	height: 0px;
}

/* -----------Section anchors -------------*/

.book .book-body .page-wrapper .page-inner section.normal {
  overflow: visible !important; /*so anchor link doesn't get cut off */
}

a.anchor {
  margin-left: -30px;
  padding-right: 3px;
  display:inline-block;
  width: 30px;
  height: 30px;
  /*visibility: hidden;*/
  background-image: url(https://image.flaticon.com/icons/svg/34/34735.svg) !important;
  background-repeat: no-repeat !important;
  background-size: 20px 20px !important;
  background-position: center bottom !important;
  opacity: 0;
}


.hasAnchor:hover a.anchor, a.anchor:hover {
  /*visibility: visible;*/
  opacity: 0.6;
}

@media (max-width: 1144px) { /* don't show anchor link on small screens */
  .hasAnchor:hover a.anchor {
    visibility: hidden;
  }
}


/*TOC */

/*------------ TOC --------------*/

.book .book-summary {
  background: #2f65a7;
  border-right: #2f65a7;
}

.summary{
    font-family: 'Helvetica Neue', sans-serif;
    }

/* all TOC list items, basically */
    .book .book-summary ul.summary li a,
    .book .book-summary ul.summary li span {
      padding-top: 8px;
      padding-bottom: 8px;
      padding-left: 15px;
      padding-right: 15px;
      color: white;
    }

    .summary a:hover {
      color: #778ca5 !important;
    }

    .book .book-summary ul.summary li.active>a { /*active TOC links*/
      color: #5699cc !important;
      border-left: solid 4px;
      border-color: #5699cc;
      padding-left: 11px !important;
    }

    li.appendix span, li.part span { /* for TOC part names */
      margin-top: 1em;
      color: #778ca5;
      opacity: 1 !important;
      text-transform: uppercase;
    }

    .part + li[data-level=""] { /* grabs first .chapter immediately after .part...but only those ch without numbers */
      text-transform: uppercase;
    }


/*------------- CODE --------------*/

.book .book-body .page-wrapper .page-inner section.normal code,
.book .book-body .page-wrapper .page-inner section.normal pre {
  font-family: 'Source Code Pro', monospace;
  font-size: 1em;
}

.sourceCode pre {
  margin: 0 !important; /* makes space above and below symmetrical*/
}

.sourceCode {
  margin-bottom: 0.85em; /* adds same amount of margin beneath chunk as a <p> would */
}

/*------------- BLOCK QUOTES --------------*/

blockquote > p:last-child {
  text-align: right;
}

blockquote > p:first-child {
  text-align: inherit;
}



/*------------- ADD box-shadow --------------*/
.titeldefbox {
display: flex;
width: 100%;
left: 0;
top: 0;
position: absolute;
background-color: darkslategray;
height: 50px;
color: white;
border-radius: 10px 10px 0 0;
padding: 10px 0 10px 0;
}

.defbox {
  background-position: 0px;
background: linear-gradient(
  315deg,
  hsl(240deg 50% 95%) 0%,
  hsl(158deg 13% 64%) 100%
);
  padding: 1em 1em 1em 1em;
  border-radius: 10px;
  position: relative;
}

.svgdefbox {
  width: auto;
  height: 25px;
  padding-left: 1em;
}

.defbox h2 h3 h4 {
font-size: 16px !important;
margin-top: 0px !important;
width: 100% !important;
height: 20px !important;
padding: 0 0 10px 15px !important;
width: auto;
}




.defbox p{
  margin-top: 10px !important;
  padding: 10px 10px 0 0 !important;
  width: auto;
}



#sidebar {
    color: #105293;
    background: #113458;
}

#sidebar h2 {
    color: #FFFFFF;
    background-color: #4096B8;
}

#sidebar a {
    color: #3F4548;
}

#sidebar a:hover {
    background-color: #3F4548;
    color: #105293;
}








