#sidebar {
	float: left;
	width: 185px;
}

/* small icons near links in sidebar */
#sidebar .ibtn {
	position:relative;
	top: 3px;
	margin-right:3px;
}

#main {
	/* Let's give the text a bit more space */
	line-height: 145%;
}

.sidenote {
	clear: right;
	float: right;
	max-width: 50%;
	min-width: 30%;
	margin-right: -20%;
	margin-left: 15px;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 10px 10px 10px 10px;
	color: #000;
	background: #EEE;
	overflow: hidden;
}
@media all and (max-device-width:1100px){
	.sidenote {
		float: none;
		max-width: none;
		margin-right: 15px;
	}
}
@media all and (max-width:1100px){
	.sidenote {
		float: none;
		max-width: none;
		margin-right: 15px;
	}
}
@media all and (max-device-width:8cm){
	.sidenote {
		float: none;
		max-width: none;
		margin-right: 15px;
	}
}

.sidenote h4{
	padding-top: 0;
	margin-top: .1em;
	margin-bottom: .8em;
}

.sidenote ul {
	/*list-style-type: circle;*/
	padding-left: 15px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-top: 0;
	margin: 0;
}

.sidenote .code-div{
	padding: 0;
	margin: 0;
}

.fixedWidth {
	font-family: monospace;
	font-size: inherit;
	background: #D8D8D8;
	text-decoration: inherit;
}

.quotefoot {
	margin-bottom: .7em;
	margin-top: 0em;
	text-align: right;
	font-style: italic;
	overflow: hidden;
}

.redwarn {
	background: #f99;
	padding: 5px 5px 5px 5px;
}

.sidepic {
	clear: right;
	float: right;
	max-width: 50%;
	min-width: 30%;
	margin-right: -20%;
	margin-left: 15px;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 10px 10px 10px 10px;
	color: #000;
	background: #EEE;
	overflow: hidden;
	/* It can be overridden with sidepicw markup option */
	width: 220px;
}

@media all and (max-width:1100px){
	.sidepic {
		float: none;
		max-width: 80%;
		width: 87.5% !important;
		text-align: center;
		margin: auto;
	}
}
@media all and (max-device-width:1100px){
	.sidepic {
		float: none;
		max-width: 80%;
		width: 87.5% !important;
		text-align: center;
		margin: auto;
	}
}
@media all and (max-device-width:8cm){
	.sidepic {
		float: none;
		max-width: 80%;
		width: 87.5% !important;
		text-align: center;
		margin: auto;
	}
}

.sidepic h4{
	padding-top: 0;
	margin-top: .1em;
	margin-bottom: .2em;
	text-align: center;
	line-height: 120%;
}

.sidepic h4 + p + p{
	text-align: center;
}
.sidepic h4 + a{
	text-align: center;
}

.sidepic p{
	font-size: 80%;
	max-width: 100%;
	line-height: 130%;
}

.sidepic img{
}

.post-content blockquote {
	margin-bottom: 0em;
	margin-top: .2em;
	margin-right: 20px;
	padding-right: 20px;
	padding-left: 10px;
	background: #eef;
	overflow: hidden;
}

.post-content h3 {
	font-weight: bold;
	font-size: 1.3em;
}

.post-content h3.fin {
	font-weight: bold;
	font-size: 1.3em;
	text-align: center
}

table.blog-archive {
	width: 90%;
	/* Override text line height in the parent */
	line-height: 18px;
}

/* Comments */

.comments-title {
	font-weight: bold;
	font-size: 120%;
}

.post-comments-list {
	margin-left: 20px;
	margin-right: 10%;
}

.post-comment, .post-comment-by-author {
	margin-top: 5px;
	margin-bottom: 5px;
}

.post-comment-body {
	margin-top: 2px;
	padding: 3px 10px 5px 10px;
}
.post-comment-author:hover {
	color: inherit;
	 background-color:inherit;
	 text-decoration: underline;
}
.post-comment-author {
	font-weight: bold;
	text-decoration: none;
	text-color: inherit;
}
/* Silent hrefs */
.silent:hover {
	color: inherit;
	background-color:inherit;
	text-decoration: underline;
}
.silent {
	font-weight: normal;
	text-decoration: none;
	text-color: inherit;
}

/* comments from usual users */
.post-comment .post-comment-author {
	font-weight: bold;
}
.post-comment .post-comment-body {
	/*border: 1px solid #888;*/
	background-color: #eef;
}

/* comments from author */
.post-comment-by-author .post-comment-author {
	font-weight: bold;
}
.post-comment-by-author .post-comment-body {
	background-color: #ddf;
}

/* Markdown formatting */
.post-comment-body h1 {
	font-size: 1.4em;
}
.post-comment-body h2 {
	font-size: 1.25em;
}


/*inherited from sidenote style*/
.blog-changes {
	clear: right;
	float: right;
	max-width: 50%;
	min-width: 30%;
	margin-right: -20%;
	margin-left: 15px;
	margin-top: 0;
	margin-bottom: 10px;
	padding: 10px 10px 10px 10px;
	color: #000;
	background: #EDE;
	overflow: hidden;
}

.blog-changes .changes-list {
	list-style-type: circle;
	padding-left: 15px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-top: 0;
	margin: 0;
}

.blog-changes h4{
	padding-top: 0;
	margin-top: .1em;
	margin-bottom: .8em;
}

.blog-sidebar-li {
	padding-left: 200px;
	margin-left: 200px;
}

.mid {
	text-align: center;
}
