body {
  direction: rtl;
  text-align: right;
  background-color: #f8f9fa;
}

.form-inline label {
  justify-content: right;
  margin-bottom: 3px;
  font-family: iranyekan-extrabold-fanumber;
  font-size: 14px;
  color: #3a3e5f;
}

.my-shadow {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.select2 {
  max-width: 100% !important;
  width: 100% !important;
}

.container-fluid {
  padding: 0px 10px;
}

.main-row {
  position: relative;
  top: 0px;
  padding: 0px 0px;
  background-color: white;
  border-radius: 5px;
  margin-bottom: 10px;
}

.form-control {
  height: 44px !important;
  font-size: 13.5px;
}

a:hover {
  text-decoration: none;
}

#back_title {
  position: relative;
  top: 0px;
  padding: 3px 0px;
}

#back_title span {
  font-size: 14px;
  color: #3a3e5f;
}

a {
  color: black !important;
}

.btn-filter {
  padding: 11px 17px;
  background: inherit;
  font-size: 14px;
  color: #089b66;
  border: 2px solid #089b66;
  border-radius: 5px;
  outline: 0;
}

.btn-filter:hover {
  background: #089b66;
  color: white;
  border: 2px solid #089b66;
  outline: 0;
}

#footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding: 5px 0px;
  height: auto;
}

#footer .container-fluid {
  position: relative;
  top: 5px;
}

.sliderId {
  width: 100%;
  margin: auto;
  text-align: center;
  position: relative;
}
.sliderId svg,
.sliderId input[type="range"] {
  position: absolute;
  left: 0;
  bottom: 0;
}
input[type="text"] {
  border: none;
  outline: 0;
  border-radius: 5px;
  text-align: center;
  font-size: 24px;
  -moz-appearance: textfield;
  text-align: end;
}
input[type="text"]::-webkit-outer-spin-button,
input[type="text"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="text"]:invalid,
input[type="text"]:out-of-range {
  border: 2px solid #e60023;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #1da1f2;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #1da1f2;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #1da1f2;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type="range"]::-webkit-slider-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #1da1f2;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #1da1f2;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}

input[type="range"]::-ms-thumb {
  z-index: 2;
  position: relative;
  box-shadus: 25px;
  background: #a1d0ff;
  cursor: pointer;
}

#title_bar span {
  position: relative;
  color: #616161;
  top: 10px;
}

.nav-link {
  background: white;
  color: #7a7a84 !important;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid #e4e3e3;
}

.nav-link.active {
  background: #e9ecff !important;
  color: #20269e !important;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid #b1b1e9;
  font-family: iranyekan-extrabold-fanumber;
}

.nav-item {
  width: 50%;
  text-align: center;
}

.mortgage_form,
.rental_form {
  text-align: start;
}

.mortgage_form span {
  font-size: 16px;
  color: #e10a24;
}

.rental_form span {
  font-size: 16px;
  color: #43c376;
}

.fade:not(.show) {
  opacity: 0;
  display: none;
}

.select2-search--dropdown {
  direction: rtl !important;
}

.select2-container .select2-selection--single {
  height: 43px;
  font-size: 13.5px;
  padding-top: 7px;
  border: 2px solid #b0b1b1 !important;
}

.select2-selection__rendered {
  padding-right: 10px;
}

.select2-selection__arrow {
  height: 33px;
  right: auto;
  left: 12px;
  top: 6px !important;
}

.select2-search__field {
  height: 42px;
  outline: 0;
  font-size: 14px;
}

#select2-selectarea-container {
  font-size: 13.5px;
}

.select2-container--open {
  font-size: 13.5px !important;
  line-height: 19px;
}

#mobile_header_row {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 9px 6px;
  padding-top: 15px;
  border-bottom: 1px solid #ebebeb;
}

.qs-line {
  color: #d90b0b;
}

.qs-count {
  font-size: 15px;
}

.city-line {
  color: #2a5185;
}

.city-count {
  font-size: 15px;
}

.mobile-filter-form-title {
  text-align: right;
  font-size: 13.5px;
  font-family: iranyekan-extrabold-fanumber;
  color: #2a5185;
}

.mobile-filter-city-label {
  justify-content: right !important;
  font-size: 13.5px;
}
.mobile-filter-city-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-left: 5px;
}

.mobile-filter-city-list {
  max-height: 210px;
  overflow: scroll;
  overflow-x: hidden;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  padding: 10px 10px;
  background: white;
}

.mobile-filter-city-list::-webkit-scrollbar {
  width: 5px;
  height: 2px;
  border-radius: 5px;
}

.mobile-filter-amount-box {
  border-radius: 5px;
}

.mobile-filter-amount-filter {
  border-radius: 7px;
  padding: 12px 10px;
}

#mobilesliderId input[type="text"].filter-price,
input[type="text"].filter-max-price {
  border: 1px solid #d9d9d9 !important;
  font-size: 18px;
  padding: 3px 5px;
}

.toggle-switch-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch-label input {
  display: none;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  transform: translateX(19px);
}

.sort-dropdown-btn {
  background: white !important;
  border: 1px solid #128765 !important;
  height: 40px !important;
  font-size: 14px !important;
  color: #128765 !important;
  border-radius: 5px !important;
  width: 135px;
}

.sort-dropdown-btn:hover {
  background: #fbfbfb !important;
  color: #128765 !important;
  border: 2px solid #6daeb0 !important;
}

.sort-dropdown-btn span {
  position: relative;
  top: 3px;
  display: block;
  max-width: 170px;
  font-size: 14px;
}

.sort-dropdown-option .sort-select,
.sort-dropdown-option .sort-select {
  font-size: 13.5px;
  color: #128765;
}

.sort-dropdown-option,
.sort-dropdown-option {
  padding: 7px 10px;
  border-radius: 6px;
}

.sort-dropdown-option:hover,
.sort-dropdown-option:hover {
  background: whitesmoke;
}

.mobile-filter-amount-btn,
.mobile-filter-search-btn,
.mobile-filter-amount-btn,
.mobile-filter-city-list-btn,
.desktop-filter-amount-btn,
.desktop-filter-search-btn,
.mobile-filter-city-list-btn {
  display: none;
}

#ajax_product_filter,
#ajax_mobile_product_filter {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  min-height: 250px;
  background: #f8f9fa;
}

@media (min-width: 365px) {
}

@media (min-width: 576px) {
  .main-row {
    padding: 0px 50px;
  }

  #form-group {
    width: 100%;
  }
}
body {
  direction: rtl;
  text-align: right;
  background-color: #f8f9fa;
}

.form-inline label {
  justify-content: right;
  margin-bottom: 3px;
  font-family: iranyekan-extrabold-fanumber;
  font-size: 14px;
  color: #3a3e5f;
}

.my-shadow {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.select2 {
  max-width: 100% !important;
  width: 100% !important;
}

.container-fluid {
  padding: 0px 10px;
}

.main-row {
  position: relative;
  top: 0px;
  padding: 0px 0px;
  background-color: white;
  border-radius: 5px;
  margin-bottom: 10px;
}

.form-control {
  height: 44px !important;
  font-size: 13.5px;
}

a:hover {
  text-decoration: none;
}

#back_title {
  position: relative;
  top: 0px;
  padding: 3px 0px;
}

#back_title span {
  font-size: 14px;
  color: #3a3e5f;
}

a {
  color: black !important;
}

.btn-filter {
  padding: 11px 17px;
  background: inherit;
  font-size: 14px;
  color: #089b66;
  border: 2px solid #089b66;
  border-radius: 5px;
  outline: 0;
}

.btn-filter:hover {
  background: #089b66;
  color: white;
  border: 2px solid #089b66;
  outline: 0;
}

#footer {
  position: fixed;
  bottom: 0px;
  width: 100%;
  padding: 5px 0px;
  height: auto;
}

#footer .container-fluid {
  position: relative;
  top: 5px;
}

.sliderId {
  width: 100%;
  margin: auto;
  text-align: center;
  position: relative;
}
.sliderId svg,
.sliderId input[type="range"] {
  position: absolute;
  left: 0;
  bottom: 0;
}
input[type="text"] {
  border: none;
  outline: 0;
  border-radius: 5px;
  text-align: center;
  font-size: 24px;
  -moz-appearance: textfield;
  text-align: end;
}
input[type="text"]::-webkit-outer-spin-button,
input[type="text"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type="text"]:invalid,
input[type="text"]:out-of-range {
  border: 2px solid #e60023;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
  background: #1da1f2;
}
input[type="range"]:focus::-ms-fill-lower {
  background: #1da1f2;
}
input[type="range"]:focus::-ms-fill-upper {
  background: #1da1f2;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type="range"]::-webkit-slider-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #1da1f2;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -7px;
}
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}
input[type="range"]::-moz-range-thumb {
  z-index: 2;
  position: relative;
  box-shadow: 0px 0px 0px #000;
  border: 1px solid #1da1f2;
  height: 18px;
  width: 18px;
  border-radius: 25px;
  background: #a1d0ff;
  cursor: pointer;
}
input[type="range"]::-ms-track {
  width: 100%;
  height: 5px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type="range"]::-ms-fill-lower,
input[type="range"]::-ms-fill-upper {
  background: #1da1f2;
  border-radius: 1px;
  box-shadow: none;
  border: 0;
}

input[type="range"]::-ms-thumb {
  z-index: 2;
  position: relative;
  box-shadus: 25px;
  background: #a1d0ff;
  cursor: pointer;
}

#title_bar span {
  position: relative;
  color: #616161;
  top: 10px;
}

.nav-link {
  background: white;
  color: #7a7a84 !important;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid #e4e3e3;
}

.nav-link.active {
  background: #e9ecff !important;
  color: #20269e !important;
  font-size: 13.5px;
  border-radius: 10px;
  border: 1px solid #b1b1e9;
  font-family: iranyekan-extrabold-fanumber;
}

.nav-item {
  width: 50%;
  text-align: center;
}

.mortgage_form,
.rental_form {
  text-align: start;
}

.mortgage_form span {
  font-size: 16px;
  color: #e10a24;
}

.rental_form span {
  font-size: 16px;
  color: #43c376;
}

.fade:not(.show) {
  opacity: 0;
  display: none;
}

.select2-search--dropdown {
  direction: rtl !important;
}

.select2-container .select2-selection--single {
  height: 43px;
  font-size: 13.5px;
  padding-top: 7px;
  border: 2px solid #b0b1b1 !important;
}

.select2-selection__rendered {
  padding-right: 10px;
}

.select2-selection__arrow {
  height: 33px;
  right: auto;
  left: 12px;
  top: 6px !important;
}

.select2-search__field {
  height: 42px;
  outline: 0;
  font-size: 14px;
}

#select2-selectarea-container {
  font-size: 13.5px;
}

.select2-container--open {
  font-size: 13.5px !important;
  line-height: 19px;
}

#mobile_header_row {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 9px 6px;
  padding-top: 15px;
  border-bottom: 1px solid #ebebeb;
}

.qs-line {
  color: #d90b0b;
}

.qs-count {
  font-size: 15px;
}

.city-line {
  color: #2a5185;
}

.city-count {
  font-size: 15px;
}

.mobile-filter-form-title {
  text-align: right;
  font-size: 13.5px;
  font-family: iranyekan-extrabold-fanumber;
  color: #2a5185;
}

.mobile-filter-city-label {
  justify-content: right !important;
  font-size: 13.5px;
}
.mobile-filter-city-label input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin-left: 5px;
}

.mobile-filter-city-list {
  max-height: 210px;
  overflow: scroll;
  overflow-x: hidden;
  border: 1px solid #b7b7b7;
  border-radius: 5px;
  padding: 10px 10px;
  background: white;
}

.mobile-filter-city-list::-webkit-scrollbar {
  width: 5px;
  height: 2px;
  border-radius: 5px;
}

.mobile-filter-amount-box {
  border-radius: 5px;
}

.mobile-filter-amount-filter {
  border-radius: 7px;
  padding: 12px 10px;
}

#mobilesliderId input[type="text"].filter-price,
input[type="text"].filter-max-price {
  border: 1px solid #d9d9d9 !important;
  font-size: 18px;
  padding: 3px 5px;
}

.toggle-switch-label {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch-label input {
  display: none;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 2px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  transform: translateX(19px);
}

.sort-dropdown-btn {
  background: white !important;
  border: 1px solid #128765 !important;
  height: 40px !important;
  font-size: 14px !important;
  color: #128765 !important;
  border-radius: 5px !important;
  width: 135px;
}

.sort-dropdown-btn:hover {
  background: #fbfbfb !important;
  color: #128765 !important;
  border: 2px solid #6daeb0 !important;
}

.sort-dropdown-btn span {
  position: relative;
  top: 3px;
  display: block;
  max-width: 170px;
  font-size: 14px;
}

.sort-dropdown-option .sort-select,
.sort-dropdown-option .sort-select {
  font-size: 13.5px;
  color: #128765;
}

.sort-dropdown-option,
.sort-dropdown-option {
  padding: 7px 10px;
  border-radius: 6px;
}

.sort-dropdown-option:hover,
.sort-dropdown-option:hover {
  background: whitesmoke;
}

.mobile-filter-amount-btn,
.mobile-filter-search-btn,
.mobile-filter-amount-btn,
.mobile-filter-city-list-btn,
.desktop-filter-amount-btn,
.desktop-filter-search-btn,
.mobile-filter-city-list-btn {
  display: none;
}

#ajax_product_filter,
#ajax_mobile_product_filter {
  border: 1px solid #d7d7d7;
  border-radius: 8px;
  min-height: 250px;
  background: #f8f9fa;
}

@media (min-width: 365px) {
}

@media (min-width: 576px) {
  .main-row {
    padding: 0px 50px;
  }

  #form-group {
    width: 100%;
  }
}
