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

  /* Give space around main area */
  .box-display .fancybox-outer {
    top: 50px;
    left: 50px;
    bottom: 50px;
    right: 50px;
    margin: auto;
    max-width: 1180px;
    max-height: 495px;
    overflow: visible;
    background: #fff;
    box-shadow: 10px 10px 15px rgba(0,0,0,0.3);
    transition: opacity .3s;
  }

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

  /* Set color for background element */
  .box-display .fancybox-bg {
    /*background: #f6f6f6;*/
  }

  .box-display.fancybox-is-open .fancybox-bg {
    opacity: 0.5;
  }

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

  .box-display .fancybox-image-wrap {
    transform: none !important;
  }

  /* Adjust content area position */
  .box-display .fancybox-stage {
    right: 400px;
  }

  /* Remove top border from the caption */
  .box-display .fancybox-caption {
    padding: 30px 20px;
    border: 0;
  }

  /* Align buttons at the right side  */
  .box-display .fancybox-toolbar {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 44px;
    background: #333;
    border-left: 1px solid #222;
  }

  /* Remove background from all buttons */
  .box-display .fancybox-button,
  .box-display .fancybox-navigation button:before {
    background: transparent;
  }

  /* Change arrow color */
  .box-display .fancybox-navigation button {
    color: #333 !important;
    padding: 10px;
  }

  /* Reposition arrows */
  .box-display .fancybox-button--arrow_left {
    left: -60px;
  }

  .box-display .fancybox-button--arrow_right {
    right: -60px;
  }

  .box-display.fancybox-show-thumbs .fancybox-button--arrow_right {
    right: -272px;
  }

}
