/***************************************
          FILTER TYPES SECTION
****************************************/
.all_deals_section {
  padding: 50px 0px;
}

.filter_heading h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 25px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.16;
  letter-spacing: normal;
  color: #2d2d2d;
}

.filter_heading {
  margin-bottom: 21px;
}

.clear_all_filter a {
  width: 79px;
  height: 30px;
  border-radius: 3px;
  border: solid 1px #f10a0a;
  font-family: Lato;
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.42;
  letter-spacing: normal;
  color: #f10a0a;
  transition: all .5s ease;
  z-index: 2;
  position: relative;
}

.clear_all_filter i {
  font-size: 16px;
  line-height: 1.44;
  margin-right: 5px;
}

.clear_all_filter {
  position: relative;
  overflow: hidden;
}

.clear_effect {
  width: 79px;
  height: 30px;
  left: -140px;
  top: -50px;
  background: #f10a0a;
  position: absolute;
  transition: all .5s ease;
  z-index: 1;
  border-radius: 3px;
}

.clear_all_filter:hover .clear_effect {
  left: 0;
  top: 0;
}

.clear_all_filter:hover a {
  color: #fff;
}

.filter_types {
  padding: 32px 0px;
  background-color: #fcfcfc;
}

.filter_types .card-link {
  width: 100%;
  background-color: #fcfcfc;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: left;
  color: #2d2d2d;
  cursor: pointer;
  padding: 0px 0px 24px 0px;
}

.rtl .filter_types .card-link {
  width: 100%;
  background-color: #fcfcfc;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  text-align: right;
  color: #2d2d2d;
  cursor: pointer;
  padding: 0px 0px 24px 0px;
}

.filter_types .card {
  border: 0;
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 28px;
  border-radius: 0;
  background-color: #fcfcfc;
  margin: 0px 30px 28px 30px;
}

.filter_types .card-link.collapsed {
  padding-bottom: 0px;
}

.filter_types .card:last-child {
  border-bottom: none;
}

.filter_types .card-header {
  padding: 0;
  border: none;
  background-color: transparent;
}

.filter_types .card-link.collapsed:after {
  content: '\002B';
  font-family: Material-Design-Iconic-Font;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  color: #2d2d2d;
  float: right;
  margin-left: 5px;
}

.filter_types .card-link:after {
  content: "\2212";
  font-family: Material-Design-Iconic-Font;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  color: #2d2d2d;
  float: right;
  margin-left: 5px;

}

.rtl .filter_types .card-link:after {
  content: "\2212";
  font-family: Material-Design-Iconic-Font;
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  color: #2d2d2d;
  float: left;
  margin-left: 5px;

}

.card:focus, .card-header:focus, button:focus {
  outline: none;
}

.filter_types .card-body {
  padding: 0px 0px 0px 12px;
  background-color: #fcfcfc;
}

.filter_types .card-body label {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #707070;
  line-height: 1;
}

.filter_types .card-body input[type='checkbox'] + label > span {
  margin-right: 15px;
  width: 13px;
  height: 13px;
  background: transparent;
  border: solid 1px #707070;
  border-radius: 2px;
  cursor: pointer;
  transition: all 250ms cubic-bezier(.4, .0, .23, 1);
  position: relative;
}

.rtl .filter_types .card-body input[type='checkbox'] + label > span {
  margin-right: unset;
  margin-left: 15px;

}

.filter_types .card-body input[type='checkbox']:checked + label > span {
  border: 0.4em solid #707070;
  animation: shrink-bounce 200ms cubic-bezier(.4, .0, .23, 1);
  background-color: #707070;
}

.filter_types .card-body input[type='checkbox'] + label {
  position: relative;
  display: flex;
  align-items: center;
  transition: color 250ms cubic-bezier(.4, .0, .23, 1);
  cursor: pointer;
}

.filter_types .card-body input[type='checkbox']:checked + label > span:before {
  content: "";
  position: absolute;
  top: 0.09em;
  left: -0.20em;
  margin: 0 auto;
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  transform: rotate(45deg);
  transform-origin: 0% 100%;
  animation: checkbox-check 125ms 250ms cubic-bezier(.4, .0, .23, 1) forwards;
}

.filter_types .card-body input[type='checkbox'] {
  height: 0;
  width: 0;
  display: none;
}

@keyframes shrink-bounce {
  0% {
    transform: scale(1);
  }
  33% {
    transform: scale(.85);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes checkbox-check {
  0% {
    width: 0;
    height: 0;
    border-color: #fff;
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  33% {
    width: .2em;
    height: 0;
    transform: translate3d(0, 0, 0) rotate(45deg);
  }
  100% {
    width: .2em;
    height: .5em;
    border-color: #fff;
    transform: translate3d(0, -.5em, 0) rotate(45deg);
  }
}

#more_company, #more_location, #more_mbl_company, #more_mbl_location, #more_category, #more_location, #more_mbl_category, #more_mbl_location {
  display: none;
}

#view_all_companies, #view_all_locations, #view_all_mbl_companies, #view_all_mbl_locations, #view_all_categories, #view_all_location, #view_all_mbl_categories, #view_all_mbl_location {
  font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: var(--primary-color);
  font-size: 12px;
  cursor: pointer;
  background-color: #fcfcfc;
  border: none;
  padding: 0;
}

#view_all_companies:before, #view_all_locations:before, #view_all_mbl_companies:before, #view_all_mbl_locations:before, #view_all_categories:before, #view_all_location:before, #view_all_mbl_categories:before, #view_all_mbl_location:before {
  content: '\002B';
  font-family: Material-Design-Iconic-Font;
  font-size: 13px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: normal;
  color: var(--primary-color);
  margin-right: 5px;
}

/***************************************
      SORT AND ALL DEALS SECTION
****************************************/
.sort_box p {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.38;
  letter-spacing: normal;
  color: #707070;
}

.sort_box .input-group-text {
  background-color: transparent;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.64;
  letter-spacing: normal;
  color: #7e7e7e;
  padding: 0;
}

.sort_box .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.21;
  letter-spacing: normal;
  text-align: left;
  color: #232323;
}


.rtl .sort_box .select2-container--default .select2-selection--single .select2-selection__rendered {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.21;
  letter-spacing: normal;
  text-align: right !important;
  color: #232323;
}

.sort_box .input-group {
  width: auto;
  height: 42px;
  border-radius: 3px;
  border: solid 1px #b3b3b3;
  flex-wrap: inherit;
  padding: 12px;
  display: flex;
}

.sort_box .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 17px;
  position: absolute;
  top: 0;
  right: 1px;
  width: 20px;
}

.select2-container--default .select2-selection--single:focus {
  outline: none !important;
}

.card.single_deal_box {
  border-radius: 10px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.2s linear;
  margin-bottom: 30px;
}

.all_deals_services i {
  font-size: 15px;
  padding-right: 2px;
  color: #ffcc00;
}

.single_deal_box .card-image span {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16);
  background-color: #f10a0a;
  font-size: 12px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #fff;
  padding: 5px 13px;
  font-family: arial;
  /* -webkit-animation: glowing 1500ms infinite;
  -moz-animation: glowing 1500ms infinite;
  -o-animation: glowing 1500ms infinite;
  animation: glowing 1500ms infinite; */
}

@-webkit-keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #f10a0a;
  }
  100% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
}

@-moz-keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #f10a0a;
  }
  100% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
}

@-o-keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #f10a0a;
  }
  100% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
}

@keyframes glowing {
  0% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
  50% {
    -webkit-box-shadow: 0 0 20px #f10a0a;
  }
  100% {
    -webkit-box-shadow: 0 0 3px #f10a0a;
  }
}

.single_deal_box:hover .card-image img {
  -webkit-transform: scale(1.1, 1.1);
  -moz-transform: scale(1.1, 1.1);
  -o-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
  transition: all 0.2s linear;
}

.card-image {
  overflow: hidden;
  height: 230px;
  border-radius: 10px;
}

.card-image img {
  transition: all 0.2s linear;
  max-height: 100%;
  height: 230px;
  object-fit: cover;
}

.single_deal_box .card-body {
  padding: 27px 30px !important;
}

.single_deal_box .card-title {
  font-size: 18px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.56;
  letter-spacing: 0.36px;
  text-align: start;
  color: #232323;
  margin-bottom: 11px !important;
  min-height: 56px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single_deal_box .card-text .deal_card_current_price {
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.75;
  letter-spacing: normal;
  color: #e92424;
  font-family: arial;
}

.single_deal_box .card-text .deal_card_old_price {
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 2.33;
  letter-spacing: normal;
  color: #989898;
  padding: 0px 9.5px;
  text-decoration: line-through;
  font-family: arial;
}

.single_deal_box .card-text .deal_card_name {
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  color: #2d2d2d;
  padding: 0px 9.5px;
}

.single_deal_box .card-text .deal_card_location {
  font-size: 13px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  text-align: left;
  color: #2d2d2d;
  padding: 0px 9.5px;
}
.single_deal_box .card-text .deal_card_branch {
  font-size: 13px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 2;
  letter-spacing: normal;
  text-align: left;
  /*color: #2d2d2d;*/

  padding: 0px 9.5px;

  border: 1px solid red;
  border-radius: 50px ;
  background: red;
  color: white;

  white-space: nowrap;
}

.single_deal_box .card-text {
  font-size: 12px;
  color: #989898;
}

.single_deal_box .card-body a {
  border-radius: 5px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16);
  background-color: var(--secondary-color);
  padding: 8px 0px;
  font-size: 13px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  color: #fff;
  margin-top: 18px !important;
  transition: 1s ease;
}

.single_deal_box .card-body a:hover {
  opacity: 0.9;
  transition: 1s ease;
}

/* .single_deal_box .card-body a:hover{
    background-color: var(--primary-color);
    transition:1s ease;
} */
.deals_pagination i {
  font-size: 20px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: normal;
  text-align: center;
  color: #2d2d2d;
}

.deals_pagination .page-item .page-link {
  width: 26px;
  height: 26px;
  font-size: 13px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.92;
  letter-spacing: normal;
  text-align: center;
  color: #2d2d2d;
  border-radius: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px #707070;
}

.deals_pagination .page-item .page-link:focus {
  box-shadow: none;
}

.deals_pagination .page-item.active .page-link {
  background-color: #2d2d2d;
  color: #fff;
  border-color: #2d2d2d;
}

.deals_pagination .page-item {
  margin: 0px 7.5px;
}

.deals_pagination .page-item:nth-child(1) .page-link:hover, .deals_pagination .page-item:nth-child(7) .page-link:hover {
  background-color: transparent;
}

.card-buy-deal {
  background-color: #232323 !important;
}

.footer_mobile_filter {
  position: fixed;
  bottom: 0px;
  background-color: var(--primary-color);
  font-family: 'Quicksand', sans-serif;
  font-size: 21px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.16;
  letter-spacing: normal;
  color: #fff;
  z-index: 1;
}

html.modal-active, body.modal-active {
  overflow: hidden;
}

#modal-container {
  position: fixed;
  display: table;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  transform: scale(0);
  z-index: 9;
}

#modal-container.filter_modal {
  transform: scaleY(0.01) scaleX(0);
  animation: unfoldIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container.filter_modal .modal-background .modal {
  transform: scale(0);
  animation: zoomIn 0.5s 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container.filter_modal.out {
  transform: scale(1);
  animation: unfoldOut 1s 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container.filter_modal.out .modal-background .modal {
  animation: zoomOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

#modal-container .modal-background {
  display: table-cell;
  background: rgba(0, 0, 0, 0.8);
  text-align: center;
  vertical-align: middle;
}

#modal-container .modal-background .modal {
  background: white;
  padding: 30px;
  display: block;
  border-radius: 3px;
  position: relative;
  height: 90%;
  overflow-y: scroll;
  width: 90%;
  margin: 0 auto;
}

.close_filter_modal {
  position: absolute;
  right: 0;
  top: 0px;
  padding: 0px 6px;
  font-size: 17px;
  background-color: var(--primary-color);
  color: #fff;
}

@keyframes unfoldIn {
  0% {
    transform: scaleY(0.005) scaleX(0);
  }
  50% {
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    transform: scaleY(1) scaleX(1);
  }
}

@keyframes unfoldOut {
  0% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(0.005) scaleX(1);
  }
  100% {
    transform: scaleY(0.005) scaleX(0);
  }
}

@keyframes zoomIn {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 1023px) {
  .footer_bottom {
    background-color: #2e353a;
    padding: 20px 0px;
    margin-bottom: 55px;
  }
}
