body {
	font-family: "PT Sans", sans-serif;
	font-size: 20px;
	background: #fff;
	color: #777;
	line-height: 1.4em;
	margin: 0;
}

h1,h2,h3 {
	font-weight: bold;
	color: #444;
	line-height: 1em;
	margin: 1.5em 0 .5em;
}
h1, h1 a {
	color: #f43059;
	text-decoration: none;
}
h1 small, h2 small, h3 small {
	color: #aaa;
}

a, a:visited {
	font-weight: bold;
	color: #f43059 !important;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a.active {
	color: #444;
}
a:hover > img {
	opacity: 0.8;
}

/* Layout */
div#sidebar {
	box-sizing: border-box;
	position: fixed;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 16em;
	padding: 2em 1em;
	color: #aaa;
	background-color: #222;
	text-align: center;
}

div.content {
	box-sizing: border-box;
	margin-left: 20em;
	margin-right: 4em;
	max-width: 42em;
	padding: 1em;
	overflow: hidden;
}

/* Sidebar */
div.toggle {
	position: absolute;
	right: 16px;
	font-size: 24px;
	line-height: 1.3em;
	width: 32px;
	height: 32px;
	border: 1px solid #aaa;
	color: #fff;
	cursor: pointer;
	display: none;
}

img.avatar {
	display: block;
	border-radius: 50%;
	width: 112px;
	height: 112px;
	margin: 0px auto 30px;
	border: none;
}
#sidebar h1 {
	margin-top: 0;
}
#sidebar p {
	margin: 0 auto;
	max-width: 16em;
}
div.hr {
	border-bottom: 1px solid #777;
	content: "";
	display: block;
	margin: 30px auto;
	width: 25%;
}
div.copyright {
	font-size: 85%;
	color: #777;
}

/* Social links */
ul.social {
	font-family: "fontello";
	font-weight: normal;
	font-size: 90%;
	padding: 0;
}
ul.social li {
	display: inline-block;
}
ul.social li a {
	display: inline-block;
	line-height: 1em;
	width: 1em;
	margin: 0 5px;
	padding: 10px;
	background-color: #777;
	border-radius: 36px;
	border: none;
	text-decoration: none;
}
ul.social li a, ul.social li a:visited {
	color: #fff !important;
}
ul.social li a:hover {
	background-color: #f43059;
}

/* Content pane */
.post-date {
	font-size: 85%;
	color: #aaa;
}
.post-date {
	margin: -1em 0 1em;
}

.message {
	display: block;
	margin-bottom: 1em;
	padding: 1em;
	color: #444;
	background-color: #eee;
	border-radius: 6px;
}

dt {font-weight: bold;}

hr {
	margin: 1.5em 0;
	border: none;
	border-top: 1px solid #ccc;
	height: 1px;
}

blockquote {
	font-style: italic;
	color: #aaa;
	border-left: 12px solid #ccc;
	margin-left: 0;
	padding-left: 1.2em;
	line-height: 1.1em;
}
blockquote p {
	margin: 0;
}
blockquote small:before {
	content: "— ";
}
blockquote small {
	font-style: normal;
	font-weight: bold;
}

code, pre, div.highlight {
	font-family: "Courier New", monospace;
	border-radius: 6px;
	color: #444;
	background-color: #eee;
}
code {
	font-size: 85%;
	padding: 0.25em 0.5em;
}
pre {
	font-size: 85%;
	margin: 0 0 1em;
	padding: 1em;
	line-height: 1.1em;
	white-space: pre-wrap;
	text-indent: 0;
}
pre code {
	padding: 0;
	color: #444;
	font-size: 100%;
}
abbr {
	font-weight: bold;
	cursor: help;
}

.post table {
	margin-bottom: 1em;
	width: 100%;
	border-collapse: collapse;
	color: #444;
	font-size: 85%;
	line-height: normal;
}
.post td, .post th {
	padding: .25em .5em;
	border: 1px solid #ccc;
}
.post th {
	border-bottom: 2px solid #ddd;
}
.post tbody tr:nth-child(2n+1) td {
	background-color: #eee;
	vertical-align: top;
}

.content ul {list-style-type: none;}
.content ul li:before {content:"-"; position:relative; left:-1em; margin-right: -0.4em;}
.content ul li p:first-child {margin-top: -1.4em;}

.content img {
	display: block;
	max-width: 100%;
	margin: 0 auto 1em;
	border-radius: 6px;
}
img.il {
	display: inline;
	margin: 0;
	border-radius: 0;
}
center img {
	display: inline !important;
}
center div {
	display: inline-block;
	vertical-align: top;
	text-align: left;
	padding: 1em;
	font-size: 85%;
}

.pagination > * {
	box-sizing: border-box;
	display: block;
	float: left;
	width: 50%;
	margin: 3em 0 2em;
	padding: 1em;
	border: 1px solid #ccc;
	font-weight: bold;
	color: #ccc;
	text-align: center;
}
.pagination > a:hover {background-color: #eee; text-decoration: none;}
.pagination > :first-child {
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}
.pagination > :last-child {
	margin-left: -1px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}
.tags > a {
	border-radius: 6px;
	background-color: #777;
	color: #fff !important;
	font-size: 85%;
	padding: 0.25em 0.5em;
}
.tags > a:hover {
	background-color: #f43059;
	text-decoration: none;
}

/* Specific for gallery pages */
.gallery a {
	display: inline-block;
	box-sizing: border-box;
	width: 150px;
	height: 175px;
	line-height: 175px;
	margin: 4px;
	padding: 0;
	background-color: #eee;
	color: #444 !important;
	border: 1px solid #ccc;
	border-radius: 6px;
	text-align: center;
	position: relative;
}
.gallery a:hover {background-color: #fff0f9; position: relative; top: 1px; left: 1px;}
.gallery a img {
	display: inline-block;
	vertical-align: middle;
	margin-top: -10px;
	border-radius: 0;
}
.gallery a div {
	position: absolute;
	bottom: 2px;
	font: 10px Verdana,sans-serif;
	font-weight: normal;
	line-height: normal;
	text-decoration: none;
	width: 100%;
	text-align: center;
}

span.cv {
	display: inline-block;
	font-size: 85%;
	line-height: normal;
}
.cv small {
	color: #aaa;
	font-size: 100%;
	font-style: italic;
}
.fl {float: left; margin: .8em 1em .8em 0 !important;}
.fr {float: right; margin: .8em 0 .8em 1em !important;}

/* Social links */
.share a {
	display: inline-block;
	margin-bottom: 8px;
	padding: 8px 12px;
	background: #55acee;
	color: #fff !important;
	font-weight: normal;
	text-decoration: none;
}
.share a.facebook {background: #6d84b4;}
.share a.google {background: #dd4b39;}
.share a.linkedin {background: #0077b5;}
.share a:hover {opacity: 0.8;}
.share .icon {
	font-family: "fontello";
	font-weight: normal;
	padding: 0;
	margin: 0 0.1em;
}

/* Responsive design */
.short-width {display: none;}

@media screen and (max-width : 800px) {
	body {font-size: 16px;}
}

@media screen and (max-width : 700px) {
	div#sidebar {position: static; width: 100%; padding: 1em 1em;}
	div.content {margin: -2.5em 0 0 0; max-width: 100%;}
	.large-width {display: none;}
	.short-width {display: initial;}
	div#sidebar > * {display: none;}
	div#sidebar > *.mini {display: initial;}
}
