/*
 * base.css
 */

@font-face {
    font-family: 'Junicode';
    font-style: normal;
    font-weight: normal;
    src: url('../res/junicode-regular-webfont.eot');
    src: url('../res/junicode-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../res/Junicode.woff') format('woff'),
         url('../res/Junicode.ttf') format('truetype'),
         url('../res/junicode-regular-webfont.svg#JunicodeRegular') format('svg');
}
@font-face {
    font-family: 'Junicode';
    font-style: italic;
    font-weight: normal;
    src: url('../res/junicode-italic-webfont.eot');
    src: url('../res/junicode-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../res/Junicode-Italic.woff') format('woff'),
         url('../res/Junicode-Italic.ttf') format('truetype'),
         url('../res/junicode-italic-webfont.svg#JunicodeItalic') format('svg');
}

@font-face {
  font-family: 'FantasqueSansMono-BoldItalic';
  src: url('../res/FantasqueSansMono-BoldItalic.eot'); /* IE 9 Compatibility Mode */
  src: url('../res/FantasqueSansMono-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
       url('../res/FantasqueSansMono-BoldItalic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
       url('../res/FantasqueSansMono-BoldItalic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../res/FantasqueSansMono-BoldItalic.svg#strippedname:/home/jany/Polices/Cosmic/Sources/FantasqueSansMono-BoldItalic.sfd') format('svg'); /* Chrome < 4, Legacy iOS */
  font-weight: Fantasque Sans Mono Bold Italic;
  font-style: italic;
}
@font-face {
  font-family: 'FantasqueSansMono-Bold';
  src: url('../res/FantasqueSansMono-Bold.eot'); /* IE 9 Compatibility Mode */
  src: url('../res/FantasqueSansMono-Bold.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
       url('../res/FantasqueSansMono-Bold.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
       url('../res/FantasqueSansMono-Bold.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../res/FantasqueSansMono-Bold.svg#strippedname:/home/jany/Polices/Cosmic/Sources/FantasqueSansMono-Bold.sfd') format('svg'); /* Chrome < 4, Legacy iOS */
  font-weight: Fantasque Sans Mono Bold;
  font-style: italic;
}
@font-face {
  font-family: 'SPLFirstVisitorFoundSoughtXY() 607.100000 521.000000 710.000000';
  src: url('../res/FantasqueSansMono-RegItalic.eot'); /* IE 9 Compatibility Mode */
  src: url('../res/FantasqueSansMono-RegItalic.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
       url('../res/FantasqueSansMono-RegItalic.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
       url('../res/FantasqueSansMono-RegItalic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../res/FantasqueSansMono-RegItalic.svg#strippedname:/home/jany/Polices/Cosmic/Sources/FantasqueSansMono-RegItalic.sfd') format('svg'); /* Chrome < 4, Legacy iOS */
  font-weight: SPLFirstVisitorFoundSoughtXY() 607.100000 841.000000 1036.000000;
  font-style: italic;
}
@font-face {
  font-family: 'FantasqueSansMono-Regular';
  src: url('../res/FantasqueSansMono-Regular.eot'); /* IE 9 Compatibility Mode */
  src: url('../res/FantasqueSansMono-Regular.eot?#iefix') format('embedded-opentype'), /* IE < 9 */
       url('../res/FantasqueSansMono-Regular.woff') format('woff'), /* Firefox >= 3.6, any other modern browser */
       url('../res/FantasqueSansMono-Regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../res/FantasqueSansMono-Regular.svg#strippedname:/home/jany/Polices/Cosmic/Sources/FantasqueSansMono-Regular.sfd') format('svg'); /* Chrome < 4, Legacy iOS */
  font-weight: Fantasque Sans Mono Regular;
  font-style: italic;
}

body {
    font-family: Junicode, serif;
    font-size: 14pt;
    line-height: 18pt; 
    margin: 1em auto;
    width: 600px;

    font-feature-settings: "liga",  "onum";
    -o-font-feature-settings: "liga",  "onum";
    -webkit-font-feature-settings: "liga",  "onum";
    -ms-font-feature-settings: "liga",  "onum";
    -moz-font-feature-settings: "liga=1, onum=1";
}

/* Switch to lining numbers */
.lnum, sup.footnote {
    font-feature-settings: "onum" 0;
    -o-font-feature-settings: "onum" 0;
    -webkit-font-feature-settings: "onum" 0;
    -ms-font-feature-settings: "onum" 0;
    -moz-font-feature-settings: "onum=1";   
}

div#header {
    border-top: 5px solid #424242;
    padding-top: 16px;
    margin-top: 16px;
    border-bottom: 1px solid #E8E8E8;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

th, h1, h2, h3, h4, h5 {
    font-style: italic;
    font-weight: normal;
    margin: 1em 0;
    clear: both;
    margin-bottom: 0.5em;
    margin-top: 1em;
}

h1 {
    border-bottom: solid 1px silver;
    font-size: 17pt;
    padding-bottom: 8px;
}

h2 {
    font-size: 15pt;
}

h3 {
    font-size: 14pt;
}

th {
    text-align: left;
}

table {
    border-collapse: separate;
    /* border-spacing: 4px; */
}

thead th {
    border-bottom: solid 1px silver;
    text-align: center;
    border-spacing: 4px;
}

tbody th {
    border: none;
}

th {
    padding: 4px;
}

td {
    padding: 8px;
}

p {
    margin: 1em 0;
    text-indent: 1.5em;
}

li > p:first-child {
    text-indent: 0;
}

ul { 
   list-style-type: disc; 
   list-style-position: outside; 
   margin-left: 1em;
   
}
ol { 
   list-style-type: decimal; 
   list-style-position: outside; 
   margin-left: 1em;
   text-indent: 0;
}
ul ul, ol ul { 
   list-style-type: circle; 
   list-style-position: outside; 
   margin-left: 15px; 
}
ol ol, ul ol { 
   list-style-type: lower-latin; 
   list-style-position: outside; 
   margin-left: 15px; 
}

li {
    margin-bottom: 0.5em;
    margin-top: 0.5em;
}

img#selfie {
    float: left;
    padding: 2px;
    border: solid 1px silver;
    margin: 12px;
}

code, pre {
    font-family: "Fantasque Sans Mono", monospace;
    font-size: 12pt;
}

pre {
    margin: 1em .5em;
    white-space: pre;
}

blockquote {
    margin: 1em .5em;
}

i, em {
    font-style: italic;
}

sup {
    font-size: 85%;
    line-height: 0;
    position: relative;
    top: -0.5em;
}

h5 {
    font-style: italic;
    font-size: 14pt;
}

div.footnotes::before {
    content: "References";
    font-style: italic;
}

div.footnotes {
    margin-top: 2em;
}