/* ************************************************************************************************
								Categories Page Styles
************************************************************************************************ */
@media (min-width: 992px) {
    .filter-sort-bar {
        margin-top: 25px;
    }
}

.filter-sort-bar #popularity-sort{
  width: 220px;
}
.filter-sort-bar .sortPagiBar ul{
  margin-top: 0px;
}
.content_scene_cat {
  /*border-top: 5px solid #333333;*/
  color: #d7d7d7;
  line-height: 19px;
  margin: 0 0 26px 0; }
  .content_scene_cat .content_scene_cat_bg {
    padding: 18px 10px 10px 42px;
    background-color: #464646 !important; }
    @media (max-width: 1199px) {
      .content_scene_cat .content_scene_cat_bg {
        padding: 10px 10px 10px 15px; } }
  .content_scene_cat span.category-name {
    font: 600 42px/51px "Open Sans", sans-serif;
    color: white;
    margin-bottom: 12px; }
    @media (max-width: 1199px) {
      .content_scene_cat span.category-name {
        font-size: 25px;
        line-height: 30px; } }
  .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; }
@media (max-width: 991px) {
  #category #product_list .product-item-holder.large .product-item .image {
    padding-left: 0px;
    padding-right: 0px;
  }
  #category #product_list .product-item-holder.large .product-item {
    padding: 0px 0;
  }
  #category #product_list .product-item-holder.large .product-item .price-current {
    font-size: 21px;
    padding: 0px 0;
  }
  #category #product_list .product-item-holder.large .product-item .body {
    height: 70px;
  }
  #category .col-md-12 #product_list .product-item-holder.large {
    height: 200px;
  }

  .filter-sort-bar .sortPagiBar{
    padding-bottom: 15px;
    border-bottom: 1px solid #ececec;
  }
}

.mobile-header {
  font-size: 18px;
  margin: 10px 0;
}

/* ************************************************************************************************
									Sub Categories Styles #
************************************************************************************************ */
#subcategories {
  border-top: 1px solid #d6d4d4;
  padding: 15px 0 0px 0; }
  #subcategories p.subcategory-heading {
    font-weight: bold;
    color: #333333;
    margin: 0 0 15px 0; }
  #subcategories ul {
    margin: 0 0 0 -20px; }
    #subcategories ul li {
      float: left;
      width: 145px;
      margin: 0 0 13px 33px;
      text-align: center;
      height: 202px; }
      #subcategories ul li .subcategory-image {
        padding: 0 0 8px 0; }
        #subcategories ul li .subcategory-image a {
          display: block;
          padding: 9px;
          border: 1px solid #d6d4d4; }
          #subcategories ul li .subcategory-image a img {
            max-width: 100%;
            vertical-align: top; }
      #subcategories ul li .subcategory-name {
        font: 600 18px/22px "Open Sans", sans-serif;
        color: #555454;
        text-transform: uppercase; }
        #subcategories ul li .subcategory-name:hover {
          color: #515151; }
      #subcategories ul li .cat_desc {
        display: none; }
      #subcategories ul li:hover .subcategory-image a {
        border: 5px solid #333333;
        padding: 5px; }

/* Top category description */

.ct-desc-content-container {
  display: flex;
  justify-content: space-between;
    margin-right: -15px;
  margin-bottom: 10px;
}

.ct-desc-content {
  width: 98%;
  font-size: 14px;
}

.ct-desc-content.--limited {
  display: -webkit-box;
  max-height: 2.6em;
  overflow: hidden;
  line-height: 1.3em;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ct-desc-btn {
  cursor: pointer;
}

.ct-desc-btn i {
  color: #0066c0;
  font-weight: 700;
}

/* Category filter */

.top-filters-container {
  margin-right: -15px;
  margin-left: -15px;
  padding: 10px 0;
  margin-bottom: 10px;
  background: #f9f9f9;
  overflow: hidden;
}

.top-filters-head {
  margin-right: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  font-size: 14px;
}


@media (max-width: 991px) {
    .top-filters-container {
        align-items: center;
        padding: 15px 15px;
    }

    .top-filters-list.swiper-wrapper {
        width: 100%;
    }

    .top-filters-head {
        padding-bottom: 10px;
        padding-left: 0;
        font-size: 18px;
    }
}

@media (min-width: 992px) {
  .top-filters-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 70px;
    padding: 0 15px;
  }

  .top-filters-head {
    padding-bottom: 0;
    padding-left: 0;
    font-size: 18px;
  }
}

@media (min-width: 1300px) {
  .top-filters-container {
    margin-left: 0;
}
}

.top-filters-item.swiper-slide {
 display: flex;
 align-items: center;
 justify-content: center;
 width: auto !important;
 height: 38px;
 margin: 0 5px;
 background: #fff;
 border: 1px solid #bebebe;
 border-radius: 10px;
}

.top-filters-item a {
 display: flex;
 align-items: center;
 height: 100%;
 padding: 0 15px;
 color: #5d5d5d;
}

.top-filters-item:hover,
.top-filters-item.active {
border: 1px solid #9c0;
}

.top-filters-list {
display: flex;
}

.ct-swiper-container {
 flex: 1;
 cursor: pointer;
}

/* Aside category description */

.ct-aside-text-containter {
  margin: 5px 8px 15px;
}

.ct-aside-title {
  color: #9c0;
  font-size: 1.8em;
  font-weight: 700;
}

.ct-aside-text-containter img {
  width: 100%;
  margin: 15px 0;
}

.ct-aside-content {
  margin: 10px 8px;
  color: #777;
  font-size: 13px;
  line-height: 1.5;
}

@media (min-width: 481px) and (max-width: 599px) {
  .ct-aside-text-containter img {
    width: 80%;
  }
}

@media (min-width: 600px) and (max-width: 991px) {
  .ct-aside-text-containter {
    margin: 0 0 15px;
  }

  .ct-aside-main {
    display: flex;
    margin-top: 5px;
  }

  .ct-aside-content:first-of-type {
    width: 50%;
    margin-right: 10px;
    margin-bottom: 0;
  }

  .ct-aside-text-containter img {
    margin: 5px 0 0;
  }

  .ct-aside-content:last-of-type {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .ct-aside-text-containter {
    margin: 50px 0 15px;
  }
}

@media (min-width: 1700px) {
  .ct-aside-title {
    font-size: 24px;
  }
}

.cat_desc :is(.h3:not(.inline-text), h3:not(.inline-text), .h2, h2) {
    font-size: 18px;
    line-height: 25px;
    margin-top: 15px;
    margin-bottom: 8px;
    letter-spacing: -1px;
    color: #99cc00;
}
.cat_desc .rte > :is(.h4, h4) {
    font-size: 1em;
}
.cat_desc ul {
    list-style-type: disc !important;
    list-style-position: inside;
}

.cat_desc ul::after,
.cat_desc :not(p) + ul::before,
.cat_desc ul:first-of-type li:not(:last-child)::after {
    display: block;
    height: 1em;
    content: '';
}

.cat_desc h3.inline-text::before {
    content: " ";
}

.cat_desc p :is(strong, b)::before {
    display: block;
    height: 100%;
}

/* Style to hide and show all description of category - BEGIN */
.rte {
    height: auto;
}

.roll-rte-wrapper {
    max-height: 195px !important;
    overflow: hidden;
    transition: max-height 0.4s ease-out 0.2s;
}

.cat_desc {
    position: relative;
}

.desc-bottom-blur::after {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 50px;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9) 100%);
    content: '';
}

.--active-full-desc {
    height: auto;
    max-height: 5000px !important;
    transition: max-height 0.4s ease-in !important;
}

.read-more-desc {
    position: relative;
    width: 100%;
    margin: 20px auto;
    color: #0066C0;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}

.--arrow-down::after,
.--arrow-up::after {
    position: absolute;
    top: 8px;
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    background-repeat: no-repeat;
    content: '';
}

.--arrow-down::after {
    background-image: url('../img/icon/blue-arrow-down.svg');
}

.--arrow-up::after {
    background-image: url('../img/icon/blue-arrow-up.svg');
}

/* Style to hide and show all description of category - END */
