.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0 auto;
}

// Post links color and spacings

.entry-content {
	@include lg_screen() {
		> *:not(.vc_row):not(.vc_clearfix) {
			margin-top: 28px;
			margin-bottom: 28px;
		}

		> *:not(.vc_row):not(.vc_clearfix):first-child {
			margin-top: 0px;
		}

		> *:not(.vc_row):not(.vc_clearfix):last-child {
			margin-bottom: 0px;
		}
	}

	figcaption {
		padding: 0.3rem;
		font-size: .98em;
		margin: 0px;
	}
}

.post .entry-content {
	margin-bottom: 30px;

	a:not(.wp-block-button__link):not(.wp-block-file__button) {
		color: $color_brand;

		&:hover {
			text-decoration: underline;
		}
	}

	.blog-slider {
		.owl-nav {
			display: none;
		}
		.owl-dots {
			margin-top: 10px;
		}
	}
}

.post {
	margin-bottom: 0;
}

article.page {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
	padding-top: 15px;
	font-size: 110%;

	a {
		color: $color_brand;
		&:hover {
			text-decoration: underline;
		}
	}
}

.single-post {
	.widget_norebro_about_author {
		padding-top: 20px;
	}
}

.entry-footer {

	.share {
		.title {
			float: left;
			padding: 7px 25px 5px 15px;
			border: 1px solid $color_dark-gray;
			border-radius: 50px;
			font-size: $font_caption-size;
			font-weight: 500;
			text-transform: uppercase;
			margin-top: 3px;
			cursor: pointer;
			transition: .2s ease-in-out;
			white-space: pre;
			position: relative;

			&:hover {
				border-color: $color_brand;
				color: $color_brand;
			}

			&:after {
				content: '\f10d\A\f104';
				font-family: 'Ionicons';
				position: absolute;
				right: 12px;
				top: 8px;
				font-size: 9px;
				line-height: 7px;
				opacity: .7;
			}
		}

		.socialbar {
			float: left;
			overflow: hidden;
			white-space: nowrap;
			transition: .5s ease-out;
			font-size: 0;

			a {
				width: 0px;
				height: 36px;
				line-height: 36px;
				margin: 0;
				transition: .2s ease-in-out;
				opacity: 0;
				transform: scaleY(0);
				border-left-width: 0;
				border-right-width: 0;

				&:first-child {
					margin: 0;
				}

				&.active {
					width: 36px;
					transform: none;
					margin: 0 0 0 5px;
					opacity: 1;
					border-left-width: 1px;
					border-right-width: 1px;

					&:first-child {
						margin-left: 10px;
					}
				}
			}
		}
	}

}

.post-widget {
	padding-top: 30px;
}

.toggle {
	position: relative;
	clear: both;

	.norebro-icon-grid {
		background: rgba(0,0,0,.05);
		width: 50px;
		height: 50px;
		border-radius: 50px;
		margin: -25px 0 0 -25px;
		display: block;
		position: absolute;
		top: 50%;
		left: 50%;
		z-index: 2;

		&:hover {
			background: rgba(0,0,0,.1);
		}
	}
}

.toggle-post {
	width: 100%;
	margin: 0;

	th, td {
		padding: 20px 0;
		border: none;
	}

	.arrow {
		color: $color_dark;
		width: 60px;
		height: 100%;
		border-left: 1px solid transparent;
		text-align: center;
		font-size: 28px;
		transition: .2s ease-in-out;
		transition-property: border, color;
		text-shadow: 0 1px 0 rgba($color_dark,.4), -.5px 0 0 rgba($color_dark,.4), -.5px 1px 0 rgba($color_dark,.4);

		span {
			margin-top: 5px;
			display: inline-block;
		}
	}

	.content {
		width: 1px;
		padding: 0 20px 0 0;
		white-space: nowrap;

		.subtitle {
			margin-bottom: 4px;
			text-transform: uppercase;
			font-size: $font_caption-size;
		}

		h3 {
			text-overflow: ellipsis;
			max-height: 3.6em;
			margin: 0 0 5px;
			line-height: 1.3;
			font-weight: 500;
			font-size: $font_small-size;
			overflow: hidden;
			transition: color .2s ease-in-out;
		}
	}

	.image {
		margin: -20px 0 -26px;
		max-width: 150px;
		min-width: 80px;
		opacity: 0;
		transition: opacity .2s ease-in-out;

		img {
			height: 90px;
			width: auto;
		}
	}

	&.right {
		.content {
			padding: 0 0 0 20px;
		}
		.arrow {
			border-left: none;
			border-right: 1px solid transparent;
		}
	}

	&:hover {
		background-position: 0 0;

		.arrow {
			color: $color_brand;
			border-color: rgba(0,0,0,.1);
		}

		.image {
			opacity: 1;
		}

		.content {
			h3 {
				color: $color_brand;
			}
		}
	}

}

@media screen and (max-width: 768px){
	.toggle-post {
		.content {
			width: auto;
			white-space: normal;
		}

		.image {
			opacity: 1;
		}
	}

	.toggle {
		padding: 20px 0;

		.norebro-icon-grid {
			position: relative;
			top: 0;
			margin: 20px 0 20px -25px;
		}	
	}
}

h3.related-post-heading {
	margin-bottom: 25px;
	margin-top: 45px;
	font-size: $font_main-size;
}

.related-posts {
	margin-bottom: 35px;

	.blog-grid footer {
		margin-top: 10px;
	}
}

.post {
	margin-top: 0;

	.entry-content {
		p:first-of-type {
			margin-top: 0;
		}

		p:last-of-type {
			margin-bottom: 0;
		}
	}

	h2 {
		a:hover {
			text-decoration: underline;
		}
	}

	.comments-link a {
		font-size: $font_extra_small-size;
		margin-left: 15px;

		&:hover {
			color: $color_brand;
			text-decoration: underline;
		}
	}
}

form.post-password-form {
	text-align: left;

	label {
		font-weight: 600;
		margin: 15px 0;

		input {
			margin-top: 5px;
		}
	}

	input[type="submit"] {
		margin-top: 15px;
	}
}