﻿/* Indigo - built-in style for EgDocBuild */
*, *::before, *::after { box-sizing: border-box; }

html { background: #f4f6fb; }

body {
  background:  #f4f6fb;
  color:       #1e2433;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size:   16px;
  line-height: 1.4;
  text-align:  justify;
  max-width:   1280px;
  margin:      0 auto;
  padding:     0 44px 88px 44px;
}

h1, h2, h3, h4, h5, h6 {
  font-family:   "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color:         #1a2540;
  line-height:   1.25;
  margin-top:    1.6em;
  margin-bottom: 0.4em;
  font-weight:   700;
}

h1 {
  font-size:      2em;
  margin-top:     0;
  padding-bottom: 0.25em;
  border-bottom:  2px solid #8aaad4;
}

h2 {
  font-size:      1.5em;
  padding-bottom: 0.15em;
  border-bottom:  1px solid #bccde0;
}

h3 { font-size: 1.2em; }
h4 { font-size: 1.05em; }
h5 { font-size: 1em; }
h6 { font-size: 0.95em; color: #4a5a7a; }

/* Pandoc title block */

header#title-block-header { margin-bottom: 2.2em; }

header#title-block-header .title {
  font-family:    "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size:      2.2em;
  font-weight:    700;
  color:          #1a2540;
  border-bottom:  2px solid #8aaad4;
  padding-bottom: 0.25em;
  margin:         0 0 0.3em 0;
}

header#title-block-header .author,
header#title-block-header .date {
  color:     #4a5a7a;
  font-size: 0.9em;
  margin:    0.2em 0;
}

p { margin: 0.75em 0; }

a {
  color:           #3a6bc4;
  text-decoration: none;
  border-bottom:   1px solid #9ab8e0;
}

a:hover { color: #1e3f80; border-color: #1e3f80; }

code {
  font-family:   Consolas, "Courier New", "Lucida Console", monospace;
  font-size:     0.85em;
  background:    #dde4f0;
  color:         #1e2e50;
  padding:       0.1em 0.4em;
  border-radius: 3px;
}

pre {
  background:    #dde4f0;
  border-left:   3px solid #6a9fd4;
  border-radius: 0 4px 4px 0;
  padding:       1em 1.2em;
  overflow-x:    auto;
  margin:        1.2em 0;
  line-height:   1.5;
}

pre code {
  background:    none;
  padding:       0;
  font-size:     0.9em;
  color:         #1e2e50;
  border-radius: 0;
  white-space:   pre;
}

blockquote {
  margin:      1.2em 0;
  padding:     0.5em 1em 0.5em 1.2em;
  border-left: 3px solid #6a9fd4;
  background:  #edf1f9;
  color:       #3a4a6a;
  font-style:  italic;
}

blockquote p { margin: 0.3em 0; }

ul, ol { padding-left: 1.8em; margin: 0.6em 0; }
li { margin: 0.25em 0; }
li > ul, li > ol { margin: 0.15em 0; }

table {
  width:           auto;
  max-width:       100%;
  display:         block;
  overflow-x:      auto;
  border-collapse: collapse;
  margin:          1.4em 0;
  font-size:       0.85em;
  table-layout:    auto;
}

th {
  background:  #c8d8ed;
  color:       #1a2540;
  font-weight: 600;
  text-align:  left;
  padding:     0.5em 0.8em;
  border:      1px solid #a0bcd8;
}

td {
  padding:        0.4em 0.8em;
  border:         1px solid #b8cce0;
  vertical-align: top;
}

tr:nth-child(even) td { background: #edf1f9; }

hr { border: none; border-top: 1px solid #a0bcd8; margin: 2em 0; }

img { max-width: 100%; height: auto; display: block; margin: 1em auto; }

strong { font-weight: 700; color: #1a2540; }
em     { font-style: italic; }

/* Definition lists (Pandoc extension) */

dt { font-weight: 600; margin-top: 0.6em; color: #1a2540; }
dd { margin-left: 1.5em; color: #2a3a5a; }

/* Footnotes (Pandoc) */

section.footnotes {
  margin-top:  2em;
  border-top:  1px solid #a0bcd8;
  padding-top: 0.8em;
  font-size:   0.88em;
  color:       #4a5a7a;
}