/*
 * code.guido-berhoerster.org style
 */

/*
 * fonts
 */

@font-face {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 400;
  src: local('Asap'),
      local('Asap-Regular'),
      url(../fonts/Asap-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 700;
  src: local('Asap Bold'),
      local('Asap-Bold'),
      url(../fonts/Asap-Bold.ttf) format('truetype');
}

@font-face {
  font-family: 'Asap';
  font-style: italic;
  font-weight: 400;
  src: local('Asap Italic'),
      local('Asap-Italic'),
      url(../fonts/Asap-Italic.ttf) format('truetype');
}

@font-face {
  font-family: 'Asap';
  font-style: italic;
  font-weight: 700;
  src: local('Asap Bold Italic'),
      local('Asap-BoldItalic'),
      url(../fonts/Asap-BoldItalic.ttf) format('truetype');
}

@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Slab Regular'),
      local('RobotoSlab-Regular'),
      url(../fonts/RobotoSlab-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Slab Bold'),
      local('RobotoSlab-Bold'),
      url(../fonts/RobotoSlab-Bold.ttf) format('truetype');
}

@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 400;
  src: local('Source Code Pro'),
      local('SourceCodePro-Regular'),
      url(../fonts/SourceCodePro-Regular.ttf) format('truetype');
}

@font-face {
  font-family: 'Source Code Pro';
  font-style: normal;
  font-weight: 700;
  src: local('Source Code Pro Bold'),
      local('SourceCodePro-Bold'),
      url(../fonts/SourceCodePro-Bold.ttf) format('truetype');
}

/*
 * defaults
 */

:link:active,
:link:hover,
:visited:active,
:visited:hover {
  outline: 0;
}

html {
  margin:0;
  padding:0;
}

body {
  font-family: sans-serif;
  margin: 0;
}

:lang(de) > * {
  quotes: '\201E' '\201C' '\201A' '\2018';
}

:lang(en) > * {
  quotes: '\201C' '\201D' '\2018' '\2019';
}

q:before {
  content: open-quote;
}

q:after {
  content: close-quote;
}

abbr[title],
acronym[title] {
  border-bottom: 1px dotted #000000;
}

img {
  border-style: none;
  outline: none;
}

strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

code,
kbd,
pre,
samp,
var {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  overflow: auto;
}

dt {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  caption-side: bottom;
}

th {
  font-weight: bold;
}

td,
th {
  padding: 0;
  vertical-align: text-top;
}

hr {
  clear: both;
}

ol,
ul {
  padding-top: 0;
  padding-bottom: 0;
  padding-right: 0;
}

/*
 * site-specific style
 */

:link,
:visited {
  text-decoration: none;
  color: #0B3F73;
}

:link:active,
:visited:active {
  color: #1369BF;
}

:link:hover,
:link:focus,
:link:active,
:visited:hover,
:visited:focus,
:visited:active {
  text-decoration: underline;
}

body {
  background-color: #F7F9FA;
  color: #2E3033;
  font-family: "Roboto Slab", serif;
}

hr {
  display: none;
}

code,
kbd,
pre,
samp,
var {
  font-family: "Source Code Pro", monospace;
}

pre {
  padding: .5em;
  border-radius: .5em;
  background-color: #EBECED;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Asap", sans-serif;
  font-weight: bold;
  line-height: 1.25;
  clear: both;
}

h1 {
  font-size: 3.051em;
  margin: .737em 0;
}

h2 {
  font-size: 2.441em;
  margin: 1.223em 0 .614em 0;
}

h3 {
  font-size: 1.953em;
  margin: 1.536em 0 .768em 0;
}

h4 {
  font-size: 1.563em;
  margin: 1.92em 0 .96em 0;
}

h5 {
  font-size: 1.25em;
  margin: 2.4em 0 1.2em 0;
}

h6 {
  font-size: 1em;
  margin: 3em 0 1.5em 0;
}

h2 + h3,
.news-item > h3 {
  margin-top: .768em
}

h3 + h4 {
  margin-top: .96em
}

h4 + h5 {
  margin-top: 1.2em;
}

h5 + h6 {
  margin-top: 1.5em;
}

.header {
  font-family: "Asap", sans-serif;
  background-color: #EBECED;
}

.site-header {
  font-weight: bold;
  font-size: 1.125em;
  background-color: #2E3033;
  color: #F7F9FA;
  padding: .5em;
  line-height: 1;
  overflow: hidden;
}

.site-header :link,
.site-header :visited {
  color: #F7F9FA
}

.site-header :link:hover,
.site-header :link:active,
.site-header :visited:hover,
.site-header :visited:active {
  text-decoration: none;
}

.site-header p {
  margin: 0;
}

.index-link {
  float: left;
}

.contact-link {
  float: right;
}

.page-header {
  clear: both;
  padding: .5em;
}

.page-header h1 {
  text-align: center;
}

.page-navigation {
  padding: 0;
  margin: 0;
  list-style-type: none;
  font-weight: bold;
  font-size: 1.25em;
  line-height: 1;
  text-align: center;
}

.page-navigation li {
  display: inline-block;
  padding: 0;
  margin: .25em .5em;
}

.main {
  margin: 0 auto;
  padding: .5em;
  width: auto;
  max-width: 72ch;
}

.main blockquote,
.main dl,
.main ol,
.main p,
.main pre,
.main table,
.main ul {
  line-height: 1.5;
}

.main blockquote,
.main dl,
.main p,
.main pre,
.main table {
  margin: 1.5em 0;
  padding: 0;
}

.main dt > p:first-child,
.main dd > p:first-child {
  margin-top: 0;
}

#screenshots {
  overflow: hidden;
  text-align: center;
}

#screenshots h3 {
  display: none;
}

.screenshot {
  display: inline-block;
  overflow: hidden;
}

.screenshot img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.screenshot p {
  margin: 0;
}

#downloads ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#downloads ul > li:first-child {
  font-weight: bold;
}

