.grav-clone {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

#wp_footer_action {
	position: relative;
}

#wpstats {
	position: absolute;
	top: -5px;
	left: 0;
}

/* Code highlighter */
.syntaxhighlighter table {
	table-layout: auto;
}

.syntaxhighlighter .script,
.syntaxhighlighter .keyword {
	line-height: 1em !important;
}

/* Contact form submit */
.contact-submit input[type="submit"] {
	padding: 0 20px;
	padding: 0 2rem;
}

/* Poll links */
.PDS_Poll a {
	border-bottom: none;
}

/* Recent comments widget */
.widget_recent_comments td.recentcommentsavatartop,
.widget_recent_comments td.recentcommentsavatarend,
.widget_recent_comments td.recentcommentstexttop,
.widget_recent_comments td.recentcommentstextend {
	border-bottom: 1px solid #ececec !important;
}

.widget_recent_comments td.recentcommentsavatartop {
	padding: 0 0 14px;
	padding: 0 0 1.4rem;
}

.widget_recent_comments td.recentcommentsavatarend {
	padding: 14px 0;
	padding: 1.4rem 0;
}

.widget_recent_comments td.recentcommentstexttop {
	padding: 0 0 14px 10px;
	padding: 0 0 1.4rem 1rem;
}

.widget_recent_comments td.recentcommentstextend {
	padding: 14px 0 14px 10px;
	padding: 1.4rem 0 1.4rem 1rem;
}

.widget_recent_comments tr:last-of-type td.recentcommentsavatarend,
.widget_recent_comments tr:last-of-type td.recentcommentstextend {
	padding-bottom: 0;
	border-bottom: none !important;
}

/* Flick widget */
#flickr_badge_wrapper {
	border: none !important;
}

#flickr_badge_uber_wrapper br {
	display: none;
}

#flickr_badge_wrapper td {
	vertical-align: top;
}

#flickr_badge_wrapper a {
	display: inline-block;
	vertical-align: top;
	padding: 0 10px 10px 0;
}

#flickr_badge_uber_wrapper a:last-child {
	display: block;
	color: #444 !important;
}

#flickr_badge_uber_wrapper a:last-child:hover {
	color: #ff5436 !important;
}

/* Sharing & related posts */
div.sharedaddy h3.sd-title:before {
	border-color: #ececec !important;
}

.entry-video div.sharedaddy,
.entry-audio div.sharedaddy {
	display: none;
}

div.jp-relatedposts {
	margin: 0 0 60px;
	margin: 0 0 6rem;
}

div.jp-relatedposts .jp-relatedposts-headline {
	display: block;
	float: none;
	margin: 0 0 14px;
	margin: 0 0 1.4rem;
	padding: 5px 0;
	padding: 0.5rem 0;
	font-size: 20px;
	font-size: 2rem;
	line-height: 34px;
	line-height: 3.4rem;
	font-weight: 400;
	color: #444;
	border-top: 5px solid #ececec;
	border-bottom: 1px solid #ececec;
}

div.jp-relatedposts .jp-relatedposts-headline em:before {
	display: none;
}

div.jp-relatedposts .jp-relatedposts-post {
	float: left;
	clear: none;
	width: 30.593607306%;
	margin: 0;
}

div.jp-relatedposts-items-visual {
	margin-right: 0;
}

div.jp-relatedposts-items-visual .jp-relatedposts-post {
	padding-right: 0;
}

div.jp-relatedposts .jp-relatedposts-post.jp-relatedposts-post0 {
	margin-right: 4.109589041%;
}

div.jp-relatedposts .jp-relatedposts-post.jp-relatedposts-post2 {
	float: right;
}

div.jp-relatedposts .jp-relatedposts-post img {
	width: 100%;
	margin: 0 0 8px;
	margin: 0 0 0.8rem;
}

div.jp-relatedposts .jp-relatedposts-post a {
	text-overflow: clip;
	white-space: normal;
	border-bottom: none;
	font-size: 18px;
	font-size: 1.8rem;
	line-height: 23px;
	line-height: 2.3rem;
	font-weight: bold;
}

div.jp-relatedposts .jp-relatedposts-post a:hover {
	text-decoration: none;
}

div.jp-relatedposts .jp-relatedposts-post img + strong {
	max-width: 100%;
}

div.jp-relatedposts .jp-relatedposts-post img + strong + br + span {
	max-width: 100%;
	opacity: 1;
	margin-top: 4px;
	margin-top: 0.4rem;
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 14px;
	line-height: 1.4rem;
	color: #c4c4c4;
}

div.jp-relatedposts .jp-relatedposts-post span:before {
	display: none;
}

@media only screen and (max-width: 640px) {
	div.jp-relatedposts .jp-relatedposts-post:nth-child(3n) {
		clear: none;
	}

	div.jp-relatedposts .jp-relatedposts-post a {
		font-size: 14px;
		font-size: 1.4rem;
		line-height: 18px;
		line-height: 1.8rem;
	}

	div.jp-relatedposts .jp-relatedposts-post img + strong + br + span {
		font-size: 12px;
		font-size: 1.2rem;
		line-height: 12px;
		line-height: 1.2rem;
	}
}
