@media all and (min-width: 800px) {

  /* Give space around main area */
  .fancybox-custom-layout .fancybox-outer {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  max-width: 1180px;
  /* max-height: 495px; */
  overflow: visible;
  background: #002F34;
  transition: opacity .3s;
}
/*.slick-list {
  direction: ltr;
}*/
.fancybox-thumbs {
  background: #F2F4F5;  
}

  /* Make it to fade-out while closing */
  .fancybox-custom-layout.fancybox-is-closing .fancybox-outer {
    opacity: 0;
  }

  /* Set color for background element */
.fancybox-custom-layout .fancybox-bg {
  background: #002F34;
}

  .fancybox-custom-layout.fancybox-is-open .fancybox-bg {
    opacity: 1;
  }

  /* Move caption area to the right side */
  .fancybox-custom-layout .fancybox-caption-wrap {
    top: 0;
    right: 44px;
    bottom: 0;
    left: auto;
    width: 256px;
    padding: 0;
    background: #333;
    pointer-events: all; /* Make text selectable */
    border-right: 1px solid rgba(255,255,255,.08);
  }

  /* Adjust content area position */
.fancybox-custom-layout .fancybox-stage {
  left: 0;
  right: 0;
  text-align: center;
}
.fancybox-thumbs__list a {
  float: right;
}
  .fancybox-show-thumbs .fancybox-inner {
  left: 212px;
  right: 0;
}
.fancybox-title {
  color: #fff;
  font-size: 18px;
  margin-block: 10px 0;
}
.fancybox-infobar {
  color: #ccc;
  font-size: 13px;
  -webkit-font-smoothing: subpixel-antialiased;
  height: 44px;
  right: 0;
  line-height: 44px;
  min-width: 44px;
  mix-blend-mode: difference;
  padding: 0;
  pointer-events: none;
  top: 20px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: right;
}

  /* Remove top border from the caption */
  .fancybox-custom-layout .fancybox-caption {
    padding: 5px 20px;
    border: 0;
    pointer-events: auto;
  }

  /* Align buttons at the right side  */
.fancybox-custom-layout .fancybox-toolbar {
  top: 0;
  right: auto;
  bottom: 0;
  left: 0;
  width: 44px;
  background: #333;
  border-left: 1px solid #222;
}
.fancybox-thumbs {  
  right: auto; 
  left: 0;
}
  /* Remove background from all buttons */
  .fancybox-custom-layout .fancybox-button,
  .fancybox-custom-layout .fancybox-navigation button:before {
    background: transparent;
  }

  /* Change arrow color */
  .fancybox-custom-layout .fancybox-navigation button {
    color: #fff !important;
    padding: 10px;
  }

  /* Reposition arrows */
  .fancybox-custom-layout .fancybox-button--arrow_left {
    right: -60px;
    -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
          font-size: 28px;
          outline: none;
  }

  .fancybox-custom-layout .fancybox-button--arrow_right {
    left: -60px;
    -webkit-transform: scale(-1, 1);
          transform: scale(-1, 1);
          font-size: 28px;
          outline: none;
  }

 .fancybox-custom-layout.fancybox-show-thumbs .fancybox-button--arrow_right {
  left: -272px;
  right: auto;
  font-size: 28px;
  outline: none;
}
.fancybox-button--arrow_left:disabled, .fancybox-button--arrow_right:disabled{opacity: 0.1 !important;}
  .fancy-caption {
    display: inline-block;
    margin: 0 auto;
    direction: rtl;
  }
  .fancy-user {
    display: inline-block;
    margin: 0 20px;
    float: right;
    line-height: 40px;
  }
  .fancy-user i {
    font-size: 20px;
    margin-left: 5px;
  }
  .fancyshow-phone-block {
    display: inline-block;
    border: 1px solid #fff;
    padding: 0px 20px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    font-size: 18px;
    float: right;
    line-height: 40px;
    cursor: pointer;
  }
  .fancybox-slide {
    padding: 0 44px;
    top: 0px;
    bottom: 50px;
  }
  .fancy-price {
    float: left;
    margin-left: 60px;
  }
  .fancy-posted {
    float: left;
    margin-left: 40px;
    direction: rtl;
    line-height: 40px;
  }
}