
.mfp-bg {
    background: #000 none repeat scroll 0 0;
    height: 100%;
    left: 0;
    opacity: 0.8;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999999;
}
.mfp-wrap {
    height: 100%;
    left: 0;
    outline: medium none !important;
    position: fixed;
    top: -10px;
    width: 100%;
    z-index: 99999999;
}
.mfp-container {
    box-sizing: border-box;
    height: 100%;
    left: 0;
    padding: 0 18px;
    position: absolute;
    text-align: center;
    top: 0;
    width: 100%;
}
.mfp-container::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.mfp-align-top .mfp-container::before {
    display: none;
}
.mfp-content {
    display: inline-block;
    margin: 0 auto;
    position: relative;
    text-align: left;
    vertical-align: middle;
    z-index: 505;
}
.mfp-inline-touchinger .mfp-content, .mfp-ajax-touchinger .mfp-content {
    cursor: auto;
    width: 100%;
}
.mfp-ajax-cur {
    cursor: progress;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-figure .mfp-close {
    cursor: zoom-out;
}
.mfp-zoom {
    cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
    cursor: auto;
}
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
    -moz-user-select: none;
}
.mfp-loading.mfp-figure {
    display: none;
}
.mfp-hide {
    display: none !important;
}
.mfp-preloader {
    color: #aaa;
    left: 8px;
    margin-top: -0.8em;
    position: absolute;
    right: 8px;
    text-align: center;
    top: 50%;
    width: auto;
    z-index: 504;
}
.mfp-preloader a {
    color: #cccccc;
}
.mfp-preloader a:hover {
    color: #fff;
}
.mfp-s-ready .mfp-preloader {
    display: none;
}
.mfp-s-error .mfp-content {
    display: none;
}
.mfp-s-loading .mfp-arrow {
    display: none;
}
button.mfp-close, button.mfp-arrow {
    background: transparent none repeat scroll 0 0;
    border: 0 none;
    cursor: pointer;
    display: block;
    overflow: visible;
    padding: 0;
    z-index: 506;
}
button::-moz-focus-inner {
    border: 0 none;
    padding: 0;
}
.mfp-close {
    height: 44px;
    line-height: 44px;
    opacity: 1;
    padding: 0 0 18px 10px;
    position: absolute;
    right: 0;
    text-decoration: none;
    top: 0;
    width: 44px;
}
.mfp-figure .mfp-close, .mfp-iframe-touchinger .mfp-close {
    background-image: url("../images/mfp-close.png");
    background-position: 100% 50%;
    background-repeat: no-repeat;
    padding-right: 6px;
    right: -13px;
    top: 20px;
    width: 100%;
}
.mfp-counter {
    color: #aaa;
    font-size: 13px;
    line-height: 18px;
    position: absolute;
    right: 0;
    top: 0;
}
.mfp-arrow {
    height: 110px;
    margin: -55px 0 0;
    opacity: 0;
    padding: 0;
    position: absolute;
    top: 50%;
    transition: all 0.15s ease-in-out 0s;
    width: 90px;
}
.mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    border: medium solid transparent;
    content: "";
    display: block;
    height: 0;
    left: 0;
    margin-left: 35px;
    margin-top: 35px;
    position: absolute;
    top: 0;
    width: 0;
}
.mfp-arrow.mfp-arrow-left {
    background-image: url("../images/mfp-left.png");
    background-position: 50% center;
    background-repeat: no-repeat;
}
.mfp-arrow.mfp-arrow-right {
    background-image: url("../images/mfp-right.png");
    background-position: 50% center;
    background-repeat: no-repeat;
    right: 0;
}
.mfp-content:hover .mfp-arrow {
    opacity: 1;
}
.mfp-iframe-touchinger {
    padding-bottom: 40px;
    padding-top: 40px;
}
.mfp-iframe-touchinger .mfp-content {
    line-height: 0;
    max-width: 900px;
    width: 100%;
}
.mfp-iframe-scaler {
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
    width: 100%;
}
.mfp-iframe-scaler iframe {
    background: black none repeat scroll 0 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.mfp-iframe-touchinger .mfp-close {
    top: -40px;
}
img.mfp-img {
    box-sizing: border-box;
    display: block;
    height: auto;
    line-height: 0;
    margin: 0 auto;
    max-width: 100%;
    padding: 40px 0;
    width: auto;
}
.mfp-figure::after {
    bottom: 40px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    content: "";
    display: block;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 40px;
    width: auto;
    z-index: -1;
}
.mfp-figure {
    line-height: 0;
}
.mfp-bottom-bar {
    cursor: auto;
    left: 0;
    margin-top: -30px;
    position: absolute;
    top: 100%;
    width: 100%;
}
.mfp-title {
    color: #f3f3f3;
    line-height: 18px;
    padding-right: 36px;
    text-align: left;
}
.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}
.mfp-figure .mfp-content {
    max-width: 100%;
}
.mfp-gallery .mfp-figure .mfp-figure {
    cursor: pointer;
}
