.vk-posts-slider {
   position: relative;
}

.vk-post {
   width: 100%;
   display: flex;
   flex-direction: column;
   position: relative;
   outline: none;
   border-radius: 8px;
   overflow: hidden;
   box-shadow: none;
   cursor: pointer;
}

.vk-post a {
   text-decoration: none;
}

.vk-post+.vk-post {
   margin-top: 20px;
}

.vk-post__block {
   display: flex;
   -webkit-box-align: center;
   align-items: center;
   position: relative;
   overflow: hidden;
   box-shadow: none;
   border-radius: 8px;
   cursor: pointer;
}

.media-container {
   display: flex;
   -webkit-box-align: center;
   align-items: center;
   -webkit-box-pack: center;
   justify-content: center;
   position: relative;
   overflow: hidden;
   width: 100%;
   padding-top: 100%;
}

.media-container__inner {
   position: absolute;
   inset: 0px;
   display: flex;
   -webkit-box-pack: center;
   justify-content: center;
   -webkit-box-align: center;
   align-items: center;
}

.media-image {
   width: 100%;
   height: 100%;
   display: flex;
   -webkit-box-flex: 1;
   flex-grow: 1;
   -webkit-box-align: center;
   align-items: center;
   -webkit-box-pack: center;
   justify-content: center;
   position: relative;
}

.vk-post__image img {
   display: block;
   width: 100%;
   height: 100%;
   object-fit: cover;
   filter: saturate(0.5);
}

.vk-post:hover .vk-post__image img {
   filter: saturate(1);
}

.vk-post__layer {
   height: fit-content;
   -webkit-box-pack: end;
   justify-content: flex-end;
   top: initial;
   background: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(17, 17, 17, 0.7) 34%, rgba(17, 17, 17, 0.7) 100%);
   padding-top: 60px !important;
   transition: all 0.3s ease 0s;
   position: absolute;
   z-index: 1;
   display: flex;
   flex-direction: column;
   padding: 16px;
   bottom: 0;
   width: 100%;
}

.vk-post:hover .vk-post__layer {
   opacity: 1;
   visibility: visible;
   transform: translate(0px, 0px);
}

@media(max-width:757px){
	.vk-post__layer {
		display: none;
	}
}

.vk-post__text {
   font-size: 14px;
   line-height: 1.4;
   text-align: left;
   color: rgb(255, 255, 255);
}

.group-info__item {
   margin-top: 12px;
}

.group-info__item.separator {
   width: 100%;
   height: 1px;
   background-color: rgb(255, 255, 255);
   opacity: 0.1;
}

.group-info__top {
   display: flex;
   -webkit-box-align: center;
   align-items: center;
   position: relative;
   flex-shrink: 0;
   -webkit-box-pack: justify;
   justify-content: space-between;
}

.main-info {
   display: flex;
   -webkit-box-align: center;
   align-items: center;
   text-align: left;
   font-size: 13px;
   color: rgb(255, 255, 255);
   line-height: 1.4;
   padding-right: 8px;
   max-width: calc(100% - 24px);
}

.group-info__link a {
   display: flex;
}

.group-info__avatar {
   width: 100%;
   height: 100%;
   display: flex;
   -webkit-box-flex: 1;
   flex-grow: 1;
   -webkit-box-align: center;
   align-items: center;
   -webkit-box-pack: center;
   justify-content: center;
   position: relative;
   flex: 0 0 32px;
   width: 32px;
   height: 32px;
   border-radius: 50%;
   overflow: hidden;
   margin-right: 8px;
   position: relative;
}

.group-name {
   color: #fafafa;
   font-size: 14px;
   overflow: hidden;
   text-overflow: ellipsis;
   text-overflow: ellipsis;
   display: -moz-box;
   -moz-box-orient: vertical;
   display: -webkit-box;
   -webkit-line-clamp: 1;
   -webkit-box-orient: vertical;
   line-clamp: 1;
   box-orient: vertical;
}

.group-name:hover {
   text-decoration: underline;
}

.group-info__link svg {
   width: 24px;
   height: 24px;
   fill: rgb(255, 255, 255);
}

.group-info__bottom {
   display: flex;
   -webkit-box-align: center;
   align-items: center;
   position: relative;
   flex-shrink: 0;
   -webkit-box-pack: justify;
   justify-content: space-between;
}

.vk-counters__left,
.vk-counters__right {
   display: flex;
   font-size: 13px;
   color: rgb(255, 255, 255);
}

.vk-counters__left a,
.vk-counters__right a {
   display: flex;
   cursor: pointer;
   opacity: 0.7;
   color: #ffffff !important;
}

.vk-counters__left a:hover,
.vk-counters__right a:hover {
   opacity: 1;
}

.vk-counters__left a:not(:first-child) {
   margin-left: 16px;
}

.vk-counters__left a>div {
   width: 16px;
   height: 100%;
   fill: rgb(255, 255, 255);
   display: flex;
}

.vk-likes,
.vk-comments,
.vk-views {
   margin-right: 4px;
}

.vk-posts-slider__nav {
z-index: 2;
    flex: 0 1 0%;
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
    display: block;
    padding: 0px;
    border: none;
    outline: none;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    width: 40px;
    height: 40px;
    background-color: rgb(101 58 101 / 66%);
    fill: rgb(255, 255, 255);
    box-shadow: rgb(0 0 0 / 30%) 0px 4px 12px 0px;
}


.vk-posts-slider__nav:hover {
    background-color: rgb(100 58 100);
}

.vk-posts-slider__nav svg {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   width: 16px;
   height: 16px;
}

.vk-posts-slider__nav.arrow-next {
   right: 0;
   margin-right: 12px;
}

.vk-posts-slider__nav.arrow-prev {
   left: 0;
   margin-left: 12px;
}

.swiper-button-disabled {
   display: none;
}

.vk-modal.fancybox-content {
   width: 100%;
   max-width: 600px;
   padding: 0;
   flex: 0 1 0%;
   position: relative;
   z-index: 1;
   overflow: auto;
   border-radius: 8px;
}

.vk-modal-post:not(:last-child) {
   border-bottom: 8px solid #e8e8e8;
}

.vk-modal-post__header {
   padding: 16px 16px 0;
   display: flex;
   justify-content: space-between;
}

.vk-modal-post__header .group-info__name {
   max-width: calc(100% - 40px);
   -webkit-box-flex: 0;
   flex-grow: 0;
}

.vk-modal-post__header .group-name {
   color: #111111;
   font-size: 13px;
   font-weight: 500;
   text-decoration: none;
}

.vk-modal-post__header .post-time {
   color: #111111;
   overflow: hidden;
   white-space: nowrap;
   text-overflow: ellipsis;
   opacity: 0.7;
}

.vk-modal-post__header svg {
   width: 24px;
   height: 24px;
   fill: rgb(39, 135, 245);
}

.vk-modal-post_body {
   margin-top: 12px;
}

.vk-modal-post_body img {
   width:100%;
   height: auto;
}

.vk-modal-post_text {
   margin-top: 12px;
   padding: 0 16px;
   width: 100%;
   font-size: 14px;
   line-height: 1.4;
   text-align: left;
   color: rgb(17, 17, 17);
}

.vk-modal-post_bottom {
   margin-top: 12px;
   padding: 0 16px 16px;
}

.vk-modal-post_bottom .vk-counters__left a {
   display: flex;
   cursor: pointer;
   opacity: 0.7;
   color: #111111!important;
   text-decoration: none;
   font-size: 14px;
}

.vk-modal-post_bottom .vk-counters__left a>div {
   width: 16px;
   height: 100%;
   fill: #111111;
   display: flex;
}

.fancybox-custom-button.fancybox-close-small {
   position: fixed;
   right: 20px!important;
   top: 20px!important;
   display: flex!important;
   justify-content: center;
   align-items: center;
   width: 32px;
   height: 32px;
   padding: 0px!important;
   border: none;
   outline: none;
   border-radius: 50%;
   cursor: pointer;
   background-color: rgba(17, 17, 17, 0.5);
}

.fancybox-custom-button svg {
   width: 16px;
   height: 16px;
   fill: #ffffff;
}

.vk-modal button.fancybox-button.fancybox-close-small {
   display: none;
}