body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  padding: 0;
  margin: 0;
  line-height: 150%;
  background-color: #fff;
}

#page-header {
  background: url(/media/home.jpg) no-repeat center center ; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  width: 100%;
  height: 100vh;
  z-index: -10;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: normal;
  line-height: 2.2rem;
  color: #03a;
}
h1 {
  font-size: 250%;
}
h2 {
  font-size: 200%;
}
h3 {
  font-size: 150%;
}

#page-header label,
#menu-toggle {
  display: none; 
}

#page-header h2 {
  text-shadow: 1px 1px 2px #000, 0px 0px 20px #fff;
  color: #fff;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  padding: 1em;
}

footer {
  background-color: #444;
  color: #999;
  padding: 1em 0.5em 1em 0.5em;
  margin-top: 3em;
}

footer .site-generated-on {
  display: inline;
  float: right;
}

a {
  text-decoration: none;
  font-weight: bold;
}
a, a:visited {
  color: #ff8000;
}
a:hover {
  text-decoration: underline;
}

#topline {
  background-color: #fff;
}
#topline a {
  font-weight: normal;
}

.wrapper {
  text-align: right;
  line-height: 2em
}

.main-content {
  padding-left: 2em;
  padding-right: 2em;
  max-width: 50em;
  margin: 0 auto;
  overflow-x: scroll;
  position: relative;
}

.project-name,
.prevnext {
  text-align: center;
}

.main-content img,
.project-name img {
  max-width: 100%;
}

footer a {
  color: #ff8000;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

.buttons {
  text-align: center;
}

.buttons a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.8);
  border-style: solid;
  border-width: 2px;
  margin: 1rem;
  padding: 1rem;
  border-radius: 0.2rem;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s; 
}
.buttons a:hover {
  color: #fff;
  border-color: #fff;
  background-color: rgba(0, 0, 0, 0.4);
  text-decoration: none;
}

/* show used language in bold */
.en:lang(en), .de:lang(de){
  font-weight: bold !important;
}

/* CC icon font */
@font-face {
  font-family: 'fontello-icon-cc';
  src: url('./cc-font/fontello.eot?63081990');
  src: url('./cc-font/fontello.eot?63081990#iefix') format('embedded-opentype'),
       url('./cc-font/fontello.woff?63081990') format('woff'),
       url('./cc-font/fontello.ttf?63081990') format('truetype'),
       url('./cc-font/fontello.svg?63081990#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}

.icon-cc
{
  font-family: "fontello-icon-cc";
  speak: none;
  padding-right: 0.2em;
}
.icon-cc:hover
{
  text-decoration: none;
}

.breadcrumb
{
  list-style-type: none;
  display: inline-block;
  float: left;
  margin: 0;
  padding: 0;
  line-height: 2em;
}
.breadcrumb > li
{
  display: inline-block;
}

.footnotes {
  border-top: solid 1px #eff0f1;
  font-size: 80%;
  padding-top: 2rem;
  margin-top: 2rem;
}

.historic {
  border: 1px solid #b22;
  background-color: rgba(187, 34, 34, 0.2);
  padding: 0.3em;
}

/* responsive rearrange header */
@media screen and (max-width: 65em) {
  #topline {
    position: fixed;
    width: 100vw;
    top: 0;
    box-shadow: 0 0 5px #000;
  }
  
  .breadcrumb {
    display: none;
  }
  
  .wrapper {
    text-align: left;
  }
  
  .buttons {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.1s linear;
  }

  #page-header label {
    display: block;
    position: relative;
    font-size: 2em;
    float: right;
    /*
    padding: 0 0.2em 0.1em 1em;
    top: -0.1em;
    */
    padding: 0 0.2em 0em 1em;
    right: 0;
  }

  #menu-toggle:checked + .buttons {
    visibility: visible;
    opacity: 1;
    transition: visibility 0.3s, opacity 0.1s linear;
  }
  .buttons {
    position: fixed;
    right: 0;
  }
  .buttons a {
    display: block;
    text-align: left;
    margin: 0.3em;
    padding: 0.5em;
  }
  
  .project-name {
    padding-top: 1em;
  }
}

.contributors {
}

.contributor {
  display: inline-block;
  width: 20%;
  min-width: 130px;
  margin-bottom: 1em;
}

.contributor a {
  white-space:nowrap;
  display: block;
}

.contributor img {
  box-shadow: 2px 2px 5px;
}

.thumbnail {
  max-width: 250px;
  max-height: 250px;
  margin: 1em;
  box-shadow: 4px 4px 6px #999;
}

.widgetlist .sh {
  text-shadow: 2px 2px 2px #999;
  vertical-align: 0.2em;
  margin-left: 0.1em;
  color: #ff8000;
}

.widgetlist p img {
  display: none;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.1s linear;
  margin-top: 0.5em;
}

.widgetlist p:hover img {
  display: block;
  visibility: visible;
  opacity: 1;
  transition: visibility 0.3s, opacity 0.1s linear;
  box-shadow: 5px 5px 10px;
}

.widgetlist dt {
  font-size: 150%;
  font-family: 'Josefin Sans', Helvetica, Arial, sans-serif;
  margin-top: 1em;
}

.widgetlist dt a {
  font-weight: normal;
}

.widgetlist dd {
  margin-left: 0;
}

.widgetlist dd p {
  margin-top: 0.2em;
}
