/* ************************************************************************************************
								Categories Page Styles
************************************************************************************************ */
/* CLS fixes -- START */
.push-3-12 {
    right: auto;
    left: 25.43%;
}

.col-9-12 {
    width: 74.5%;
}
.content_sortPagiBar {
    margin: 0 !important;
}

.grid {
    display: block;
    margin-right: -1%;
    margin-left: -1%;
    padding: 0;
    list-style: none;
    text-align: left;
    font-size: 0;
}

.grid.grid-3 .item {
    width: 31.333%;
}

.grid .item, .grid .item-upper-container, .grid .item-wrapper {
    position: relative;
}
.grid .item {
    display: inline-block;
    margin: 0 1% 30px;
    height: auto;
    vertical-align: top;
    font-size: 13px;
}

.static_block_main {
    clear: both;
}

#breadcrumb.category {
    margin-bottom: 20px;
}

body.category #breadcrumb {
    min-width: 280px;
}

body.category .nbrItemPage{
    display: none !important;
}
body.category #productsSortForm{
    max-width: 100%;
}
@media (min-width: 768px) {
    body.category #breadcrumb.category {
        margin-bottom: 35px;
    }
}
body#product #breadcrumb {
    margin-bottom: 30px;
}

body.module-topproducts-topproducts #breadcrumb {
    margin-bottom: 20px;
}
@media (max-width: 767px) {
    body.module-topproducts-topproducts #breadcrumb.module-topproducts-topproducts {
        margin-bottom: 0;
    }
}

.category .sidebar-left {
    margin-right: 0;
}

.sortPagiBar {
    margin: 10px 0 20px!important;
    line-height: 33px;
}

select {
    font-size: 100%;
    margin: 0;
    padding: 3px;
    border: 1px solid #d7dce2;
    max-width: 100%;
}

#category-header .one-row>.category-name {
    padding: 30px 0 20px;
}
#category-header .category-name h1 {
    font-size: 42px;
    font-weight: 300;
    margin: 0 0 20px 0;
    padding: 0;
}

.filter_button_wrapper {
    width: 100%;
    margin-bottom: 40px;
}

a.img-wrapper {
    text-align: center;
}
a.img-wrapper {
    display: block;
}

.category .product_list .item-details {
    margin-top: 7px;
}

.grid .item-details {
    font-size: 16px;
    position: relative;
    display: block;
    margin: 10px 0 0;
    text-align: center;
}
.grid .item-description-full {
    display: none;
    clear: both;
    margin: 7px 0 0;
}
.category .product_list .add-to-cart {
    margin-top: 11px;
}

.product_list .img-wrapper img.lazy {
	width: 100%;
	object-fit: scale-down;
    background: url(/themes/cibdol/img/ajax-lazy-loader.gif) no-repeat 50%;
}

.sidebar-left {
    padding-right: 2.5%;
}

.pull-9-12 {
    right: 76.28%;
    left: auto;
}
.col-3-12 {
    width: 23.5%;
}
.column, .column.fixed {
    float: left;
    margin: 0 1%;
}
.column {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 100%;
    min-height: 1px;
}
.column, .column.fixed {
    float: left;
    margin: 0 1%;
}

.align-right {
    float: right;
}

.row.parent .row {
    padding: 0;
}
#layer_cart {
    display: none;
}

/* CLS fixes -- END */
.content_scene_cat .content_scene_cat_bg {
    padding: 18px 10px 10px 42px;
    background-color: #464646 !important;
}

.content_scene_cat span.category-name {
    font: 600 42px/51px "Raleway", sans-serif;
    color: white;
    margin-bottom: 12px;
}

.content_scene_cat p {
    margin-bottom: 0;
}

.content_scene_cat a {
    color: white;
}

.content_scene_cat a:hover {
    text-decoration: underline;
}

.content_scene_cat .content_scene {
    color: #777777;
}

.content_scene_cat .content_scene .cat_desc {
    padding-top: 20px;
}

.content_scene_cat .content_scene .cat_desc a {
    color: #777777;
}

.content_scene_cat .content_scene .cat_desc a:hover {
    color: #515151;
}

#sidebar-category-menu {
    margin-bottom: 30px;
}

#sidebar-category-menu .category-item {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid  #d7dce2;
    font-weight: bold;
}
#sidebar-category-menu .category-item a:hover {
    color: #da3b44;
}
#sidebar-category-menu .subcategory-item {
    padding-left: 20px;
}
#sidebar-category-menu .subcategory-item a:hover {
    color: #da3b44;
}

.category-title h1 {
    font-size: 40px;
    font-weight: bold;
	float: left;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .topproducts-header-wrap .category-title.with-left-sidebar h1 {
        margin-top: -4px;
    }
    .category-title.with-left-sidebar h1 {
        margin-top: 56px;
    }
}

.button-1.offers {
    padding: 0;
    position: absolute;
    right: 0;
    top: -40px;
}
.button-1.offers img {
    width: 60px;
}

.category-title.with-left-sidebar {
    margin-top: -60px;
}

.category-title-count {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: 7px;
}

.brands-markup .users-rated, .brands-markup .price-starts {
    font-size: 13px;
    line-height: 16px;
    color: #84888f;
}

.brands-markup .users-rated b, .brands-markup .price-starts b {
    color: #48535a;
    font-weight: 500;
}

.brands-markup .rating-digits {
    display: flex;
    padding-left: 8px;
}
.brands-markup .current-rating{
    color: #48535a;
    font-size: 13px;
    font-weight: 500;
    margin-top: 0px;
    line-height: 1;
}

.brands-markup .max-rating {
    font-size: 13px;
    color: #84888f;
    margin-top: 0px;
    line-height: 1;
}

.brands-markup .gsrDisplayRating {
    display: flex;
    max-width: 110px;
}

.brands-markup .rating {
    align-items: end;
    display: flex;
    justify-content: end;
    max-height: 49px;
}

.brands-markup .star-rating {
    width: 18px;
    height: 18px;
    margin-right: 4px;
}

.brands-markup .star-rating a {
    width: 18px;
    position: relative;
    background-image: url(/modules/gsnippetsreviews/img/star-green.png) !important;
}

.brands-markup .star-rating-on a {
    background-position: 0 -36px !important;
}

.brands-markup .star-rating-half a:after {
    position: absolute;
    content: "";
    background: url(/modules/gsnippetsreviews/img/star-green.png) 0 -36px no-repeat;
    width: 10px;
    height: 18px;
    top: 0;
    left: 0;
}

@media only screen and (min-width: 1136px) {
    .content_sortPagiBar {
        float: right;
    }
}

@media only screen and (max-width: 1135px) {
    .sortPagiBar>.align-right {
        float: none;
    }
}

@media (min-width: 768px) {
    .filter_button_wrapper {
        display: none;
    }

    .grid-3 .item-images {
       min-height: 200px;
    }
}

@media (max-width: 767px) {
    #category-header {
        max-height: 76px;
    }
    #category-header .category-name h1 {
        margin-top: 20px;
    }
    .category-title.with-left-sidebar {
        margin-top: 0;
    }
    .button-1.offers {
        top: -5px;
    }
    #category-header .one-row>.category-name {
        padding: 5px 0!important;
    }
    #category-header .category-name {
        text-align: center;
    }
    .push-3-12, .pull-9-12 {
        left: auto;
        right: auto;
    }
    .col-3-12, .col-9-12 {
        width: 100%;
    }
}

/* Module TopProducts - Top10 page styles*/

.topproducts-header-wrap .category-title {
    margin: 0!important;
}
.topproducts-header-wrap .category-description div {
    margin-top: 20px;
}

@media (max-width: 767px) {
    .topproducts-header-wrap {
        margin: 20px 0 0 0;
    }
    .toproducts.grid.grid-4 .item {
        width: 48%!important;
    }
}

/* Subcategories */
.subcategories_list {
	margin-top: 70px;
}
ul.subcategories_list .item-image-cover.lazy {
    width: 100%;
}
@media only screen and (max-width: 767px) {
    ul.subcategories_list .item-upper-container {
        padding: 8px;
    }
    ul.subcategories_list .subcategories_block.item {
        width: 50%;
        margin: 0;
    }
}

/* Module Fold Description - category page styles*/
.row.parent .category-description.folded {
    height: 70px;
    overflow: hidden;
    position: relative;
}
.row.parent .category-description.folded::before {
    content: '';
    width: 100%;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: 0;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
    z-index: 1;
}
.categories-buttons-wrap {
    position: relative;
}
.categories-buttons-wrap .categories-buttons {
    display: inline-flex;
    top: 11px;
    width: 100%;
    justify-content: space-between;
}
.categories-buttons-wrap .categories-buttons .button {
    color: #ffffff;
    width: max-content;
    padding: 5px 10px;
    background-color: #00a89c;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
    z-index: 10;
}
@media (max-width: 767px) {
    .categories-buttons-wrap {
        margin-right:  0;
    }
    .categories-buttons-wrap .categories-buttons {
        position: relative;
    }
    .categories-buttons-wrap .categories-buttons .button {
        position: absolute;
        top: 8px;
    }
    .categories-buttons-wrap .categories-buttons .button.description_more_info {
        position: static;
        margin-bottom: 15px;
        width: 100%;
    }
    .categories-buttons-wrap .categories-buttons .button.description_read_less {
        top: 50px;
    }
}

@media (max-width: 390px) {
    .categories-buttons-wrap .categories-buttons {
        flex-direction: column-reverse;
    }
}

.sortPagiBar .align-right {
    width: 100%;
}
.sortPagiBar #productsSortForm {
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    float: none!important;
    padding-top: 1px;
}

@media (max-width: 1135px) {
    .content_sortPagiBar .sortPagiBar .align-right {
        float:right;
    }
}
@media (min-width: 768px) {
    .categories-buttons-wrap .categories-buttons {
        position: absolute;
    }
    .categories-buttons-wrap {
        margin-right: 280px;
    }
    .sortPagiBar #productsSortForm {
        max-width: 280px;
    }
    .category-description {
        margin-right: 280px!important
    }
}
@media (max-width: 767px) {
    .category-description {
        margin-right: 0!important
    }
    .sortPagiBar #productsSortForm {
        max-width: 68%;
    }

}
@media (max-width: 350px) {
    .sortPagiBar #productsSortForm {
       font-size: 14px;
    }
}

/* module Static Block - category Page style */
.static_block_main .static_block_title {
    font-weight: bold;
    margin: 0;
    padding: 0;
    font-size: 34px;
    line-height: 1.1;
    color: #48535a;
}
@media only screen and (max-width:1023px) {
    .static_block_main .static_block_title {
        font-size: 24px;
    }
}

/* Infinite scroll buttons */
.view-more-button-container {
    padding: 20px 0 40px 0;
}

#new_pag {
    display: flex;
    justify-content: center;
}

#new_pag a {
    min-width: 115px;
    border: 2px solid #e4dfdf;
    padding: 0 10px;
    font-weight: 600;
    text-align: center;
}
#new_pag a:first-child {
    margin-right: 10px;
}
@media (max-width: 767px) {
    #new_pag {
        justify-content: space-between;
    }
    #new_pag a {
        padding: 15px;
        border: 1px solid #e4dfdf;
    }
    #new_pag a:only-child {
        margin: 0 auto;
    }
}

.category-title-wrapper {
    display: flex;
    margin-bottom: 0;
}
.category-title-wrapper .category-title {
    flex-grow: 1;
}
.category-title-wrapper .category-title.not-showed-review {
    margin-right: 280px;
}
.category-title-wrapper .category-title h1 {
    float: none;
    text-align: center;
}
.sidebar-enabled .category-title-wrapper .breadcrumb {
    display: none;
}
.row.parent .category-description {
    margin-top: 15px;
}

@media only screen and (max-width:1023px) {
    .category-title-wrapper {
        flex-wrap: wrap;
    }
    .category-title-wrapper .category-title {
        flex-basis: 100%;
        order: 1;
        width: 100%;
    }
    .category-title-wrapper .category-title.not-showed-review {
        margin-right: 0;
    }
    .category-title-wrapper h1 {
        font-size: 30px !important;
    }
    .category-title-wrapper .brands-markup {
        margin-bottom: 8px;
        margin-left: auto;
    }
    body.category #breadcrumb {
        min-width: 0;
    }
}
@media (max-width: 767px) {
    .brands-markup .star-rating {
        height: 10px;
        margin-right: 2px;
        width: 10px;
    }
    .brands-markup .gsrDisplayRating {
        min-width: 0 !important;
    }
    .brands-markup .star-rating a {
        background-size: 10px;
        width: 10px;
    }
    .brands-markup .star-rating-on a {
        background-position: 0 -19px !important;
    }
    .brands-markup .star-rating-half a::after {
        background-position: 0 -19px;
        background-size: 10px;
        width: 5px;
    }
    .brands-markup .current-rating, .brands-markup .max-rating, .brands-markup .rating-bottom, .brands-markup .users-rated, .brands-markup .price-starts {
        font-size: 11px;
    }
}
@media (max-width: 420px) {
    .brands-markup .rating-bottom {
        margin-top: 4px;
    }
    .brands-markup .users-rated, .brands-markup .price-starts {
        display: block;
        line-height: 1.2;
        text-align: right;
    }
}
