header {
  background-color: rgba(255, 255, 255);
  padding: 0 20px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-direction: row-reverse;
  box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.5);
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header a {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  text-decoration: none;
}

header h1 {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid black;
  text-decoration: none;
}

header a img {
  width: 150px;
}

ul {
  margin: 0;
}

* {
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  box-sizing: border-box;
}

a {
  color: black;
}

body,.t_v {
  position: relative;
  margin: 0;
}

.overlay {
  background-color: black;
  opacity: 0.3;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  border-radius: 7px;
}

.add {
  padding: 2px 10px;
  text-decoration: none;
  border-radius: 7px;
  font-size: 25px;
  border: 2px solid black;
  color: black;
}


.add:hover {
  color: white;
  background-color: black;
}

.edit {
  margin: 10px;
  padding: 0 15px;
  text-decoration: none;
  border-radius: 7px;
  font-size: 25px;
  border: 2px solid white;
  color: white;
  display: flex;
  align-items: center;
}

.edit:hover,
.edit:hover * {
  color: black;
  background-color: white;
}

.logout {
  color: red !important;
  font-size: x-large;
  text-decoration: none;
}

.title {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 600px;
  margin: 0 10%;
  padding: 0 20px;
}

.title_show {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 600px;
  margin: 0 10%;
  padding: 0 20px;
}

.title *,
.title_show * {
  color: white;
  z-index: 1;
}

.title h1,
.title_show h1 {
  margin: 0;
}

.products {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.show_ad,
.show_orders {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 5px;
  width: fit-content;

}

.show_orders {
  border: 1px solid black;
  direction: ltr;
}

.show_orders * {
  direction: ltr;
}

.show_orders img {
  width: 200px;
  object-fit: cover;
}

.show_orders .info {
  width: 240px;
  margin: 0 10px;
  text-align: left;
}

swiper-container {
  width: 350px;
  height: 550px;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

swiper-slide video {
  display: block;
  height: 100%;
}


.show {
  text-decoration: none;
}

.info {
  width: 350px;
}

.show p {
  font-size: larger;
}

p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s_c {
  display: flex;
  align-items: center;
}

h4 {
  margin: 0;
}

.user_info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5px;
}

.user_info a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: larger;
  margin: 0 15px;
}

.user_info a span.material-symbols-rounded {
  font-size: xxx-large;
}

.area_img,
.type_img,
.sale_rent_img,
.adress_img {
  width: 25px;
  margin-bottom: -7px;
}

ion-icon {
  font-size: xxx-large;
}

.info ion-icon {
  font-size: x-large;
  color: white;
}

.contact {
  text-decoration: none;
  background-color: black;
  font-size: larger;
  padding: 4px 70px;
  border-radius: 4px;
  margin: 4px;
  height: 32px;
  display: inline-block;
}

.offer {
  width: 65%;
  position: relative;
  height: 300px;
}

.offer img {
  border-radius: 20px;
  width: 100%;
  height: 100%;
}


.contact span {
  color: white;
}

.delete span {
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: red;
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  width: 47%;
}

.edit_p span {
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: rgb(45, 41, 240);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  width: 47%;
}

.rejection span {
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: red;
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  width: 46.5%;
}

.accept span {
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: rgb(3, 194, 3);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  width: 46.5%;
}

.contract {
  width: 90%;
  display: block;
  margin: auto;
}

.contract span {
  text-decoration: none;
  text-align: center;
  color: white;
  background-color: rgb(0, 0, 0);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 4px;
  width: 100%;
  margin: 0;
}

.separator {
  border-bottom: 3px solid black;
  width: 100px;
  margin: 30px;
}

.h_separator {
  border-bottom: 3px solid rgb(255, 255, 255);
  width: 40px;
}

.error {
  background-color: rgb(255, 84, 84);
  color: white;
  text-align: center;
  border-radius: 7px;
}

.pagination {
  margin-top: 20px;
  text-align: center;
}

.pagination a {
  display: inline-block;
  padding: 3px 10px;
  margin: 10px 0;
  border: 1.5px solid gray;
  text-decoration: none;
}

.pagination a {
  text-decoration: none;
}

.pagination a:hover {
  border: 1.5px solid black;
}


.pagination a.current {
  color: white;
  background-color: black;
  font-weight: bold;
}

h2 {
  text-align: center;
}

.spinner-grow {
  margin: 0 0 0 10px;
}

.qr_img {
  width: 180px;
  z-index: 10;
  border: 3px solid gray;
  border-radius: 10px;
  position: absolute;
  margin-bottom: -260px;
  margin-right: -70%;
}

.controls {
  display: flex;
  align-items: center;
}

.controls a {
  margin: 10px;
}

.categories,
.products_categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px;
}

.categories {
  margin-bottom: 0;
}

.products_categories {
  margin-top: 0;
}



input {
  opacity: 0;
  position: absolute;
  width: 100px;
  height: 100px;
  margin: 0;
}

.background_image {
  margin: 10px;
}

.background_image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100px;
  height: 100px;
  background-color: #eee9e6;
  border: 2px solid #eee9e6;
  border-radius: 100%;
}

.category_link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#myVideo {
    /* position: fixed; */
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: -1;
    object-fit: cover;
    height: 300px;
}