div.main-container{
  text-align: justify;
  max-width: 1600px;
}

div.main-container a {
  color: #0070CC;
  font-weight: 500;
}

/* TOC */
#TOC {
  border: 3px solid rgb(225, 125, 125);
  border-radius: 5px;
  margin-bottom: 25px;
  border-width: 2px;
  width: fit-content;
  padding-right: 10px;
}

#TOC a {
  font-size: 14px;
  color: #0070CC;
  font-weight: 500;
}

#TOC li {
  margin: 10px 0px !important;
}

/* TOC */


/* Pre */
/*
pre {
  max-height: 500px;
}

pre > code.sourceCode {
  white-space: pre-wrap;
  word-break: normal;
}
*/

pre.sourceCode {
  color: blue;
  background-color: white !important;
  border-color: blue;
  border-width: 1px;
  overflow-x: auto;
  overflow-y: auto;
  font-size: 14px;
}

pre code {
  white-space: unset !important;
}

pre.sourceCode > code > span > a {
  display: none;
}

/* Pre */


/* Equations */
.math{
  font-size: 14px !important;
}

/* Equations */


/* Code folding buttons */
div.col-md-12 .pull-right {
  float: left !important;
  color: white;
  background-color: blue
}

#header .btn {
  background-color: blue;
  color: white;
  font-size: 16px;
}

@media screen and (max-width: 600px) {
  #header .btn {
    display: none;
  }
}

/* Code folding buttons */

/* ul */
ul {margin-left: 24px; padding-left: 0;}

/* ul */


/* htags */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: sans-serif;
  line-height: 1.2;
  color: #0070CC;
}

h1.title{font-size: 28px !important; font-weight: 500;}
h1 {font-size: 24px; font-weight: 500;}
h2 {font-size: 20px; font-weight: 500; color: #E00000;}
h3 {font-size: 18px; font-weight: 500; color: #E00000;}
h4 {font-size: 16px; font-weight: 500; color: #E00000;}
h5 {font-size: 16px; font-weight: 500; color: #E00000;}
h6 {font-size: 16px; font-weight: 500; color: #E00000;}

@media screen and (max-width: 960px){
h1.title{font-size: 24px !important; font-weight: 500;}
h1 {font-size: 22px;}
h2 {font-size: 19px;}
h3 {font-size: 17px;}
h4 {font-size: 16px;}
h5 {font-size: 16px;}
h6 {font-size: 16px;}
}

@media screen and (max-width: 600px){
h1.title{font-size: 22px !important; font-weight: 500;}
h1 {font-size: 20px;}
h2 {font-size: 18px;}
h3 {font-size: 16px;}
h4 {font-size: 16px;}
h5 {font-size: 16px;}
h6 {font-size: 16px;}
}

/* htags */

/* code spans */
code span.al { color: #BD4B00 !important; } /* Alert */
code span.an { color: #587458 !important; font-weight: bold; } /* Annotation */
code span.at { color: #0000ff !important;} /* Attribute */
code span.bn { color: #b94646 !important; } /* BaseN */
code span.bu { color: black !important; } /* BuiltIn */
code span.cf { color: #008000 !important; } /* ControlFlow */
code span.ch { color: #b94646 !important; } /* Char */
code span.cn { color: #cc0000 !important; font-weight: bold; } /* Constant */
code span.co { color: black !important; } /* Comment */
code span.cv { color: #B800B8 !important; font-weight: bold; } /* CommentVar */
code span.do { color: #587458 !important; } /* Documentation */
code span.dt { color: #707038 !important; } /* DataType */
code span.dv { color: #B800B8 !important; } /* DecVal */
code span.er { color: #746E49 !important; } /* Error */
code span.ex { color: black !important; } /* Extension */
code span.fl { color: #CB3434 !important; } /* Float */
code span.fu { color: #008000 !important; } /* Function */
code span.im { color: black !important; } /* Import */
code span.in { color: #587458 !important; font-weight: bold; } /* Information */
code span.kw { color: #866919 !important; } /* Keyword */
code span.op { color: #866919 !important; } /* Operator */
code span.ot { color: black !important; } /* Other */
code span.pp { color: #BD4B00 !important; font-weight: bold; } /* Preprocessor */
code span.sc { color: black !important; } /* SpecialChar */
code span.ss { color: #AD5252 !important; } /* SpecialString */
code span.st { color: #cc0000 !important; } /* String */
code span.va { color: black !important; } /* Variable */
code span.vs { color: #AD5252 !important; } /* VerbatimString */
code span.wa { color: #587458 !important; font-weight: bold; } /* Warning */

/* code spans */


/* Table styles */
tbody{
    margin-left: auto;
    margin-right: auto;
    font-size: 14px !important;
}

table > caption {
  text-align: center !important;
  font-weight: 500;
  font-size: 16px;
  color: #008000 !important;
}

table {
    display: block;
    overflow: auto;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

table td,
table th {
    border: 1px solid #dfe2e5;
    padding: 6px 13px;
}

table tr {
    background-color: #fff;
    border-top: 1px solid #c6cbd1;
}

table tr:nth-child(2n) {
    background-color: #f6f8fa;
}

table > thead > tr > th {
    border-bottom: 0;
}
/* Table styles */


/* Figure styles */
.figure > p {
  color: #008000 !important;
  font-weight: 500;
  font-size: 16px;
}

/* Figure styles */
