/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/

code {
	background-color: rgba(0,0,0,.05);
	 font-size: 0.78em;
	padding: 2px 5px;
	font-family: 'Roboto Mono', monospace;
}

.entry-content {
	line-height: 1.9em;
}

pre {
	font-size: 0.75em;
	font-family: 'Roboto Mono', monospace;
}

h1, h2, h3, h4, h5, h6 {
	position: relative;
}

.inside-article {
	padding: 40px !important;
}

h1 .anchor,
h2 .anchor,
h3 .anchor,
h4 .anchor,
h5 .anchor,
h6 .anchor {
	opacity: 0.2;
	font-weight: bold;
	font-size: 0.8em;
	display: inline-block;
	position: absolute;
	top: 0px;
	left: -30px;
}

h1:hover .anchor,
h2:hover .anchor,
h3:hover .anchor,
h4:hover .anchor,
h5:hover .anchor,
h6:hover .anchor {
	opacity: 1;
}

.shortcode-toc ul {
	list-style: none;
	margin-left: 20px;
}

.shortcode-toc:before{
	content: "Content"
}

.page-header-image-single img,
.post-image img {
	max-height: 150px;
	width: auto;
	margin: auto;
	display:block;
}

.scastie.embedded {
/* 	max-width: 100%; */
	margin: 0 auto !important;
	width: 100% !important;
}

@media only screen and (max-width: 770px) {
  .scastie.embedded {
    margin-left: -40px !important;
		margin-right: -40px !important;
		margin-bottom: 14px !important;
		width: calc(100% + 80px - 8px) !important;
		padding: 0px 4px !important;
  }
}

.scastie ul.embedded-menu {
	position: inherit;
	display: inline-block;
	margin: 0px auto;
}

.scastie ul.embedded-menu li {
	display: inline-block;
	margin: 5px 5px;
	width: 120px;
	padding: 6px;
}

.wp-block-lazyblock-scala-knowledge-bits-template .scastie.embedded .inline[title="Unit"]  {
	display: none;
}

#jp-relatedposts h3.jp-relatedposts-headline {
	font-size: 1.5em;
}

#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post {
	width: 100% !important;
	padding: 20px 0px;
	margin: 0px auto;
	border-bottom: 1px solid lightgray;
	border-top: 1px solid lightgray;
}

#jp-relatedposts .jp-relatedposts-list h4.jp-relatedposts-post-title {
	font-size: 1.5em;
	line-height: 1.3em;
	max-width: 100% !important;
}

#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img {
	float: none;
	margin: auto;
	max-width: 100%;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post:hover .jp-relatedposts-post-title a,
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:hover {
	text-decoration: none;
	color: #0b1cdd;
}

#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a:visited {
	color: #6272ef;
}

#content h4 {
	font-weight: 400;
	font-size: 1.1em;
}

.comment-list .comment-content {
	border-radius: 5px;
	border-bottom-width: 2px;
	border-right-width: 2px
}

.comment-list .children {
	border: none;
	border-bottom: none !important;
}

.wp-block-image.alignwide.size-large {
	width: 95%;
	margin: auto;
}

.inside-article .skb-focus {
	border: 2px #6E7F80 solid;
	border-radius: 15px;
	background-color: 	#F5F5F5;
	font-size:1.15em;
	margin-bottom: 16px;
	padding: 14px;
	padding-bottom: 0px;
	padding-top: 16px;
}

.kintell-cards {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
  justify-content: center;
}

.kintell-cards .kintell-card {
	display: inline-block;
	flex: 33%;
  max-width: 33%;
}

.kintell-cards .kintell-card iframe {
	padding: 0px 4px;
	width: 90%;
	display: block;
	margin: 16px auto;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media only screen and (max-width: 1000px) {
  .kintell-cards .kintell-card {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media only screen and (max-width: 800px) {
  .kintell-cards .kintell-card {
    flex: 100%;
    max-width: 100%;
  }
}
