@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;700&display=swap");

::-webkit-scrollbar {
  width: 5px;
  height: 10px;
  border-radius: 10px;
  background-color: #f7f7f7 !important;
}

::-webkit-scrollbar-thumb {
  background: #2014c9;
  border-radius: 10px;
}

::-webkit-scrollbar-track-piece {
  width: 5px;
  border-radius: 10px;
  background-color: #f7f7f7;
}

/* nav section */
ul {
  list-style-type: none;
}

hr {
  width: 50%;
  display: flex;
}
main {
  margin: 100px 0;
}
/* side-filter-nav */

.filter-nav {
  width: 100%;
  margin: 0px auto;
  border-radius: 10px;
  box-shadow: 0px 0px 5px black;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-nav .filter {
  display: flex;
  margin: 10px;
  width: 50%;
  overflow-x: scroll;
}

.title-filter {
  text-align: center;
}

.contentt {
  box-shadow: 0px 0px 8px gray;
  margin-right: 0px;
  margin-top: 50px;
  display: flex;
  position: absolute;
  height: 500px;
  flex-direction: column;
  width: 300px;
  padding: 20px;
  border-radius: 10px 0px 0px 10px;
  z-index: 5 !important;

  animation: animatetop 0.5s;
}

.contentt .filter-list {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: space-around;
  border-bottom: 1px solid red;
}

.contentt .filter-list li {
  cursor: pointer;
}

.contentt .top-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contentt .top-section span {
  font-size: 17px;
}

.contentt .top-section i {
  font-size: 17px;
  color: red;
  cursor: pointer;
}

.filter-container .call-filter {
  display: flex;
  align-items: center;
  /* position: absolute; */
  width: 50px;
  height: 50px;
  justify-content: center;
  margin-top: 50px;
  padding: 20px;
  background-color: #2014c9;
  border-radius: 10px 0px 0px 10px;
  z-index: -1 !important;
  cursor: pointer;
}

.filter-container .call-filter i {
  padding: 20px;
}

@keyframes animatetop {
  from {
    margin-top: -300px;
    opacity: 0;
  }
  to {
    margin-top: 100px;
    opacity: 1;
  }
}
/* side-filter-nav end*/

/* selector section */

.selector {
  border: 1px solid black;
  margin-bottom: 80px;
  border-radius: 20px;
  width: 300px;
  height: 30px;
  overflow: hidden;
  display: flex;
  width: 50%;
}

.selector button {
  height: 100%;
  width: 50%;
  border: none;
}

.acctive {
  background: rgb(4, 0, 255) !important;
  color: rgb(255, 255, 255);
  cursor: pointer;
}

.none {
  display: none;
}

.block {
  display: block;
}
main.container{
  height: auto;
}

/* classes  section*/

/* .classes {
  width: 45%;
}
.class-item {
  border-radius: 20px;
  border: 1px solid black;
  margin: 0px auto;
  margin-top: 10px;
  padding: 10px;
}

.class-item .section-one {
  position: relative;
}

.class-item .section-one img {
  border-radius: 10px;
  margin: 15px;
}

.class-item .section-one h3 {
  display: inline-block;
}

.class-item .section-one .span {
  display: block !important;
}

.class-item .section-two {
  position: relative;
}
.class-item .section-two button {
  border: 1px solid black;
  background: white;
  border-radius: 10px;
  padding: auto;
  color: black;
  position: absolute;
  left: 5px;
  bottom: 5px;
  transition: all 0.5s;
}
.class-item .section-two button:hover {
  background: rgb(4, 0, 255);
  font-weight: bold;
  color: white;
}

.classes .class-item .section-one .info {
  position: absolute;
  top: 20px;
  right: 300px;
}

.class-item .section-one .manaiger {
  font-weight: bold;
  color: rgb(4, 0, 255);
  position: absolute;
  bottom: 10px;
} */

/* institute  section*/
.institute-container,
.class-container {
  width: 100%;
  justify-content: space-between;
}

.institute,
.class {
  width: 45%;
  margin: 0px;
}
.institute-item,
.class-item {
  border-radius: 20px;
  border: 1px solid black;
  margin: 0px auto;
  margin-top: 10px;
  padding: 10px;
  margin: 12px;
  margin-top: 20px;
}

.institute-item .section-one,
.class-item .section-one {
  position: relative;
}

.institute-item .section-one img,
.class-item .section-one img {
  border-radius: 10px;
  margin: 15px;
}

.institute-item .section-one h3,
.class-item .section-one h3 {
  display: inline-block;
}

.institute-item .section-one .span,
.class-item .section-one .span {
  display: block !important;
}

.info {
  display: flex;
  flex-direction: column;
}

.institute-item .section-one button,
.class-item .section-one button {
  border: 1px solid black;
  background: white;
  border-radius: 10px;
  margin: 20px 0;
  color: black;
  transition: all 0.5s;
}
.link-button-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.institute-item .section-one button:hover,
.class-item .section-one button:hover {
  background: rgb(4, 0, 255);
  font-weight: bold;
  color: white;
}
.institute .section-one,
.class .section-one {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.institute-item .section-one .manaiger,
.class-item .section-one .manaiger {
  font-weight: bold;
  color: rgb(4, 0, 255);
}
.categotiy-bar {
  display: none;
}
.main-content {
  display: flex;
  justify-content: center !important;
  align-items: center !important;
}
.sort {
  margin-left: 7rem;
}
main {
  margin-top: 9rem;
  height: 100%;
} 
.class-container a{
  width:45%;

}


/* --------------------------filter-start--------------------- */
.main-content {
  width: 100%;
  height: auto;
}

.filter-box {
  padding: 10px;
  border-radius: 8px;
  background-color: #f0e9e9a8;
  transition: all 0.1s;
  margin-bottom: 1rem;
  width: 100%;
}

.section-title {
  position: relative;
  margin-bottom: 20px;
  z-index: 0;
  margin-bottom: 0.25rem !important;
}
.section-title h2 {
  color: #6f7479;
  line-height: 33px;
  font-size: 25px;
  height: 33px;
  position: relative;
  z-index: 10;
  display: inline-block;
  padding-right: 40px;
  padding-left: 10px;
  font-weight: 700;
}
.section-title h2::before {
  content: "";
  background: url(../img/title-circles.png) left no-repeat;
  display: block;
  position: absolute;
  right: -20px;
  top: 11px;
  height: 14px;
  width: 32px;
  margin-right: 13px;
  height: 14px;
  width: 32px;
}
.widget-search {
  position: relative;
}
.widget-search input {
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding-right: 7px;
  font-size: 13px;
  background-color: #fafdfb;
  border: 1px solid #f3f3f3;
  border-radius: 7px;
  outline: none;
}
.widget-search input::placeholder {
  font-size: 12px;
}
.widget-search button.btn-search-widget {
  position: absolute;
  left: 0;
  width: 35px;
  height: 40px;
  background-color: #2014c9;
  border: 0;
  border-radius: 7px 0 0 7px;
  outline: none;
}
.widget-search button.btn-search-widget img {
  max-width: 100%;
}

/*---------------------------filter Product Start-------------------------*/
.fliter-order{
  display: flex;
  justify-content: center;
  align-items: start;
}
.filter-product {
  margin-bottom: 1rem;
}
.fa-arrow-down {
  font-size: 20px !important;
}
.btn {
  font-size: 21px !important;
}
.filter-product .card {
  border-radius: 10px;
  border: 1px solid #f3f3f3;
}
.filter-product .card .card-header {
  background-color: #fff;
}
.filter-product .card .card-header h2 {
  margin-bottom: 0;
}
.filter-product .card .card-header button {
  font-size: 14px;
  box-shadow: none;
  
}
.filter-product .card .card-header button:hover{
    color:gray;
}

.filter-product .card .card-header button i {
  position: absolute;
  left: 10px;
  top: 15px;
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: #edf0f5;
  border-radius: 50%;
  font-size: 25px;
  padding-top: 9px;
  text-align: center;
  color: #2014c9;
  transition: 0.2s ease-in-out;
}
.filter-product .card .card-header button[aria-expanded="true"] i {
  transform: rotate(180deg);
}
.custom-control-label {
  padding-right: 30px;
  padding-top: 2px;
  cursor: pointer;
}
.custom-control-label::after,
.custom-control-label::before {
  right: 0;
  left: auto;
}

.filter-product .card .card-body .filter-color {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  vertical-align: top;
  margin-top: 7px;
  margin-left: 6px;
  border: 1px solid #f2f2f2;
  position: absolute;
  left: 0;
}

/*-----------------------filter Product End-------------------------*/

/*---------------------------noUi Start-------------------------*/
.noUi-horizontal {
  height: 3px;
}
.noUi-target {
  border: 0;
  border-radius: 0;
  background-color: #e7e7e7;
}
.noUi-connect {
  background: #f7858d !important;
}
.noUi-horizontal .noUi-handle {
  top: -6px;
  left: -0.375rem;
  width: 15px;
  height: 15px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}
.noUi-horizontal .noUi-handle.noUi-handle-lower,
.noUi-horizontal .noUi-handle.noUi-handle-upper {
  background-color: #f7858d;
}
.noUi-handle:after,
.noUi-handle:before {
  display: none;
}
/*---------------------------noUi End-------------------------*/

/*---------------------------Switcher Start-------------------------*/
.parent-switcher {
  position: relative;
}
.parent-switcher .ui-statusswitcher {
  position: absolute;
  right: 0;
  top: 0;
}
.parent-switcher .ui-statusswitcher input[type="checkbox"] {
  visibility: hidden;
  position: absolute;
}
.parent-switcher .ui-statusswitcher-slider {
  display: inline-block;
  position: relative;
  cursor: pointer;
  width: 40px;
  height: 21px;
  border-radius: 29px;
  border: 1px solid #8c8c8c;
  background: #e5e5e5;
  transition: 0.15s ease-in;
}
.parent-switcher .ui-statusswitcher-slider-toggle {
  display: block;
  width: 15px;
  height: 15px;
  background-color: #fff;
  border: 1px solid #959595;
  transition: all 0.4s ease;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  right: 2px;
}
.parent-switcher input[type="checkbox"]:checked + .ui-statusswitcher-slider {
  background-color: #f7858d;
  border-color: #f7858d;
}
.parent-switcher
  input[type="checkbox"]:checked
  + .ui-statusswitcher-slider
  span {
  right: 21px;
}
.parent-switcher .label-switcher {
  margin-right: 50px;
  margin-bottom: 5px;
  cursor: pointer;
}
/*---------------------------Switcher End-------------------------*/

/*---------------------------Btn Start-------------------------*/
.btn-block {
  display: block;
  width: 100%;
}
.btn-info {
  box-shadow: 0 2px 6px #82d3f8;
  background-color: #3abaf4;
  border-color: #3abaf4;
  color: #fff;
}
/*---------------------------Btn End-------------------------*/

/* -----------------------------filter-end----------------------- */

@media screen and (max-width: 767.98px) {
  .filter-nav {
    flex-direction: column;
    box-shadow: none;
    padding: 0;
  }
  .selector {
    width: 100%;
    margin: 20px 0;
  }
  .class-container a{
    width: 100%;
  }
  .filter {
    display: none !important;
  }
  .my-container {
    margin: 0 20px;
  }
  .categotiy-bar {
    display: block;
    order: 1;
    margin: 30px 0;
  }
  .blog-sidebar {
    margin: 0;
  }
  .institute,
  .class {
    width: 100%;
  }
  br {
    display: none;
  }
  .info span:nth-child(2) {
    display: block;
  }
  .institute-item .section-one,
  .class-item .section-one {
    display: flex;
    flex-direction: column;
  }
  .section-one img {
    margin: 0 !important;
    margin-bottom: 20px !important;
  }
  .fliter-order{
    order: -1;
  }
}
@media screen and (max-width: 992px) and (min-width: 768px) {
  .filter-nav {
    flex-direction: column;
    box-shadow: none;
    padding: 0;
  }
  .selector {
    width: 75%;
    margin: 20px 0;
  }
  .filter {
    display: none !important;
  }
  .my-container {
    margin: 0 20px;
  }
  .categotiy-bar {
    display: block;
    order: 1;
    margin: 30px 0;
  }
  .blog-sidebar {
    margin: 0;
  }
  .institute-container,
  .class-container {
    justify-content: center;
  }
  .class-container a{
    width: 60%;
  }
  .institute,
  .class {
    width: 70%;
  }
  .section-one {
    justify-content: space-between !important;
  }
  br {
    display: none;
  }
  .info span:nth-child(2) {
    display: block;
  }
  .section-one img {
    margin: 0 !important;
  }
  .fliter-order{
    order: -1;
  }
}














