.main-area-content h1 {
	margin-top: 0;
	margin-bottom: 0;
}

.article-single-info{
	font-size: 1rem;
}

.article-single-info a, 
.article-single-info .bg_favorite{
	color: #90694a;
}

.article-single-info .bg_favorite{
	font-size: inherit;
}

.article-single-content>p {
    clear: both;
}

.page .article-single-content{
	margin-top: 1.5rem;
}

/* BOOK PUBLISHER FIX */

.bg_bpub_toc {
    font-size: 1.25rem;
    color: maroon;
}


/* FORREADERS FIX */

div.bg_forreaders {
    display: flex;
    margin-bottom: 20px;
    height: auto;
}

div.bg_forreaders .pdf {
    background-image: url('../images/icons/document-pdf-opt.svg');
}

div.bg_forreaders .fb2 {
    background-image: url('../images/icons/document-fb2-opt.svg');
}

div.bg_forreaders .epub {
    background-image: url('../images/icons/document-epub-opt.svg');
}

div.bg_forreaders .word-download {
    background: url('../images/icons/file-word.svg') no-repeat center center / contain;
}

div.bg_forreaders div a {
    padding: 0;
    width: 36px;
    height: 36px;
    display: inline-block;
    margin: 0px 10px 0px 0px;
    font-size: 0em !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background-color: #D8EAF4!important;
    background-repeat: no-repeat;
    background-position: center center;
    border: 1.5px solid #AFAFAF;
    border-radius: 5px;
    transition: background .4s ease;
}

div.bg_forreaders div a:hover {
    background-color: #F2F8FD!important;
}

.bg_forreaders+br {
    display: none
}

.bg_forreaders .extButton {
    margin: 0px 6px 0px 0px;
    padding: 0px 95px 53px 0px;
    background: url("../images/icons/extension.png") no-repeat 50% 50%;
    background-size: contain;
}


/* ============================
COMPONENT: RELATED POSTS
============================ */

.related-posts {
    margin-bottom: 0px;
    width: 100%;
}

.related-posts-item a {
    text-decoration: none;
    color: var(--link-color, #6b4f38);
}

.related-posts-item a:hover,
.related-posts-item a:visited:hover,
.related-posts-item a:focus,
.related-posts-item a:visited:focus,
.related-posts-item a:active,
.related-posts-item a:visited:active {
    text-decoration: underline;
    color: var(--link-color, #6b4f38);
}

.related-posts-item a:visited {
    text-decoration: none;
    color: var(--link-color, #6b4f38);
}

.related-posts-title {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1.6667rem;
    font-weight: 700;
    color: #909090;
    border-bottom: 1px dotted #ccc;
}

.related-posts-list {
    position: relative;
    margin: 0 0 1.4em;
    list-style: none;
    counter-reset: num;
}

@media (max-width: 768px) {
    .related-posts-item li+li {
        margin-top: 10px;
    }
}


/* ============================
	COMPONENT: COMMENTS
============================ */

.comments {
    margin-top: 1.6667rem;
    margin-bottom: 1.6667rem;
}

.comments-heading {
    margin-bottom: 5px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
	text-transform: lowercase;
    color: var(--link-color, #6b4f38);
}

.comments-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comments-list ul,
.comments-list ol {
    margin: 0;
    margin-left: 35px;
    padding: 0;
    list-style: none;
}

.comments-go-form {
    float: right;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.7;
    text-transform: lowercase;
    text-decoration: none;
    color: #ccc;
}

.comments-go-form:hover,
.comments-go-form:visited:hover,
.comments-go-form:focus,
.comments-go-form:visited:focus,
.comments-go-form:active,
.comments-go-form:visited:active {
    text-decoration: underline;
    color: #ccc;
}

.comments-go-form:visited {
    text-decoration: none;
    color: #ccc;
}

.comments-navigation {
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
}

.comments-navigation::before,
.comments-navigation::after {
    content: "";
    display: table;
    clear: both;
}

.comments-navigation-prev {
    float: left;
}

.comments-navigation-next {
    float: right;
}

.comments-send {
    display: block;
    margin-bottom: 15px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: normal;
    line-height: 1;
    color: var(--link-color, #6b4f38);
}

.comments-send-gravatar {
    position: relative;
    float: right;
    padding-left: 20px;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.7;
    text-transform: lowercase;
    text-decoration: none;
    color: #ccc;
}

.comments-send-gravatar::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 1.3333rem;
    height: 1.3333rem;
    background: url("../images/icons/icon-gravatar.png") 50% 50% no-repeat;
    background-size: contain;
}

.comments-send-gravatar:hover,
.comments-send-gravatar:visited:hover,
.comments-send-gravatar:focus,
.comments-send-gravatar:visited:focus,
.comments-send-gravatar:active,
.comments-send-gravatar:visited:active {
    text-decoration: underline;
    color: #ccc;
}

.comments-send-gravatar:visited {
    text-decoration: none;
    color: #ccc;
}

.comments-send-text {
    font-size: 1.5rem;
    font-weight: normal;
}

.comments-area {
    width: 100%;
}

.comment {
    padding-top: 10px;
    border-top: 1px dashed #ccc;
}

.comment-content {
    padding-bottom: 10px;
	max-width: 44em;
}

.comment-text,
.comment-info {
    margin-bottom: 5px;
}

.comment-text a{
	text-decoration: underline .1px;
}

.comment-author {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.3333rem;
    font-weight: bold;
    color: var(--text-color, #000);
}

.comment-date {
    font-size: 12px;
    font-weight: normal;
}

.comment-message {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.1667rem;
}

.comment-respond {
    margin-bottom: 15px;
}

.comment-reply-link {
    text-decoration: none;
    color: var(--link-color, #6b4f38);
}

.comment-reply-link:hover,
.comment-reply-link:visited:hover,
.comment-reply-link:focus,
.comment-reply-link:visited:focus,
.comment-reply-link:active,
.comment-reply-link:visited:active {
    text-decoration: underline;
    color: var(--link-color, #6b4f38);
}

.comment-reply-link:visited {
    text-decoration: none;
    color: var(--link-color, #6b4f38);
}

.comment-input-item {
    display: block;
    text-align: right;
    color: var(--link-color, #6b4f38);
}

.comment-input-item label {
    display: inline;
    font-weight: bold;
}

.comment-field, .comment-main-box textarea {
    width: 100%;
    padding: 5px;
}

.comment-form-main {
    margin-top: 15px;
    margin-bottom: 15px;
}

.comment-reply-title {
    margin-bottom: 0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.1667rem;
    font-weight: 700;
    color: #616161;
}

.comment-notes {
    margin-bottom: 10px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #616161;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 5px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 1.1667rem;
    font-weight: bold;
    color: var(--link-color, #6b4f38);
}

.comment-main-box {
    display: block;
}

.comment-message p a {
    text-decoration: underline;
    text-decoration-color: #ccc;
}

.comment-admin {
	display: flex;
    flex-direction: column;
    gap: 1.5rem;
    float: right;
}

.comment-admin,
.comment-admin a {
    color: #999;
}

.comment-admin i {
    cursor: pointer;
}

.comment-form-comment-subscribe label{
	display: flex;
	align-items: baseline;
	gap: .25em;
}

.form-submit {
    margin: 0;
}

.form-submit .submit {
    padding: 8px 14px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    font-size: 1.1667rem;
    text-decoration: none;
    color: #222;
    background: #ddd;
    border: 1px solid #ddd;
    transition: all 0.4s ease;
}

.form-submit .submit:hover,
.form-submit .submit:visited:hover,
.form-submit .submit:focus,
.form-submit .submit:visited:focus {
    text-decoration: none;
    color: #222;
    background: #eaeaea;
    border-color: #eaeaea;
}

.form-submit .submit:active,
.form-submit .submit:visited:active {
    text-decoration: none;
    color: #222;
    background: #bfbfbf;
    border-color: #bfbfbf;
}

.form-submit .submit:visited {
    text-decoration: none;
    color: #222;
}

#cancel-comment-reply-link {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
    font-size: 1.1667rem;
}

#cancel-comment-reply-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 16px;
    height: 16px;
    background: url("../images/icons/icon-cross.png") 50% 50% no-repeat;
    background-size: contain;
}

.akismet_comment_form_privacy_notice {
    display: none;
}


/* ============================
COMPONENT: PAGINATION
============================ */

.page-pagination {
    display: flex;
    gap: 5px;
    justify-content: space-between;
    align-items: flex-start;
    white-space: nowrap;
    margin: 1rem 0;
}

.page-pagination:empty{
	display: none;
}

.page-pagination__prev,
.page-pagination__next {
    min-width: fit-content;
    padding: 0 10px;
}

.page-pagination>a {
    flex-grow: 1;
    min-width: fit-content;
    text-align: center;
    vertical-align: middle;
    padding: 0 .5rem;
    background: var(--widget-bg, #F8F4EB);
    border-radius: 5px;
    color: var(--link-color, #6b4f38);
    border: var(--link-color, #6b4f38) 1px solid;
    text-decoration: none;
}

.page-pagination .bg_bpub_toc{
	order: -1;
	margin-right: auto;
}

.page-pagination a{
	font-size: 1.25rem;
	line-height: 1.75;
}

.page-pagination>a:hover {
    color: #fff;
    background: #963D42;
}

.page-pagination--top>a {
    border: 1px solid #AFAFAF;
    background: #c0c0c030;
    color: maroon;
}

.page-pagination--top .page-pagination__prev{
	order: 9;
}
.page-pagination--top .page-pagination__next{
	order: 10;
}

.caption,
figcaption{
	text-align: center;
	font-size: 66.667%;
	color: #999;
}

/* Footnotes */

.footnotes,
.footnote-single {
    margin-bottom: 1em;
	font-size: 1.1rem;
}

/*
.footnotes p{
	text-align:left;
	margin-bottom:5px;
	position:relative;
	padding-left:30px;
	word-break: break-word;
}

.footnotes p>a[href^="#_"]{
	position:absolute;
	text-align:right;
	word-break: keep-all;
	background:none;
	margin-left:0;
	top:auto;
	bottom:auto;
	font-size:inherit;
	right: calc(100% - 25px);
}
*/

a[href^='#_edn'],
a[href^='#_ftn'] {
    font-size: 1rem;
    font-weight: 400!important;
    background: none!important;
    margin-left: .25em;
    /* vertical-align: super; */
    position: relative;
    top: -.2em;
}

.footnotes a[href^='#_ftn'],
.footnote-single a[href^='#_ftn']{
	margin-left: 0;
	white-space: nowrap;
}


/* footer help button */

.article-footer .help-btn-wrap {
    margin-right: auto;
    padding: 0;
}

.article-footer .help-btn {
    display: block;
    height: 100%;
    border-radius: 6px 0 0 6px;
    padding-left: .5em;
    padding-right: .5em;
    letter-spacing: initial;
}

@media (min-width: 521px) {
    .article-footer .help-btn {
        padding-left: 1em;
        padding-right: 1em;
    }
}

@media (min-width: 921px) {
	.article-single-info{
		font-size: 0.875em;
	}
	
    .article-single-content {
        position: relative;
    }
	
	.caption,
	figcaption{
		font-size: 80%;
	}
	
    a[href^="#_ftnref"],
    a[href^="#_ftnaref"],
    a[href^="#_ftnbref"],
    a[href^="#_ftncref"],
    a[href^="#_ftndref"] {
        position: absolute;
        top: unset;
        left: -3.5em;
        width: 3em;
        display: inline-block;
        text-align: right;
    }
	
	.footnotes,
	.footnote-single{
		padding-left: 2em;
	}

	.footnotes>p>a[href^="#_ftn"],
	.footnote-single>a[href^="#_ftn"]{
		width: auto;
		left: auto;
		right: calc(100% - 1em);
	}
	
	.page-pagination summary,
	.page-pagination a{
		font-size: 1.667rem;
		line-height: 2;
		padding: 0 1em;
	}
}


/* Sitemap */

.az-sitemap>ul>li>a {
    font-weight: bold
}

.az-sitemap ul ul {
    margin-bottom: 0;
}

.article-single-content .bg-bpub-list a{
	text-decoration: none;
}