/* article
{
	font-weight: 400;
	color: black;
	line-height: 1.6;
} */

/* article > p:not(:first-child),
article .tab-pane > p:not(:first-child)
{
	margin-top: 1em;
} */
article > p:empty,
article .tab-pane > p:empty
{
	display: none;
}
article > *:last-child,
article > header h1 {
	margin-bottom: 0;
}
article .table-container {
	margin-bottom: 1rem;
}
article .accordion-body > .table-container {
	margin-bottom: 0rem;
}
article .table-container {
	margin-top: 1.5rem;
}
article .table-container+.table-container {
	margin-top: 2.5rem;
}

article b {
	color: black;
	font-weight: 500;
}
article strong {
	font-weight: 600;
}

article.post-article > img {
	margin-top: 1.5rem;
	margin-bottom: 1.5rem;
}


/* article > .h1, article > .h2, article > .h3, article > .h4, article > .h5, article > .h6, 
article > h1, article > h2, article > h3, article > h4, article > h5, article > h6 { */
article .h1, article .h2, article .h3, article .h4, article .h5, article .h6, 
article h1, article h2, article h3, article h4, article h5, article h6 {
	margin-bottom: .75rem;
	margin-top: 2rem;
	font-weight: 400;
}

h1 + h3, h1 + h4, h1 + h5, h1 + h6,
h2 + h3, h2 + h4, h2 + h5, h2 + h6,
h3 + h2, h3 + h4, h3 + h5, h3 + h6,
h4 + h2, h4 + h3, h4 + h5, h4 + h6,
h5 + h2, h5 + h3, h5 + h4, h5 + h6,
h6 + h2, h6 + h3, h6 + h4, h6 + h5,
h1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child,
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6
{
	margin-top: 0;
}
.card h5 {
 font-weight: 500;
}
article tr img {
	width: 100%;
}

article img:not(.img-captcha) {
	max-width: 100%;
	height: auto;
}
h4~.table-container,
h3~.table-container {
	margin-top: 0;
}
.post-article img {
	border-radius: .4375rem;
}
.post-article .fotorama__img {
	border-radius: .4375rem!important;
}
.post-article .fotorama__nav .fotorama__nav__frame--thumb {
	border-radius: .4375rem;
	overflow: hidden;
}
@media all and (max-width: 425px) {
	.page-item:nth-child(-n+2) .page-link span,
	.page-item:nth-last-child(-n+2) .page-link span {
		display: block;
		width: .8rem;
	}
	.page-link {
		padding: .3rem .5rem;
		min-width: 1.75rem;
	}
	.pagination {
		justify-content: space-between;
	}
}



blockquote {
	color: #8599B7;
	font-weight: 300;
	font-size: 1rem;
	border-left: 3px solid var(--bs-primary);
	padding: .5rem 1rem;
	margin: 1.6rem 1rem 1.6rem 0;
}
article img+i {
	margin: 1rem 0;
	display: block;
	color: #8599B7;
	font-size: 80%;
	text-align: center;
}

.iframe-wrap {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin: 2rem 0;
	border-radius: .4375rem;
}
.iframe-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@media (min-width: 576px) {
	blockquote {
		font-size: 1.1rem;
		padding: .5rem 2rem;
		margin: 2rem 1rem 2rem 0;
	}
}

.text-dark-children > *,
.text-dark-children font.errortext,
.text-dark-children font.notetext
{
	color: #1e2022!important;
}
.text-danger-children > *,
.text-danger-children font.errortext,
.text-danger-children font.notetext
{
	color: #ed4c78!important;
}
.children-last-child-mb-0 > p:last-child {
	margin-bottom: 0;
}
.news-list > .border-top:last-child {
	display: none;
}

/* кастомизация кнопок поделиться */
.ya-share2__item:not(.ya-share2__item_more):hover, 
.ya-share2__item.ya-share2__item_more > .ya-share2__link:hover, 
.ya-share2__item:not(.ya-share2__item_more):focus, 
.ya-share2__item.ya-share2__item_more > .ya-share2__link:focus {
	opacity: 1;
}
.ya-share2__item .ya-share2__badge {
	transition: all .2s ease-in-out;
}
.ya-share2__item:hover .ya-share2__badge {
	background-color: #71869d;
}
.ya-share2__container_size_m .ya-share2__badge .ya-share2__icon {
	height: 2rem;
	background-repeat: no-repeat;
	width: 2rem;
}
/* кастомизация кнопок поделиться */

/* @media all and (min-width: 576px)
{
	article > ul, article > ol,
	article .tab-pane > ul, article .tab-pane > ol
	{
		margin-left: var(--content-pl);
		margin-right: var(--content-pr);
		padding: 3em !important;
	}
}
article ul, article p > ul,
article ol, article p > ol
{
	font-size: .9em;
	padding: 3em;
	margin-top: 1.8em;
	margin-bottom: 1.8em;
	background-color: white;
	counter-reset: list;
}
td ul, td ol
{
	padding: 0;
}
article ul ul, article > p ul ul, article .tab-pane > p ul ul,
article ul ol, article ol ul,
article ol ol, article > p ol ol, article .tab-pane > p ol ol
{
	font-size: .9em;
	padding: 2em;
	margin-top: 0;
	margin-bottom: 0;
	background-color: white;
	counter-reset: list;
}
@media all and (min-width: 1540px)
{
	article
	{
		font-weight: 300;
		font-size: 1.1em;
		color: black;
	}
}
article ul li, article p > ul li
{
    position: relative;
    margin-bottom: .6em;
    padding-left: 3em;
	line-height: 1.4;
}
article ol li, article p > ol li
{
    position: relative;
    margin-bottom: .6em;
    padding-left: 2em;
	line-height: 1.4;
}
article ul > li:before, 
article > p > ul > li:before,
article .tab-pane > p > ul > li:before
{
    position: absolute;
    top: -2px;
    left: 0;
    content: '\f068';
	font-size: 1.4em;
	font-weight: 400;
	font-family: "Font Awesome 5 Pro";
    margin-right: 5px;
    color: #4d34ff;
}
article ol > li:before, 
article > p > ol > li:before,
article .tab-pane > p > ol > li:before
{
    position: absolute;
    left: 0;
	color: #4d34ff;
	font-weight: 700;
	content: counter(list) ". ";
	counter-increment: list;
}
@media all and (max-width: 575.98px)
{
	article ul, article p > ul,
	article ol, article p > ol					{ font-size: .8em; padding: 3em 2em 3em 2em; }
	article > p, article .tab-pane > p 	{ font-size: .9rem; }
}

article p.notice,
article .author,
article > .timeline,
article .tab-pane > .timeline
{
	margin-top: 3em;
	margin-bottom: 3em;
}
article > p.notice,
article .tab-pane > p.notice
{
	margin-left: calc(var(--section-left-width) - var(--gap-viewport));
	margin-right: calc(var(--section-right-width) - var(--gap-viewport));
	padding-top: 2.4em;
	padding-bottom: 2.4em;
	padding-left: 8vw !important;
	padding-right: 8vw !important;
}
section.section--vmenu article > p.notice,
section.section--vmenu article .tab-pane > p.notice
{
	padding-left: 5vw!important;
	padding-right: 5vw!important;
	margin-left: calc(var(--section-left-width) - var(--gap-viewport));
	margin-right: calc(var(--section-right-width) - var(--gap-viewport) - 11vw);
}
@media all and (max-width: 1399.98px)
{
	article > p.notice,
	article .tab-pane > p.notice
	{
		margin-left: 0;
		margin-right: 0;
		padding-left: calc(var(--section-right-width) - var(--gap-viewport));
		padding-right: calc(var(--section-right-width) - var(--gap-viewport));
	}
	section.section--vmenu article > p.notice,
	section.section--vmenu article .tab-pane > p.notice
	{
		padding-left: var(--content-pl)!important;
    padding-right: var(--content-pr)!important;
		margin-left: 0;
		margin-right: 0;
	}
}
article p.notice:first-child
{
	margin-top: 0;
}
article p.notice
{
	background-color: #c4e9f3;
}
article p.notice._warning
{
	background-color: #ffe5c4;
}
b,strong
{
	font-weight: bold;
}
article p > img
{
    max-width: 100%;
    height: auto;
}
.quote
{	
	display: block;
	padding-top: 6vh;
	padding-bottom: 6vh;
	background-color: white;
}
.quote__quote
{
	position: relative;
	display: block;
	font-size: 1.1em;
	font-style: italic;
}
.quote__quote:before
{
	position: absolute;
	display: block;
	width: 48px;
	height: 48px;
	content: " ";
	top: 0;
	left: -5vw;
	background: url(https://dev.mai.ru/generic/images/widgets/quote.svg) no-repeat center center;
	background-size: contain;
}
.quote__author
{	
	display: block;
	font-size: 1em;
	margin-top: 4.5vh;
}
.quote__author:before
{
	display: inline-block;
	content: "\2014";	
	margin-right: 10px;
}
@media all and (max-width: 1539.98px)
{
	.quote__quote,.quote__author
	{
		padding-left: 40px;
	}	
	.quote__quote
	{
		font-size: 1em;
	}		
	.quote__quote:before
	{
		position: absolute;
		display: block;
		width: 24px;
		height: 24px;
		content: " ";
		top: 0;
		left: 0;
		background: url(https://dev.mai.ru/generic/images/widgets/quote.svg) no-repeat center center;
		background-size: contain;
	}
}
@media all and (max-width: 575.98px)
{
	.quote__quote,.quote__author
	{
		font-size: .9em;
	}		
} */
/* article > p, 
article > h6,
article > h5,
article > ul,
article > ol,
article .tab-pane > p,
article .tab-pane > h6,
article .tab-pane > h5
{ 
	margin-bottom: 1em; 
}

article > h5,
article .tab-pane > h5
{ 
	margin-top: 3em;
}

article > h6,
article .tab-pane > h6
{ 
	margin-top: 3em;
}

article > h2,
article .tab-pane > h2,
article .table-container 
{ 
	margin-top: 1.5em; 
	margin-bottom: .75em; 
} */
