body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 1.1em;
    margin: 0;
    padding: 0;
    color: #3c3c3c;
    background-color: #2f2f2f;    
}

h1 { font-size:2.28571em; line-height: 1.2; }
h2 { font-size:1.61429em; }
h3 { font-size:1.14286em; }
h4 { font-size:1em; }
h5 { font-size:0.8em; }
h6 { font-size:0.7em; }

blockquote {
    border-top: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}
blockquote p {
    font-style: italic;
    font-size: 1.2em;
}

pre {
    width: 90%;
    margin: 0;
    padding: 10px;
    text-align: left;
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

a:link, a:active, a:visited {
    color: #008a6e;
    text-decoration: none;
    border-bottom: 1px solid #008a6e;
}

a:hover {
    color: #0CB190;
    text-decoration: none;
    border-bottom: none;
}

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

.logomark {
    width: 23px;
    top: 5px;
    border: 4px solid #fff;
    font-weight: bold;
    padding: 5px 8px;
    color: #fff;
    margin-left: 0;
    line-height: 1.8em;
}

.logomark:hover { color: #3c3c3c; border-color: #3c3c3c; }

nav {
    position: relative;
    width: 100%;
    height: 85px;
    padding-top: 35px;
    text-transform: uppercase;
    color: #fff;
    background-color: #0099FF;
    border-bottom: 1px solid #0066FF;
}
nav section {
    position: relative;
    margin: 0 auto;
    width: 90%;
    max-width: 800px;
}

nav a:link, nav a:active, nav a:visited {
    color: #fff;
    text-decoration: none;
    border: none;
}

nav a:hover {
    color: #3c3c3c;
    text-decoration: none;
    border-bottom: none;
}

.block {
    width: 100%;
}
.primary { background-color: #f1f1f1; }
.secondary { background-color: #fff; padding-top: 10px; min-height: 200px;}

.inner {
    overflow: auto;
    position: relative;
    margin: 0 auto;
    width: auto;
    max-width: 800px;
    padding: 10px;
}

header {
    text-align: center;
}

.button	{
    text-align: center;
    text-transform: uppercase;
    font-size: 80%;
}

.button a 	{
    border: 2px solid #008a6e;
    padding: 6px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.button a:hover {
    border: 2px solid #0cb190;
}

footer {
    overflow: auto;
    background-color: #2f2f2f;
    color: #fff;
    line-height: 1.8em;
}
footer p {
    text-align: center;
    font-size: 80%;
    clear: both;
    margin-top: 0;
}

.intro {
    text-align: center;
}

.intro img {
    border-radius: 85px;
    border: 2px solid #008a6e;
    margin-top: 10px;
}

.piece {
    position: relative;
    display: inline-block;    
    border: 1px black solid;
}

.work .piece { height: 120px; width: 32.5%; margin-bottom: 5px; }
@media screen and (max-width: 660px) {
    .work .piece { width: 100%; }
}
.piece .container
{
    background: rgb(0, 0, 0); /* fallback color */
    background: rgba(0, 0, 0, 0.7);
    position: absolute; 
    left: 0; 
    top: 10px;
    color: white; 
    padding: 5px;
    width: 80%;
}
.piece .container .title {   
    font-size: 80%;
}
.piece .container .desc {  
   
    font-size: 60%;
}

.work .piece:hover:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    background-color: rgba(214, 214, 214, 0.58);
    background-image: url("../img/focus.png");
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    content: "";
}

.tags {
    position: absolute;
    margin: 0;
    bottom: 5px;
    right: 5px;
}

.tag {
    margin: 0 2px;
    padding: 2px 5px;
    border: 1px solid #DDD;
    background-color: #ededed;
    border-radius: 3px;
    font-size: 70%;
    color: #3C3C3C;
}

.fork {
    position: absolute;
    margin: 0;
    top: 0;
    left: 5px;
}

.tag i { font-size: 80%; }
.fork .tag:hover {
    border: 1px solid #0cb190;
}

a:link.gram-link,
a:active.gram-link,
a:visited.gram-link,
a:link.work-link,
a:active.work-link,
a:visited.work-link,
.tag a:link,
.tag a:active,
.tag a:visited,
.meta a:link,
.meta a:active,
.meta a:visited {
    border-bottom: none;
}

/* Color scheme */
.color {
    position: relative;
    width: 100%;
    height: 100px;
    text-align: center;
    padding-top: 75px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}
.color.darker {
    background-color: #008a6e;
}
.color.main {
    background-color: #0CB190;
}
.color.background {
    background-color: #fff;
    color: #3c3c3c;
}
.color.background-light {
    background-color: #f1f1f1;
    color: #3c3c3c;
}
.color.background-dark {
    background-color: #2f2f2f;
    color: #fff;
}
.it {
    background-image: url("../img/it16.png");
}
.en {
    background-image: url("../img/en16.png");
}
#preloader {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:#fff; /* change if the mask should have another color then white */
    z-index:99; /* makes sure it stays on top */    
}

#status {
    width:200px;
    height:200px;
    position:absolute;
    left:50%; /* centers the loading animation horizontally one the screen */
    top:50%; /* centers the loading animation vertically one the screen */
    background-image:url(../img/status.gif); /* path to your loading animation */
    background-repeat:no-repeat;
    background-position:center;
    margin:-100px 0 0 -100px; /* is width and height divided by two */
}
.planguage {display:none; width: 35px; font-weight: bold;}
.sitelanguages 
{
    width: 47px;
    text-align: center;
}
.language {
    display:inline-block;
    width:16px;
    height:16px;
}
.currentlang
{
    opacity: 0.5;
}
.flexibleserver {
    background-image: url("../img/flexibleserver.png");
    background-size: cover;
}
.netgearstats {
    background-image: url("../img/netgearstats.png");
    background-size: cover;
}
.webpanel {
    background-image: url("../img/webpanel.png");
    background-size: cover;
}
.github {
    background-image: url("../img/github.png");
    background-size: cover;
}

.raspberrypiarduino {
    background-image: url("../img/raspberrypiarduino.png");
    background-size: cover;
}

.homerandroidapp {
    background-image: url("../img/homerandroidapp.png");
    background-size: cover;
}