
.subcategory-lists {
    margin: 20px 0 20px -2%;
}

.subcategory-item {
    float: left;
    width: 23%;
    height: 260px;
    max-height: 260px;
    text-align: left;
    position: relative;
    margin: 0 -4px 2% 2%;
    border: 1px solid #DBDBDB;
    background: #fbfbfb;
}

.subcategory-price,
.subcategory-name,
.subcategory-description {
    margin: 5px 10px 0;
}

.subcategory-name {
    line-height: 1;
    height: 30px;
    max-height: 30px;
    overflow: hidden;
}

.subcategory-name-link {
    font-size: 13px;
}

.subcategory-image {
    padding: 10px 0;
    border-bottom: 1px solid #dbdbdb;
}

.subcategory-image a {
    display: block;
}

.subcategory-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.subcategory-description {
    font-size: 11px;
    height: 90px;
    overflow: hidden;
    margin-bottom: 10px;
}

.subcategory-description p {
    margin: 0;
    line-height: 1.3;
}

.subcategory-price {
    line-height: 1;
}

.subcategory-price-value {
    font-size: 14px;
    line-height: 1;
    color: #989898;
    font-weight: bold;
}

.collections .subcategory-item {
    width: 31%;
    height: auto;
    max-height: none;
    padding-bottom: 10px;
}

.collections .subcategory-item.l3-n1 {
    clear: left;
}

.collections .subcategory-link {
    width: 220px;
    height: 160px;
    margin: auto;
    overflow: hidden;
}

.collections .subcategory-description {
    height: auto;
}

.collections .extra-images-wrap {
    padding: 0 10px;
}

.collections .extra-images.compact {
    height: 60px;
    overflow: hidden;
}

.collections .extra-image {
    display: block;
    margin: 0 auto 10px;
}

.collections .extra-image-title {
    margin: 0;
}

.collections .more-extra-images-wrap {
    text-align: right;
}

.collections-door .subcategory-link {
    height: auto;
}


/* product */
/* .product-filter {
    background:#fbfbfb;
    padding: 0; 
    margin-bottom: 0;
}
.product-filter .form-item label {
    display: inline;
}
.product-filter .views-exposed-widget .form-submit {
    margin: 0;
}
.product-filter .display {
    float:right;
    color: #606a6d;
    height:24px;
    margin: 2px 0 0 10px;
}
.product-filter .display a {
    font-weight: bold;
}
.product-filter .sort b {
    padding-right:7px;
    font-weight:bold;
    font-size:11px;
}
.product-filter .sort select {
    width:140px;
}
.product-filter .sort {
    float:left;
    color: #606a6d;
    font-size:11px;
    font-weight:bold;
}
.product-filter .limit select {
    width:72px;
}
.product-filter .limit b {
    padding-right:5px;
}
.product-filter .limit {
    margin-left: 13px;
    float:left;
    color: #606a6d;
    font-size:11px;
    font-weight:bold;
} */

.catalog-products .productcategory-figure.figure-top {
    margin: 15px auto;
}

.catalog-products .productcategory-image.image-top {
    display: block;
}

.catalog-products .productcategory-figure.figure-content {
    float: right;
    margin: 20px 0 5px 15px;
    display: block;
}

.catalog-products .productcategory-image.image-content {
    display: block;
}

.category-info.with-image h1 {
    margin-right: 105px;
}

.catalog-products .image-link {
    /*display: block;*/
    /*position: relative;*/
}

.catalog-products .imagecache {
    display: inline-block;
    margin: 0 auto;
}

.catalog-products .product-icon {
    opacity: 0.3;

    height: 40px;
}

.touch .catalog-products .product-icon,
.catalog-products .image-link:hover .product-icon,
.product-announc:hover .product-icon {
    opacity: 1;
}

.catalog-products .product-item:hover .product-icon {
    opacity: 1;
}

.catalog-products .product-icon-image {
    position: absolute;
}

.catalog-products .product-icon-class {
    right: 5px;
    top: -10px;
}

.catalog-products .product-icon.icon-type-text {
    cursor: default;
    border: 1px solid #465282;
    border-radius: 3px;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    font-size: 34px;
    color: #465282;
}

.product-grid {
    padding: 30px 0 0 0;
    overflow: hidden;
}

.product-grid .products-items {
}

.product-grid .products-items .product-item {
    float: left;
    width: 24%;
    text-align: left;
    position: relative;
    margin-bottom: 2%;
    margin-left: 2%;
    border: 1px solid #DBDBDB;
    padding: 0 0 15px 0;
    background: #fbfbfb;
    border-radius: 2px;
}

.index-slider .bx-style1, .index-slider .product-grid {
    margin: 0;
    padding: 0;
}

.index-slider {
    /*margin-left: 20px;*/
    width: 100%;
}

.product-grid .products-items .product-item-4 {
    float: left;
    width: 222px;
    text-align: left;
    position: relative;
    margin-bottom: 2%;
    margin-left: 20px;
    border: 1px solid #DBDBDB;
    padding: 0 0 15px 0;
    background: #fbfbfb;
    border-radius: 2px;
}

.product-grid .products-items .product-item-5 {
    float: left;
    width: 231px;
    text-align: left;
    position: relative;
    margin-bottom: 2%;
    margin-left: 20px;
    border: 1px solid #DBDBDB;
    padding: 0 0 15px 0;
    background: #fbfbfb;
    border-radius: 2px;
}

.product-grid .products-items .product-item-5:first-child {
    margin-left: 0;
}

.product-grid .products-items .product-item.line1 {
    clear: left;
}

.product-grid .products-items .product-item:hover {
    box-shadow: 1px 1px 5px #ddd;
}

.product-grid .in-stock-icon {
    float: right;
    margin: 6px 15px 0 0;
    display: flex;
    align-items: center;
}

.product-grid .in-stock-icon span {
    margin-right: 10px;
}

.product-grid .node-type-door .info:hover {
    background: rgba(255, 255, 255, 0.95);
}

.product-grid .node-type-door .info-hidden {
    opacity: 0;
}

.product-grid .node-type-door .image {
    padding-bottom: 0;
}

.product-grid .node-type-door .name,
.product-grid .node-type-door .price,
.product-grid .node-type-door .description {
    background: transparent;
}

.product-grid .node-type-door .name {
    border-top: none;
}

.product-grid .node-type-door .cart {
    padding: 0 0 15px 30px;
}

.product-grid .node-type-door .compare {
    padding: 0 30px 15px 0;
}

.product-grid .node-type-door .top-icons {
    top: 20px;
}

.products-items .status {
    display: inline-block;
    background-color: #465282;
    color: #fff;
    padding: 0 5px;
    text-align: left;
    position: absolute;
    left: 0;
    top: 170px;
    z-index: 10;
    font-weight: bold;
    font-size: 12px;
    line-height: 22px;
    border-radius: 0 5px 5px 0;
}

.product-grid .image {
    display: block;
    padding: 0;
    text-align: center;
    background: #fff;
}

.product-grid .code {
    padding: 0 15px;
    font-size: 16px;
    color: #586db4;
    text-transform: uppercase;
}

.product-grid .top-icons {
    position: absolute;
    top: 50px;
    right: 10px;
    width: 40px;
}

.product-grid .top-icons.fix-top {
    top: 5px;
}

.product-grid .bottom-icons {
    clear: left;
    padding: 10px 0 10px 8px;
}

.product-grid .product-icon {
    display: block;
    margin: 18px 0 5px 0;
}

.product-grid .bottom-icons .product-icon {
    float: left;
    margin: 0 3px 3px 0;
}

.product-grid .product-icon-discount {
    float: right;
    margin: 0;
}

.product-grid .name {
    text-align: left;
    min-height: 36px;
    padding: 10px 15px 0;
    border-top: 1px solid #dbdbdb;
    background: #FBFBFB;
}

.product-iconpos-price.icon-value {
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #465282;
    font-size: 14px;
    display: inline-block;
    font-weight: bold;
}

.product-iconpos-price.icon-value .unit {
    font-size: 10px;
    margin-left: 1px;
}

.product-grid .description {
    height: 95px;
    overflow: hidden;
    margin: 0 15px;
    background: #fbfbfb;
    margin-bottom: 10px;
}

.product-grid .description p {
    margin-bottom: 0;
}

.product-grid .price {
    padding: 5px 15px;
    background: #fbfbfb;
}

.product-grid .price-value.badgeble {
    background: #3e5184;
    color: white;
    border-radius: 4px;
    margin: 5px 0 5px 0;
    padding: 10px 10px 0 10px;
    float: left;
    height: 26px;
    line-height: 14px;
    min-height: 14px;


    small {
        font-weight: lighter;
        font-size: 12px;
    }
}

.badge {
    --badge-padding-x: 0.65em;
    --badge-padding-y: 0.35em;
    --badge-font-weight: 700;
    --badge-color: #fff;
    --badge-border-radius: 5px;

    display: inline-block;
    padding: var(--badge-padding-y) var(--badge-padding-x);
    font-weight: var(--badge-font-weight);
    line-height: 1;
    color: var(--badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--badge-border-radius);

    background-color: #3e5184 !important;

    &:empty {
        display: none;
    }

    small {
        font-weight: lighter;
        font-size: 12px;
    }
}

.pack-price {
    margin-left: 15px;
}

.product-picture-overlay {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: transparent;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/

    &.row {
        margin: 0;
    }

    div[class^='col-xs-'] {
        padding: 0;
        height: 100%;

        &:hover {
            border-bottom: 5px solid #586db4;
        }
    }
}

.product-grid .rating {
    display: block;
    height: 13px;
    padding: 0 15px 10px;
    background: #fbfbfb;
}

.product-grid .price {
    display: block;
    min-height: 40px;
    line-height: 40px;
}

.product-grid .price-new-old {
    line-height: 1;
}

.product-grid .price-old {
    text-decoration: line-through;
}

.product-grid .price-old,
.product-grid .price-new {
    display: inline-block;
}

.product-grid .price .price-tax {
    display: none;
}

.product-grid .price-old {
    font-weight: normal;
    display: block;
    margin-bottom: 5px;
}

.product-grid .cart {
    float: left;
    padding-left: 15px;
    white-space: nowrap;
}

.product-grid label {
    display: none;
}

.product-grid .add-to-cart .form-item {
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.product-grid #edit-qty-wrapper
.product-grid .wishlist, .product-grid .compare {
    margin-bottom: 0px;
    margin-top: 5px;
    float: right;
    position: relative;
}

.product-grid .compare {
    padding-right: 15px;
}

.product-grid .tooltip,
.product-grid .tooltip2 {
    bottom: 28px;
}

.design-projects {
    margin-bottom: 30px;
}

.design-projects-slider {
}

.design-projects-slider .item {
    position: relative;
}

.design-projects-slider .link,
.design-projects-slider .image {
    display: block;
}

.design-projects-slider .name {
    display: block;
    font-size: 20px;
    line-height: 50px;
    height: 50px;
    padding: 0 15px;
    background-color: rgba(49, 49, 49, 0.7);
    position: relative;
    margin-top: -50px;
    color: #fff;
    text-align: center;
}

.design-projects-slider .text-do {
    background-color: #465282;
    display: inline-block;
    line-height: 1;
    padding: 5px 10px;
    border-radius: 3px;
}

.design-projects-slider .text-do:hover {
    text-decoration: underline;
}


/******* page-search-style *******/
/* TODO: rmove bottom; */
.page-search-style .subtitle {
    text-transform: none;
}

.page-search-style .form-text {
    border-color: #dbdbdb;
    border-radius: 3px;
}

.page-search-style .form-field-name {
    width: 100%;
    max-width: 100%;
    padding: 15px 10px;
    line-height: 1;
    box-sizing: border-box;
    font-size: 14px;
    vertical-align: middle;
}

.page-search-style .form-field-name.actions {
    width: 15em;
    padding: 14px 5px;
}

.page-search-style select {
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 6px;
    border-radius: 3px;
}

.page-search-style .form-submit {
    margin: 0 0 0 5px;
    line-height: 1;
    padding: 9px 10px;
}

.page-search-style .form-reset {
    margin-left: 5px;
}

.page-search-style .compare-link {
    font-size: 13px;
    margin: 0;
    line-height: 30px;
}

.page-search-style .filter-links {
    margin: 20px 0 20px -15px;
    padding: 0;
    list-style: none;
}

.page-search-style .filter-item {
    padding: 0;
    margin: 0;
    float: left;
    width: 25%;
    display: table;
    padding: 0 0 15px 15px;
    box-sizing: border-box;
}

.page-search-style .filter-link {
    font-size: 13px;
    line-height: 1;
    text-shadow: -1px 1px 1px #fff;
    color: #888;
    display: block;
    padding: 10px 5px;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAlBAMAAABxBp6aAAAAG1BMVEXg5Onr7fLn6u/k6Ozi5urv7/Tq6/Dy8vb39/mfKsTzAAAAIUlEQVQI12NoYCgAwgAwFECCCWCoAIcGUOgAhSgAyDcAAC65BqHmSuo+AAAAAElFTkSuQmCC) repeat-x 0 0;
    text-decoration: none;
    box-sizing: border-box;
    height: 39px;
    text-align: center;
    border: 1px solid;
    border-color: #dce1e6 #a8abae #a8abae #dce1e6;
    box-shadow: 1px 1px 1px 0 #dce1e6;
    display: table-cell;
    vertical-align: middle;
    border-radius: 5px;
    text-transform: uppercase;
}

.page-search-style .filter-link.page-search-cork-coverings-link {
    font-size: 12px;
}

.page-search-style .filter-link:hover {
    color: #666;
    box-shadow: 1px 1px 3px #a8abae;
}

.page-search-style .filter-item-active a {
    color: #586db4;
    cursor: default;
    text-shadow: none;
    box-shadow: inset 0 0 10px #dce1e6;
    border-color: #dce1e6;
}

.page-search-style .filter-item-active a:hover {
    color: #586db4;
    text-decoration: none;
    box-shadow: inset 0 0 10px #dce1e6;
}

.page-search-style .views-operator-bevel {
    float: left;
}

.page-search-style .views-widget-bevel {
    float: left;
    margin-left: 10px;
}

.page-search-style .views-widget-bevel .form-item {
    white-space: nowrap;
    width: auto;
    padding-right: 10px;
}

.page-search-style .product-filter-type-cover label {
    width: 32%;
}

.page-search-style .views-widget-price .form-item,
.page-search-style .views-widget-thickness .form-item {
    display: block;
    float: left;
    margin-right: 10px;
}

.page-search-style .views-widget-per-page,
.page-search-style .views-submit-button,
.page-search-style .views-reset-button {
    float: left;
}

.page-search-style .views-submit-button .form-item {
    display: inline-block;
}

.page-search-style .views-widget-per-page,
.page-search-style .views-reset-button .form-submit {
    font-size: 11px;
}

.page-search-style .show-more-form {
    color: #465282;
    font-weight: bold;
    text-align: center;
    display: block;
    padding: 3px 10px;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 15px;
}

/* TODO: remove top; */

.slider-parent.productimages {
    margin-bottom: 15px;
}

.product-promo-gifts .gift-link-name {
    text-decoration: none;
}

.comments-productcategory {
    margin-bottom: 30px;
}

.comments-productcategory .comment {
    margin-bottom: 15px;
}

.comments-productcategory .answer {
    margin-left: 30px;
}

/* Sidbar catalog filter */
.sidebar-product-filters {
    position: relative;
}

.sidebar-product-filter {
    border: 1px solid #dbdbdb;
    line-height: 1.2;
    padding: 10px;
    background: url(../img/cat_li.gif) 0 100% repeat-x #fefefe;
    border-radius: 2px;
    margin-bottom: 15px;
}

.sidebar-product-filter .header {
    padding: 0 20px 0 0;
    margin: 0;
    border-bottom: none;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
}

.sidebar-product-filter .header.toggle-collapse {
    cursor: pointer;
    padding-bottom: 5px;
    background: url(../img/marker-button-up.png) 99% 50% no-repeat;
    -ms-background-position-y: calc(50% - 3px);
    background-position-y: calc(50% - 3px);
}

.sidebar-product-filter .header.toggle-collapse.toggled {
    border: none;
    padding-bottom: 0;
    color: #666;
    background-image: url(../img/marker-button-down.png);

}

.sidebar-product-filter > .content {
    padding: 5px 0 0;
    border-top: 1px solid #f2f2f2;
    margin: 5px 0 0;
}

.sidebar-product-filter > .content-scrollable {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-product-filter > .content.no-header {
    padding: 0;
    border: none;
    margin: -5px 0;
}

.sidebar-product-filter .items {
    padding: 0;
    margin: 0;
}

.sidebar-product-filter .items.more {
    margin-top: 0;
}

.sidebar-product-filter .item {
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.sidebar-product-filter .link,
.sidebar-product-filter .text {
    display: inline-block;
    padding: 5px 0;
}

.sidebar-product-filter .text.active {
    font-weight: bold;
    font-weight: 14px;
}

.sidebar-product-filter .more-action {
    display: inline-block;
    margin-top: 10px;
}

.sidebar-product-filter .more-action.collapse.in {
    display: inline-block !important;
}

.sidebar-product-filter input {
    box-sizing: border-box;
}

.sidebar-product-filter .form-text {
    padding-left: 5px;
}

.sidebar-product-filter input[type="radio"],
.sidebar-product-filter input[type="checkbox"] {
    margin-left: 0;
}

.sidebar-product-filter .form-group {
    padding-bottom: 0;
}

.sidebar-product-filter .form-submit {
    font-size: 13px;
    border-radius: 3px;
}

.sidebar-product-filter.form-actions {
    padding-bottom: 10px;
    background: #f4f4f4;
}

.sidebar-product-filter.form-actions.fixed {
    position: fixed;
    bottom: 0;
    margin-bottom: 0;
    z-index: 10;
}

.sidebar-product-filter.form-actions .submit-col {
    text-align: right;
}

.sidebar-product-filter.filter-range .item-min:after {
    content: '-';
    position: absolute;
    right: -3px;
    top: 0;
    font-size: 20px;
}

.sidebar-product-filter.filter-range .form-type-range {
    width: 100%;
}

.sidebar-search-style {
    margin-bottom: 30px;
}

.page-search-style .noUi-target,
.sidebar-search-style .noUi-target {
    margin: 15px 10px;
    box-shadow: none;
    border: none;
    background: url(data:image/gif;base64,R0lGODlhAQABAIABAEpKSqUANCH5BAEAAAEALAAAAAABAAEAAAICRAEAOw==) 0 50% repeat-x;
}

.page-search-style .noUi-base,
.sidebar-search-style .noUi-base {
    z-index: auto;
}

.page-search-style .noUi-tooltip,
.sidebar-search-style .noUi-tooltip {
    padding: 1px 5px;
}

.page-search-style .noUi-handle-lower .noUi-tooltip,
.sidebar-search-style .noUi-handle-lower .noUi-tooltip {
    left: 13px;
}

.page-search-style .noUi-handle-upper .noUi-tooltip,
.sidebar-search-style .noUi-handle-upper .noUi-tooltip {
    left: auto;
    right: -14px;
}

.page-search-style .noUi-connect,
.sidebar-search-style .noUi-connect {
    background: url(data:image/gif;base64,R0lGODlhAQADAIABAOsDDP///yH5BAEAAAEALAAAAAABAAMAAAIChAsAOw==) 0 50% repeat-x;
    box-shadow: none;
    border: none;
}

.page-search-style .noUi-horizontal .noUi-handle,
.sidebar-search-style .noUi-horizontal .noUi-handle {
    top: -4px;
    left: -10px;
    background: url(../img/range-slider-handle.png) no-repeat 50% 0;
    width: 20px;
    height: 25px;
    border: none;
    box-shadow: none;
    font-size: 12px;
}

.page-search-style .noUi-handle:before,
.page-search-style .noUi-handle:after,
.sidebar-search-style .noUi-handle:before,
.sidebar-search-style .noUi-handle:after {
    display: none;
}

.sidebar-product-filter.more-toggled .content-scrollable {
    margin-right: -15px;
}

.sidebar-product-filter.radio .items.more,
.sidebar-product-filter.type-checkboxes .items.more {
    margin-top: -10px;
}

.sidebar-product-filter.type-checkboxes label,
.sidebar-product-filter.type-radio label {
    float: left;
    width: 45%;
    margin: 5px 2%;
}

.sidebar-product-filter.type-radio.line-default .radioboxes,
.sidebar-product-filter.type-checkboxes.line-default .checkboxes {
    margin-left: -2%;
}

/*.sidebar-product-filter.field-type-of-wood-id label,*/
/*.sidebar-product-filter.field-manufacturer-id label,*/
/*.sidebar-product-filter.field-design label,*/
.sidebar-product-filter.line-one label {
    display: block;
    float: none;
    width: 100%;
    margin: 5px 0;
}

.sidebar-product-filter .form-reset {
    display: inline-block;
    padding: 0 10px;
    line-height: 25px;
    margin-top: 5px;
}

.sidebar-product-filter .form-submit:hover,
.sidebar-product-filter .form-reset:hover {
    background: #3c3c3c;
}

.sidebar-product-filter .form-reset:hover {
    color: #fff;
}

.menu-category-parents {
    margin: 0 0 5px 0;
}

.menu-category-parents .menu-item {
    font-size: 14px;
    margin: 0 0 5px;
}

.menu-subcategories .text.active {
    text-transform: uppercase;
}