.vi-news-detail__gallery {
    position: relative;
    margin-bottom: 30px;
}

.vi-news-detail__picture img {
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.vi-news-detail,
.vi-news-detail p {
    font-size: 16px;
    line-height: 1.4;
    color: #333 !important;
}

.vi-news-detail__gallery-item a{
    margin: 10px;
    border-radius: 7px;
    margin-right: 0px;
}

.vi-news-detail__gallery-item:nth-child(1) a{
    margin-left: 0px;
}

.vi-news-detail__gallery-item img {
    width: 100%;
    max-width: 382px;
    height: auto;
    border-radius: 7px;
}

.vi-news-detail__gallery-item a {
    display: block;
}

.vi-product-slider-wrapper--white {
    background: transparent;
    margin-bottom: 40px;
}

.vi-flex.vi-text-with-img p {
    color: #555555;
}

.vi-news-detail__gallery .slick-prev, .vi-news-detail__gallery .slick-next {
    font-size: 0;
    top: calc(50% - 0px);
    position: absolute;
}

.vi-news-detail__gallery .slick-prev {
    left: 0;
}

.vi-news-detail__gallery .slick-next {
    right: 0;
}

.vi-news-detail__gallery .slick-prev::before, .vi-news-detail__gallery .slick-next::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-color: #fff;
    background-image: url("/bitrix/templates/aspro_mshop_copy/images/right-arrow-orange.png");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    top: calc(50% - 25px);
    position: absolute;
}

.vi-news-detail__gallery .slick-prev::before {
    left: 0px;
    box-shadow: 1px -1px 2px 0px #ccc;
    z-index: 1;
    transform: rotate(180deg);
}

.vi-news-detail__gallery .slick-next::before {
    right: 0px;
    box-shadow: 1px -1px 2px 0px #ccc;
}

.vi-product-slider-wrapper--white .vi-link {
    text-align: center;
    display: block;
}

/* Общие стили для блоков */
.sp-block-table table {
    width: 100%;
    border-collapse: collapse;
}

.sp-block-table table tr {
    background: #f7f7f7;
    color: #8a8a8a;
}

.sp-block-table table tr:nth-child(odd) {
    background: #e7e6e6;
}

.sp-block-table table tr:hover {
    background: #d4d4d4;
    color: #000;
}

.sp-block-table table td {
    text-align: left;
    border: 1px solid #ccc;
    padding: 5px;
}

.sp-image img {
    width: 100%;
}

.sp-image-text {
    background: #eee;
    margin: 10px 0 10px;
    min-height: 250px;
}

.sp-image-text img {
    float: left;
    width: 320px;
    margin: 0 10px 10px 0;
}

.sp-iblock-elements {
    width: 350px;
    background: #ddd;
    padding: 10px;
}

.sp-properties {
    width: 400px;
    border-collapse: collapse;
}

.sp-properties_title {
    border: 1px solid #ccc;
    padding: 0 5px;
    font-weight: bold;
}

.sp-properties_text {
    border: 1px solid #ccc;
    padding: 0 5px;
}

.sp-gallery-items {
    overflow: hidden;
}

.sp-gallery-item {
    float: left;
    height: 220px;
    padding: 5px;
    /*width: 20%;*/
}

.sp-gallery-item-img-wrapper {
    float: left;
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
    display: block;
    color: inherit;
}

.sp-gallery-item img {
    display: block;
    max-width: 100%;
    left: 50%;
    max-height: 100%;
    max-width: none;
    position: relative;
    top: 50%;
    -webkit-transform: translate(-50%, -50%) translateZ(0);
    -moz-transform: translate(-50%, -50%) translateZ(0);
    -o-transform: translate(-50%, -50%) translateZ(0);
    -ms-transform: translate(-50%, -50%) translateZ(0);
    transform: translate(-50%, -50%) translateZ(0);
}

.sp-gallery-item-text {
    background-color: rgba(255, 255, 255, .7);
    cursor: pointer;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    -o-transition: all .2s linear;
    transition: all .2s linear;
    width: 100%;
}

.sp-gallery-item-text:hover {
    opacity: 1;
}

.sp-gallery-item-text::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.sp-gallery-item-text-content {
    display: inline-block;
    vertical-align: middle;
    width: 90%;
}

.sp-button_link,
.sp-button_link:link,
.sp-button_link:visited {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 20px;
    text-decoration: none;
    background: #ccc;
    color: #333;
}

.sp-button_link:hover {
    text-decoration: none;
    background: #333;
    color: #ccc;
}

/*accordion*/
.sp-accordion {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.sp-accordion-title {
    border-top: 1px solid #ccc;
    color: #444;
    cursor: pointer;
    padding: 10px;
    text-align: left;
}

.sp-accordion-title:first-child {
    border-top: none;
}

.sp-accordion-container {
    padding: 0 10px 10px;
    display: none;
    overflow: hidden;
}

.sp-accordion-title:after {
    content: '\02795';
    font-size: 12px;
    color: #777;
    float: right;
    margin: 2px 5px;
}

.sp-accordion-title__active:after {
    content: "\2796";
}

