/*

Kirby Starterkit

Author: Bastian Allgeier / Sascha Lack
URL:    http://getkirby.com
Email:  support@getkirby.com

*/
.quote{
  font-size: 3.3em;
  line-height: 1.5em;
  text-align: right;
  display: inline-block;
  float: none;
  position: absolute;
  font-family: 'Times New Roman';
  bottom:0;
  padding-bottom:30px;
}

.title{
  font-size: 2.9em;
  font-weight: bold;
  font-family: 'Source Sans Pro';
  word-wrap: break-word;
}

.undertitle{
  font-size: 1.2em;
  padding-top: 10px; 
  padding-left: 15px;
  margin-bottom: 2em;
  text-align: justify;
  white-space: pre-wrap;
}
/* Source Sans Pro
-------------------------------------------------- */
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 300;
  src: url(../fonts/sourcesanspro-300.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/sourcesanspro-600.woff) format('woff');
}
@font-face {
  font-family: 'Source Sans Pro';
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/sourcesanspro-400-italic.woff) format('woff');
}


/* Reset
-------------------------------------------------- */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
article, aside, details,footer, header, hgroup, main, nav, section, summary {
  display: block;
}

figure {
  display: inline;
}
figcaption {
  display: inline-block;
}


/* Pix
-------------------------------------------------- */
img {
  float: left;
  max-width: 100%;
  text-align:center;
  border-radius: 0%;
  position: relative;
  left: 0px;
  align:left;
  margin-right: 50px;
  margin-top: 0px;
  padding:4px;
  border:1px solid  #5a5d5b;
}


/* Links
-------------------------------------------------- */
a:link {
  color: #5a5d5b;
  text-decoration: none;
  transition: color .3s, background .3s, border .3s;
}
a:hover {
  color: #a0a1a1;
}
a:visited {
  color: #5a5d5b;
}


/* Clearfix
-------------------------------------------------- */
.cf:after {
  content: "";
  display: table;
  clear: both;
}


/* Site
-------------------------------------------------- */
html {
  height: 100%;
  font-family: "Times New Roman";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0 auto;
  /*font-size: 1.10em;*/
  line-height: 1.5em;
  padding: 1.5em;
  max-width: 70em;
  background: #fff;
  color: #5a5d5b;
}


/* Header
-------------------------------------------------- */
.header {
  /*border-bottom: 2px solid #5a5d5b;*/
  margin-bottom: 0px;
}
.logo {
  display: initial;
  margin-bottom: 1.5em;
}
.logo img {
  width: 3em;
}


/* Navigation
-------------------------------------------------- */
.menu a {
  display: block;
  color: #5a5d5b;
}
.menu a:hover {
  color: #a0a1a1;
  text-decoration: none;
}
.menu .active {
  color: #a0a1a1;
}
.menu li {
  list-style: none;
}
.menu > li {
  position: relative;
}
.menu > li > a {
  padding: .35em 0;
  border-top: 1px solid #ddd;
  font-weight: 600;
}

.submenu {
  position: absolute;
  z-index: 1;
  display: none;
  left: 1em;
}
.submenu:before {
  position: absolute;
  z-index: -1;
  content: '';
  top: -.5em;
  left: 0;
  border-top: .5em solid transparent;
  border-bottom: .5em solid transparent;
  border-left: .5em solid #222;
}
.submenu li {
  border-bottom: 1px solid #444;
}
.submenu a {
  padding: .5em 1.5em;
  font-size: .9em;
  font-weight: 300;
  color: #fff;
  background: #222;
  white-space: nowrap;
}
.submenu a:hover {
  background: #333;
  color: #fff;
}

@media screen and (min-width: 40em) {
  body {
    padding: 3em;
  }
  .logo {
    float: left;
  }
  .menu {
    float: right;
    margin-right: -1em;
  }
  .menu > li {
    float: left;
  }
  .menu > li > a {
    padding: .35em 1em;
    border: 0;
  }
  .menu > li:hover .submenu {
    display: block;
  }
}


/* Headings
-------------------------------------------------- */

h1 {
  font-size: 2em;
  line-height: 0.1em;
  font-weight: bold;
  /*margin-bottom: 40px;*/
  font-family: "Times New Roman";

}
h2 {
  align: right;   
  font-family:"Times New Roman";                          
  font-size: 48px;
  line-height: 1.5em;
  font-weight: bold;
  margin-bottom: 0em;
  display: inline-block;
  
}
h3 {                              
  font-size: 1.15em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
  padding-left: 30px;
  margin-top: 22px;
  font-family: "Times New Roman";
}

h4 {                       /*used for links (Marktplatz)*/
  font-size: 1.0em;
  line-height: 1.5em;
  font-weight: 400;
  margin-bottom: .5em;
  padding-left: 86px;
  margin-top: 22px;
  font-family: "Times New Roman";
}
h1 a, h2 a, h3 a, h4 a {
  color: inherit;
  border: 0 !important;
}



/* Main
-------------------------------------------------- */
.main {
  padding-bottom: 1.5em;
  /*border-bottom: 2px solid #5a5d5b;*/
}
.main hr{
  border: 0;
  height: 1px;
  background-image: linear-gradient(to right, #fff, #ccc, #fff);
}
/*.main hr {
  margin: 3em 0;
  height: 1px;
  background: #5a5d5b;
}*/
.main p {
  padding-top: 10px;
  padding-left: 10px;
  /*text-indent: 25px;*/
 } 
.main figure,
.main ul{
  type:circle;
  padding-left: 1em;
}
.main ol {
  margin-bottom: 1.5em;
}
.main a {
  border-bottom: none;
}
.main a:hover {
  color: #a0a1a1;
  text-decoration: none;
}

/* Text blocks */
.text ul,
.text ol {
  margin-left: 1em;
}

/* Project meta
-------------------------------------------------- */
.meta {
  margin-bottom: 1.5em;
}
.meta li {
  float: left;
  list-style: none;
  margin-right: 2em;
  color: red;
}
.meta li b {
  font-weight: 400;
  color: #000;
  padding-right: .25em;
}



/* Project teaser
-------------------------------------------------- */
.teaser {
  list-style: none;
}
.teaser li {
  margin-bottom: 1.5em;
  list-style: none;
}
@media screen and (min-width: 50em) {
  .teaser li {
    float: left;
    width: 30%;
    margin-left: 5%;
  }
  .teaser li:first-child {
    margin-left: 0;
  }
}


/* Next/Prev nav
-------------------------------------------------- */
.nextprev {
  padding: 1em 0;
}
.nextprev a {
  border: 0;
}
.nextprev .prev {
  float: left;
}
.nextprev .next {
  float: right;
}


/* Footer
-------------------------------------------------- */
.footer {
  padding: 1em 0 6em;
  font-size: .8em;
}
.copyright {
  float: left;
}
.colophon {
  float: right;
}
.colophon a b {
  color: red;
  padding-left: .25em;
}

@media all and (max-width: 450px) {
  .quote{
    display: none;
  }
}