/*
* Сожержание файла:
*	- НАБОР КЛАССОВ ИСПОЛЬЗУЕМЫХ НА СТРАНИЦЕ
* 	- ОТОБРАЖЕНИЕ ЭЛЕМЕНТОВ СТРАНИЦЫ
*/


/************************************************
** НАБОР КЛАССОВ ИСПОЛЬЗУЕМЫХ НА СТРАНИЦЕ ЗАПИСЕЙ
************************************************/

.aligncenter {
	text-align: center;
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 6px;
	margin-bottom: 6px;
}
.alignleft {
	float: left;
	margin-top: 6px;
	margin-right: 24px;
	margin-bottom: 6px !important;
	margin-left: 0;
}
.alignright {
	float: right;
	margin-top: 6px;
	margin-right: 0;
	margin-bottom: 6px !important;
	margin-left: 24px;
}
.btpr-async-video-wrap {
	clear: both;
	margin: 25px 0;
}
@media screen and (min-width: 480px) and (max-width: 1199px) {
	.alignleft, .alignright {
		max-width: 312px;
	}
}
@media screen and (max-width: 479px) {
	.alignleft, .alignright {
		display: block;
		float: none;
		margin-left: auto;
		margin-right: auto;
		margin-top: 6px;
		margin-bottom: 6px;
	}
}



/************************************************
** ОТОБРАЖЕНИЕ ЭЛЕМЕНТОВ СТРАНИЦЫ
************************************************/

.post-the-content, 
.post-the-content p, 
.post-the-content ul {
	font-size: 16px;
	line-height: 1.7;
}
.post-the-content * {
	font-family: 'Verdana', 'Georgia';
}

.post-the-content img {
	width: auto;
	height: auto;
	box-shadow: 0 0px 10px -1px #000;
}

.post-the-content h2 {
	padding-left: 10px;
	border-left: 2px solid #51e2cd;
}

.post-the-content .wp-caption img {
	width: 100%;
}
.post-the-content .wp-caption-text {
	position: relative;
	text-align: center;
}


.post-the-content .post-table-wrapper {
	overflow: auto;
}
.post-the-content .post-table-wrapper table {
	margin: 0;
}

.page-the-content a {
	color: #51e2cd;
}
.page-the-content a:hover {
	color: inherit;
}

		/* Подпись у изображений */
.wp-caption {
	position: relative;
	max-width: 100%;
	z-index: 1;
}
.wp-caption-text {
	max-width: 100%;
	margin: 0;
	/* position: absolute;
	right: 0;
	bottom: 0; */
	background-color: #51e2cd;
	color: #fff;
	padding: 5px;
}

		/* Автор */
.page-author {
	font-size: 16px;
	font-weight: bold;
	line-height: 1;
	margin: 20px 0;
}


		/* Оглавление */
/* #oglavlenie, */
div#toc_container,
#toc_container.toc_white {
	margin: 0 0 10px;
	 background-color: #eee; 
	padding: 30px;
	border: none !important;
	
	width: 100%;
	max-width: 318px;
	float: left;
	margin-right: 15px;
}
#toc_container .toc_list ul {
	margin: 0;
	padding: 0;
}
#toc_container ul.toc_list li {
	line-height: normal;
	list-style-type: square;
	margin-left: 20px;
	margin-bottom: 10px;
	line-height: 1.5;
	font-size: 14px;
}
#toc_container .toc_list li ul {
	margin-top: 10px;
}
#toc_container .toc_list li::before {
	content: none !important;
}

/* #oglavlenie_in a, */
#toc_container .toc_list a {
	text-decoration: none;
	color: #000;
	border-bottom: 1px dashed #000;
}
/* #oglavlenie_in a:hover, */
#toc_container .toc_list a:hover {
	color: #51e2cd;
	border-bottom: none;
}
@media screen and (max-width: 768px) {
	/* #oglavlenie, */
	div#toc_container {
		padding: 15px;
	}
}
@media screen and (max-width: 580px) {
	/* #oglavlenie, */
	div#toc_container {
		width: 100% !important;
		max-width: none;
		float: none;
	}
}

		/* Блок с автором */
.post-author-box__wrap {
	width: 100%;
	display: block;
	padding: 10px 20px;
	margin: 40px 0;
	border: 2px solid #51e2cd;
	clear: both;
}
.post-author-box__wrap::after {
	content: '';
	display: block;
	clear: both;
}
.post-author-box__foto-wrap {
	float: left;
	margin-right: 15px;
	margin-top: -30px;
	width: 80px;
	height: 80px;
	background-color: #eee;

	background-image: url(/wp-content/uploads/2017/04/kot.jpg);
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: center;
}
.post-author-box__foto {}
.post-author-box__details-wrap {
	overflow: hidden;
}
.post-author-box__author-name {}
.post-author-box__specialization {}
.post-author-box__author-name span,
.post-author-box__specialization span {
	font-weight: bold;
}

		/* Списки */
.post-the-content ol, 
.post-the-content ul {
	padding: 0;
	/* padding-left: 50px; */
	margin-left: 30px;
	margin-top: 40px;
	margin-bottom: 40px;
	list-style: none;
}
.post-the-content li {
	position: relative;
	font-size: 16px;
	line-height: 24px;
	margin-bottom: 20px;
	padding-left: 15px;
}
.post-the-content li:last-child {
	margin-bottom: 0;
}
.post-the-content ul li::before {
	content: '';
	display: inline-block;
	margin-right: 15px;
	width: 25px;
	height: 25px;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
	position: absolute;
	top: 0;
	left: -21px;
}

			/* ul li */
.post-the-content ul li::before {
	background-image: url(/wp-content/themes/newspaper/images/icons/li-icon-normal.png);
}
.post-the-content ul.positive-list li::before {
	background-image: url(/wp-content/themes/newspaper/images/icons/li-icon-positive.png);
}
.post-the-content ul.negative-list li::before {
	background-image: url(/wp-content/themes/newspaper/images/icons/li-icon-negative.png);
}

			/* ol */
.post-the-content ol {
	counter-reset: myCounter;			/* Обнуляем css-счетчик */
}
.post-the-content ol li::before {
	counter-increment: myCounter;		/* инкрементирует css-счетчик для каждого элемента */
	content: counter(myCounter);		/* выводит текущее значение счетчика */
	color: #000;
	border-width: 1px;
	border-style: solid;
	border-radius: 50%;	
	font-size: 18px;
	text-align: center;
	line-height: 1;
	border-color: #cbcbcb;
	color: #cbcbcb;
	position: absolute;
	top: 0;
	left: -24px;
	padding: 4px 7px;
}
.post-the-content ol.positive-list li::before {
	border-color: #51e2cd;
	color: #51e2cd;
}
.post-the-content ol.negative-list li::before {
	border-color: #e25151;
	color: #e25151;
}

		/* Текстовые блоки */
		/* Старые стили - нигде не применяются */
.post-the-content .text-block {
	display: block;
	width: 100%;
	padding: 40px 30px 30px 20px;
	margin: 25px 0;
	background-color: #f6f6f6;
	font-size: 16px;
	line-height: 24px;

	display: table;
}
.post-the-content .text-block__thumb-container {
	width: 76px;
	min-height: 89px;
	display: table-cell;
	margin-right: 25px;
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-normal.png);
	background-repeat: no-repeat;
	background-position: left top;
	pointer-events: none;
	font-size: 0;
}
.post-the-content .text-block__thumb-container::before{
	content: '';
	display: block;
	float: left;
	width: 1px;
	min-height: 90px;
}
.post-the-content .text-block__text-container {
	display: table-cell;
	padding-left: 25px;
	vertical-align: top;
}

.post-the-content .text-block_positive {
	background-color: #e9f7f5;
}
.post-the-content .text-block_positive .text-block__thumb-container {
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-positive.png);
}

.post-the-content .text-block_negative {
	background-color: #fff2f2;
}
.post-the-content .text-block_negative .text-block__thumb-container {
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-negative.png);
}
@media screen and (max-width: 479px) {
	.post-the-content .text-block {
		display: block;
		padding: 20px;
		text-align: center;
	}
	.post-the-content .text-block__thumb-container {
		display: block;
		background-position: center;
		width: 100%;
	}
	.post-the-content .text-block__text-container {
		display: block;
		padding: 0;
		margin-top: 15px;
	}
}

		/* Текстовые блоки V2 */
.post-the-content blockquote {
	display: block;
	width: 100%;
	padding: 40px 30px 30px 20px;
	margin: 25px 0;
	background-color: #f6f6f6;
	font-size: 16px;
	line-height: 24px;
	display: table;
}
.post-the-content blockquote > * {
	margin: 0;
	overflow: auto;
}
.post-the-content blockquote::before {
	content: '';
	display: inline-block;
	width: 76px;
	min-height: 89px;
	float: left;
	margin-right: 25px;
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-normal.png);
	background-repeat: no-repeat;
	background-position: left top;
	pointer-events: none;
	font-size: 0;
}
/* .post-the-content .text-block__thumb-container::before{
	content: '';
	display: block;
	float: left;
	width: 1px;
	min-height: 90px;
} */
/* .post-the-content .text-block__text-container {
	display: table-cell;
	padding-left: 25px;
	vertical-align: top;
} */

.post-the-content .blockquote_positive {
	background-color: #e9f7f5;
}
.post-the-content .blockquote_positive::before {
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-positive.png);
}

.post-the-content .blockquote_negative {
	background-color: #fff2f2;
}
.post-the-content .blockquote_negative::before {
	background-image: url(/wp-content/themes/newspaper/images/icons/text-block-icon-negative.png);
}
@media screen and (max-width: 479px) {
	.post-the-content blockquote {
		padding: 20px;
		text-align: center;
	}
	 .post-the-content blockquote::before {
		display: block;
		background-position: center;
		width: 100%;
		margin: 0 0 15px;
		float: none;
	} 
	/* .post-the-content .text-block__text-container {
		display: block;
		padding: 0;
		margin-top: 15px;
	} */
}



/************************************************
** ПЛАГИНЫ
************************************************/

/* js-плагин "lightslider" */
.btpr_shortcode_fotogallery ul li::before {
	content: none;
}
.lSAction > a {
	background-image: url(/wp-content/themes/newspaper/images/fotorama.png) !important;
	background-color: rgba(0,0,0,0.3);
	border-radius: 50%;
}
.btpr_fotogallery__item img {
	box-shadow: none;
}
