html {
    height: 100%;
    overflow-y: scroll;
}

body {
    height: 100%;
    color: white;
}

header, nav, article, aside, footer, hgroup, section {
    display: block;
}

div#main_block {
    font-size: 15px;
    min-height: 700px;
    -webkit-border-top-right-radius: 10px;
    -webkit-border-top-left-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-topleft: 10px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

a {
    color: grey;
    text-decoration: none;
}

a:hover {
   color: white;
   text-shadow: 1px 1px 2px black, 0 0 1em grey, 0 0 0.2em grey;
}

li, ol {
    margin: 10px 0 10px 0;
}

.emoji {
    font-family: "EmojiSymbols";
}


/****************************/
/* Header */
/****************************/

div#heady {
    border-radius: 10px;
    background-color: rgba(0,0,0,0.9);
    box-shadow: 10px 5px 5px black;
    text-shadow: 1px 1px 2px black, 0 0 1em grey, 0 0 0.2em grey;
    border: 1px solid silver;
    background-image: url("https://polka.bike/blog/img/HaDpolkabike.png");
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 10px;
}

div#header {
    height: 123px;
    width: 90%;
}

div#header h1, div#header h2 {
    font-family: 'BigBottomCartoonRegular';
    font-size: 40px;
    margin-left: 10px;
    font-weight: normal;
}

div#heady a {
    text-decoration: none;
    color: silver;
}

div#heady a:hover {
   color: white;
   text-shadow: 1px 1px 2px black, 0 0 1em grey, 0 0 0.2em grey;
}

/****************************/
/* Navigation */
/****************************/
div#navigation {
    width: 100%;
}
div#navigation ul {
    list-style-type: none;
}
div#navigation li {
    float: left;
}
div#navigation a {
    padding-right: 32px;
    padding-left: 32px;
    display: block;
    text-decoration: none;
    font-weight: normal;
    font-size: 21px;
}
div#navigation a:hover,
div#navigation a.selected {
}


/****************************/
/* Footer */
/****************************/
div#footer {
    box-shadow: 10px 5px 5px black;
    color: #fff;
    background-color: rgba(0,0,0,0.9);
    width: 90%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 0.8em;
    border-radius: 10px;
    float: left;
    border: 1px solid silver;
}

div#footer a{
    color: #fff;
}

div#credits p {
    margin: 5px;
    width: 100%;
    text-align: right;
}


/****************************/
/* Content Block */
/****************************/
#prose_block {
    margin-top: 10px;
}

#prose_block article {
}

.post_prose a:hover {
}
.post_prose a {
    text-decoration:none;
}

/****************************/
/* Blog Posts */
/****************************/
.blog_post * {
}
.blog_post {
    margin-bottom: 10px;
}

.blog_post article {
    margin: 0 0 30px 0;
    padding-bottom: 5px;
    border-radius: 15px;
}
.blog_post article header {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-top-right-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-topright: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    height: 40px;
}
.blog_post article footer {
    -webkit-border-bottom-left-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-bottomleft: 10px;
    -moz-border-radius-bottomright: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    height: 20px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
.blog_post article footer a {
}
.blog_post .left{
    margin-left: 10px;
    float: left;
}
.blog_post .right{
    margin-right: 10px;
    float: right;
}

.blog_post article header a {
    text-decoration: none;
}

.blog_post header .date {
    float: left;
    text-align: right;
    width: 50px;
    height: 40px;
    font-size: 24px;
    margin-right: 12px;
    padding-right: 10px;
    border-right: 1px solid #600;
    border-right-color: #06266F;
    border-right-color: rgba(0, 32, 96, 0.9);
    border-top-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -webkit-border-top-left-radius: 10px;
    box-shadow: inset 1px 0 15px rgba(0, 72, 96, 0.9);
}

.blog_post header .year {
    font-size: 15px;
    text-align: center;
    width: 40px;
    line-height: 16px;
    margin: 12px 0 0 -7px;
    display: block;
    transform: rotate(270deg);
}

.blog_post header .day {
    font-size: 18px;
    height: 24px;
    text-align: center;
    float: right;
    margin: -25px 0 0 -10px;
}

.blog_post header .month {
    display:block;
    font-size:12px;
    height:16px;
    font-family: monospace;
    margin-top: -8px;
    margin-right: -1px;
}

.blog_post_title {
    box-shadow: 10px 5px 5px black;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    font-size: 1.4em;
    height: 1.4em;
    font-weight: normal;
    overflow: hidden;
    border: 1px solid silver;
}
.blog_post_title a {
    float: left;
    margin-top: 4px;
}

.blog_post_info {
    box-shadow: 10px 5px 5px black;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid silver;
}

.post_body {
    padding-top: 10px;
    padding-bottom: 15px;
    min-height: 60px;
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
}
.post_prose {
    box-shadow: 10px 5px 5px black;
    border-radius: 10px;
    background-color: rgba(255,255,255,0.9);
    color: black;
    padding: 1em;
    margin-left: 10px;
}
.post_prose a:hover {
}

.post_prose a {
    text-decoration:none;
}

/* code blocks using $$code(lang=something) */
.syntax_highlight {
    font-family: 'Source Code Pro', monospace;
    margin: 15px 10px 15px 20px;
    overflow: auto;
    font-size: smaller;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid black;
}

div#disqus_thread {
    box-shadow: 10px 5px 5px black;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid silver;
}

/****************************/
/* Sidebar */
/****************************/

aside {
    width: 260px;
    float: right;
    margin-bottom: 30px;
    padding: 0 20px 20px 0;
    position: relative;
    z-index: 1;
}
aside h1, footer h1 {
    box-shadow: 10px 5px 5px black;
    background-color: rgba(0, 0, 0, 0.9);
    font-size: 18px;
    font-weight: normal;
    line-height: 28px;
    height: 28px;
    margin-bottom: 10px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid silver;
}

aside nav, aside section {
    margin: 0 0 25px 0;
    padding: 0;
    background: none;
}

aside div {
    box-shadow: 10px 5px 5px black;
    background-color: rgba(255, 255, 255, 0.9);
    color: black;
    border-radius: 10px;
    padding: 10px;
    font-size: larger;
    font-weight: bolder;
    border: 1px solid silver;
}

aside img {
    float: right;
    padding: 10px;
}

aside ul, aside ol {
    list-style: none outside none;
    font-size: smaller;
    font-weight: lighter;
}

aside li {
    margin-left: -25px;
    text-decoration: none;
}

/****************************/
/*  archives                */
/****************************/
.year {
    box-shadow: 10px 5px 5px black;
    background-color: rgba(0, 0, 0, 0.9);
    line-height: 28px;
    height: 28px;
    margin-bottom: 10px;
    padding: 0 10px;
    border-radius: 10px;
    color: white;
    border: 1px solid silver;
}

.archives {
    box-shadow: 10px 5px 5px black;
    background-color: rgba(0,0,0,0.9);
    color: white;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid silver;
}

/****************************/
/* Non-blog pages */
/****************************/
.page_box {

    margin: 20px;
    padding: 20px;
    background: #e3e3e3;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.transparent {
	zoom: 1;
	filter: alpha(opacity=50);
	opacity: 0.5;
}
