.page-header .panel.wrapper,
.main-panel-top {
    background-color: #171717;
}

.submenu {
    z-index: 1000 !important;
}

/* .cms-index-index #maincontent {
    margin-top: -113px;
} */
.page-header.type9 .header-main {
    background: rgba(200, 200, 200, 0.3);
}

.cms-home {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .block-title {
    border: 0 none;
    font-size: 16px;
    font-weight: bold;
    list-style: outside none none;
    margin-bottom: 0px;
    padding: 27px 0 35px;
    text-transform: uppercase;
    color: white;
}

.logo-in-footer {
    width: 114px;
}

.product-info-main .old-price {
    display: block !important;
}


.product-info-main .old-price {
    display: block !important;
}

.footer-middle {
    color: white;
}

.wishlist {
    display: none;
}

#search {
    display: inline-block;
    border-style: solid;
    border-color: #e2e2e2;
    border-width: 1px;
    background-color: #fff;
    font-size: 100%;
    margin: 0;
    line-height: 39px;
    height: 39px;
    padding: 0 10px;
    width: 100%;
    outline: none;
}

.page-main-inner {
    padding-top: 20px;
}

.color-green {
    color: #4CAF50;
}

.service .service-item {
    background-color: #ffffff;
    border-color: #dfdfdf;
}

.service .service-item h3 {
    color: #333333;
}

.service .service-item .info p {
    color: #666666;
}

.service .service-item .info a {
    color: #3366cc;
    border-color: rgba(0, 0, 0, 0);
}

.service .service-item .info a:hover {
    color: #c4221e;
    border-color: #c4221e;
}


.service {
    padding: 19px 0;
    font-size: 12px;
    margin-top: 20px;
    float: left;
    width: 100%
}

.service .service-item {
    padding: 20px 20px 20px 28px;
    border: 1px solid #dfdfdf;
    background-color: #fff;
    overflow: hidden
}

.service .service-item .icon {
    width: 92px;
    height: 92px;
    float: left
}

.service .service-item .info {
    padding-left: 110px
}

.service .service-item .info p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: normal
}

.service .service-item h3 {
    margin: 0 0 5px;
    padding: 0;
    text-transform: uppercase;
    font-size: 18px;
    color: #333
}

.service .service-item .info a {
    border-bottom: 1px solid transparent;
    font-size: 14px;
    color: #36c;
    padding-top: 10px;
    display: inline-block;
    line-height: normal
}

.service .service-item .info a:after {
    content: '\f101';
    font-family: FontAwesome;
    display: inline-block;
    padding-left: 10px
}

.service .service-item .info a:hover {
    border-color: #ff8400;
    color: #ff8400
}

.schemecontainerwrapper {
    padding-top: 10px;
    padding-bottom: 10px;
}

.schemecontainer .dot {
    position: absolute;
    padding: 1px 6px;
    background: #e0e0e0;
    border: 1px solid #c4221e;
    border-radius: 3px;
    transition: all 0.5s;
}

.schemecontainer .dot:hover {
    background: #c4221e;
    border: 1px solid #333333;
    color: #fff;
}

.schemecontainer .dot input[type='checkbox'] {
    margin: 0;
    padding: 0;
}

.schemecontainer .dot a:hover {
    color: #fff;
}

.schemecontainer .dot span {
    padding: 0 2px 0 3px;
    display: inline-block;
}

.subchildmenu {
    margin-left: 5px;
}

header .ul-level-3 {
    display: none;
}

header .ui-menu-item.parent {
    position: relative;
}

header ul.last-level {}

header .ui-menu-item span {
    text-wrap: nowrap;
}

header .ui-menu-item:hover>ul.ul-level-3.last-level {
    left: 50%;
    top: 20px;
    display: block;
    /* Показываем вложенные ul при наведении на .ui-menu-item */
    position: absolute;
    /* При необходимости, чтобы ul не занимал место и появлялся поверх других элементов */
    z-index: 1000;
    /* Чтобы вложенное меню было на переднем плане */
    background: white;
    /* Установите фон, чтобы подменю было видно */
    padding: 10px;
    /* Добавьте отступы для лучшего внешнего вида */
    border: 1px solid #ccc;
    /* Граница для подменю */
}

.sidebar-content .sw-megamenu.navigation.side-megamenu li.level0:hover {
    background-color: transparent !important;
}

.col.item {
    max-width: 80%;
}

.col.item .product-item-name {
    text-wrap: wrap;
    display: inline-block;
}

/*.page-main .page-title-wrapper {*/
/*    display: none !important;*/
/*}*/
.paypal-express-in-context-mini-cart-container,
#paypal-smart-button {
    display: none !important;
}

.block-minicart .subtotal .label:after,
.minicart-items .details-qty .label:after,
.minicart-items .price-minicart .label:after,
.order-details-items .order-gift-message .label:after,
.order-details-items .block-order-details-gift-message .label:after,
.block-wishlist-management .wishlist-select .wishlist-name-label:after {
    content: '' !important;
}

.totals.shipping.incl {
    display: none !important;
}

.product-info-main .price-final_price .price {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 700;
}

.product-info-main .product-options-bottom .price-box .price-including-tax+.price-excluding-tax .price,
.product-info-main .product-info-price .price-box .price-including-tax+.price-excluding-tax .price {
    font-size: 1.1rem;
    line-height: 16px;
    font-weight: 600;
}

.product.attribute.overview {
    display: none !important;
}

.products .product-item-info {
    text-align: left;
}

.products-related .price-including-tax+.price-excluding-tax::before {
    font-size: 1rem;
    line-height: 1.4rem;
    display: inline-block;
}

.products-related.small-list.products-grid .product-items .price {
    font-size: 1rem;
    display: inline-block;
    line-height: 1.4rem;
    vertical-align: baseline;
}

.products-related .price-container .price-including-tax+.price-excluding-tax {
    font-size: 1rem;
}


.products-related.small-list .product-items .product-item-details .product-item-actions {
    display: block !important;
}


.search-area .block.block-search {
    border-radius: 0px !important;
    border-color: var(--theme-color) !important;
}

.small-list.products-grid .product-items .product-item-info .product-item-photo {
    width: 122px !important;
    -ms-flex: 0 0 122px !important;
    flex: 0 0 122px !important;

    -ms-flex: 0 0 122px !important;
    flex: 0 0 122px !important;
    padding: 0;
    margin-right: 20px;
    margin-bottom: 0;
    box-shadow: none;

    min-height: auto;
}


@media (min-width: 1200px),
print {
    .products-grid.columns3 .product-item {
        width: 33.33333333% !important;
    }
}


.product-item-info:hover .product-item-photo:not(.porto-tb-featured-image):hover,
.product-item-info:hover .product-item-photo:not(.porto-tb-featured-image) {
    box-shadow: none !important;
}

.products-grid .product-item .product-item-info {
    border: 1px solid #e2e2e2;
}

.products-grid .product-item .product-item-info:hover {
    box-shadow: 0 25px 35px -5px rgba(0, 0, 0, 0.1);
}

.product-item-details {
    padding: 0px 10px;
}

/*.section-items.nav-sections-items {*/
/*    background-color: #171717;*/
/*}*/
/*.page-wrapper > .breadcrumbs {*/
/*    background-color: transparent !important;*/
/*}*/

/*.page-main-inner {*/
/*    position: relative;*/

/*}*/
/*.stock-info {*/

/*    position: absolute;*/
/*    right: 0;*/
/*}*/

[data-price-type=oldPrice] {
    display: none !important;
}

[data-price-type=finalPrice] .price {
    font-size: 1.3rem !important;
}

[data-price-type=basePrice] .price,
[data-price-type=basePrice]::before {
    font-size: 0.9rem !important;
}

/* // hide price on checkout for shipping method */
.table-checkout-shipping-method .col-price,
#label_method_calcshipment_calcshipment,
#label_method_freeshipping_freeshipping {
    display: none;
}

/* price in checkout nettp */
.opc-block-summary .grand.incl+.grand.excl .mark,
.opc-block-summary .grand.incl+.grand.excl .amount {
    font-size: 1.1rem;
}

@media (min-width: 992px),
print {
    .shipping-address-items {
        .shipping-address-item {
            width: 49% !important;
        }
    }
}

@media (max-width: 767px) {
    .logo {
        max-width: 120px !important;
        z-index: auto;
    }
}

@media (max-width: 991px) {

    /* show search on mobile */
    .search-area.show-icon-tablet .block.block-search {
        /* display: block !important;
        position: relative !important;
        top: 0 !important;
        right: 0 !important;
        border: inherit !important; */

        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        top: 71px !important;
    }

    .search-area.show-icon-tablet {
        position: unset !important;
    }

    /*
    .search-area.show-icon-tablet a.search-toggle-icon {
        display: none !important;
    } */
}

.mobile-hint-menu {
    display: none;
}

@media (max-width: 575px) {
    .product-item-details {
        padding: 0px 5px;
    }

    .mobile-hint-menu {
        display: block;
    }

    .main-panel-top .header-left {
        display: none !important;
    }

    .main-panel-top {
        height: 0px !important;
    }

    .page-header.type9 .panel.wrapper {
        min-height: 0 !important;
    }

    .schemecontainer .dot {
        padding: 0;
        margin: 0;
        border: 0;
        line-height: 7px;
    }

    .schemecontainerwrapper {
        padding-bottom: 30px;
    }

    #schemecontainer {
        margin: -20px;
    }
}

.checkout-cart-index .block-content,
.checkout-cart-index .block.crosssell {
    width: 100% !important;
}


/* shopping cart NEW */

.cart-summary {
    width: 350px !important;
    padding: 24px 10px !important;
}

@media (max-width: 1200px) {
    .cart-summary {
        width: 100% !important;
    }
}

.cart-totals tbody .grand.totals .mark,
.cart-totals tfoot .grand.totals .mark {
    font-size: 16px;
}

.cart-totals tbody .grand.totals .amount,
.cart-totals tfoot .grand.totals .amount {
    font-size: 19px;
}

.cart.table-wrapper .product-item-photo {
    max-width: 65px !important;
}

.cart-summary>.title {
    text-align: center !important;
}

.actions-toolbar {
    padding-top: 10px;
}

.actions-toolbar .action {
    width: 35px;
    height: 35px;
    border: 1px solid #e7e7e7 !important;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#shopping-cart-table .price-including-tax {
    margin-bottom: 0 !important;
}

.cart.table-wrapper .col.subtotal .price {
    display: block;
    margin-bottom: 10px;
}

/* next */
.block.crosssell .product-item-info {
    display: flex !important;
    align-items: center !important;
}

.block.crosssell .product-item-photo {
    margin-bottom: 0 !important;
}

.block.crosssell .product-item-details {
    padding-top: 0 !important;
}

.actions-toolbar {
    padding-top: 0;
}

.products .product-item .qty.field .control,
.col.qty .control {
    align-items: center !important;
}

.products .product-item input[type="checkbox"] {
    margin: 0 0 !important;
}

.products .product-item sub {
    font-size: initial;
}

.product-item-info .product-item-details .price-box {
    margin-bottom: 0;
}

.product-item-details .info {
    padding: 20px 0;
}

.grid .tocart {
    margin-top: 10px;
}

.filterproducts.products {
    display: flex;
    flex-wrap: wrap;
}

.products-grid.columns4 .product-item {
    display: flex;
    padding: 0.5em;
}

@media(max-width: 1200px) {
    form.form-cart {
        width: 100% !important;
    }
}

@media(max-width: 767px) {
    form.form-cart td {
        flex-basis: initial !important;
    }

    form.form-cart tr.item-info {
        display: flex;
        flex-direction: column;
    }

    .product.details.product-item-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-shrink: initial;
    }

    .product-item-name a {
        white-space: initial;
    }

    .col.item .product-item-name {
        text-align: center;
    }

    .cart.table-wrapper .item .col.item {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    td.col.aaaa {
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    td.col.aaaa i {
        margin-right: 5px;
    }

}

@media(max-width: 576px) {
    .cart.table-wrapper .product-item-details {
        text-align: left;
        padding-top: 0;
        align-items: flex-start;
    }

    .cart.table-wrapper .product-item-photo {
        margin: initial;
        margin-bottom: 15px;
    }

    .cart.table-wrapper .product-item-details {
        flex-shrink: initial;
        min-width: 166px;
    }

    .product-item-photo img {
        max-width: 100px !important;
    }

    .product-item-name a {
        white-space: initial !important;
    }
}