/* GitHub stylesheet for MarkdownPad (http://markdownpad.com) */
/* Author: Nicolas Hery - http://nicolashery.com */
/* Version: 29d1c5bc36da364ad5aa86946d420b7bbc54a253 */
/* Source: https://github.com/nicolahery/markdownpad-github */

/* RESET
=============================================================================*/

.article html,.article body,.article div,.article span,.article applet,.article object,.article iframe,.article h1,.article h2,.article h3,.article h4,.article h5,.article h6,.article p,.article blockquote,.article pre,.article a,.article abbr,.article acronym,.article address,.article big,.article cite,.article code,.article del,.article dfn,.article em,.article img,.article ins,.article kbd,.article q,.article s,.article samp,.article small,.article strike,.article strong,.article sub,.article sup,.article tt,.article var,.article b,.article u,.article i,.article center,.article dl,.article dt,.article dd,.article ol,.article ul,.article li,.article fieldset,.article form,.article label,.article legend,.article table,.article caption,.article tbody,.article tfoot,.article thead,.article tr,.article th,.article td,.article article,.article aside,.article canvas,.article details,.article embed,.article figure,.article figcaption,.article footer,.article header,.article hgroup,.article menu,.article nav,.article output,.article ruby,.article section,.article summary,.article time,.article mark,.article audio,.article video {
  margin: 0;
  padding: 0;
  border: 0;
}

/* BODY
=============================================================================*/

.article body {
  font-family: Helvetica, arial, freesans, clean, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.article body>*:first-child {
  margin-top: 0 !important;
}

.article body>*:last-child {
  margin-bottom: 0 !important;
}

/* BLOCKS
=============================================================================*/

.article p,.article blockquote,.article ul,.article ol,.article dl,.article table,.article pre {
  margin: 15px 0;
}

/* HEADERS
=============================================================================*/

.article h1,.article h2,.article h3,.article h4,.article h5,.article h6 {
  margin: 20px 0 10px;
  padding: 0;
  font-weight: bold;
  -webkit-font-smoothing: antialiased;
}

.article h1 tt,.article h1 code,.article h2 tt,.article h2 code,.article h3 tt,.article h3 code,.article h4 tt,.article h4 code,.article h5 tt,.article h5 code,.article h6 tt,.article h6 code {
  font-size: inherit;
}

.article h1 {
  font-size: 28px;
  color: #000;
}

.article h2 {
  font-size: 24px;
  border-bottom: 1px solid #ccc;
  color: #000;
}

.article h3 {
  font-size: 18px;
}

.article h4 {
  font-size: 16px;
}

.article h5 {
  font-size: 14px;
}

.article h6 {
  color: #777;
  font-size: 14px;
}

.article body>h2:first-child,.article body>h1:first-child,.article body>h1:first-child+h2,.article body>h3:first-child,.article body>h4:first-child,.article body>h5:first-child,.article body>h6:first-child {
  margin-top: 0;
  padding-top: 0;
}

.article a:first-child h1,.article a:first-child h2,.article a:first-child h3,.article a:first-child h4,.article a:first-child h5,.article a:first-child h6 {
  margin-top: 0;
  padding-top: 0;
}

.article h1+p,.article h2+p,.article h3+p,.article h4+p,.article h5+p,.article h6+p {
  margin-top: 10px;
}

/* LINKS
=============================================================================*/

.article a {
  color: #4183C4;
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}

/* LISTS
=============================================================================*/

.article ul {
  padding-left: 30px;
  list-style: disc;
}
.article ol {
  padding-left: 30px;
  list-style: decimal;
}

.article ul li > :first-child, 
.article ol li > :first-child, 
.article ul li ul:first-of-type, 
.article ol li ol:first-of-type, 
.article ul li ol:first-of-type, 
.article ol li ul:first-of-type {
  margin-top: 0px;
}

.article ul ul,.article ul ol,.article ol ol,.article ol ul {
  margin-bottom: 0;
}

.article dl {
  padding: 0;
}

.article dl dt {
  font-size: 14px;
  font-weight: bold;
  font-style: italic;
  padding: 0;
  margin: 15px 0 5px;
}

.article dl dt:first-child {
  padding: 0;
}

.article dl dt>:first-child {
  margin-top: 0px;
}

.article dl dt>:last-child {
  margin-bottom: 0px;
}

.article dl dd {
  margin: 0 0 15px;
  padding: 0 15px;
}

.article dl dd>:first-child {
  margin-top: 0px;
}

.article dl dd>:last-child {
  margin-bottom: 0px;
}

/* CODE
=============================================================================*/

.article pre,.article code,.article tt {
  font-size: 12px;
  font-family: Consolas, "Liberation Mono", Courier, monospace;
}

.article code,.article tt {
  margin: 0 0px;
  padding: 0px 0px;
  white-space: nowrap;
  border: 1px solid #eaeaea;
  background-color: #f8f8f8;
  border-radius: 3px;
}

.article pre>code {
  margin: 0;
  padding: 0;
  white-space: pre;
  border: none;
  background: transparent;
}

.article pre {
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  font-size: 13px;
  line-height: 19px;
  overflow: auto;
  padding: 6px 10px;
  border-radius: 3px;
}

.article pre code,.article pre tt {
  background-color: transparent;
  border: none;
}

/* QUOTES
=============================================================================*/

.article blockquote {
  border-left: 4px solid #DDD;
  padding: 0 15px;
  color: #777;
}

.article blockquote>:first-child {
  margin-top: 0px;
}

.article blockquote>:last-child {
  margin-bottom: 0px;
}

/* HORIZONTAL RULES
=============================================================================*/

.article hr {
  clear: both;
  margin: 15px 0;
  height: 0px;
  overflow: hidden;
  border: none;
  background: transparent;
  border-bottom: 4px solid #ddd;
  padding: 0;
}

/* TABLES
=============================================================================*/

.article table th {
  font-weight: bold;
}

.article table th,.article table td {
  border: 1px solid #ccc;
  padding: 6px 13px;
}

.article table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}

.article table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

/* IMAGES
=============================================================================*/

.article img {
  max-width: 100%
}
