html {
    background: rgb(230, 230, 230);
    font-size: 100%;
    overflow-y: scroll;
    padding-bottom: 3em;
    padding-top: 0.5em;
}

body {
    background: #fefefe;
    color: #444;
    font-family: 'Open Sans',sans-serif;
    font-size: 15px;
    line-height: 1.5em;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    margin: 0.5em auto auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

}

/* 
css_settings = {
    'body_width':750,
    'body_width_units':'px',
    'body_pad':2,
    'body_pad_units':'em'
}
 */

/* If the screen is smaller than the body width */
@media only screen and (max-width : 750px) { /* $mh*$body_width */
   img,video {
        max-height: 100vw;
    }
}

a {
    color: #0645ad;
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
    color: #111;
    font-weight: normal;
    line-height: 1em;
    font-family: georgia;
}
h4, h5, h6 {
    font-weight: bold;
}
h1 {
    font-size: 2.5em;
}
h2 {
    font-size: 2em;
}
h3 {
    font-size: 1.5em;
}
h4 {
    font-size: 1.2em;
}
h5 {
    font-size: 1em;
}
h6 {
    font-size: 0.9em;
}

div.toc:before{
    content:"Table of Contents:";
    font-weight: bold;
    font-family: georgia;
}
div.toc{
    content:"TOC";
    border: 2px dashed #ccc;
    padding: 5px 10px;
    border-radius: 1px;
    margin: 10px 10px;
    background-color: #f8f8f8;
    width:fit-content; width:-webkit-fit-content; width:-moz-fit-content;
}
blockquote {
    border-left: 1px solid #777;
    font-size: 1em;
    margin: 2em 2em 2em 1em;
    padding: 0 0.75em 0 1.25em;
}
hr {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: #eee -moz-use-text-color #eee;
    border-image: none;
/*     border-style: solid none; */
    border-width: 1px 0;
    display: block;
    height: 1px;
    margin: 1em 0em;
    padding: 0em;
}
pre {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    line-height: 19px;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
    overflow: false;
/* overflow: auto; */        /* Shouldn't be needed with wrapping */
    padding: 5px 10px;
    border-radius: 3px;
    margin: 10px 5px;
}
pre code, pre tt ,samp,code{
    background-color: transparent;
    font-family:'courier', monospace;
    border: none; 

}

b, strong {
    font-weight: bold;
}
dfn {
    font-style: italic;
}
ins {
    background: #ff9 none repeat scroll 0 0;
    color: #000;
    text-decoration: none;
}
mark {
    background: #ff0 none repeat scroll 0 0;
    color: #000;
    font-style: italic;
    font-weight: bold;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
sup {
    top: -0.5em;
}
sub {
    bottom: -0.25em;
}
ul, ol {
    margin: 0;
    padding: 0 0 0 1em;
}
li p:last-child {
    margin: 0;
}

/* Spacing on ordered lists only */
ol > li:not(:last-child) {
    margin-bottom: 0.5em;
}

dd {
    margin: 0 0 0 2em;
}

/* Github  -- with mods*/
table {
    border: 1px solid rgba(0,0,0,0.25);
    border-collapse: collapse;
    display: table;
    empty-cells: hide;
    margin: -1px 0 23px;
    padding: 0;


/*   display: block; */
  width: 100%;
  overflow: auto;
}

table th {
  font-weight: 600;
}

table th, table td {
/*   padding: 6px 13px; */
  padding: 0 1em;
  border: 1px solid #dfe2e5;
}
table tr {
  background-color: #fff;
  border-top: 1px solid #c6cbd1;
}

table tr:nth-child(2n) {
    background-color: #f5f5f5;
/*   background-color: #f6f8fa; */
}
