:root {
  --galleryButtonsDim: 40px;
  --panoramaPhotoHeight: 272px;
}

.ab-noSelection {
  user-select: none;
}

.ab-transition,
.ab-photoFrame ul,
.ab-photoFrame img {
  transition-property: all;
  transition-duration: 0.8s;
  transition-timing-function: ease;
}

.ab-roundedCornersTLBR4 {
  border-radius: 0.4rem 0 0.4rem 0;
  background-clip: padding-box;
}

.ab-hiddenD {
  display: none !important;
}
.ab-galleryThumbnails li.active {
  visibility: visible !important;
  opacity: 1 !important;
}
.ab-galleryThumbnails li .thumbnail-image {
  border: 4px solid #dddddd !important;
  border-radius: 100%;
  width: 75px;
  height: 75px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.ab-galleryThumbnails li.active .thumbnail-image {
  border-color: #4e85da !important;
}

.ab-photoFrameULGridArea {
  grid-area: 1/1/2/2;
}

.ab-photoGallery {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ab-photosSection {
  display: flex;
  flex-direction: row-reverse;
  width: 100%;
  margin: auto;
  gap: 22px;
  position: relative;
}

.ab-photoFrame .ab-galleryButtons {
  width: var(--galleryButtonsDim);
  height: var(--galleryButtonsDim);
  color: var(--white);
  text-align: center;
  font-size: 1.4rem;
  line-height: calc(var(--galleryButtonsDim) + 2px);
  border-radius: 50%;
  background-clip: padding-box;
  cursor: pointer;
  background-color: #00000069;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  display: none;
}

.ab-photoFrame .ab-galleryButtons::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

.ab-photoFrame .ab-galleryButtons:hover {
  background-color: #00000086;
}

.ab-photoFrame figure {
  opacity: 0;
  cursor: pointer;
}

.galleryRightButton-icon,
.galleryLeftButton-icon {
  width: 30px !important;
  height: 30px !important;
}

.galleryRightButton-icon {
  transform: rotate(90deg);
}

.galleryLeftButton-icon {
  transform: rotate(-90deg);
}

.ab-galleryRightButton {
  grid-area: 1/3/2/4;
}

.ab-galleryLeftButton {
  grid-area: 1/1/2/2;
}

.ab-photoFrame {
  display: grid;
  grid:
    var(--panoramaPhotoHeight) / calc(var(--galleryButtonsDim) + 1rem)
    1fr calc(var(--galleryButtonsDim) + 1rem);
  justify-items: center;
  align-items: center;
  width: 100%;
  height: var(--panoramaPhotoHeight);
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.ab-panoramaContainer {
  background-color: transparent !important;
  grid-area: 1/1/2/4;
  width: 100%;
  height: 100%;
  z-index: 4;
}

.ab-hiddenPanoramaContainer {
  visibility: hidden;
  opacity: 0;
}

.ab-hiddenPanoramaContainer .pnlm-load-box {
  z-index: 99;
}

.ab-panoramaContainer canvas + div + div > span {
  font-family: inherit, sans-serif !important;
  font-size: 7rem !important;
  direction: rtl;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  width: 39px !important;
  height: 39px !important;
}

.ab-panoramaContainer canvas + div + div > span:nth-child(2) {
  background-image: url("https://www.yejayekhoob.com/Libraries/svg/full-screen.svg") !important;
}

.ab-panoramaContainer canvas + div + div > span > a > span:first-of-type {
  float: left !important;
  margin: 5px 12px 0 0 !important;
}

.ab-panoramaContainer
  canvas
  + div
  + div
  > span:first-of-type
  > a
  > span:first-of-type {
  transform: scale(-1, 1);
}

.ab-panoramaContainer canvas + div + div > span > a > span:last-of-type {
  float: left !important;
}

.ab-panoramaContainer a {
  font-size: 1rem;
  text-decoration: none;
  color: var(--colorPrimary);
}
.ab-panoramaContainer > div:nth-child(3) {
  height: 100% !important;
  float: unset !important;
  background:
    linear-gradient(
      89.89deg,
      rgba(31, 31, 31, 0) 0.09%,
      rgba(147, 147, 147, 0) 55.14%,
      rgba(59, 59, 59, 0) 86.44%,
      rgba(0, 0, 0, 0) 99.9%
    ),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)) !important;
  display: flex !important;
  flex-direction: column-reverse !important;
  align-items: flex-end !important;
  padding-left: 20px !important;
  gap: 10px;
  padding-bottom: 20px;
  justify-content: end;
}
.ab-photoFrame ul {
  grid-area: 1/1/2/4;
  display: grid;
  grid: 1fr / 1fr;
  width: 100%;
  height: inherit;
}

.ab-photoFrame ul li {
  position: relative;
  z-index: 0;
}

.ab-photoFrame li figure {
  display: grid;
  grid: 1fr / 1fr;
  visibility: hidden;
  opacity: 0;
}

.ab-photoFrame li figure figcaption {
  align-self: end;
  color: #333;
  font-size: 1rem;
  padding: 8px 8px 8px 16px;
  background-color: #fff;
  top: 5px;
  position: absolute;
  right: 0;
  font-weight: bold;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  box-shadow: 0 0 5px #3333334f;
  display: none;
}

.ab-photoFrame li figure img {
  grid-area: 1/1/2/2;
  background-color: var(--gray);
}

.ab-photoFrame img:not(.ab-360Icon):not(.ab-arrowIcon):not(.close-panorama) {
  width: 100%;
  height: var(--panoramaPhotoHeight);
  object-fit: cover;
  object-position: center center;
}
.ab-progressBarBox {
  width: 100%;
  height: 100%;
  padding: 1rem;
  background-color: #fff;
  z-index: 3;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  flex-direction: column-reverse;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: none;
}

.ab-progressBarBox p {
  direction: rtl;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6rem;
  font-weight: 500;
  color: var(--priymary-color);
}

.ab-progressBar {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(#769cf0 0%, #ebebeb 0%);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:
    inset 0px 3px 4px rgba(26, 26, 26, 0.25),
    inset 0px -3px 4px rgba(26, 26, 26, 0.25);
}

.ab-progressBar-logo {
  position: absolute;
  width: 35px !important;
  height: 41px !important;
  object-fit: initial !important;
}

.progress-progressBar {
  width: 85px;
  height: 85px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ab-galleryThumbnails {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-height: var(--panoramaPhotoHeight);
  overflow: auto;
  min-width: 130px;
  justify-content: flex-start;
  align-items: center;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ab-galleryThumbnails::-webkit-scrollbar {
  display: none;
}

.ab-galleryThumbnails li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
}

.ab-galleryThumbnails li.video:before {
  position: absolute;
  content: "";
  background: url("../images/icons/video.png") center / 48% no-repeat;
  width: 100%;
  height: 100%;
}

.ab-galleryThumbnails li:hover {
  opacity: 1;
}

.ab-galleryThumbnails li img {
  object-fit: cover;
  object-position: center center;
  user-select: none;
  position: relative;
  cursor: pointer;
  border-radius: 100%;
  overflow: hidden;
  width: 61px;
  height: 61px;
  border: 1px solid #fff;
}

.ab-clickPlease {
  display: none;
  text-align: center;
  direction: rtl;
  z-index: 3;
  background-position: center center;
  padding: 13px;
  border-radius: 10px;
  cursor: pointer;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  height: 100%;
  position: absolute;
  justify-content: center;
  align-items: center;
}
.ab-clickPlease:not(.minimize)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(78, 133, 218, 0.49);
  z-index: 0;
}

.ab-clickPlease > * {
  position: relative;
  z-index: 1;
}
.ab-clickPlease--text {
  color: var(--white);
  font-size: 1rem;
  font-weight: bold;
}
.ab-360Title {
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
  display: none;
}

.ab-360Subtitle {
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.ab-360Button {
  width: 177px;
  height: 40px;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.ab-360Button span {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

.ab-360Button img {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
.ab-room_title {
  top: 50%;
  left: 50%;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}

.ab-clickIcon {
  width: auto !important;
  height: 60px !important;
}

.pnlm-about-msg {
  display: none !important;
}

.pnlm-load-box * {
  display: none;
}

.pnlm-load-box {
  --progress: 0%;
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.pnlm-load-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgb(255, 255, 255)
    url(https://www.yejayekhoob.com/Libraries/svg/yj_loader_panaroma.svg)
    center/40px no-repeat;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.pnlm-load-box::after {
  content: "";
  left: 50%;
  top: 50%;
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(
    rgb(37 99 235) var(--progress),
    rgb(235, 235, 235) 0%
  );
  z-index: -1;
  transform: translate(-50%, -50%);
}

.pnlm-load-box-off::after,
.pnlm-load-box-off::before {
  content: none;
  animation: none;
  -webkit-animation: none;
}

.pnlm-container {
  background: none;
}

.ab-galleryButtons img {
  width: 28px;
  height: 28px;
}

.ab-galleryRightButton-icon {
  transform: rotate(90deg);
}

.ab-galleryLeftButton-icon {
  transform: rotate(-90deg);
}

@keyframes spinPanorama {
  to {
    transform: rotate(360deg);
  }
}
.ab-clickPlease.minimize {
  z-index: 5;
  background: transparent !important;
  flex-direction: row;
  justify-content: end;
  align-items: normal;
  padding-left: 20px;
}
.ab-clickPlease.minimize .ab-360Icon {
  width: 49px;
  height: 34px;
}
.ab-clickPlease.minimize .ab-360Title {
  font-size: 16px;
  position: relative;
  top: 6px;
  display: block;
}
.ab-clickPlease.minimize .ab-360Subtitle,
.ab-clickPlease.minimize .ab-360Button {
  display: none;
}
.ab-closePanorama {
  display: flex;
  position: absolute;
  top: 17px;
  right: 17px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(217, 217, 217, 0.3);
  color: #fff;
  font-size: 28px;
  line-height: 32px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.ab-closePanorama.hidden {
  display: none;
}
.fancybox__footer .fancybox__caption {
  text-align: center !important;
}

.modal__gallery .modal__header.is-scrolled {
  border-bottom-color: transparent;
}
.gallery-cat-swiper {
  height: auto !important;
}

.ab-panoramaContainer > div:nth-child(3) span:nth-child(4) {
  background-size: 30% !important;
}
/* @media screen and (max-width: 800px) {
  .ab-360Icon {
    width: 50px;
    height: 50px;
  }
} */
