/* PhotoSwipe UI CSS file, http://photoswipe.com - @author Dmitry Semenov */
.pswp__ui {
    -webkit-font-smoothing: auto;
    visibility: visible;
    opacity: 1;
    z-index: 1050;
}
.pswp__top-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    width: 100%;
}
.pswp__bg {
    background: rgba(255, 255, 255, 0.95);
}

/* Loading indicator */
.pswp__preloader {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -22px;
    z-index: 20;
    opacity: 0;
    position: relative;
}
.pswp__preloader--active {
    opacity: 1;
}

.pswp__error-msg {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 16px;
    margin-top: -8px;
}
.pswp__error-msg a {
    text-decoration: underline;
}

.pswp__button {
    font-size: 22px;
    color: #282828;
    width: 46px;
    height: 46px;
    position: relative;
    background: none;
    cursor: pointer;
    overflow: visible;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    margin: 0;
    float: right;
    -webkit-transition: color 0.2s; transition: color 0.2s;
    -webkit-box-shadow: none; box-shadow: none;
}
.pswp__button:hover {
    color: #dc9814;
}
.pswp__button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    font-size: 62px;
    background: none;
    top: 50%;
    margin-top: -50px;
    width: 70px;
    height: 100px;
    position: absolute;
}
@media (max-width: 1200px) {
	.pswp__button--arrow--left,
    .pswp__button--arrow--right {
		font-size: 52px;
        width: 42px;
	}
}
@media all and (max-width: 991px) {
	.pswp__button--arrow--left,
    .pswp__button--arrow--right {
		font-size: 46px;
        width: 37px;
	}
}
@media all and (max-width: 550px) {
	.pswp__button {
        font-size: 18px;
    }
    .pswp__button--arrow--left,
    .pswp__button--arrow--right {
		font-size: 34px;
        width: 27px;
	}
}

.pswp--single--image .pswp__button--arrow--left,
.pswp--single--image .pswp__button--arrow--right {
    display: none;
}
.pswp__top-bar,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    -webkit-backface-visibility: hidden;
    will-change: opacity;
}
.pswp--touch .pswp__button--arrow--left,
.pswp--touch .pswp__button--arrow--right {
    visibility: hidden; 
}
.pswp__button--arrow--left {
    left: 0; 
}
.pswp__button--arrow--right {
    right: 0;
}

@media screen and (max-width: 1024px) {
    .pswp_scroll-wrap {
        top: 0;
        bottom: 0;
    }
    .pswp__preloader {
        position: relative;
        left: auto;
        top: auto;
        margin: 0;
        float: right;
    } 
}

.pswp__caption--fake {
    visibility: hidden; 
}
.pswp__bg,
.pswp__caption,
.pswp__top-bar {
    will-change: opacity;
    -webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}
.pswp--animated-in .pswp__bg,
.pswp--animated-in .pswp__zoom-wrap {
    -webkit-transition: none;
    transition: none;
}
.pswp--has_mouse .pswp__button--arrow--left,
.pswp--has_mouse .pswp__button--arrow--right {
    visibility: visible;
}
.pswp__top-bar, .pswp__caption {
    background-color: rgba(0, 0, 0, 0.5);
}
.pswp__ui--fit .pswp__top-bar, .pswp__ui--fit .pswp__caption {
    background-color: rgba(0, 0, 0, 0.3);
}
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    opacity: 0;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 0;
}
.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 0; 
}
.pswp__ui--hidden .pswp__top-bar,
.pswp__ui--hidden .pswp__caption,
.pswp__ui--hidden .pswp__bg,
.pswp__ui--hidden .pswp__button--arrow--left,
.pswp__ui--hidden .pswp__button--arrow--right {
    opacity: 0.001; 
}
.pswp__element--disabled {
    display: none !important;
}
.pswp--minimal--dark .pswp__top-bar {
    background: none;
}

/* Share modal/popup and links */
.pswp__share-modal {
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1600;
    opacity: 0;
    transition: opacity 0.2s ease-out;
    -webkit-backface-visibility: hidden;
    will-change: opacity;
    -webkit-user-select: none; -moz-user-select: none; user-select: none;
}
.nm-pswp-share-hidden .pswp__button--share,
.nm-pswp-share-hidden .pswp__share-modal,
.pswp__share-modal--hidden {
    display: none;
}

.pswp__share-tooltip {
    z-index: 1620;
    position: absolute;
    background: #282828;
    top: 56px;
    display: block;
    width: auto;
    right: 45px;
    /*transform: translateY(6px);
    transition: transform 0.2s;
    -webkit-backface-visibility: hidden;
    will-change: transform;*/
}
.pswp__share-tooltip a {
    display: block;
    padding: 12px 14px;
    color: #eee;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
}
.pswp--touch .pswp__share-tooltip a { /* increase size of share links on touch devices */
    padding: 16px 14px;
}
.pswp__share-tooltip a:first-child:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -12px;
    right: 18px;
    border: 6px solid transparent;
    border-bottom-color: #282828;
    -webkit-pointer-events: none; -moz-pointer-events: none; pointer-events: none;
}
.pswp__share-tooltip a:hover {
    text-decoration: none;
    color: #fff;
    background: #555;
}

.pswp__share-modal--fade-in {
    opacity: 1;
}
/*.pswp__share-modal--fade-in .pswp__share-tooltip {
    transform: translateY(0);
}*/

a.pswp__share--facebook:hover {
    background: #3E5C9A;
    color: #fff;
}
a.pswp__share--facebook:hover:before {
    border-bottom-color: #3E5C9A;
}
a.pswp__share--twitter:hover {
    background: #55ACEE;
    color: #fff;
}
a.pswp__share--pinterest:hover {
    background: #ccc;
    color: #CE272D;
}
