#sn-pswp-ctn .pswp-sidebar {
  display: none;
}

#sn-pswp-ctn.open {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
}

@media screen and (min-width: 961px) {
  #sn-pswp-ctn .pswp-sidebar,.pswp.pswp--open {
    position: fixed;
    z-index: 2147483647;
    height: 100%;
  }

  /*new 2018/09/25*/
  /*.pswp.pswp--open {
    width: auto;
    right: 340px;
    display: block;
    left: 0;
    top: 0;
  }*/
  /*new 2018/09/25*/
  .pswp.pswp--open .pswp__scroll-wrap {
    width: auto;
    right: 340px;
    display: block;
    left: 0;
    top: 0;
  }

  #sn-pswp-ctn.open .pswp-sidebar {
    top: 0;
    right: 0;
    width: 340px;
    padding: 20px;
    margin: 0;
    background: #222;
    overflow-x: hidden;
    overflow-y: auto;
    display: block;
  }
}

@media screen and (max-width: 960px) {
  #sn-pswp-ctn.open .pswp-sidebar {
    display: none;
  }

  .pswp-sidebar h3 {
    color: #eaeaea;
    margin-bottom: .5em;
    margin-top: 0 !important;
  }

  .content .body .pswp-sidebar .description,.pswp-sidebar p {
    color: #ccc;
    font-weight: 400;
  }

  .pswp-sidebar .photo-attribution {
    font-size: .6em;
  }

  .pswp.pswp--open {
    right: 0;
  }

  .pswp__ui.pswp__ui--hidden .pswp-sidebar {
    opacity: 0;
  }

  .has-sidebar .content {
    padding: 0;
  }
}
.snex-fancybox-prev span {
    left: 10px;
    background-position: 0 -36px;
}

.snex-fancybox-next span {
    right: 10px;
    background-position: 0 -72px;
}

.snex-fancybox-prev {
    left: 0;
}

.snex-fancybox-next {
    right: 0;
}

.snex-fancybox-prev span, .snex-fancybox-next span {
    background-image: url('/cj/fancybox/fancybox_sprite.png');
}

.snex-fancybox-nav,
.snex-fancybox-nav span {
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
    vertical-align: top;
}

.snex-fancybox-nav {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    background: transparent url('blank.gif'); /* helps IE */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
   /* z-index: 8040;*/
}

.snex-fancybox-nav span {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 34px;
    margin-top: -18px;
    cursor: pointer;
    /*z-index: 8040;*/
    /*visibility: hidden;*/
    visibility: visible;
}

.sn-pswp-gallery {
    width: 100%;
    float: left;
}

.sn-pswp-gallery .sn-pswp-fotos-panel
{
    margin-top:10px; 
}
.sn-pswp-gallery img {
    width: 100%;
    height: auto;
   border: 1px solid gray;
}
.sn-pswp-gallery .sn-pswp-show-all-pictures img {
   border: none;
}

.sn-pswp-gallery figure {
    display: block;
    float: left;
    margin: 0 5px 5px 0;
    width: 150px;
}

/*.sn-pswp-gallery figcaption {
    display: none;
}*/

.sn-pswp-picture
{
    padding-left:3px;
    padding-right:3px;
}
.sn-pswp-fotos-panel-sample, .sn-pswp-fotos-panel-on-off
{
    margin-left:-3px;
    margin-right:-3px;
}


/* set play/pause button */
/*https://github.com/dimsemenov/PhotoSwipe/issues/753*/
@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) { /*serve if resolution high enough & browser supports */
    .pswp--svg .pswp__button--sn--autoplay.play, .pswp--svg .pswp__button--sn--autoplay.play:before {
        background-image: url('play-wh.svg') ;
    }
    .pswp--svg .pswp__button--sn--autoplay.pause, .pswp--svg .pswp__button--sn--autoplay.pause:before {
        background-image: url('pause-wh.svg');
    }
}

.pswp__button--sn--autoplay.play, .pswp__button--sn--autoplay.play:before {
    background: url('play-wh.png') 12px 12px/20px 20px no-repeat;
}
.pswp__button--sn--autoplay.pause, .pswp__button--sn--autoplay.pause:before {
    background: url('pause-wh.png') 12px 12px/20px 20px no-repeat;
}

/* Publicidade */
@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) { /*serve if resolution high enough & browser supports */
    .pswp--svg .pswp__button--sn--pub, .pswp--svg .pswp__button--sn--pub:before {
        background-image: url('pub.png');
    }
}
.pswp__button--sn--pub, .pswp__button--sn--pub:before {
    background: url('pub.png') 0px 12px/40px 20px no-repeat;
}

.sn-pswp-pub-link .pswp__img,
.pswp__img.sn-pswp-pub-link {
  /* autoprefixer: off */
  cursor: pointer;
}

.pswp__img.sn-pswp-pub-nolink {
  /* autoprefixer: off */
  cursor: none;
}

/* ter sempre a navegação activa*/
.pswp__ui--idle .pswp__top-bar {
  opacity: 1; }

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
  opacity: 1; }



