.vi-editor__margin {
	display: block;
	width: 100%;
	margin: 40px 0;
	overflow: hidden;
}
.vi-editor--admin .vi-editor__margin {
	position: relative;
	margin: 3px 0;
}
.vi-editor--admin .vi-editor__margin::before{
	content: 'Отступ';
	display: flex;
	align-items: center;
	justify-content: center;
	border: 2px dashed #000000;
	color: #000000;
	font-size: 24px;
	height: 40px;
}
.vi-editor > p,
.vi-editor > ul,
.vi-editor > ol,
.vi-editor > h1,
.vi-editor > h2,
.vi-editor > h3,
.vi-editor > h4,
.vi-editor > h5,
.vi-editor > h6,
.vi-editor > table {
  max-width: 1184px;
  margin-inline: auto;
  width: 100%;
  line-height: 1.5;
}
.vi-editor p {
	margin-bottom: 30px;
}
.vi-editor p:last-child {
	margin-bottom: 0px;
}
.vi-editor img:not(.img-fit) {
	width: auto;
	height: auto;
	max-height: 100%;
	max-width: 100%;
}
.vi-editor a {
	text-decoration: underline;
}
.vi-editor__mobile-fullscreen {
	max-width: 1200px;
	margin: 0 auto;
}
.vi-editor__center-text {
	max-width: 1200px;
	margin: 0 auto;
}
.vi-editor h2 {
	font-size: 24px;
	font-weight: 400;
	margin: 30px auto 12px;
}
.vi-editor h3 {
	font-size: 18px;
	font-weight: 400;
	margin: 30px auto 12px;
}
.vi-editor table {
	display: block;
    margin: 24px auto;
    overflow: auto;
    border-collapse: collapse;
    border-spacing: 0;
    text-align: left;
	color: inherit;
}
.vi-editor td,
.vi-editor th {
    border: 1px solid rgba(60, 105, 108, 0.15);
    padding: 12px;
    vertical-align: top;
}
.vi-editor th {
	background: #EAE4D8;
	text-align: center;
	font-weight: bold;
}
.vi-editor strong {
	font-weight: bold;
}
.vi-editor > ul,
.vi-editor > ol {
	margin: 0 auto;
	padding: 0 0 0 18px;
}
.vi-editor__imgslider {
	margin: 80px 0;
}
.vi-editor__imgslider .owl-item {
	opacity: 0.5;
}
.vi-editor__imgslider .owl-item.active.center {
	opacity: 1;
}
.vi-editor__imslider-item {
	width: 1200px;
}
.vi-editor__imslider-video {
	position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.vi-editor__imslider-shorts {
	width: 357px !important;
}
.vi-editor__imslider-shorts .vi-editor__imslider-video {
	padding-bottom: 177.18%;
}
.vi-editor__imslider-video iframe,
.vi-editor__imslider-video video,
.vi-editor__video-lazy
{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.vi-editor__imslider-video video {
	object-fit: cover;
}
.vi-editor__video-lazy {
	background-size: cover;
	-ms-background-size: cover;
	-webkit-background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
.vi-editor__video-lazy:before{
	content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
	transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.25) url(./images/svg/video-play1.svg) no-repeat center;
	border-radius: 50%;
    z-index: 5;
}
.vi-editor__fullscreen {
	margin: 0 calc(var(--padding-side) * -1);
}
.vi-editor__grid {
	display: grid;
	gap: 26px;
	width: 100%;
}
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.vi-editor__grid-column {
	display: flex;
	flex-direction: column;
}
.vi-editor__grid-column-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 24px;
}
.vi-editor__grid-column-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.vi-editor__grid-column-title {
	font-size: 20px;
	text-transform: uppercase;
	font-weight: 400;
	margin-bottom: 16px;
}
.vi-editor__grid-column-text {
	margin-bottom: 16px;
}
.vi-editor__grid-column-link {
	font-weight: 400;
	text-decoration: underline;
}
.vi-editor__grid-column-link:hover {
	text-decoration: none;
}
.vi-editor__block-title {
	font-size: 26px;
	font-weight: 400;
	margin-bottom: 18px;
	text-transform: uppercase;
	max-width: 1184px;
	margin-inline: auto;
	text-align: center;
}
.video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 5;
	cursor: pointer;
}
.vi-editor__imslider-item.is-playing .video-overlay {
	display: none !important;
}
.vi-editor__imslider-item.is-playing iframe {
	z-index: 10;
	pointer-events: auto;
}
.vi-editor .catalog-item__name {
	text-decoration: none !important;
}

@media(max-width: 1600px)
{
	.vi-editor__imslider-item {
		width: 1000px;
	}
}

@media(max-width: 1280px)
{
	.vi-editor__imslider-item {
		width: 640px;
	}
}

@media(max-width: 980px)
{
	.vi-editor__margin {
		margin: 20px 0;
	}
	.vi-editor p {
		margin-bottom: 20px;
	}
	.vi-editor h2,
	.vi-editor h3 {
		margin-top: 20px;
	}
	.vi-editor__imgslider {
		margin: 40px 0;
	}
	.vi-editor__mobile-fullscreen {
		margin: 0 calc(var(--padding-side) * -1);
	}
	.vi-editor__grid {
		gap: 40px 10px;
	}
	.vi-editor__grid-column-image {
		margin-bottom: 16px;
	}
	.vi-editor__grid-column-title {
		font-size: 16px;
	}
}

@media(max-width: 767px)
{
	.vi-editor__grid {
		display: flex;
		flex-direction: column;
	}
	.vi-editor__block-title {
		font-size: 22px;
	}
	.vi-editor__video-lazy:before {
		width: 70px;
		height: 70px;		
	}
	body .burger-menu__lists {
		height: 100%;
		max-height: calc((var(--vh) * 100) - 190px);
	}
}

@media(max-width: 580px)
{
	.vi-editor__imslider-item {
		width: 300px;
	}
}




