body {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 1px;
	padding-bottom: 10px;
	background: white;
	color: black;
	margin: 0;
	font-family: Verdana, "Bitstream Vera Sans", sans-serif;
	font-size: medium;
	background-color: #AAAAAA;
}

body > p {
	color: white;
}

div.title h1 {
        margin: 10px 0 0 0;
	text-align: center;
	background: #ADD8E6;
	color: darkgrey;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	-webkit-box-shadow: 5px 5px 8px #000;
	font-weight: normal;
}

div.title h2 {
	margin: 0 0 0.25em 0;
	padding: 0 0.5em;
        text-align: right;
	color: darkgrey;
	background: white;
	font-style: italic;
	font-weight: normal;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	-webkit-box-shadow: 5px 5px 8px #000;
}

/*
 * Special markup for weblog entries.
 */
div.entry {
	border: none;
        margin: 10px 0px;

	background: white;
	-webkit-box-shadow: 0px 0px 8px #000;
	box-shadow: 0px 0px 8px #000;
	border-radius: 10px;
	border-top: 10px;
}

div.padding {
        padding-top: 0px;
        padding-bottom: 0px;
}

div.entry div.body {
	padding: 10px 10px;
}

div.entry div.body a {
	font-weight: bold;
}

div.entry .title {
	background: #ADD8E6;
	border-bottom: 1px solid rgb(128, 128, 128);
	font-size: 120%;
	padding: 0.26ex 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

div.entry div.date {
        text-align: right;
	padding-right: 5px;
	padding-top: 5px;
}

div.entry div.tags {
	border-top: 1px solid rgb(128, 128, 128);
	font-style: italic;
	font-family: Verdana, Georgia, Arial, sans-serif;
	font-size: 90%;
	text-align: right;

	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	padding-right: 5px;
}

div.entry div.tags span.comments {
        padding-left: 5px;
        float: left;
}

div#sidebar {
	font-size: 80%;
	text-align: justify;
	padding: 0 10px;
	margin: 0;

	background: white;
	-webkit-box-shadow: 0px 0px 8px #000;
	box-shadow: 0px 0px 8px #000;
	border-radius: 10px;
	border-top: 10px;
	margin-top: 10px;
}

div#sidebar ul {
	padding-left: 2em;
}

#sidebar H2 {
	color: darkgrey;
}

a {
	color: #182C41 !important;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

pre {
	overflow:	auto;
	border: thin none;
	display: block;
	padding: 5px 1em;
	background: #e6e6e6;
	border-radius: 5px;
	border: thin solid #aaaaaa;
}

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

@media only screen and (min-width: 1025px) {
    #sidebar {
        position: absolute;
        width: 170px;
        top: 0;
        left: 10px;
    }

    body {
	margin-left: 200px;
    }
}

/* More padding on touch */
@media (any-pointer: coarse) {
  .tags a {
    padding-left: 1em;
  }

  #sidebar li {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
}
