/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.page-inner ul,
.page-inner ol {
    padding-left: 1rem;
}

header .header-search-form {
    width: 100%;
    max-width: 480px;
}

.phones_area a.wa,
.phones_area a.tg,
.phones_area a.max {
    display: inline-block;
    margin-left: 7px;
}

.phones_area a.wa {
    color: limegreen;
}

.phones_area a.tg {
    color: #0088cc;
}

.html_topbar_left .phones_area .icon {
    margin-right: 4px;
}

.html_topbar_left .phones_area a {
    font-size: 18px;
}

.nav-right .html_topbar_left .phones_area {
    text-align: right;
}

.mobile-nav .html_topbar_left .phones_area {
    text-align: center;
}

.mobile-nav .html_topbar_left .phones_area a {
    color: #fff;
}

#text-2.widget_text .textwidget {
    font-size: 12px;
}

.footer-primary {
    padding: 7.5px 0;
}

/* uncategorized */
.cat-item.cat-item-15 {
    display: none;
}

/* front page */
body.home .entry-header,
body.home .reviews_list .post-title {
    display: none;
}

body.home .page-title-sub .lead {
    font-size: 16px;
}

#YMapsID {
    position: relative;
}

#YMapsID>span {
    position: absolute;
    padding: 7px;
    background-color: #7a9c59;
    color: #fff;
    z-index: 1;
}

body.home h3.section-title .section-title-main {
    background-color: lightgrey;
    border-radius: 5px;
    padding: 0 10px;
}

body.home .mb-30 {
    margin-bottom: 30px !important;
}

.page-inner ul.flickity-page-dots,
.page-inner ol.flickity-page-dots {
    padding-left: 0;
}

.icon-max {
    width: 21px;
    height: 26px;
    background: url('./assets/img/MAX.svg') 50% 50% no-repeat;
    background-size: contain;
    vertical-align: top;
}

/* reviews */
body.category-17 .blog-archive .post-title {
    display: none;
}

/* catalog */
.price_label {
    float: none;
    text-align: left;
    clear: both;
}

.sub_cats {
    margin-bottom: 13px;
}

.sub_cats .product-category {
    display: inline-block;
    width: auto;
    padding: 0;
    margin: 0 7px 7px 0;
}

.sub_cats .product-category .box-image {
    display: none;
}

.sub_cats .product-category .box-text {
    height: auto !important;
    background-color: #efefef;
    padding-bottom: 0.7em;
}

.product_meta .sku_wrapper {
    display: none;
}

.product-small .params {
    font-size: 12px;
    line-height: 18px;
    padding: 5px 0 10px 0;
}

.product-small .params .item {
    overflow: hidden;
    position: relative;
}

.product-small .params .item span.p_name {
    display: block;
    padding-right: 5px;
    background-color: #fff;
    float: left;
    position: relative;
    z-index: 1;
}

.product-small .params .item span.p_value {
    display: block;
    padding: 0 10px 0 5px;
    background-color: #fff;
    float: right;
    position: relative;
    z-index: 1;
}

.product-small .params .item span.p_sep {
    display: block;
    border-bottom: 1px dotted #CCC;
    width: 208px;
    height: 14px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.product-small .params .limit {
    margin-top: 5px;
    color: green;
}

.product-small .params .stock {
    text-align: center;
    margin-top: 7px;
}

.product-small .params .stock span {
    display: block;
}

.product .green,
.product-small .params .green {
    color: green;
}

.out-of-stock-label:before {
    content: "Нет в наличии";
}

/* product page */
.product .product_meta .posted_in,
.product.product_cat-uslugi .product-footer .related {
    display: none;
}

/* cart */
.shop_table .cart-subtotal,
#order_review .wc_payment_methods,
.stock.in-stock {
    display: none;
}

/*************** ADD MOBILE ONLY CSS HERE  ***************/
@media only screen and (max-width: 48em) {
    #top-bar .phones_area {
        color: initial;
        text-align: center;
    }

    #top-bar .phones_area a {
        font-size: 18px;
        vertical-align: middle;
    }

    #main-menu .nav>li.html {
        padding: 0 0 20px 0;
        font-size: initial;
    }

    #main-menu .nav>li.html ul {
        padding-bottom: 0;
    }

    #main-menu .off-canvas .sidebar-menu {
        padding-top: 0;
    }

    #main .col-first {
        display: none;
    }

}