/*
 * WordPress Core
 *
 * @link https://codex.wordpress.org/CSS#WordPress_Generated_Classes
 */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float:right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background: var(--color-negative);
	border: 1px solid var(--color-auxiliary);
	max-width: 96%;		/* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}

.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}

.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;	/* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}




/*
 * Content width.
 *
 * @link https://codex.wordpress.org/Content_Width
 */

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}




/*
 *	Required features.
 */

.bypostauthor .comment__author {
	/* Post author name has underline */
	text-decoration: underline;
}

.sticky .blog-post__featured-sign {
	/* Sticky blog post has featured sign, user can diable that, rest of css is in base.css */
	position: absolute;
}

.gallery-caption {
	color: var(--color-auxiliary);
}




/*
 *	Teso modifications.
 */

.comment.comments__item {
	display: list-item;
	margin: 0;
}

/* Style post/page password protect form */
.post-password-form {
	margin: 200px auto;
}

.post-password-form > p:last-child {
	display: flex;
	justify-content: center;
	align-items: center;
}

.post-password-form .submit {
	margin-left: 20px;
}

@media all and (max-width: 768px) {
	.post-password-form > p:last-child {
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
	}

	.post-password-form .submit {
		margin-left: 0;
		margin-top: 20px;
	}
}


/* Every non-sana top level block is wrapped into 'wp-block-wrapper' and 'wp-block-wrapper__inner' */
.main__inner .wp-block-wrapper {
	padding: 0 var(--website-horizontal-padding);
}
.main__inner .wp-block-wrapper > .wp-block-wrapper__inner {
	display: block;
	max-width: var(--website-maximum-width);
	margin-left: auto;
	margin-right: auto;
}


/* Page break pagination */
.post-nav-links {
	text-align: center;
	margin: 4rem 0;
}


/* Keed WP admin bar always fixed */
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
}