@media (max-width: 330px) {
	#ajax-result .reviews-block .review-item .review em span {
		white-space: normal !important;
	}
}

.photo_2_articles_center {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}

.content .row .photo_1_articles_center {
	text-align: center;
}

@media (max-width: 768px) {
	.photo_2_articles_center {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
	}
}

@media (max-width: 320px) {
	.page-id-271 .breadcrumb-block {
		padding-left: 32px;
	}
}

.postid-1470 #attachment_1471 {
	text-align: center;
	margin: 0 auto;
}

.reviews-block.in_page_reviews .review {
	height: auto;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
	.reviews-block.in_page_reviews .dotted_box {
		height: 169px;
	}
}

/*Всплывашка*/


.cookies_box {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-animation: cookieAppearBottom .4s ease-in-out forwards;
	animation: cookieAppearBottom .4s ease-in-out forwards;
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
	background: #FFFFFF;
	border-radius: 16px;
	bottom: 50px;
	-webkit-box-shadow: 0 12px 24px 0 rgba(38, 38, 38, .16);
	box-shadow: 0 12px 24px 0 rgba(38, 38, 38, .16);
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	left: 12px;
	opacity: 0;
	padding: 16px 20px;
	position: fixed;
	width: calc(100% - 24px);
	z-index: 10000;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	align-items: center;
	gap: 20px;
	display: none;
}

.cookies_box.active {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

@media (min-width: 1024px) {
	.cookies_box {
		-webkit-animation: cookieAppearLeft .4s ease-in-out forwards;
		animation: cookieAppearLeft .4s ease-in-out forwards;
		-webkit-animation-delay: 3s;
		animation-delay: 3s;
		left: 12px;
		right: unset;
		width: 100%;
		max-width: 615px;
		bottom: 16px;
	}
}

.cookies_box_text {
	color: rgba(38, 38, 38, .7);
	-ms-flex-preferred-size: calc(100% - 145px);
	flex-basis: calc(100% - 145px);
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
}

@media (min-width: 768px) {
	.cookies_box_text {
		width: calc(100% - 145px);
	}
}

.cookies_box_text a {
	color: #cf0076;
	text-decoration: underline;
	-webkit-text-decoration-skip-ink: none;
	text-decoration-skip-ink: none
}

.cookies_box svg {
	height: 36px;
	-webkit-box-ordinal-group: 3;
	-ms-flex-order: 2;
	order: 2;
	width: 36px
}

@media (min-width: 768px) {
	.cookies_box svg {
		margin-right: 16px;
		-webkit-box-ordinal-group: 1;
		-ms-flex-order: 0;
		order: 0
	}
}

.cookies_box .site_btn {
	background: #cf0076 !important;
	border-radius: 8px !important;
	width: unset !important;
	border: none;
	height: 45px;
	width: 121px !important;
	color: #fff;
}

@media (min-width: 768px) {
	.cookies_box .site_btn {
		margin-top: 0
	}
}

@media (max-width: 600px) {
	.cookies_box {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
	}

	#banner_modal table {
		table-layout: auto !important;
	}

	#banner_modal table td {
		padding: 5px !important;
		font-size: 10px !important;
	}

}

@-webkit-keyframes cookieAppearBottom {
	0% {
		opacity: 0;
		-webkit-transform: translateY(100%);
		transform: translateY(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@keyframes cookieAppearBottom {
	0% {
		opacity: 0;
		-webkit-transform: translateY(100%);
		transform: translateY(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@-webkit-keyframes cookieAppearLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@keyframes cookieAppearLeft {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-100%);
		transform: translateX(-100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@-webkit-keyframes cookieAppearRight {
	0% {
		opacity: 0;
		-webkit-transform: translateX(100%);
		transform: translateX(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@keyframes cookieAppearRight {
	0% {
		opacity: 0;
		-webkit-transform: translateX(100%);
		transform: translateX(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(0);
		transform: translateX(0)
	}
}

@-webkit-keyframes cookieAppearBottomCenter {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-50%) translateY(100%);
		transform: translateX(-50%) translateY(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(-50%) translateY(0);
		transform: translateX(-50%) translateY(0)
	}
}

@keyframes cookieAppearBottomCenter {
	0% {
		opacity: 0;
		-webkit-transform: translateX(-50%) translateY(100%);
		transform: translateX(-50%) translateY(100%)
	}

	to {
		opacity: 1;
		-webkit-transform: translateX(-50%) translateY(0);
		transform: translateX(-50%) translateY(0)
	}
}


/* Всплывающее окно 
* при загрузке сайта            
*/
/* базовый контейнер, фон затемнения*/


#banner_modal table {
	border: 1px solid #eee;
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
}

#banner_modal table th {
	font-weight: bold;
	padding: 5px;
	background: #efefef;
	border: 1px solid #dddddd;
}

#banner_modal table td {
	padding: 5px 10px;
	border: 1px solid #eee;
	text-align: left;
}

#banner_modal table tbody tr:nth-child(odd) {
	background: #fff;
}

#banner_modal table tbody tr:nth-child(even) {
	background: #F7F7F7;
}


#banner_modal {
	position: fixed;
	top: 0;
	left: 0;
	display: none;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.65);
	z-index: 9999999999;
	-webkit-animation: fade .6s;
	animation: fade .6s;
	overflow: auto;
}

/* модальный блок */
.banner_modal_box .popup {
	top: 50%;
	left: 50%;
	margin-right: -50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	font-size: 14px;
	margin: auto;
	width: 85%;
	min-width: 320px;
	max-width: 950px;
	min-height: 150px;
	position: absolute;
	padding: 15px 20px;
	border: 1px solid #383838;
	background: #fefefe;
	z-index: 1000;
	border-radius: 4px;
	font: 14px/18px 'Tahoma', Arial, sans-serif;
	-webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, .22), 0 19px 60px rgba(0, 0, 0, .3);
	-ms-box-shadow: 0 15px 20px rgba(0, 0, 0, .22), 0 19px 60px rgba(0, 0, 0, .3);
	box-shadow: 0 15px 20px rgba(0, 0, 0, .22), 0 19px 60px rgba(0, 0, 0, .3);
	-webkit-animation: fade .6s;
	animation: fade .6s;
}

/* заголовки в модальном блоке */
.banner_modal_box .popup h2,
.banner_modal_box .popup h3 {
	margin: 0 0 1rem 0;
	line-height: 1.4;
	color: #009032;
}

/* кнопка закрытия */
.banner_modal_box .close {
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	position: absolute;
	border: none;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.85);
	-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	cursor: pointer;
	outline: none;
	-webkit-transition: all .3s ease-out;
	transition: all .3s ease-out;

}

.banner_modal_box .close:before {
	color: rgba(255, 255, 255, 0.9);
	content: "X";
	font-family: Arial, Helvetica, sans-serif;
	font-size: 17px;
	line-height: normal;

	font-weight: normal;
	text-decoration: none;
	text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}

/* кнопка закрытия при наведении */
.banner_modal_box .close:hover {
	background-color: rgba(252, 20, 0, 0.8);
}

/* изображения в модальном окне */
.banner_modal_box .popup img {
	width: auto;
	height: auto;
	-webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
	box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

.banner_modal_content {
	overflow: auto;
	height: 100%;
	max-height: 80vh;
	padding-right: 10px;
	padding-left: 10px;
}

/* анимация при появлении блоков с содержанием */

@-webkit-keyframes fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1
	}
}
