@import url('https://fonts.googleapis.com/css?family=Raleway:300');

@font-face {
    font-family: 'Linux';
    src: url('./fonts/LinLibertine_R.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Linux';
    src: url('./fonts/LinLibertine_RI.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Linux';
    src: url('./fonts/LinLibertine_RB.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Linux';
    src: url('./fonts/LinLibertine_RBI.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('./fonts/UbuntuMono-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('./fonts/UbuntuMono-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('./fonts/UbuntuMono-Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu Mono';
    src: url('./fonts/UbuntuMono-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Georgia';
    src: url('./fonts/georgiab.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Georgia';
    src: url('./fonts/georgiaz.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Georgia';
    src: url('./fonts/georgiai.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Georgia';
    src: url('./fonts/georgia.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Droid Serif';
    src: url('./fonts/DroidSerif-Bold-webfont.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Droid Serif';
    src: url('./fonts/DroidSerif-BoldItalic-webfont.woff') format('woff');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Droid Serif';
    src: url('./fonts/DroidSerif-Italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Droid Serif';
    src: url('./fonts/DroidSerif-Regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-MediumItalic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-LightItalic.ttf') format('truetype');
    font-weight: lighter;
    font-style: italic;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('./fonts/Ubuntu-BoldItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}



html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

::selection{
  background: #739aca;
  color:white;
}

.MathJax {
font-size: 1.2rem !important;
}

h2 span.MathJax{
font-size: 1.2rem !important;
} 

img.emoji {
    height: 25px;
    vertical-align:middle;
}

div.sourceCode{
   margin: 15px 0 15px 0;
   background-color: #f7f9ff;
   border-color: rgba(108, 107, 128, 0.12);
   border-style: groove;
   border-width: 1px;
   padding: 8px 5px;
   border-radius: 9px;
   font-size:1.025rem;
}

.example > div.sourceCode{
  background-color: #eff3ff;
}

.example > h3{
  color:rgb(101, 26, 130)
}

pre.hidden{
  margin: 15px 0 15px 0;
  background-color: #f7f9ff;
  border-color: rgba(108, 107, 128, 0.12);
  border-style: groove;
  border-width: 1px;
  padding: 8px 5px;
  border-radius: 7px;
  font-size:1.025rem;
}

code > span.im {
    color: #1130dc;
    font-weight: bold;
}

code > span.pp {
    color: #1130dc;
}

td.lineNumbers{
  width: 45px;
}

div.figure{
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin: 36px auto;
}

.nobreak{
    white-space: pre !important;
}

.caption{
	text-align: center;
  margin-top: 2px;
  font-size: 0.9rem;
}

.center{
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

a:hover,
a:focus,
a:visited:hover,
a:visited:focus {
    color: #ff4b10;
}

.banner {
    position:fixed;
    top:0;
    color:white;
    left:0;
    vertical-align:middle;
    padding:0;
    width:100%;
    z-index: 1000;
}

.inner-banner{
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    padding: 0px 0px;
    max-width: 1050px;
    min-width: 550px;
    box-shadow: 0px 4px 3px 0px rgb(0 0 0 / 60%);
}

.navigation{
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    padding: 5px 50px 5px 50px;
    max-width: 1050px;
    min-width: 550px;
    background: linear-gradient(0deg, rgb(17 15 59) 0%, #1b1c23fa 100%);

    a, a:visited{
    color: #ffffff;
    font-family: 'Ubuntu Mono';
    }
}

.logo {
    font-family: "Linux";
    color: #ffffff;
    padding: 5px 5px 7px 9px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    max-width: 1050px;
    min-width: 550px;
    background-color: #1b1c23fa;
}

#author {
    color: #ffac13;
    font-size: 1.2rem;
    font-variant-caps: small-caps;
    padding: 0 10px 0 0;
}

#tagline{
    font-size: 0.85rem;
    font-family: 'Ubuntu';
}

.navigation-button {
    float:left;
    text-align:center;
    width:16.5%
}

:target {
  scroll-margin-top: 73px;
}

.show:hover {
    color: red;
    background-color: rgb(226, 210, 232);
}

.show {
    cursor: pointer;
    background-color: #efefef;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 0.75em;
    font-family: sans-serif;
    font-size: inherit;
    font-kerning: inherit;
    font-variant: inherit;
}

.show-group {
    cursor: pointer;
    color: #6b62d7;
    text-decoration: none;
    transition: all .2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: transparent;
    font-family: inherit;
    font-weight: inherit;
    font-style: inherit;
    font-size: inherit;
    font-kerning: inherit;
}

.show-group:hover {
    color: red;
    transition: all .2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hidden {
    display: none;
}

.comment{
  border-style: none none solid none;
  border-width: 1px;
  border-color: red;
  padding-bottom: 1px;
  cursor: help;
}

.comment:hover,
.comment:focus {
  background-color:rgba(255, 255, 77, 0.6);
}

.comment-content{
  background-color:#e4f7e6
}

iframe{
  width:100%;
  outline: none; border:0;
  border-style:none;
  margin: 0;
  padding: 0;
  height: 500px;
  resize: vertical;
}

iframe.plotly {
  scrolling="no";
}

iframe.hlight{
  margin: 15px 0 15px 0;
  background-color: #f7f9ff;
  border-color: rgba(108, 107, 128, 0.12);
  border-style: groove;
  border-width: 1px;
  padding: 8px 5px;
  border-radius: 9px;
}

div.example{
    margin:35px 3px;
    background-color: rgb(239 228 249 / 45%);
    padding: 1px 35px 8px 35px;
    border-radius: 10px;
    border-style: dotted;
    border-width: 1px;
    border-color: rgb(226, 210, 232);
}

div.example.output{
    margin: 35px 0;
    padding: 1px 35px 8px 35px;
    background-color: rgb(255 246 246);
    border-radius: 10px;
    border-style: dotted;
    border-width: 1px;
}

.example.input > h3 {
  color:#333dbd
}

.example.output > h3 {
  color:#b52e2e
}

div.example.input{
    margin: 35px 0;
    background-color: #f7f9ff;
    padding: 1px 35px 8px 35px;
    border-radius: 10px;
    border-style: dotted;
    border-width: 1px;
    border-color: rgba(220, 10, 126, 0.13);
}

div.note{
    margin:35px 3px;
    background-color: rgb(254, 252, 254);
    padding: 1px 35px 8px 35px;
    border-radius: 25px;
    border-style: solid;
    border-width: 7px;
    border-color: rgb(226, 210, 232);
}

.highlight{
    background-color: rgba(255, 255, 33, 0.8);
}

.attn{
    background-color: rgba(255, 255, 33, 0.8);
    color: rgba(255, 0, 0, 0.95) !important;
}

.red{
    color: rgba(255, 0, 0, 0.95) !important;
}

.green{
    color: rgb(0, 187, 0) !important;
}

.blue{
    color: rgba(0, 0, 255, 0.81) !important;
}

.magenta{
    color:magenta !important;
}

.halfwidth{
    max-width: 50%;
}

.old{
    color:red !important;
    text-decoration: line-through;
}

.new{
    color:blue !important;
}

.uline{
    text-decoration: underline;
    -webkit-text-decoration-color: red;
    -moz-text-decoration-color: red;
    text-decoration-color: red;
}

.box{
    outline-width: 1px;
    outline-style: solid;
    padding: 1px 3px;
    outline-color: black;
    display: inline-block;
}

.ptxt{
    color: #222222;
    font-family: "Droid Serif";
    font-size: 1.025rem;
    font-style: inherit;
    white-space: normal;
    overflow-wrap: inherit;
}

.index-item{
    background: none;
    font-size: 1.4rem;
    font-family: "Ubuntu";
    font-weight: bold;
}

.date{
    background: none;
    font-size: 0.9rem;
    font-family: "Ubuntu";
    color: #434343;
    float: right;
}

p > code.sc,
p > span.sc,
h1 > span.sc,
h2 > span.sc,
h3 > span.sc,
h4 > span.sc,
h5 > span.sc,
h6 > span.sc
{
  font-family: inherit;
  font-style: inherit;
  font-variant: small-caps;
}

.scaps{
  font-family: inherit;
  font-style: inherit;
  font-variant: small-caps;
  color: inherit;
  background: none;
}

html {
  background: #424348;
  color: #252525;
  text-rendering: optimizeLegibility;
  font-family: Droid Serif;
  font-size: 1.025rem;
  font-feature-settings: "liga", "clig", "calt", "kern";
  overflow-x: hidden;
  background-image: url(../images/low_contrast_linen.png);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
  }

.text{
  background: none;
  font-family: Droid Serif;
  font-size: 1.025rem;
  font-feature-settings: "liga", "clig", "calt", "kern";
  color: #252525;
  padding: 0;
}

.shadow{
    box-shadow: 1px 1px 5px 1px #afafaf99;
}

body {
background: #ffffff;
background-image: url(../images/cream_dust.png);
overflow-x: hidden;
min-width: 512px;
width: 100%;
padding: 70px 10px 10px 10px;
margin: 0;
}

@media only screen and (max-width: 800px) {
    body {
    background: #ffffff;
    background-image: url(../images/cream_dust.png);
    overflow-x: hidden;
    min-width: 512px;
    width: 100%;
    padding: 70px 10px 10px 10px;
    margin: 0;
    }

    .navigation {
         padding: 5px 5px 5px 5px;
    }
}

@media only screen and (max-width: 512px) {
    body {
    transform: scale(var(--ratio));
    transform-origin: top left;
    min-width: calc(var(--wscale) * 100%);
    }

    .navigation {
         padding: 5px 5px 5px 5px;
    }

    .navigation-button {
    width:16%
    }
}

p {
font-size: 1.025rem;
line-height: 1.76rem;
margin: 15px 0;
text-align: justify;
text-justify: inter-word;
overflow-wrap: break-word;
}

@media (min-width: 950px){

	body {
    background: #ffffff;
    background-image: url(../images/cream_dust.png);
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    padding: 70px 115px 30px 115px;
    max-width: 1050px;
    box-shadow: 2px 2px 8px 1px rgba(0, 0, 0, 0.6);
    }

    p {
    font-size: 1.025rem;
    line-height: 1.76rem;
    margin: 15px 0;
    text-align: justify;
    text-justify: inter-word;
    overflow-wrap: break-word;
    }

    div.example{
    margin: 35px 15px;
    }

    div.example.input{
    margin: 35px 15px;
    }

    div.example.output{
    margin: 35px 15px;
    }

    div.note{
      margin: 35px 15px;
    }


}


figure,
footer,
header,
main,
nav,
section,
summary {
    display: block;
}

a {
    background-color: transparent;
}

a,
a:visited {
    color: #6b62d7;
    text-decoration: none;
    transition: all .2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover,
a:focus,
a:visited:hover,
a:visited:focus {
    color: #ff4b10;
}

a.footnote-backref{
    font-size:0.75rem;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b,
strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Ubuntu";
}

h1 {
    font-size: 1.9rem;
    font-family: "Raleway";
    line-height: 50px;
    line-height: 3.1rem;
    text-align: center;
    margin: 40px 0 36px 0;
}

h2 {
    font-size: 1.5rem;
    line-height: 37.5px;
    line-height: 2.34375rem;
    margin: 36px 0 18px 0;
}

h3 {
    font-size: 1.1rem;
    line-height: 25.5px;
    line-height: 1.59375rem;
    margin: 25px 0 12px 0;
}

h4 {
    font-size: 1.0rem;
    line-height: 24px;
    line-height: 1.5rem;
    margin: 25px 0 12px 0;
}

h5 {
    font-size: 1rem;
    line-height: 24px;
    line-height: 1.5rem;
    margin: 20px 0 12px 0;
}

h6 {
    font-size: 1rem;
    line-height: 24px;
    line-height: 1.5rem;
    margin: 0 0 10px 0;
}

dl p{
	margin: 0 0 15px 0;
}

dl dt{

    font-weight: bold;
}


.footnote p{
    font-size: 0.925rem;
    line-height: 1.7rem;
    margin-left: 10px;
}

li {
    margin: 0.2rem 0;
    line-height: 1.45rem;
}

div[style*="white-space: pre-line;"]{

line-height: 1.6rem;
margin: 15px 0;
}

blockquote {
font-family: 'Georgia', serif;
font-size: 20px;
font-style: italic;
width: 67%;
margin: 0.25em auto;
padding: 0.25em 40px;
line-height: 1.45;
position: relative;
color: #383838;
}

blockquote:before {
display: block;
content: "\201C";
font-size: 80px;
position: absolute;
left: -20px;
top: -20px;
color: #7a7a7a;
}

mark {
    background: #ff0;
    color: #000;
}

small {
    font-size: 80%;
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

img {
    border: 0;
    max-width: 100%;
    border-radius: 10px;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

pre {
    display: block;
    line-height: 110%;
    margin: 0 0 10.5px;
    border-radius: 8px;
    border-color: rgb(88 85 143 / 12%);
    border-style: groove;
    border-width: 2px;
}

code,
kbd,
pre,
samp {
    font-family: "Ubuntu Mono", monospace;
    font-size: 1.0rem;
    overflow-x:auto;
}

h2 code {
  font-size: 1em;
}

p code, li code{
    font-size: 1.1em;
    color: #8f0707;
    background-color: #f5f5f5;
    padding: 3px 3px;
    border-radius: 3px;
}

p code.blend, li code.blend {
    color: inherit;
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}


table{
        width: 100%;
        font-size: 1.0em;
        margin: 0 0 10px 0;
        box-shadow: 1px 1px 5px 1px #afafaf99;
        border-radius: 6px;
    }

@media (min-width: 720px){
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    width: 90%;
    }
}

thead {
    background: #3d415f;
}

table th {
    border-bottom: none;
    color: #ffffff;
    font-family: "Raleway", sans-serif;
}

table tr:nth-child(odd) td{
           background: #efefef;
}
table tr:nth-child(even) td{
            background: #fff;
}


table th {
    border-bottom: none;
    padding: 14px 5px 14px 25px;
}

table td {
    padding: 10px 15px;
}

th:first-of-type {
  border-top-left-radius: 6px;
}
th:last-of-type {
  border-top-right-radius: 6px;
}
tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 6px;
}
tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 6px;
}

figcaption{
    font-size: 0.83rem;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.boldfont{
    font-weight: bold;
}

.container {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.canvas-container{
  margin:0 auto;
}

.two-col{
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.group{
    display: inline-block;
    width:100%;
    margin:0 10px;
    border-style:dotted;
    border-width:1px;
    border-radius:5px;
    margin:0.5em;
    padding:0.5em;
    vertical-align: top;
}

.group h2{
    text-align:center;
    font-size:large;
    margin:0;
}

.group ul{
    margin: 2px 0 8px 15px;
}

.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    color: #333;
    background: #F1F3FB;
    border-radius: 8px;
    /*box-shadow: 1px 1px 3px 2px #888888;*/
}
.hljs-comment,
.hljs-quote {
    color: #6f6f81c7;
    font-style: italic;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-subst {
    color: #4b46fd;
    font-weight: 700;
}
.hljs-literal,
.hljs-number,
.hljs-tag .hljs-attr,
.hljs-template-variable,
.hljs-variable {
    color: #2b9911;
    font-style: italic;
    font-weight: bold;
}
.hljs-doctag,
.hljs-string {
    color: #ff4982;
}
.hljs-section,
.hljs-selector-id,
.hljs-title {
    color: #7a00ab;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: #b7a1b1;
}
.hljs-subst {
    font-weight: 400;
}
.hljs-class .hljs-title,
.hljs-type {
    color: #458;
    font-weight: 700;
}
.hljs-attribute,
.hljs-name,
.hljs-tag {
    color: navy;
    font-weight: 400;
}
.hljs-link,
.hljs-regexp {
    color: #009926;
}
.hljs-bullet,
.hljs-symbol {
    color: #990073;
}
.hljs-built_in,
.hljs-builtin-name {
    color: #0086b3;
}
.hljs-meta {
    color: #999;
    font-weight: 700;
}
.hljs-deletion {
    background: #fdd;
}
.hljs-addition {
    background: #dfd;
}
.hljs-emphasis {
    font-style: italic;
}
.hljs-strong {
    font-weight: 700;
}
.hljs-params {
    color:#8f0000;
}
