﻿.FilterBody .check-moding {
  max-height: 30rem;
  overflow-y: auto;
}

.ShopFilter {


}

.ShopFilter .FilterBody {
  .bootstrap-tagsinput {
    border: none;
    box-shadow: none;

    .tag {
     
    }
  }

}

/**********************OnlyActiveAndDiscounted************************/
.only-active-check-label::after,
.only-dis-check-label::after {
  content: '';
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  transition: all .2s;
  border-radius: 50%;
  background: var(--White);
  top: 0.2rem;
  left: 0.1rem;
}

.only-active-check-label::before,
.only-dis-check-label::before {
  content: '';
  position: absolute;
  left: -0.3rem;
  top: 0;
  border-radius: calc(var(--b-radius) * 4);
  transition: background-color .2s;
  width: 3.5rem;
  height: 1.8rem;
  background: var(--text-light-1);
  display: inline-block;
  transition: all 0.4s;
  -webkit-border-radius: calc(var(--b-radius) * 4);
  -moz-border-radius: calc(var(--b-radius) * 4);
  -ms-border-radius: calc(var(--b-radius) * 4);
  -o-border-radius: calc(var(--b-radius) * 4);
}

.only-active-check:checked+label::after,
.only-dis-check:checked+label::after {
  left: 1.5rem;
  border: 0.1em solid var(--accent-color);
}

.only-active-check:checked+label::before,
.only-dis-check:checked+label::before {
  background-color: var(--button-color);
}



.productstabinfo .SideBar.active {
  right: 0
}

.productstabinfo :where(select, input) {
  border-color: transparent;

}

.pagination {
  list-style: none;
}

.pagination .page-item {
  display: flex;

  border-radius: 0.35rem;
  border: 0.1rem solid var(--Mgrey);
  padding: 0.2rem 0.7rem;

}

.pagination .page-item:hover {
  background: var(--accent-color);

}

.pagination .page-item:hover .page-link {
  color: var(--White) !important;
}

.pagination .page-item .page-link {
  color: var(--Silver)
}

.pagination .page-item.active {
  background: var(--accent-color);
  border: 0.1rem solid var(--accent-color);
}

.pagination .page-item.active .page-link {
  color: var(--White);
}


.SeoDescription {
  max-height: 30rem;
}

.check-moding select {
  width: 100%;
}

@media(min-width:768px) {
  .p-lg-relative {
    position: relative;
  }
}

@media screen and (min-width:960px) {
  .col-lg-25 {
    flex: 0 0 auto;
    width: 20%;
  }
}

.ShopFilter ul.fancytree-container {
  background: unset;
  border: none;
  display: flex;
  flex-direction: column;
}

.irs--round .irs-bar {
  background: var(--accent-color);
}

.irs--round .irs-handle {
  border: 0.5em solid var(--White);
  background: var(--accent-color);
  cursor: pointer;
}

.irs--round .irs-handle:hover {
  border: 0.5em solid var(--White);
  background: var(--accent-color);
}

.Price .offer {
  background: #ED384E;
  line-height: 1.5;
  border-radius: calc(var(--b-radius)*3);
  padding: 0 0.7rem;
}

.h-50 {
  height: 50%;
}

/* .ShopFilter .FilterHead strong:before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  left: 0.5rem;
  top: 1.5rem;
  transform: rotate(45deg);
  border: 0.1em solid var(--accent-color);
  border-top: none;
  border-right: none;
} */



.ui-fancytree .fancytree-icon {
  display: none;
}

.BoxProductList .pagination {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  gap: 0.2rem;
  justify-content: end !important;
}

@media(max-width:768px) {
  .productstabinfo .SideBar {
    top: 4rem;
    right: -100%;
    background: var(--White);
    height: 100vh;
    transition: all ease-in-out 0.4s;
    display: block;
    padding: 0;
    z-index: 22;
  }

  .productstabinfo .SideBar.active {
    right: 0
  }

  .productstabinfo .SideBar:after {
    content: '';
    position: fixed;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    display: block;
    right: 0;
    top: 0;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: all ease-in-out 0.5s;
    visibility: hidden;
  }

  .productstabinfo .SideBar.active:after {
    opacity: 1;
    visibility: visible;
  }

  .productstabinfo .SideBar #listfilters {
    padding-top: 10vh;
    position: relative;
    z-index: 22222222;
    background: var(--White);
    padding: 10vh 0.5rem;
    height: 100vh;
    width: 100%;
    overflow: auto;
  }

  .CloseFilter-BTN {
    left: -3rem;
    top: 15vh;
    writing-mode: vertical-rl;
    border-radius: 0.5rem 0 0 0.5rem;
  }

  .BoxProductList .pagination {

    justify-content: start !important;
    flex-wrap: wrap;
  }
}

.ItemInnerProduct {
  border-radius: calc(var(--b-radius)*2);

  .ItemImg {

    img {
      border-radius: var(--b-radius);
      margin-top: -4.5rem;
    }
  }

}

.SideBarListProduct {
  .ShopFilter {
    border-radius:calc(var(--b-radius)*2);
  }

  .HeaderCategory {
    border-bottom: 0.15rem solid var(--Dgrey);
    border-radius: var(--b-radius);
  }

  .FilterHead {
    svg {
      width: 1.5rem;
      height: 1.5rem;
    }
  }

  #ft-id-1 {
    padding: 0 !important;

    &>li {
      border-bottom: 0.1rem solid var(--Dgrey);
    }

    ul {

      li {
        font-weight: 400;
        border: unset;
      }
    }

    .fancytree-plain span.fancytree-title {
      border: unset;
    }

    .fancytree-plain span.fancytree-node:hover span.fancytree-title {
      border-color: unset !important;
      background-color: unset !important;
    }

  }

  .fancytree-has-children {
    .fancytree-expander {
      background-image: url("/Portals/0/expand.svg") !important;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: contain;
      margin-top: 0.6rem;
    }

  }

  .fancytree-has-children.fancytree-exp-cd .fancytree-expander:hover {

    background-position: unset;
  }

  .fancytree-exp-c span.fancytree-expander:hover {
    background-position: unset;
  }

  .fancytree-node {
    position: relative;

    .fancytree-expander {
      position: absolute;
      left: 0;
    }
  }

  .fancytree-has-children.fancytree-ico-ef .fancytree-expander {
    background-image: url("/Portals/0/expand.svg") !important;
    background-position: center center;
    transform: rotate(180deg);


  }

  #factories {}

  /* width */
  #factories::-webkit-scrollbar {
    width: 0.15rem;
  }

  /* Track */
  #factories::-webkit-scrollbar-track {
    background: var(--Dgrey);
  }

  /* Handle */
  #factories::-webkit-scrollbar-thumb {
    background: var(--Hcolor);
  }

  /* Handle on hover */
  #factories::-webkit-scrollbar-thumb:hover {
    background: var(--Hcolor);
  }
}

.BoxDesc {
  height: 60vh;
  overflow: auto;
  direction: ltr;

}

.TextBox::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  background-color: var(--Cdefault);
  border-radius: 100%;
}

.ContentsCategoriesList {
  border-radius: var(--b-radius);
}

.BtnOpen {
  opacity: 0;
  z-index: -1;
}

.BtnOpen.active {
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 999;
  opacity: 1;
}

.BoxDscCategory {
  border: 0.1rem solid var(--Dgrey);
  border-radius: var(--b-radius);
}

.InnerBoxDesc::-webkit-scrollbar {
  width: 0.15rem;
}

/* Track */
.InnerBoxDesc::-webkit-scrollbar-track {
  background: var(--Dgrey);
}

/* Handle */
.InnerBoxDesc::-webkit-scrollbar-thumb {
  background: var(--Hcolor);
}

/* Handle on hover */
.InnerBoxDesc::-webkit-scrollbar-thumb:hover {
  background: var(--Hcolor);
}

.BtnOpen.active {
  opacity: 1;
}

.BtnClose {
  opacity: 0;
}

.BtnClose.active {
  opacity: 1;
  z-index: 99999;
}

.page-breadcrumbs .breadcrumbs {
  overflow-x: auto;
  white-space: nowrap;
  padding: 1rem 0;
}

.ContentsCategoriesList.active {
  height: auto;
  opacity: 1;
  padding-top: 2rem;
}

.ListCatSidebar {
  border-radius: var(--b-radius);
}

.Filter-BTN {
  border-radius: 2rem;

  svg {
    fill: var(--White);
  }
}

.Berand-Filter {
  .checkbox {
    border-bottom: 0.1rem solid var(--Dgrey)
  }
}

.ItemPriceProduct {
  border-radius: calc(var(--b-radius)*2);
}

.ItemDescProduct {
  svg {
    width: 1.42rem;
    height: 1.42rem;
  }
}
.title-list-course{
  border-right: 0.15rem solid var(--accent-color);
}
.ItemSortProducts{
  border-radius: calc(var(--b-radius)*4);
  svg{
    width:1.71rem;
    height:1.71rem;
  }
  select{
    color:var(--default-color);
    border: unset !important;
    outline: unset !important;
  }
}