.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: rgba(23, 26, 29, 0.9)
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none!important;
    -webkit-backface-visibility: hidden
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle
}

.mfp-align-top .mfp-container:before {
    display: none
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045
}

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
    width: 100%;
    cursor: auto
}

.mfp-ajax-cur {
    cursor: progress
}

.mfp-container {
    cursor: url('//styles.prosites.com/themes/_shared/close.png'), -webkit-zoom-out;
    cursor: url('//styles.prosites.com/themes/_shared/close.png'), zoom-out
}

.mfp-auto-cursor .mfp-content {
    cursor: auto
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.mfp-loading.mfp-figure {
    display: none
}

.mfp-hide {
    display: none!important
}

.mfp-preloader {
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -.8em;
    left: 8px;
    right: 8px;
    z-index: 1044
}

.mfp-s-ready .mfp-preloader {
    display: none
}

.mfp-s-error .mfp-content {
    display: none
}

button.mfp-close,
button.mfp-arrow {
    position: fixed;
    overflow: visible;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: inline-block;
    outline: none;
    z-index: 1046;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    font-size: 3em;
    opacity: .25;
    box-shadow: none!important;
}

button.mfp-close:hover,
button.mfp-arrow:hover {
    opacity: 1;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0
}

.mfp-close {
    display: none!important
}

.mfp-close:hover,
.mfp-close:focus {
    opacity: 1
}

.mfp-close:active {
    top: 1px
}

.mfp-close-btn-in .mfp-close {
    float: right;
    font-size: .7em;
    line-height: 16px
}

.mfp-close-btn-in .mfp-close:before {
    content: '\f00d';
    font-family: 'FontAwesome'
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    color: #FFF;
    text-align: center
}

.mfp-title,
.mfp-counter {
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 1.4em;
    font-weight: 400;
    white-space: nowrap;
    display: inline-block;
    vertical-align: top;
    padding: 10px 5px 0 5px;
    opacity: .8
}

.mfp-title {
    font-weight: 700;
    opacity: 1;
}

.mfp-title.video-title {
    padding-top: 0;
}

.mfp-counter {
    float: right;
}

.mfp-arrow {
    margin: 0;
    -webkit-tap-highlight-color: transparent
}

.mfp-arrow:before {
    content: '\f104';
    display: block;
    font-family: 'FontAwesome';
    color: #fff
}

.mfp-arrow-right {
    left: auto!important;
    right: 0
}

.mfp-arrow-right:before {
    content: '\f105';
    display: block;
    font-family: 'FontAwesome';
    color: #fff
}

.mfp-iframe-holder {
    padding-top: 40px;
    padding-bottom: 40px
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px
}

.mfp-iframe-holder .mfp-close {
    top: -40px
}

.mfp-iframe-scaler {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-top: 56.25%
}

.mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000
}

img.mfp-img {
    width: auto;
    max-width: 100%;
    max-height: 88vh!important;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto
}

img.mfp-img[src*="lg.jpg"] {
    height: auto!important;
    width: 70vw!important;
    max-width: 600px!important
}

.mfp-figure small {
    display: block
}

.mfp-figure figure {
    margin: 0
}

.mfp-bottom-bar {
    display: block;
    cursor: auto;
    text-align: left;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
    text-align: center;
    padding: 0 25px
}

.mfp-content video {
    width: 100%
}

@media screen and (max-width: 800px) and (orientation: landscape),
screen and (max-height: 300px) {
    .mfp-img-mobile .mfp-image-holder {
        padding-left: 0;
        padding-right: 0
    }
    .mfp-img-mobile img.mfp-img {
        padding: 0
    }
    .mfp-img-mobile .mfp-figure:after {
        top: 0;
        bottom: 0
    }
    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px
    }
    .mfp-img-mobile .mfp-bottom-bar {
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        box-sizing: border-box
    }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0
    }
    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px
    }
    .mfp-img-mobile .mfp-close {
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        line-height: 35px;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        text-align: center;
        padding: 0
    }
}

@media screen and (max-width: 900px) {
    .mfp-container {
        padding: 0
    }
}

.mfp-content img,
.mfp-content video {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), 0 1px 10px rgba(0, 0, 0, 0.25)
}


/* overlay at start */

.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
}


/* overlay animate in */

.mfp-fade.mfp-bg.mfp-ready {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    opacity: 1;
}


/* overlay animate out */

.mfp-fade.mfp-bg.mfp-removing {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
    opacity: 0;
}


/* content at start */

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1), transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    transition: opacity 0.3s cubic-bezier(0.0, 0.0, 0.2, 1), transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.0, 0.0, 0.2, 1);
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    text-align: center;
}

#popup-video {
    width: 80%;
    margin: 0 auto;
}

@media screen and (max-width:840px) {
    #popup-video {
        width: 100%;
    }
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    opacity: 0;
    -webkit-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}
