/* Cancel the effect of break-all in Even theme */
a {
	word-break: normal !important;
}

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

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

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

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

.sidenote {
	clear: right;
	float: right;
	max-width: 50%;
	min-width: 30%;
	margin-right: -20%;
	margin-left: 15px;
	margin-top: 0;
	margin-bottom: 2px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
	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;
	}
}

.mobile-navbar {
  max-width: 100vw;
}

.sidenote h4{
	padding-top: 0;
	margin-top: .1em;
	margin-bottom: .8em;
	font-weight: bold !important;
}

.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-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}

.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%;
	font-weight: bold !important;
}

.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 .post-content blockquote {
	margin-bottom: 0em;
	margin-top: .2em;
	margin-left: 2em;
	padding-right: 20px;
	padding-left: 10px;
	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
}

.post-content h4 {
	font-weight: bold !important;
}

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;
	font-weight: bold !important;
}

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

.mid {
	text-align: center;
}

.mid-stretch {
	text-align: center;
}

.mid-stretch img {
  width: 100%;
}

.quote-who {
	font-style: italic;
}

/* Carousel */
.slick-prev:before, .slick-next:before { 
	color:#c05b4d !important;
}

.slick-next { 
	right: 0 !important;
	width: 40px !important;
	height: 100% !important;
	background: rgba(255, 255, 255, 0.7) !important;

}
.slick-prev { 
	left: 0 !important;
	z-index: 2;
	width: 40px !important;
	height: 100% !important;
	background: rgba(255, 255, 255, 0.7) !important;
}
/* smaller than usual */
.slick figure {
	margin-left: 10px;
	margin-right: 10px;
}

code {
  margin: 0 !important;
  padding: 0 !important;
}

/* This sadly is not yet implemented in any browser... */
code:has(> mjx-container) {
  margin: 0 !important;
  padding: 0 !important;
}

.syntaxhighlighter {
  margin: 0 !important;
}
