 html, body {
    margin:0;
    padding:0;
    width:100%;
    height:100%;
    background: #BBB;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    overflow: hidden;
    /*color: #666;*/
}

html.blog,
html.blog body {
    background: #EEE;
    overflow-y: auto;
    height:auto;
 }

h1,h2,h3{
  font-weight: 300;
}

ul{
    list-style-type:square;
    padding-left: 20px;
}

ol {
    padding-left: 20px;
}

ol,li,
ul li{
    margin-bottom: 5px;
}

img{
    max-width: 100%;
    border: none;
}

a{
    outline: 0;
}

hr{
    margin: 60px 100px;
    height: 1px;
    border: none;
    background: #AAA;
}

::-webkit-scrollbar {
    width: 10px;
}




::-webkit-scrollbar-thumb {
    background-color: #666;
    border: 1px solid #FFF;
}

#stage {
    overflow: hidden;
    position: absolute;
    z-index: 1;
}

.blog #stage{
    position: fixed;
}

#stage3d{
     overflow: hidden;
    position: absolute;
    z-index: 1;
}

.content {
    overflow: hidden;
    z-index: 15;
    position: absolute;
    width: 100%;
    height:100%;
    color: #FFF;
}

.content a {
    color: #FFF;
}

.blog-sidebar{
    width: 10%;
    min-width: 200px;
    float: right;
    font-size: 11pt;
    color: #666;
}

.blog .posts{
    margin-right: 240px;
}

.wrapper {
    display: table;
    margin: auto;
    height:100%;
    overflow: hidden;
    max-width: 960px;
    text-align: center;
}

.centered {
  position:relative;
  display:table-cell;
  vertical-align:middle;
  padding: 0 25px;
}

.topbar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #333;
    z-index: 40;
}

.topbar .nav a{
    line-height: 40px;
    float: left;
    padding: 0 10px;
    color: #EEE;
    text-decoration: none;
    transition: background-color .5s;
    -webkit-transition: background-color .5s;
    -moz-transition: background-color .5s;
    -o-transition: background-color .5s;
}

.topbar .nav a:hover{
    background-color: #111;
    color: #FFF;
}

.sidebar {
    color: #666;
    position: absolute;
    z-index: 20;
    right: 0;
    top: 40px;
    bottom: 0;
    overflow: auto;
    width: 640px;
    background: #FFF;
    background: rgba(255,255,255,.96);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    box-shadow: 0 0 4px rgba(0,0,0,.25);
    transition: all .5s;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
}

body.wide .sidebar{
    width: 840px;
}

body.wide .sidebar.hidden{
    right: -840px;
}

.sidebar.hidden{
    right: -640px;
}

.sidebar.loading{
    background-image: url(../img/loader.gif);
}

.sidebar p {
    line-height: 150%;
}

.blog a,
.sidebar a{
    transition: color .5s;
    -webkit-transition: color .5s;
    -moz-transition: color .5s;
    -o-transition: color .5s;
    color: rgb(11,148,163);
}

.blog a:hover,
.sidebar a:hover{
    color: rgb(163,26,11);
}

.sidebar-inner{
    padding: 25px 100px 25px 25px;
}

#toggle-sidebar{
    position: absolute;
    right: 25px;
    bottom: -75px;
    line-height: 32px;
    text-align: center;
    width: 0; 
    height: 0; 
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent; 
    border-left: 40px outset #DDD;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#toggle-sidebar.hidden{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

#language{
    display: none;
    padding: 10px;
    font-size: 10pt;
    float:right;
    color: #FFF;
}

#impressum{
    position: fixed;
    left: 0;
    bottom: 0;
    display: block;
    padding: 5px;
    color: #FFF;
    text-shadow: 0 0 1px rgba(0,0,0,.5);
    font-size: 10pt;
    text-decoration: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
}

#impressum:hover{
    text-shadow: 0 0 4px rgba(0,0,0,1);
}

.blog .container{
    position: relative;
    z-index: 30;
    max-width: 820px;
    margin: 0 auto;
    font-size: 110%;
    padding: 10%;
    padding-top: 60px;
    color: #333;
}

.posts{
    line-height: 150%;
}

.posts img{
    outline: 2px solid rgb(163,26,11);
}

@media (max-width:840px) {
    .blog-sidebar{
    width: 100%;
    min-width: auto;
    float: none;
    padding: 10px;
    font-size: 11pt;
    color: #666;
    }

    .blog .posts{
        margin-right: 0;
    }
    body.wide .sidebar {
        width: 100%;
    }
    body.wide .sidebar-inner{
        padding: 50px 25px 25px 25px;
    }
    .qrcode{
        display: none;
    }
}

@media (max-width:640px) {
    .sidebar {
        width: 100%;
    }
    .sidebar-inner{
        padding: 50px 25px 25px 25px;
    }
}

.boring{
    overflow: auto;
}

.boring body{
    overflow: auto;
    background: #EEE;
}

.boring .wrapper{
    padding: 0 10px;
    text-align: left;
    background: url(../img/boring.png) no-repeat 0 100px;
    background-size: 100% auto;
}