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

/*General 
=============================*/
*,
*:focus {
  outline: none !important;
  box-sizing: border-box;
  direction: rtl;
}
:root {
  --main_color: #000000;
  --second_color: #d72323;
  --third_color: #3e3636;
}
::-moz-selection {
  background-color: var(--main_color) !important;
  color: #fff !important;
}

::selection {
  background-color: var(--main_color) !important;
  color: #fff !important;
}
.green_bc {
  background-color: rgb(8 126 37) !important;
}
body {
  font-family: "Almarai", sans-serif;
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  font-weight: 300;
  word-spacing: 2px;
}

/* Lists  
======================*/
ul,
li {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Links 
======================*/
a,
a:hover,
a:focus {
  cursor: pointer;
  text-decoration: none;
}

/*Images
======================*/
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Forms
=======================*/
.form-group {
  position: relative;
  margin: 0 0 20px 0;
  text-align: start;
}

label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  line-height: 25px;
  margin: 0 0 10px 0;
  color: var(--main_color);
  text-align: right;
}
.form-control {
  text-align: right;
  width: 100%;
  color: var(--main_color);
  background-color: #fff;
  border: 1px solid #e0e0e0;
  margin: 15px 0;
  padding: 0 15px;
  line-height: 50px;
  height: 50px;
  font-size: 13px;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-weight: 700;
  border-radius: 5px;
  -webkit-border-radius: 5px;
}

.form-control:hover {
  outline: 0;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.form-control:focus {
  outline: 0;
  border: 1px solid #e0e0e0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

textarea.form-control {
  resize: none;
  min-height: 120px !important;
  padding: 15px !important;
  line-height: 25px;
}
input[type="checkbox"],
input[type="radio"] {
  display: none;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  margin: 0;
  font-size: 13px;
  line-height: 25px;
  font-weight: 400;
}

input[type="checkbox"] + label::before,
input[type="radio"] + label::before {
  content: "";
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  border: 1px solid var(--main_color);
  line-height: 19px;
  font-size: 9px;
  z-index: 99;
  border-radius: 0;
  -webkit-border-radius: 0;
}

input[type="checkbox"]:checked + label::before,
input[type="radio"]:checked + label::before {
  content: "\f00c";
  color: var(--second_color);
  background-color: transparent;
}
input[type="checkbox"] + label img,
input[type="radio"] + label img {
  display: inline-block;
  width: 50px;
}
.flex_col {
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.checkbox {
  display: inline-block;
  width: 87px;
  margin: 10px auto 0;
}
.checkbox input[type="checkbox"] + label {
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: center;
  line-height: 20px;
}
.checkbox input[type="checkbox"] + label::before {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  border-color: #e0e0e0;
}
.checkbox input[type="checkbox"]:checked + label::before {
  content: "";
  border-color: #d6ffd6;
  background-color: #d6ffd6;
}
.checkbox label span {
  display: block;
  position: relative;
  padding: 5px;
  z-index: 999;
}
.checkbox label span img {
  width: 55px;
}

/* Buttons
========================*/
.link {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  margin: 15px auto;
  line-height: 35px;
  font-weight: 600;
  text-align: center;
  font-size: 13px;
  padding: 0 20px;
  background-color: var(--second_color);
  color: #fff;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 3px;
  -webkit-border-radius: 3px;
}
.icon_link {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  line-height: 30px;
  width: 30px;
  height: 30px;
  text-align: center;
  font-size: 10px;
  padding: 0;
  background-color: var(--second_color);
  color: #fff;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 50%;
  -webkit-border-radius: 50%;
}
.link:hover,
.icon_link:hover,
.search_form button:hover {
  background-color: var(--main_color);
}

/* Section
=======================*/
section {
  position: relative;
  padding: 40px 0;
  text-align: right;
  background-color: #fff;
}
.section_color {
  background-color: #fcfcfc;
}
.row {
  position: relative;
  z-index: 999;
}
.related {
  padding: 35px 0 50px 0;
}
.sec_tit {
  text-align: center;
  color: var(--main_color);
  font-weight: 600;
  font-size: 30px;
  margin: 0 0 50px 0;
}
.sec_tit small {
  display: block;
  margin: 5px 0;
  font-size: 14px;
}
.img_bc {
  background: url(../images/bc.jpg) center no-repeat;
  background-size: cover;
  position: relative;
}
.img_bc::before {
  content: "";
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(32, 30, 31, 0.8);
}
.img_bc::after {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../images/pattern.png) repeat;
}

/* Main Section
=======================*/
.main_screen {
  position: relative;
  width: 100%;
  display: flex;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.main_screen .cont {
  position: relative;
  z-index: 999;
  color: #fff;
  max-width: 768px;
  margin: auto;
}
.logo {
  margin-bottom: 30px;
}
.main_screen .cont h1 {
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 30px 0;
}

.main_screen .cont p {
  margin: 30px 0 auto 0;
  font-size: 18px;
}
.search_form button {
  border: 0;
  height: 35px;
  line-height: 35px;
  display: block;
  padding: 0 15px;
  background-color: var(--second_color);
  color: #fff;
  border-radius: 3px;
  margin: 25px auto 5px;
  font-size: 13px;
  max-width: 140px;
}
.search_form button i {
  margin-left: 5px;
}
.search_form {
  background-color: #fff;
  width: 100%;
  border-radius: 5px;
  align-items: center;
  overflow: hidden;
  padding: 25px 25px 15px;
}
.search_form .row {
  margin: 0;
}
.search_form label {
  margin: 0 0 5px 0;
}
.search_form .form-control,
.select2-container .select2-selection--single {
  margin: 0 0 15px 0;
}

/* Header
=======================*/
header {
  padding: 10px 0;
  background-color: var(--main_color);
}
header .col-12 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header img {
  margin: 0;
  width: 160px;
}
header form {
  width: 100%;
  position: relative;
  max-width: 767px;
}
header form .form-control {
  margin: 0;
}
header form .link {
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}
header form .link i {
  margin-left: 5px;
}

.toggle-container .close_btn {
  margin: auto;
  display: none;
  position: absolute;
  left: 15px;
  top: 5px;
}

.toggle-container .panel {
  background-color: #fff;
  margin: 0 auto 25px;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.toggle-container .panel-title {
  line-height: 35px;
  margin: 0;
  padding: 5px 15px 5px 10px;
  border: 1px solid #e0e0e0;
  text-align: right;
  border-right: 3px solid var(--second_color);
}

.toggle-container .panel-title a {
  display: block;
  position: relative;
  font-size: 13px;
  color: var(--main_color);
  font-weight: 600;
}

.toggle-container .panel-title a::before {
  position: absolute;
  content: " - ";
  line-height: 30px;
  font-size: 26px;
  padding: 0;
  height: 35px;
  text-align: center;
  left: 0;
  top: 0;
  font-weight: 400;
  color: #2b3445;
  -webkit-transition: 0.3s all linear;
  transition: 0.3s all linear;
}

.toggle-container .panel-title a.collapsed::before {
  content: " + ";
}

.toggle-container .panel-content {
  padding: 15px 15px 5px;
  max-height: 280px;
  overflow-y: auto;
  background-color: rgb(245, 247, 251);
}

.toggle-container .panel-content .form-group {
  margin: 0 0 10px;
}

.toggle-container .panel-content .form-group:last-child {
  border-bottom: 0;
}

.toggle-container .panel-content .form-control {
  line-height: 40px;
  height: 40px;
}

.filter_btn {
  display: none;
}

.filter_btn i {
  margin-left: 5px;
}

@media all and (max-width: 991.98px) {
  .filter_btn {
    display: inline-block;
    margin: 0;
  }
}

.search_hint {
  background-color: #fff;
  position: relative;
  border-radius: 5px;
  font-weight: 600;
  margin-bottom: 15px;
}
.search_hint p {
  margin: 0;
  font-size: 18px;
  line-height: 45px;
  display: block;
}
.search_hint p span {
  color: var(--second_color);
  margin: 0 5px;
  font-size: 24px;
  display: inline-block;
  vertical-align: middle;
}
.search_hint .dropdown {
  position: relative;
  display: inline-block;
}
.search_hint .dropdown-menu {
  border: 0;
  border-radius: 0 0 5px 5px;
  z-index: 9999;
  padding: 0;
  margin-top: 41px;
  min-width: 138px;
  right: -1px !important;
  left: auto !important;
  max-width: 138px !important;
  width: 138px !important;
  background-color: #f5f7fb;
  transform: none !important;
  overflow: hidden;
}
.search_hint .dropdown button,
.search_hint .dropdown button:focus {
  border: 1px solid #e0e0e0 !important;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 35px;
  padding: 0 25px;
  background-color: transparent !important;
  color: var(--main_color) !important;
  box-shadow: none !important;
  font-weight: 600;
  border-radius: 3px;
  margin: 0;
}
.search_hint .dropdown .dropdown-item {
  padding: 0 15px;
  line-height: 40px;
  text-align: right;
  font-size: 11px;
  border: 0;
  border-top: 1px solid #e0e0e0;
  position: relative;
  background-color: #f5f7fb;
  font-weight: 600;
}
.search_hint .dropdown .dropdown-item:hover {
  color: var(--second_color);
}
.search_hint .dropdown button:after {
  display: none;
}
.search_tags {
  margin-bottom: 25px;
}

.search_tags li {
  display: inline-block;
  background-color: #c3fac6;
  color: var(--main_color);
  font-size: 13px;
  line-height: 30px;
  border-radius: 3px;
  padding: 0 5px 0 10px;
  min-width: 70px;
  text-align: center;
  margin-bottom: 5px;
}

.search_tags li .close {
  position: absolute;
  color: inherit;
  opacity: 1;
  font-weight: 400;
  font-size: 12px;
  left: 10px;
  top: 2px;
  text-shadow: none;
}
.subscribe{
    max-width: 360px;
    margin: 0 auto 25px 0;
    position: relative;
}
.subscribe label{
    margin: 10px 0 0;
}
.subscribe button{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50px;
    border: 0;
    background-color: var(--second_color);
    padding: 0 15px;
    color: #fff;
    border-radius: 3px;
}
.subscribe button:focus ,
.subscribe button:hover{
  background-color: var(--main_color);
}
.car_item {
  display: block;
  margin-bottom: 25px;
  align-items: center;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
}
.car_item.visited {
  opacity: 50%;
}
.car_item .car_img{
  height: 170px;
  overflow: hidden;
  width: 100%;
  position: relative;
}
.car_item .car_img img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  position: absolute;
  top: 0;
  right: 0;
}
.car_item .car_img li {
  margin-top: 10px;
  display: inline-block;
}
.car_item .car_img li img {
  width: 61px;
  border-radius: 3px;
}
.car_item .car_cont {
  width: 100%;
}
.car_item .car_cont h3 {
  color: var(--main_color);
  font-weight: 600;
  font-size: 15px;
  margin: 10px 15px;
}
.car_item .car_cont p {
  color: var(--third_color);
  font-size: 13px;
  margin: 0 10px;
  display: inline-block;
}
.car_item .car_cont .tags {
  margin: 10px;
}
.car_item .car_cont .tags li {
  display: inline-block;
  background-color: #f5f7fb;
  padding: 0 15px;
  margin: auto;
  line-height: 28px;
  color: var(--main_color);
  border-radius: 3px;
  font-weight: 600;
  font-size: 11px;
}

.car_item .car_cont .bottom {
  padding: 5px 15px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.car_item .car_cont .bottom .price {
  width: 100%;
  font-weight: 600;
  color: var(--second_color);
  font-size: 14px;
}
.car_item .car_cont .bottom .price span {
  display: block;
  font-weight: 400;
  color: var(--third_color);
  margin-bottom: 2px;
  font-size: 12px;
}
.car_item .car_cont .bottom img {
  width: 32px;
}
.copyrights {
  padding: 25px;
  text-align: center;
  width: 100%;
  font-weight: 600;
  font-size: 12px;
  background-color: #fff;
  position: relative;
  border-top: 1px solid #ccc;
}

.year_slider {
  position: relative;
  margin: 10px auto 0;
  border-radius: 3px;
  border-color: #e0e0e0;
}
.year_slider .ui-state-default,
.year_slider .ui-widget-content .ui-state-default,
.year_slider .ui-widget-header .ui-state-default {
  background: var(--second_color);
  color: #555555;
  width: 9px;
  border-radius: 3px;
  margin: 0;
  border: 0;
  cursor: pointer;
}
.year_slider .ui-slider-handle:after {
  display: block;
  left: 100%;
  transform: translate(8px, 35px);
  content: attr(data-content);
  font-size: 11px;
  text-align: center;
  width: 30px;
  font-weight: 600;
  color: var(--main_color);
  letter-spacing: 0;
}
.year_slider .ui-widget-header {
  background: #dfdfdf;
  border-radius: 0;
}

/* Loading
========================*/
.loading {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Media Query
=======================*/
@media all and (max-width: 1199.98px) {
  .car_side_info li {
    line-height: 48px;
  }
  .car_side_info li span {
    line-height: 28px;
    margin: 10px 0;
  }
}
@media all and (max-width: 991.98px) {
  .toggle-container {
    position: fixed;
    margin: auto;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    overflow-y: auto;
    background-color: #ffffff;
    padding: 50px 15px 0;
    z-index: 9999;
    -webkit-transition: 0.3s all linear;
    transition: 0.3s all linear;
    -webkit-box-shadow: 5px 0px 15px 0px rgba(43, 52, 69, 0.1);
    -o-box-shadow: 5px 0px 15px 0px rgba(43, 52, 69, 0.1);
    box-shadow: 5px 0px 15px 0px rgba(43, 52, 69, 0.1);
  }
  .toggle-container.move {
    right: 0;
  }
  .toggle-container.move::before {
    content: " ";
    position: fixed;
    width: calc(100% - 270px);
    height: 100%;
    right: 270px;
    top: 0;
    z-index: 99;
    -webkit-transition: 0.4s all ease-out;
    transition: 0.4s all ease-out;
  }
  .toggle-container .close_btn {
    display: inline-block;
  }
}
@media all and (max-width: 767.9px) {
  .main_screen .cont h1 {
    font-size: 18px;
  }
  .flex_col {
    flex-wrap: wrap;
  }
  .flex_col .checkbox {
    min-width: 100px;
  }
  .year_slider {
    margin: 10px auto 30px;
  }
  .year_slider .ui-slider-handle:after {
    transform: translate(8px, 25px);
  }
  .main_screen {
    display: block;
    background: url(../images/bc.jpg) center repeat;
    height: auto;
  }
  .main_screen .cont h1 {
    font-size: 22px;
    line-height: 34px;
  }
  .search_tags {
    margin-bottom: 0px;
  }
  .search_form {
    display: flex;
    flex-direction: column;
    padding: 15px 5px;
  }
  .flex_col .checkbox {
    min-width: 120px;
  }

  .logo {
    margin: 0 auto 15px;
  }
  .select2-container--default .select2-selection--single,
  .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    height: 50px;
    line-height: 50px;
  }
  .main_screen .cont p {
    font-size: 12px;
  }
  .subscribe{
    max-width: 100%;
    margin: 0 auto 25px;
  }
}

@media all and (max-width: 575.98px) {
  .car_item {
    max-width: 80%;
    margin: 0 auto 25px;
  }
  .search_hint p {
    line-height: 25px;
    font-size: 14px;
    margin-bottom: 15px;
  }
  .search_hint p span {
    font-size: 18px;
  }

  header .col-12 {
    flex-direction: column;
  }
  header img {
    margin: 0 0 15px;
    width: auto;
  }
}
@media all and (max-width: 420px) {
  .car_item {
    width: 100%;
    max-width: 100%;
  }
}
