/*
fix for left menu
 */
.sidebar .sub-catalog-list .category-list__item_child.active {
    font-weight: bold;
    text-decoration: underline;
}
.sidebar .category-list .category-list__item.active {
    text-decoration: underline;
}
.sidebar .category-list .category-list__item.active .sub-catalog-list {
    display: inline-block;
}
/*
fix for main menu
 */
.catalog-menu__submenu .catalog-menu__submenu-item.active {
    font-weight: bold;
    text-decoration: underline;
}
.catalog-menu__dropdown-item .catalog-menu__dropdown-link.active {
    font-weight: bold;
    text-decoration: underline;
}
/**
Delivery and payments
 */
div#delivery_payments h3 {
    margin-bottom: 10px;
    margin-top: 10px;
}
div#delivery_payments ul {
    margin-top: 5px;
    margin-bottom: 5px;
}
div#delivery_payments ol {
    margin-top: 5px;
    margin-bottom: 5px;
}
div#delivery_payments h4 {
    margin-bottom: 5px;
    margin-top: 5px;
}
div#delivery_payments p {
    margin-top: 5px;
    margin-bottom: 15px;
}

/**
Fix footer copyright
 */
.copyright-row {
    background: #FFCA3A;
    text-align: center;
}
.copyright-row a, .copyright-row p, .copyright-row span {
    line-height: 16px;
    color: #222222;
}
.payment-security {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: center;
}
.payment_block {
    height: 30px;
    padding-top: 5px;
}
.payment_block .payment_wrap_link {
    display: flex;
    float: left;
    align-content: flex-end;
    justify-content: center;
    padding: 3px 0 3px 0;
}
.payment_block .logo_wrapper {
    display: flex;
    min-height: 20px;
    align-content: flex-end;
    flex-wrap: wrap;
    padding-right: 10px;
}
.payment_block img.logo_payment {
    height: 14px;
}
.payment_block .logo_wrapper.logo_wrapper_cash .logo_payment {
    height: 20px;
}
.payment-security {
    margin-bottom: 0;
}
.payment-security .payment_block {
    display: flex;
    justify-content: center;
}
.payment-security .payment_wrap_link {
    display: block;
}
.payment_block a .logo_payment:hover {
    opacity: .7;
}
.payment-security .logo_wrapper img {
    height: 16px;
}
.payment-security .logo_wrapper_cash img {
    height: 25px;
}
@media (max-width: 1024px) {
    .payment-security {
        margin-bottom: 20px;
    }
}
.partners-row {
    margin-bottom: 20px;
}
.partners-row p, .footer-item_partner p {
    display: block;
    font-family: MuseoSansCyrl-500;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #222;
}

/*
Partner block
 */
.footer-item_partner {
    margin-top: 20px;
    margin-bottom: 20px;
}

/*
Fix text
 */
@media (min-width: 1024px) {
    .seo-text-block {
        padding-bottom: 40px;
    }
}

/*
Fix header top info
 */
.wrapper-top-info-order-page {
    display: inline-block !important;
}
.wrapper-top-info-order-page .work_time {
    display: flex;
}
.wrapper-top-info-order-page .social_block {
    display: flex;
}
.wrapper-top-info-order-page .header-row__phone:first-child {
    padding-bottom: 10px;
}
.wrapper-top-info-order-page .header-row__phone {
    display: flex;
    justify-content: flex-end;
}
.wrapper-top-info-order-page .header-row__phone.mobile {
    display: none;
}
@media (max-width: 768px) {
    .wrapper-top-info-order-page .header-row__phone {
        display: none;
    }
    .wrapper-top-info-order-page .header-row__phone.mobile {
        display: flex !important;
    }
}
.header-wrapper .header-wrapper__item:last-child {
    display: flex;
    align-items: center;
}

/*
Fix detail product
 */
.elementdetail .filters__btn-unavailable {
    width: auto;
    padding: 8px;
}

/**
New item menu
 */
.header-link {
    min-width: 225px;
}
.header-link .grey-link {
    order: 3;
}
.header-link .discount-link {
    order: 2;
}
.header-link .sale-link {
    order: 1;
    margin-right: 24px;
    color: #EA543F;
    font-size: 14px;
    font-weight: bold;
}
@media (max-width: 1024px) {
    .header-link .discount-link  {
        margin-right: 10px;
    }
}

/**
For sale page
 */
.product-item__sale {
    grid-template-columns: repeat(5,1fr);
}

/**
For modal
 */
.modal-open {
    overflow: hidden;
}

/*
Fix filters
 */
.filters__item-dropdown .bx_filter_parameters_box_container {
    max-height: none;
}

/**
Blog
 */
.news-rows .box.details .news-images img {
    width: 100%;
}
.blog-page__text {
    max-width: none;
}
.news-container .box.details .text {
    display: block;
}
.news-container .row-title h2 {
    font-weight: bold;
}

@media (max-width: 1024px) {
    .btn_slider_in_catalog {
        margin: 10px 20px 0px 0;
        padding: 8px 20px;
        font-family: MuseoSansCyrl-700;
        font-size: 14px;
        line-height: 18px;
        color: #3EC300 !important;
        border: 2px solid #3EC300 !important;
        border-radius: 4px;
        background-color: rgba(0, 0, 0, 0);
        transition: color .3s,background-color .3s;
        display: flex;
        justify-content: center;
    }
    .btn_slider_in_catalog:hover {
        background: #3EC300;
        color: #fff !important;
        text-decoration: none;
        padding-bottom: 6px;
        margin-bottom: 3px;
        opacity: 1 !important;
    }
}

@media (max-width: 1024px) {
    .wrap_slider_btn {
        display: flex;
        margin: 0;
        justify-content: center;
        text-align: center;
    }
}

/**
Fix catalog
 */
.wrapper-slider .product-item .expand .btn-cart, .goods-slider .expand .btn-cart {
    font-size: 13px !important;
}
.wrapper-slider .filters__btn-unavailable, .goods-slider .filters__btn-unavailable {
    padding: 8px !important;
}

.jsHeaderCatalogMenuWrap ul.catalog-menu__submenu {
    display: none;
}

@media (max-width: 1023px)
{
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu {
        display: block;
        color: rgba(34,34,34,.8);
        list-style: circle;
        margin: 0 10px 0 16px;
        padding: 10px 0 10px 0;
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu li:not(:last-child) {
        margin-bottom: 14px;
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu li {
        font-size: 11px !important;
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu li:last-child {
        margin-bottom: 0;
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu a {
        color: rgba(34,34,34,.8);
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu .show_more {
        text-decoration: underline;
        list-style: none;
    }
    .jsHeaderCatalogMenuWrap ul.catalog-menu__submenu li.catalog-menu__submenu-item.submenu_item_hide {
        display: none;
    }
    .jsHeaderCatalogMenuWrap .catlog-menu-btn.open+.header-catalog-navigation {
        height: 100%;
    }
}