@media (min-width: 992px) {
    .brand {
        display: flex;
        justify-content: space-between;
        padding: 10px 23px;
    }
    #kt_header_mobile {
        display: none;
    }
}

.brand-logo {
    width: 30px;
}

.aside .aside-menu.ps > .ps__rail-y > .ps__thumb-y {
    height: 0 !important;
}
.topbar > div,
.topbar > li {
    margin: 0 15px;
}

.topbar > li {
    list-style: none;
}

#header_notification_bar ul .notifications li {
    list-style: none;
}

#header_notification_bar ul .notifications li a {
    display: flex;
    width: 100%;
    padding: 5px 10px;
    flex-direction: column-reverse;
    align-items: flex-start;
}
#header_notification_bar ul .notifications li a span {
    margin-left: 15px;
}
#header_notification_bar ul .notifications > li > a > span:first-child {
    margin-right: 48px;
}
#header_notification_bar ul .notifications li a span .label {
    width: 30px;
    height: 30px;
    border-radius: 50% !important;
}
#header_notification_bar ul .notifications li a span .label i {
    color: #FFFFFF;
    margin-right: 4px;
}
.aside-menu .menu-nav .menu-inner, .aside-menu .menu-nav .menu-submenu {
    display: none;
}

@media (min-width: 992px) {
    .aside-fixed .wrapper {
        padding-left: 0 !important;
    }
}
@media (min-width: 992px) {
    .aside-enabled .header.header-fixed {
        left: 0 !important;
    }
}

#kt_aside_menu li .menu-link {
    display: flex;
    align-items: center;
}
.menu-link .menu-arrow {
    height: 10px;
}
.menu-link .menu-arrow:after {
    height: 10px;
}
.menu-link .menu-arrow:before {
    content: '' !important;
}
[direction="rtl"] .aside-menu .menu-nav > .menu-item > .menu-heading .menu-arrow:before,
[direction="rtl"] .aside-menu .menu-nav > .menu-item > .menu-link .menu-arrow:before {
    content: '' !important;
}

@media (min-width: 992px) {
    [direction="rtl"] body.aside-minimize #kt_wrapper {
        padding-right: 0;
    }
}

[direction='rtl'] .portlet>.portlet-title>.caption {
    float: right;
}
[direction='rtl'] .apexcharts-toolbar {
    right: 3px;
}
[direction='rtl'] button.accordion {
    text-align: right;
}
[direction='rtl'] .form-group .image-input {
    display: block;
}
[direction='rtl'] .bootstrap-timepicker-widget {
    right: 311.25px;
}
[direction='rtl'] .bootstrap-timepicker-widget table input.bootstrap-timepicker-hour,
[direction='rtl'] .bootstrap-timepicker-widget table input.bootstrap-timepicker-minute,
[direction='rtl'] .bootstrap-timepicker-widget table input.bootstrap-timepicker-meridian {
    margin-right: -15px;
}
.badge {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
[direction='rtl'] #kt_header {
    left: 0 !important;
}

[direction='rtl'] .ms-auto {
    margin-left: unset !important;
}

[direction='rtl'] .form-control.form-control-solid {
    text-align: right;
}

[direction='rtl'] .position-relative {
    direction: ltr;
}

[direction='rtl'] .form-check.form-check-custom .form-check-label {
    margin-right: 3.55rem;
}

[direction='rtl'] .menu-item {
    text-align: right;
}





section.real-estate-gallery {
  margin: 16px 0 24px;
}
section.real-estate-gallery .box {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px 1fr;
  grid-template-columns: repeat(4, 1fr);
  -ms-grid-rows: auto 16px auto 16px auto;
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}
@media (max-width: 767px) {
    section.real-estate-gallery .box {
        - ms-grid-columns: 1fr 16px 1fr 16px 1fr 16px;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(4, auto);
    }
}
section.real-estate-gallery .box > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
section.real-estate-gallery .box > *:nth-child(2) {
  -ms-grid-row: 1;
  -ms-grid-column: 3;
}
section.real-estate-gallery .box > *:nth-child(3) {
  -ms-grid-row: 1;
  -ms-grid-column: 5;
}
section.real-estate-gallery .box > *:nth-child(4) {
  -ms-grid-row: 1;
  -ms-grid-column: 7;
}
section.real-estate-gallery .box > *:nth-child(5) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
section.real-estate-gallery .box > *:nth-child(6) {
  -ms-grid-row: 3;
  -ms-grid-column: 3;
}
section.real-estate-gallery .box > *:nth-child(7) {
  -ms-grid-row: 3;
  -ms-grid-column: 5;
}
section.real-estate-gallery .box > *:nth-child(8) {
  -ms-grid-row: 3;
  -ms-grid-column: 7;
}
section.real-estate-gallery .box > *:nth-child(9) {
  -ms-grid-row: 5;
  -ms-grid-column: 1;
}
section.real-estate-gallery .box > *:nth-child(10) {
  -ms-grid-row: 5;
  -ms-grid-column: 3;
}
section.real-estate-gallery .box > *:nth-child(11) {
  -ms-grid-row: 5;
  -ms-grid-column: 5;
}
section.real-estate-gallery .box > *:nth-child(12) {
  -ms-grid-row: 5;
  -ms-grid-column: 7;
}
@media (max-width: 575px) {
  section.real-estate-gallery .box {
    gap: 8px;
  }
}
section.real-estate-gallery .image {
  border-radius: 12px;
}
@media (max-width: 767px) {
  section.real-estate-gallery .image {
    border-radius: 8px;
  }
}
@media (max-width: 575px) {
  section.real-estate-gallery .image {
    border-radius: 6px;
  }
}
section.real-estate-gallery .image img {
  aspect-ratio: 1.8;
  width: 100%;
  height: 100%;
  max-height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: inherit;
}
section.real-estate-gallery .image.main-image {
  -ms-grid-row: 1;
  -ms-grid-row-span: 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-area: 1/1/4/4;
}
section.real-estate-gallery .image.main-image img {
  max-height: 572px;
}
section.real-estate-gallery .image:last-child {
  position: relative;
  cursor: pointer;
}
section.real-estate-gallery .image:last-child::before {
  content: "";
  border-radius: inherit;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 16, 16, 0.45);
  -webkit-transition: .4s;
  transition: .4s;
}
section.real-estate-gallery .image:last-child:hover::before {
  background-color: rgba(16, 16, 16, 0.3);
}
section.real-estate-gallery .image:last-child .gallery-alert {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  color: white;
  font-family: "Font Awesome 6 Free";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
section.real-estate-gallery .main-popup {
  background-color: rgba(16, 16, 16, 0.5);
}
section.real-estate-gallery .main-popup .modal-dialog {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
}
section.real-estate-gallery .main-popup .modal-header {
    padding: 0;
}
section.real-estate-gallery .main-popup .modal-content {
  padding: 0;
  border-radius: 8px;
  position: relative;
  height: 100%;
}
section.real-estate-gallery .main-popup .btn-close {
    position: absolute;
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/24px auto no-repeat;
    width: 20px;
    height: 20px;
    z-index: 10;
    top: 20px;
    right: 20px;
    z-index: 10;
    padding: 0;
    opacity: 1;
    -webkit-transition: .4s;
    transition: .4s;
}
section.real-estate-gallery .main-popup .btn-close:hover {
    opacity: .7;
}
section.real-estate-gallery .main-popup .modal-body {
  padding: 0;
  height: 100%;
}
section.real-estate-gallery .image-slider {
  height: 100%;
  background-color: #101010;
  /*direction: ltr;*/
}
section.real-estate-gallery .image-slider .carousel-indicators {
    margin-left: 4px;
    margin-right: 4px;
}
section.real-estate-gallery .image-slider .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 1;
}
@media (max-width: 575px) {
  section.real-estate-gallery .image-slider .carousel-indicators button {
    width: 10px;
    height: 10px;
  }
}
section.real-estate-gallery .image-slider .carousel-indicators button.active {
  background-color: #d70060;
}
section.real-estate-gallery .image-slider .carousel-inner {
  height: calc(100% - 48px);
  padding-top: 48px;
}
section.real-estate-gallery .image-slider .carousel-inner .carousel-item {
  height: 100%;
  margin-right: 0;
  float: right;
  direction: rtl;
  -webkit-transition: .4s;
  transition: .4s;
  width: 100%;
  aspect-ratio: 4/3;
}
/*section.real-estate-gallery .image-slider .carousel-item-prev,*/
/*section.real-estate-gallery .image-slider .active.carousel-item-start {*/
/*    transform: translateX(-100%);*/
/*    transition: 0s;*/
/*}*/
/*section.real-estate-gallery .image-slider .carousel-item-next {*/
/*    transform: translateX(100%);*/
/*    transition: 0s;*/
/*}*/
section.real-estate-gallery .image-slider .carousel-inner .carousel-item img {
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
section.real-estate-gallery .image-slider .carousel-control-prev,
section.real-estate-gallery .image-slider .carousel-control-next {
  opacity: 0.7;
  -webkit-transition: .4s;
  transition: .4s;
  width: 10%;
}
section.real-estate-gallery .image-slider .carousel-control-prev img,
section.real-estate-gallery .image-slider .carousel-control-next img {
  width: 40px;
  /*transform: rotate(180deg);*/
}
@media (max-width: 575px) {
  section.real-estate-gallery .image-slider .carousel-control-prev img,
  section.real-estate-gallery .image-slider .carousel-control-next img {
    width: 32px;
  }
}
section.real-estate-gallery .image-slider:hover .carousel-control-prev, section.real-estate-gallery .image-slider:hover .carousel-control-next {
  opacity: 1;
}
section.real-estate-gallery .image-slider .carousel-control-next {
  right: auto;
}










.uploader-images .estate-gallery {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: calc((100% - 32px) / 4) 8px calc((100% - 32px) / 4) 8px calc((100% - 32px) / 4) 8px calc((100% - 32px) / 4);
  grid-template-columns: repeat(4, calc((100% - 32px) / 4));
  gap: 12px 8px;
  margin-bottom: 20px;
}
.uploader-images .estate-gallery .image {
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}
.uploader-images .estate-gallery .image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(16, 16, 16, 0.0901960784);
  z-index: -1;
}
.uploader-images .estate-gallery .image img {
  width: 100%;
  aspect-ratio: 1;
  max-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: inherit;
  /*position: relative;*/
  z-index: -1;
}
.uploader-images .estate-gallery .image .close-button {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(236, 236, 236, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  top: 8px;
  right: 8px;
  cursor: pointer;
}
.uploader-images .estate-gallery .image .close-button svg {
  font-size: 18px;
  color: var(--black-color);
}
.uploader-images .estate-gallery .image .checkbox-field {
  position: absolute;
  top: 8px;
  left: 8px;
}
.uploader-images .estate-gallery .image .checkbox-field input {
  margin: 0;
  width: 16px;
  height: 16px;
}
.uploader-images .file-field {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px dashed var(--main-color);
  background-color: #ECECEC;
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 12px;
  -webkit-transition: var(--main-transition);
  transition: var(--main-transition);
}
.uploader-images .file-field.active {
  border-color: var(--second-color);
}
.uploader-images .file-field.active label {
  color: var(--second-color);
}
.uploader-images .file-field label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 2px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 12px;
  font-weight: 500;
  line-height: 23px;
  color: var(--main-color);
  cursor: pointer;
}
.uploader-images .file-field label svg {
  font-size: 24px;
}
.uploader-images .file-field input[type=file] {
  display: none;
}
