.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.85;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    position: fixed;
    outline: none;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 24px;
    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-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
}

.mfp-auto-cursor .mfp-content {
    cursor: auto;
}

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none;
}

.mfp-preloader {
    color: #ccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 1044;
}
.mfp-preloader a {
    color: #ccc;
}
.mfp-preloader a:hover {
    color: #fff;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close,
button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 1046;
    box-shadow: none;
    touch-action: manipulation;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    width: 45px;
    height: 45px;
    line-height: 41px;
    position: fixed;
    right: 20px;
    top: 20px;
    text-decoration: none;
    text-align: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 34px;
    font-family: Arial, sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0;
}

.mfp-close:hover,
.mfp-close:focus {
    /*background: #ffffff;
    color: #000000;*/
    transform: rotate(90deg);
}

.mfp-close:active {
    top: 20px;
}

.mfp-close-btn-in .mfp-close {
    color: #fff;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {

}

.mfp-arrow {
    position: fixed;
    top: 50%;
    margin-top: -25px;
    padding: 0;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mfp-arrow:active {
    margin-top: -25px;
}

.mfp-arrow:hover,
.mfp-arrow:focus {
    /*background-color: #ffffff;*/
	opacity:0.6;
}

.mfp-arrow:before,
.mfp-arrow:after {
    border: none;
    display: none;
}
.mfp-arrow-left {
    left: 24px;
}
.mfp-arrow-left::after {
    content: '\f104';
    display: block;
    font-size: 36px;
	font-weight: 300;
    line-height: 44px;
    color: #ffffff;
    text-align: center;
    font-family: "Font Awesome 6 Pro";
    transition: color 0.3s ease;
}
.mfp-arrow-left:hover::after {
    /*color: #000000;*/
}

.mfp-arrow-right {
    right: 24px;
}
.mfp-arrow-right::after {
    content: '\f105';
    display: block;
    font-size: 36px;
	font-weight: 300;
    line-height: 44px;
    color: #ffffff;
    text-align: center;
    font-family: "Font Awesome 6 Pro";
    transition: color 0.3s ease;
}
.mfp-arrow-right:hover::after {
    /*color: #000000;*/
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    color: #aaaaaa;
    font-size: 14px;
    font-family: inherit;
    white-space: nowrap;
    line-height: 20px;
}

.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%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    background: #000;
}

img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 60px;
    margin: 0 auto;
}

.mfp-figure {
    line-height: 0;
}
.mfp-figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 60px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
    background: #111;
}
.mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px;
}
.mfp-figure figure {
    margin: 0;
}

.mfp-bottom-bar {
    margin-top: -50px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    word-wrap: break-word;
    padding-right: 80px;
    font-family: inherit;
    display: block;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
}

@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.7);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 6px 10px;
        position: fixed;
        box-sizing: border-box;
    }
    .mfp-img-mobile .mfp-bottom-bar:empty {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter {
        right: 10px;
        top: 6px;
        left: auto;
    }
    .mfp-img-mobile .mfp-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        line-height: 31px;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    .mfp-arrow-left {
        left: 10px;
    }
    .mfp-arrow-left::after {
        font-size: 28px;
        line-height: 36px;
    }
    .mfp-arrow-right {
        right: 10px;
    }
    .mfp-arrow-right::after {
        font-size: 28px;
        line-height: 36px;
    }
    .mfp-container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .mfp-close {
        right: 10px;
        top: 10px;
    }
}