/*
Name: erdelynet
Date: November 2021
Description: Theme for erdelynet.com
Version: 1.1
License: MIT <https://opensource.org/licenses/MIT>
Licensed by: Smashing Media GmbH <https://www.smashingmagazine.com/>
Original Date: July 2009
Original Name: Smashing HTML5
Original author: Enrique Ramírez <http://enrique-ramirez.com/>
*/

/* Imports */
@import url("reset.css");
@import url("pygment.css");
@import url("typogrify.css");
@import url("fonts.css");

/***** Global *****/
/* Define Variables */
:root {
  --background: #dddddd;
  --foreground: #0d0d0d;
  --textarea: #bbb;
  --light-textarea: #989898;
  --link-color: #962f49;
  --link-active: #d4778f;
  --highlight: #3366ff;
  --navbar-background: #2c2c8c;
  --navbar-active: var(--link-active);
  --navbar-inactive: var(--link-color);
  --navbar-activetext: #ddd;
  --navbar-text: var(--background);
  --paginator-active: var(--navbar-inactive);
  --paginator-activetext: var(--navbar-text);
  --hrule: #eeeeee;
  --footer-text: var(--navbar-text);
  --footer-background: var(--navbar-background);
  --highlight-background: var(--link-active);
  --highlight-text: var(--navbar-background);
  --photo-border: #262626;
  --strong-text: #c64350;
}

/* Body */
body {
  background: var(--background);
  color: var(--foreground);
  font-size: 87.5%; /* Base font size: 14px */
  font-family: "Trebuchet MS", Trebuchet, "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  line-height: 1.429;
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Search field style */
.stork-close-button {
  height: 1.3em !important;
}

.stork-wrapper-outer {
  margin-left: auto;
  margin-right: auto;
  width: 1px;
  overflow: visible;
  border: 1px var(--background) solid;
}

.stork-wrapper-output {
  width: 500px;
  margin-left: -100px;
  margin-top: -37px;
  position: absolute;
}

.stork-attribution {
  visibility: hidden;
}

.stork-output a:link,
.stork-output a:visited,
.stork-output a:active,
.stork-output a:hover {
  background: transparent;
  color: currentcolor;
  padding: 1em;
  text-decoration: none;
  text-shadow: none;
}

.stork-input {
  margin-top: 4px;
  height: 2em !important;
}
li.stork-wrapper {
  float: right !important;
  padding-right: 4px;
}

.stork-progress {
  visibility: hidden;
}

/* Headings */
h1 {
  font-size: 2em;
}
h2 {
  font-size: 1.571em;
} /* 22px */
h3 {
  font-size: 1.429em;
} /* 20px */
h4 {
  font-size: 1.286em;
} /* 18px */
h5 {
  font-size: 1.143em;
} /* 16px */
h6 {
  font-size: 1em;
} /* 14px */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  line-height: 1.1;
  margin-top: 0.8em;
  font-family: "Yanone Kaffeesatz", arial, serif;
}

h3,
h4,
h5,
h6 {
  margin-top: 0.8em;
}

/*
hr {
  border: 2px solid var(--hrule);
}
*/

/* Anchors */
a {
  outline: 0;
}
a img {
  border: 0px;
  text-decoration: none;
}
a:link,
a:visited {
  color: var(--link-color);
  text-decoration: underline;
}
a:hover,
a:active {
  color: var(--link-active);
}

/* Paragraphs */
div.line-block,
p {
  margin-top: 1em;
  margin-bottom: 1em;
}

strong,
b {
  font-weight: bold;
}
em,
i {
  font-style: italic;
}

/* Lists */
ul {
  list-style: outside disc;
  margin: 0em 0 2em 1.5em;
}

ol {
  list-style: outside decimal;
  margin: 0em 0 2em 1.5em;
}

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

/*
li {
  margin-top: 0.5em;
  margin-bottom: 1em;
}
*/

.post-info {
  float: right;
  text-align: right;
}

.post-info p {
  margin-top: 1px;
  margin-bottom: 1px;
}

.readmore {
  float: left;
}

dl {
  margin: 0 0 1.5em 0;
}
dt {
  font-weight: bold;
}
dd {
  margin-left: 1.5em;
}

pre {
  background-color: rgb(238, 238, 238);
  padding: 10px;
  margin: 10px;
  overflow: auto;
}

/* Quotes */
blockquote {
  margin: 20px;
  font-style: italic;
}
cite {
}

q {
}

div.note {
  float: right;
  margin: 5px;
  font-size: 85%;
  max-width: 300px;
}

/* Tables */
table {
  margin: 0.5em auto 1.5em auto;
  width: 98%;
}

/* Thead */
thead th {
  padding: 0.5em 0.4em;
  text-align: left;
}
thead td {
}

/* Tbody */
tbody td {
  padding: 0.5em 0.4em;
}
tbody th {
}

tbody .alt td {
}
tbody .alt th {
}

/* Tfoot */
tfoot th {
}
tfoot td {
}

/* HTML5 tags */
header,
section,
footer,
aside,
nav,
article,
figure {
  display: block;
}

figure {
  display: inline-block;
  margin: 10px; /* adjust as needed */
  width: 167px;
  vertical-align: top;
  text-align: center;
}

figure a img {
  vertical-align: middle;
  text-align: center;
}

figure figcaption {
  text-align: center;
}

address#about {
  text-align: center;
  font-style: italic;
  padding: 5px 20px;
  color: var(--footer-text);
  background-color: var(--footer-background);
}

address#about a,
address#about a:link,
address#about a:active,
address#about a:hover {
  color: var(--footer-text);
  background-color: var(--footer-background);
  font-style: none;
  text-decoration: none;
  text-shadow: none;
  font-weight: bold;
}
address#about a:hover {
  text-decoration: underline;
}

/***** Layout *****/
.body {
  clear: both;
  margin: 0 auto;
  max-width: 800px;
}
img.left {
  float: left;
  padding-right: 10px;
}
img.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-right: 10px;
}
img.right {
  float: right;
  padding-left: 10px;
}
sup,
.footnote-ref {
  vertical-align: super;
  font-size: smaller;
}

code {
  background-color: var(--light-textarea);
}

/*
img {
  max-width: 100%;
}
img.right,
figure.right,
div.figure.align-right {
  float: right;
  margin: 0 0 2em 2em;
}
img.left,
figure.left,
div.figure.align-left {
  float: left;
  margin: 0 2em 2em 0;
}

/* .rst support */
div.figure img,
figure img {
  /* to fill figure exactly */
  max-width: 100%;
}
div.figure p.caption,
figure p.caption {
  /* margin provided by figure */
  margin-top: 0;
  margin-bottom: 0;
}
*/

/*
	Header
*****************/
#banner {
  margin: 0 auto;
  padding: 0.8em 0 0 0;
}

/* Banner */
#banner h1 {
  font-size: 3.571em;
  line-height: 1;
  margin-bottom: 0.3em;
}

#banner h1 strong {
  font-size: 0.36em;
  font-weight: normal;
}

/* Main Nav */
#banner nav {
  background: var(--navbar-background);
  font-size: 1.143em;
  overflow: auto;
  line-height: 30px;
  margin: 0 auto 2em auto;
  padding: 0;
  text-align: center;
  max-width: 800px;

  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#banner nav ul {
  list-style: none;
  margin: 0 auto;
  max-width: 800px;
}
#banner nav li {
  float: left;
  display: inline;
  margin: 0;
}

#banner nav a:link,
#banner nav a:visited {
  color: var(--navbar-text);
  display: inline-block;
  height: 30px;
  padding: 5px 1.5em;
  text-decoration: none;
}

#banner nav a:active,
#banner nav .active a:link,
#banner nav .active a:visited {
  background: var(--navbar-inactive);
  color: var(--navbar-text);
  text-shadow: none !important;
  border-radius: 5px;
}

#banner nav a:hover,
#banner nav .active a:hover {
  background: var(--navbar-active);
  color: var(--navbar-activetext);
  text-shadow: none !important;
  border-radius: 5px;
}

#banner nav li:first-child a {
  border-top-left-radius: 5px;
  -moz-border-radius-topleft: 5px;
  -webkit-border-top-left-radius: 5px;

  border-bottom-left-radius: 5px;
  -moz-border-radius-bottomleft: 5px;
  -webkit-border-bottom-left-radius: 5px;
}

/*
Featured
*/
#featured_in_home {
  background: var(--light-textarea);
  margin-bottom: 2em;
  overflow: hidden;
  padding: 20px;
  max-width: 760px;

  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}
#featured {
  background: var(--textarea);
  margin-bottom: 2em;
  overflow: hidden;
  padding: 20px;
  max-width: 760px;

  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#featured figure {
  border: 2px solid var(--hrule);
  float: right;
  margin: 0.786em 2em 0 5em;
  max-width: 248px;
}
#featured figure img {
  display: block;
  float: right;
}

#featured h2 {
  color: var(--foreground);
  font-size: 1.714em;
  margin-bottom: 0.333em;
}
#featured h3 {
  font-size: 1.429em;
  margin-bottom: 0.5em;
}

/*
Body
*/
#content {
  background: var(--textarea);
  margin-bottom: 2em;
  overflow: hidden;
  padding: 20px 20px;
  max-width: 760px;

  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

/*
Extras
*/
#extras {
  margin: 0 auto 3em auto;
  overflow: hidden;
}

#extras ul {
  list-style: none;
  margin: 0;
}

#extras h2 {
  color: var(--foreground);
  font-size: 1.429em;
  margin-bottom: 0.25em;
  padding: 0 3px;
}

#extras a:link,
#extras a:visited,
#extras a:hover,
#extras a:active {
  display: block;
  text-decoration: none;
  padding: 0.3em 0.25em;
}

/* Blogroll */
#extras .blogroll {
  float: left;
  max-width: 615px;
}

#extras .blogroll li {
  float: left;
  margin: 0 20px 0 0;
  max-width: 185px;
}

/* Logos */
#extras .logos {
  display: block;
  margin: auto;
  width: 240px;
}

#extras .logos li {
  float: left;
  margin: 0;
  max-width: 185px;
}

/* Social */
#extras .social {
  float: right;
  max-width: 615px;
}

#extras .social li {
  float: left;
  margin: 0;
  max-width: 185px;
}

#extras div[class="social"] a {
  background-repeat: no-repeat;
  background-position: 6px 6px;
  padding-left: 25px;
}

/* Icons */
.social a {
  text-indent: -9999px;
}
.social a[href*="about.me"] {
  background-image: url("../images/icons/aboutme.png");
}
.social a[href*="bitbucket.org"] {
  background-image: url("../images/icons/bitbucket.png");
}
.social a[href*="delicious.com"] {
  background-image: url("../images/icons/delicious.png");
}
.social a[href*="facebook.com"] {
  background-image: url("../images/icons/facebook.png");
}
.social a[href*="gitorious.org"] {
  background-image: url("../images/icons/gitorious.png");
}
.social a[href*="instagram.com"] {
  background-image: url("../images/icons/instagram.png");
}
.social a[href*="archives.html"] {
  background-image: url("../images/icons/archives.png");
}
.social a[href*="tags.html"] {
  background-image: url("../images/icons/tags.png");
}
.social a[href*="mailto:"] {
  background-image: url("../images/icons/gmail.png");
}
.social a[href*="github.com"],
.social a[href*="git.io"] {
  background-image: url("../images/icons/github.png");
  background-size: 16px 16px;
}
.social a[href*="gittip.com"] {
  background-image: url("../images/icons/gittip.png");
}
.social a[href*="plus.google.com"] {
  background-image: url("../images/icons/google-plus.png");
}
.social a[href*="groups.google.com"] {
  background-image: url("../images/icons/google-groups.png");
}
.social a[href*="news.ycombinator.com"],
.social a[href*="hackernewsers.com"] {
  background-image: url("../images/icons/hackernews.png");
}
.social a[href*="last.fm"],
.social a[href*="lastfm."] {
  background-image: url("../images/icons/lastfm.png");
}
.social a[href*="linkedin.com"] {
  background-image: url("../images/icons/linkedin.png");
}
.social a[href*="reddit.com"] {
  background-image: url("../images/icons/reddit.png");
}
.social a[type$="atom+xml"],
.social a[type$="rss+xml"] {
  background-image: url("../images/icons/rss.png");
}
.social a[href*="slideshare.net"] {
  background-image: url("../images/icons/slideshare.png");
}
.social a[href*="speakerdeck.com"] {
  background-image: url("../images/icons/speakerdeck.png");
}
.social a[href*="stackoverflow.com"] {
  background-image: url("../images/icons/stackoverflow.png");
}
.social a[href*="twitter.com"] {
  background-image: url("../images/icons/twitter.png");
}
.social a[href*="vimeo.com"] {
  background-image: url("../images/icons/vimeo.png");
}
.social a[href*="youtube.com"] {
  background-image: url("../images/icons/youtube.png");
}
.social a:active,
.social a:hover {
  background-color: var(--highlight);
}

/*
About
*/
#about {
  background: var(--textarea);
  font-style: normal;
  margin-bottom: 2em;
  overflow: hidden;
  padding: 20px;
  text-align: left;
  max-width: 760px;

  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

#about .primary {
  float: left;
  max-width: 165px;
}
#about .primary strong {
  color: var(--strong-text);
  display: block;
  font-size: 1.286em;
}
#about .photo {
  float: left;
  margin: 5px 20px;
}

#about .url:link,
#about .url:visited {
  text-decoration: none;
}

#about .bio {
  float: right;
  max-width: 500px;
}

/*
Footer
*/
#contentinfo {
  padding-bottom: 2em;
  text-align: right;
}

/***** Sections *****/
/* Blog */
.hentry {
  display: block;
  clear: both;
  border-top: 1px solid var(--hrule);
  padding: 1.5em 0;
}
li:first-child .hentry,
#content > .hentry {
  border: 0;
  margin: 0;
}
#content > .hentry {
  padding: 1em 0;
}
.hentry img {
  display: none;
}
.entry-title {
  font-size: 3em;
  margin-bottom: 10px;
  margin-top: 0;
}

.hentry .post-info * {
  font-style: normal;
}

/* Content */
.hentry footer {
  margin-bottom: 2em;
}

.highlight pre {
  color: var(--highlight-text);
  background-color: var(--highlight-background);
}

.catfeed-outer {
  padding-top: 20px;
  clear: both;
}

.catfeed-inner {
  margin-top: -30px;
  float: right;
}

.center {
  clear: both;
  text-align: center;
}

.paginator {
  display: inline-block;
}

.paginator a,
.paginator div {
  color: var(--foreground);
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  transition: background-color 0.3s;
  border: none;
}

.paginator div {
  border: none;
}

.paginator a:hover:not(.active) {
  background-color: var(--paginator-active);
  color: var(--paginator-activetext);
}

.paginator-hr {
  border-top: 1px solid var(--foreground);
}

/* Blog Index */
#posts-list {
  list-style: none;
  margin: 0;
}

ol#posts-list {
  margin-bottom: 40px;
}

#posts-list footer {
  position: relative;
  float: right;
}

/* About the Author */
#about-author {
  background: var(--textarea);
  clear: both;
  font-style: normal;
  margin: 2em 0;
  padding: 10px 20px 15px 20px;

  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}

#about-author strong {
  color: var(--strong-text);
  clear: both;
  display: block;
  font-size: 1.429em;
}

#about-author .photo {
  border: 1px solid var(--photo-border);
  float: left;
  margin: 5px 1em 0 0;
}

/* Comments */
#comments-list {
  list-style: none;
  margin: 0 1em;
}
#comments-list blockquote {
  background: var(--textarea);
  clear: both;
  font-style: normal;
  margin: 0;
  padding: 15px 20px;

  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
#comments-list footer {
  color: var(--footer-text);
  padding: 0.5em 1em 0 0;
  text-align: right;
}

#comments-list li:nth-child(2n) blockquote {
  background: var(--highlight-background);
}

/* Add a Comment */
#add-comment label {
  clear: left;
  float: left;
  text-align: left;
  max-width: 150px;
}
#add-comment input[type="text"],
#add-comment input[type="email"],
#add-comment input[type="url"] {
  float: left;
  max-width: 200px;
}

#add-comment textarea {
  float: left;
  height: 150px;
  max-width: 495px;
}

#add-comment p.req {
  clear: both;
  margin: 0 0.5em 1em 0;
  text-align: right;
}

#add-comment input[type="submit"] {
  float: right;
  margin: 0 0.5em;
}
#add-comment * {
  margin-bottom: 0.5em;
}
