/*
* {
  outline: 1px solid red;
}
*/

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	padding: 0;
	margin: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
	border: 0;
}

.date {
  font-size: 0.75em;
  text-align: right;
  margin: 5rem auto;
  color: #9e9d9d;
}

.article-top {
  border-bottom: 3px solid lightgrey;
  margin: 0 auto 2rem;
}
article.post {
   margin-bottom: 1.5em;
}

div.posts article.post h2 {
  font-size: 2rem;
  margin-bottom: 0;
}

div.posts article.post div.entry p {
   margin-bottom: 0;
}

a.read-more {
  font-weight: bold;
  color: #b9193c;
}

div.posts article.post h2 a {
  color: #303030;
}

div.posts article.post div.entry ul {
  margin-bottom: 0.125em;
}

div.posts article.post div.entry section code {
  margin-bottom: 0.125em;
}

.tag-cloud {
  list-style: none;
  padding: 0;
  margin: 0 2em 0 2em;;
  text-align: justify;
  font-size: 16px;
}

.tag-cloud li {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
}

.tag-cloud li a {
  color: rgba(48, 48, 48, 0.38);
}

#archives {
  padding: 5px;
  color: #b9193c
}

.archive-group {
  margin: 2em 0 0 0;
  /*border-top: 1px solid #ddd;*/
}

.archive-group h2 {
  border-bottom: 1px solid #ddd;
}

.archive-item h5 a {
    color: #303030;
}
.post-tags {
  text-align: right;
}


/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: ''; /* remove quotes in case "none" fails below */
	content: none;
}
table {
	border-spacing: 0;
	border-collapse: collapse;
}

/* LAYOUT STYLES */
body {
  /* font-family: 'Helvetica Neue', Helvetica, Arial, serif; */
  font-family: 'Avenir Next W01', Helvetica, Arial, "Nimbus Sans L", sans-serif;
  /* font-size: 1em; */
  line-height: 1.5;
  color: #6d6d6d;
  background: #b8b8b8;
}

a {
   color: #b9193c;

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

header {
  padding-top: 35px;
  padding-bottom: 0;
  margin-bottom: 3em;
}

header h1 {
  font-size: 4rem; font-weight: 900;
  line-height: 1.2;
  color: #303030;
  letter-spacing: 0px;
}

h1.post-heading {
  font-size: 2rem;
  /*margin: 0 auto 2rem;*/

}

header h2 {
  font-size: 2rem;
  font-weight: normal;
  line-height: 1.3;
  color: #aaa;
  letter-spacing: 0px;
}

#container {
  min-height: 595px;
  background: #eaeaea;
  /*background: transparent url(../images/highlight-bg.jpg) 90% 0 no-repeat;*/
  margin: 5px 2.5%;
}

.inner {
  width: 620px;
  margin: 0 auto;
}

#container .inner img {
  max-width: 100%;
}

#downloads {
  margin-bottom: 40px;
}

a.button {
  display: block;
  float: left;
  width: 179px;
  padding: 12px 8px 12px 8px;
  margin-right: 14px;
  /*font-size: 15px;*/
  font-weight: bold;
  line-height: 25px;
  color: #303030;
  background: #fdfdfd;
  border-radius: 30px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
}
a.button:hover {
  background: #fafafa;
}

a.button span {
  display: block;
  /*height: 23px;*/
  padding-left: 50px;
}

#download-zip span {
  background: transparent url(../images/zip-icon.png) 12px 50% no-repeat;
}
#download-tar-gz span {
  background: transparent url(../images/tar-gz-icon.png) 12px 50% no-repeat;
}
#view-on-github span {
  background: transparent url(../images/octocat-icon.png) 12px 50% no-repeat;
}
#view-on-github {
  margin-right: 0;
}

code, pre {
  margin-bottom: 30px;
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal;
  /*font-size: 14px;*/
  /*color: #222;*/
  /*background-color: transparent;*/
}

code {
  padding: 0;  /* too many gist borders showing: padding: 0 3px; */
  /*background-color: transparent;*/
  border: 0; /* too many gist borders showing: border: solid 1px #ddd; */
}

pre {
  padding: 20px;
  overflow: auto;
  /*color: #545454;  Darkened to fix invisible text in parts of gists.*/
  text-shadow: none;
  /*background-color: transparent;*/
}
pre code {
  padding: 0;
  /*color: #f2f2f2;*/
  /*background-color: transparent;*/
  border: none;
}

.lineno {
  font-size: 0.75em;
  color: lightgrey;
}

ul, ol, dl {
  margin-bottom: 20px;
}


/* COMMON STYLES */

hr {
  height: 1px;
  padding-bottom: 1em;
  margin-top: 1em;
  line-height: 1px;
  background: transparent url('../images/hr.png') 50% 0 no-repeat;
  border: none;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

table {
  /*width: 100%;*/
  /*border: 1px solid #ebebeb;*/
  /*margin: 1em;*/
  margin: 3rem auto;
}

th {
  font-size: 0.5rem;
  font-weight: 700;
}

td {
  /*font-weight: 300;*/
  font-size: 0.5rem;
  color: #303030;
  padding: 0.5rem;
  /*text-align: center;*/  /* this was screwing up formatting in gists */
  /*border: 1px solid #303030;*/
}

form {
  padding: 20px;
  background: #f2f2f2;

}


/* GENERAL ELEMENT TYPE STYLES */

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 1.5rem;
}

h2 > a {
  margin-bottom: 8px;
  font-size: 2rem;
  color: #303030;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
  font-weight: bold;
  color: #d5000d;
}

h4 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #303030;
}

h5 {
  font-size: 1.2rem;
  color: #303030;
}

h6 {
  font-size: 1rem;
  color: #303030;
}

p {
  margin-bottom: 20px;
  font-size: 100%;
  /* font-weight: 300; */
}

a {
  text-decoration: none;
}

p a {
  font-weight: 400;
}

ul li {
  font-size: 1rem;
  list-style: disc outside; /* shorthand: <'list-style-type'> || <'list-style-position'> || <'list-style-image'> */
  margin-left: 1em;
}

ul li a {
  font-size: 1rem;
  color: #303030;
}

ol li {
  list-style-position: inside;
  list-style: decimal;
  padding-left: 3px;
}

dl dt {
  color: #303030;
}

footer {
  margin: 2em 0 1em;
  font-size: 13px;
  color: #aaa;
  background: transparent url('../images/hr.png') 0 0 no-repeat;
}

footer a {
  color: #666;
}
footer a:hover {
  color: #444;
}
footer div > section#downloads {
  margin: 0;
}

/* MISC */
figure.quote {
  margin: 2rem 0;
  padding: 0 1rem;
  border-left: 1px dotted #bfbfbf
}
figure.quote > blockquote {
  line-height: 1.5rem;
  font-size: 1.3rem;
  font-style: italic;
}
figure.quote > figcaption {
  line-height: 2.75rem;
  /*margin: 0.5rem 0;*/
  /*font-size: 0.5rem;*/
  font-style: italic;
}
figure.quote > blockquote + figcaption:before {
  content: '—';
}
.page_number {
  margin: 1em;
}
.gist .gist-file {
  /*border: 0 !important;*/
  margin-bottom: 0 !important;
  border-bottom-width: 0 !important;
  /*border: 1px solid rgba(128, 128, 128, 0.25) !important;*/
}
.gist {
  /*border: 1px solid rgba(128, 128, 128, 0.25) !important;*/
}
.highlight {
  border: 0 !important;
}

.clearfix:after {
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  content: '.';
}

.clearfix {display: inline-block;}
* html .clearfix {height: 1%;}
.clearfix {display: block;}

/* #Media Queries
================================================== */

/* Smaller than standard 960 (devices and browsers) */
@media only screen and (max-width: 959px) { }

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) { }

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
  header {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #downloads {
    margin-bottom: 25px;
  }
  #download-zip, #download-tar-gz {
    display: none;
  }
  .inner {
    width: 94%;
    margin: 0 auto;

  }
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) { }

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) { }

nav ul {
  display: block;
  text-align: right;
  padding: 0.5em;
  margin: 0 0.5em 0 0;
  /*background-color: #b9193c;*/
  border-style: solid;
  /*border-width: 1px;*/
  border-bottom-width: 8px;
  border-color: #b9193c;
}

nav ul li {
  display: inline;
  margin: 0.125em 0.125em 0 0;
  padding: 0.75em 0.75em 1em 0.75em;
  text-align: right;
  /*background-color: rgba(185, 25, 60, 0.11);*/
  background-color: #b9193c;
  /*border-width: 1px;*/
  /*border-style: solid;*/
  /*border-color: #b9193c;*/
}

nav ul li a {
  color: #fff;
  text-shadow: none;
}
td.line-data {
  /*border: 4px solid rgba(128, 128, 128, 0.25);*/
}
.line-numbers {
  /*border: 1px solid rgba(128, 128, 128, 0.25) !important;*/
}
table.lines.highlight tbody tr {

}
/*table * {
  border-collapse: collapse;
  border-color: transparent !important;
  }
*/
.gist-data.gist-syntax {
  border: 1px solid rgba(128, 128, 128, 0.25) !important;
  background-color: #f7f7f7;
}
.gist-meta {
  border: 1px solid rgba(128, 128, 128, 0.25) !important;
}

tbody, th, tr, td {
  border: 1px solid rgba(128, 128, 128, 0.5) !important;
  padding: 0.5em;
  margin: 0 auto;
}
article.markdown-body.js-file {
  /*border: 3px solid pink;*/
  padding: 0.5em;
}

/*jn additions*/
/* Tooltip styles */
.skinnytip {
	border-bottom: 0.5px dotted hsla(0, 0%, 0%, 0.2);
	cursor: pointer;
}

div.skinnytip:hover {
	font-size: 50px;
}

/* Popover styles */
/* Outer positioning occurs in the popover.js file */
.tip {
		font-weight: bold;
		border-bottom: 0.5px dotted hsla(0, 0%, 0%, 0.2);
		cursor: pointer;
}

.popover {
		position: absolute;
		color: #fff;
		font-weight: lighter;
		display: none;
		max-width: 300px;
		background-color: hsla(0, 0%, 0%, 0.7);
		border-radius: 3px;
}

.popover .popover-content {
		padding: 10px;
}

.popover .arrow {
		border-style: solid;
		border-color: transparent;
		/*border-top-color: #666;*/
		border-width: 11px;
		border-bottom-width: 0;
		bottom: -11px;
		color: #333;
		height: 0;
		margin-left: -11px;
		position: absolute;
		width: 0;
}

.popover .arrow:after {
		content: " ";
		bottom: 1px;
		margin-left: -10px;
		border-color: transparent;
		border-style: solid;
		border-width: 10px;
		border-bottom-width: 0;
		border-top-color: hsla(0, 0%, 0%, 0.7);
		position: absolute;
		display: block;
		width: 0;
		height: 0;
}

#info {
	display: none;
}

#info:active {
	display: none;
}

#info:focus {
	display: none;
}

#info:target {
	display: block;
	position: absolute;
	right: 0;
	left: 50%;
	-webkit-transform:
		translate(-50%, -50%);
	-ms-transform:
		translate(-50%, -50%);
	transform:
		translate(-50%, -50%);
	padding: 1rem;
	color: #fff;
	background: hsla(0, 0%, 0%, 0.7);
	border-radius: 4px 0 4px 4px;
	max-width: 100%;
	font-size: large;
}

#info a {
	display: inline;
	position: absolute;;
	right: 0;
	top: 0;
	max-height: 1.25rem;
	bottom: 0;
	-webkit-transform:
		translate(0, -100%);
	-ms-transform:
		translate(0, -100%);
	transform:
		translate(0, -100%);
	padding: 0.25rem 0.5rem;
	border: 1px solid transparent;
	border-radius: 4px 4px 0 0;
	color: #fff;
	background: black;
	text-align: center;
	font-size: 50%;
}

/*input#show, input#hide {
	display:none;
}*/

input {
	display:none;
}

span#content {
  display:none;
}

input#show:checked ~ span#content {
	display:block;
	background: yellow;
}

input#hide:checked ~ span#content {
	display:none;
}
