/* using webfont "Lora"
 * License and Copyright see localfont.css */
@import url('/media/layout/css/localfont.css');
/* background colors */
/* text colors */
/* GENERAL */
body {
  margin: 0;
  padding: 0;
  background-color: #070707;
  color: #b0b0b0;
  font-family: 'Lora', serif;
}
header {
  background-color: #000000;
  border-bottom: 1px solid #101010;
  height: 48px;
  font-family: 'Lora', serif;
}
a {
  color: #9cdede;
}
article {
  box-sizing: border-box;
  margin: auto;
  max-width: 670px;
  /* for header fixed 48px + ca. 25px */
  padding-top: 25px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
  background-color: #151515;
  color: #b0b0b0;
  position: relative;
}
article p {
  line-height: 1.6;
}
article footer small {
  color: #575757;
  text-align: center;
  display: block;
  padding-top: 10px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lora', serif;
  line-height: initial;
}
h1 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 2em;
  text-align: center;
}
figure {
  margin-left: 0;
  margin-right: 0;
}
figure img {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  display: block;
}
figure figcaption {
  position: relative;
}
video {
  max-width: 100%;
}
hr {
  border: 0;
  border-top: 1px solid #333;
}
table {
  font-family: monospace;
  border-collapse: collapse;
  /* --> fixed by using paragraphs (<p>) !! */
  /*    margin-bottom: 15px;*/
}
table tr td {
  border: 1px solid #303030;
  padding: 5px;
}
input {
  color: #aaa;
  background-color: #1a1a1a;
  border: 2px solid #3a3a4a;
  margin: 5px;
  padding: 5px;
}
textarea {
  color: #aaa;
  background-color: #1a1a1a;
  border: 2px solid #777;
  margin: 5px;
  padding: 5px;
}
/* WRAPPER */
#site-wrapper {
  /* used for off-screen menu moving */
  position: relative;
  overflow: hidden;
  min-height: 780px;
}
/* HEADER */
#logo-box {
  width: 55px;
  height: 38px;
}
#logo-box img {
  margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
  height: 100%;
  display: block;
}
#menu-button-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 48px;
  cursor: pointer;
}
/* MAIN NAVIGATION */
#main-nav {
  position: absolute;
  padding-left: 30px;
  padding-right: 30px;
  height: 100%;
  width: 260px;
  background-color: #070707;
  opacity: 0.9;
  z-index: 100;
  transition: right 0.5s;
  /* these are "general" */
}
#main-nav a {
  text-decoration: none;
  color: #b0b0b0;
}
#main-nav a:hover {
  color: #9cdede;
}
#main-nav ul {
  list-style-type: none;
}
.menu-default-pos {
  /* putting this in above id selection
       doesn't work cause it seems to take
       precedence over the hidden class
       --> could important be used here ???
       --> why is this ???
    */
  right: 0;
}
.menu-hidden {
  /* old val.
    right: -290px;*/
  right: -330px;
}
.main-menu-list {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  padding-right: 40px;
}
.main-menu-list a {
  display: block;
  width: 100%;
  height: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
}
.main-menu-list li {
  border-bottom: 1px solid #333;
}
.main-menu-list li li {
  border-bottom: none;
}
.main-menu-topics-title {
  font-size: 0.56em;
  font-weight: normal;
  text-align: center;
  width: 100%;
  display: block;
  padding-top: 7px;
}
.main-menu-submenu {
  padding-top: 0px;
  padding-bottom: 10px;
  padding-left: 15px;
  font-size: 0.8em;
}
.main-menu-submenu li a {
  padding-top: 5px;
  padding-bottom: 5px;
}
#specials-nav-list {
  margin-top: 60px;
  font-size: 1.1em;
}
#specials-nav-list li {
  display: inline-block;
  padding-left: 25px;
}
/* ARTICLE */
/*.toc {
    border: 1px solid #303030;
    margin-top: 15px;
    padding-right: 25px;
    display: inline-block;
    background-color: #1a1a1a;
    float: right;
}*/
.date {
  display: block;
  text-align: center;
  font-family: 'Lora', serif;
}
.small-date {
  color: #909090;
  font-family: 'Lora', serif;
}
.article-content-box {
  margin-left: 40px;
  margin-right: 40px;
}
/* figure caption and info button box */
.fig-caption {
  background-color: #212121;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 35px;
  padding-right: 35px;
  min-height: 20px;
  text-align: center;
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
/* exif info button */
article figure figcaption img {
  position: absolute;
  right: 0;
  top: -2px;
  width: 45px;
  cursor: pointer;
}
/* exif info text */
.fig-info {
  padding-top: 10px;
  padding-left: 15px;
  padding-right: 15px;
  background-color: #212121;
  margin-top: 0;
  padding-bottom: 10px;
  display: none;
}
.fig-info table {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.fig-info table caption {
  padding-bottom: 5px;
}
.fig-info table td {
  padding-top: 2px;
  padding-bottom: 2px;
}
.tags {
  font-family: monospace;
  color: #437543;
  margin-top: 25px;
  margin-bottom: 15px;
  display: block;
}
.myimg {
  width: 150px;
  float: right;
}
.footnotes {
  padding-top: 5px;
  font-size: 0.9em;
}
/* FOOTER */
#page-footer {
  margin: auto;
  margin-bottom: 5px;
  max-width: 670px;
  height: 48px;
  border-top: 1px solid #333;
}
/*  PAGE NAVIGATION (prev, content, next) */
#page-nav {
  margin-left: 25px;
  margin-right: 25px;
  height: 100%;
  position: relative;
}
#page-nav div {
  height: 43px;
  width: 48px;
}
#page-nav img.inactive {
  opacity: 0.2;
}
#prev-link-box {
  border-right: 1px solid #333;
  position: absolute;
}
#next-link-box {
  position: absolute;
  right: 0;
  bottom: 5px;
  border-left: 1px solid #333;
}
#content-link-box {
  margin-left: auto;
  margin-right: auto;
  width: 48px;
}
/* MAIN VIEWS, LISTS, etc. */
/* Timeline */
.timeline-entry {
  margin-left: 15px;
  margin-right: 15px;
  padding-left: 60px;
  padding-right: 60px;
  border-left: 1px solid #333;
  padding-bottom: 20px;
  margin-bottom: 16px;
}
/*.float-right {
    width: 100%;
    text-align: right;
}*/
.timeline-more-box {
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
  width: 160px;
  position: relative;
}
.timeline-more-box a {
  display: block;
  width: 100%;
  height: 100%;
  color: #a0a0a0;
  font-size: 1.1em;
}
.timeline-more-box a:hover {
  color: #9cdede;
}
.timeline-more-button {
  width: 44px;
  border: 1px solid #333;
  border-radius: 22px;
}
.timeline-more-textbox {
  position: absolute;
  height: 30px;
  line-height: 30px;
  padding-left: 10px;
  top: 7px;
}
.spacer {
  margin-top: 20px;
}
/* RESPONSIVE WOOW */
@media screen and (max-width: 500px) {
  .myimg {
    float: none;
  }
}
@media screen and (max-width: 480px) {
  .timeline-entry {
    padding-left: 30px;
    padding-right: 15px;
  }
  .article-content-box {
    margin-left: 0px;
    margin-right: 0px;
  }
}
@media screen and (max-width: 380px) {
  article {
    padding-left: 10px;
    padding-right: 10px;
  }
  #page-nav {
    margin-left: 0;
    margin-right: 0;
  }
}
/* INTERFACE ETC. STUFF */
/* flash info output */
.i_flash {
  color: yellow;
}
/* checked, unchecked button image !!! */
.i_img_table {
  width: 14px;
}
.i_tags {
  font-family: monospace;
  color: #437543;
}
/* markdown text input field */
#text-input {
  width: 90%;
  height: 250px;
  /* leads to no wrap at all in firefox */
  /*white-space: nowrap;*/
  overflow: auto;
}
/* preview stuff */
.i_preview_hint {
  margin-top: 0;
}
.i_preview_line {
  border: 0;
  border-bottom: 1px dashed #777;
}
/* FUCKOFF FF */
table tr td button {
  border: 0;
}
