/*

===================================================================
MAGNIFIC POPUP - MAGNIFIC-POPUP.CSS
===================================================================

*/

.mfp-bg {
    background: #0b0b0b;
    filter: alpha(opacity=80);
    height: 100%;
    left: 0;
    opacity: 0.8;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1142;
}

.mfp-wrap {
    -webkit-backface-visibility: hidden;
    height: 100%;
    left: 0;
    outline: none !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1143;
}

.mfp-container {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
    left: 0;
    padding: 0 8px;
    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: 1045;
}

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
    cursor: auto;
    width: 100%;
}

.mfp-ajax-cur { cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: -moz-zoom-out;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.mfp-zoom {
    cursor: pointer;
    cursor: -webkit-zoom-in;
    cursor: -moz-zoom-in;
    cursor: zoom-in;
}

.mfp-auto-cursor .mfp-content { cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter { user-select: none; }

.mfp-container.active .mfp-bottom-bar, .mfp-container.active .mfp-counter {
    opacity: 1;
    transition: all .3s;
    transition-delay: .5s;
}

.mfp-loading.mfp-figure { display: none; }

.mfp-hide { display: none !important; }

.mfp-preloader {
    color: rgba(255, 255, 255, 0.5);
    display: inline-block;
    height: 30px;
    left: 50%;
    margin-left: -15px;
    margin-top: -0.8em;
    overflow: hidden;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 30px;
    z-index: 1044;
}

.mfp-preloader { content: url(../media/loader.svg); }

.mfp-s-ready .mfp-preloader { display: none; }

.mfp-s-error .mfp-content { display: none; }

button.mfp-close, button.mfp-arrow {
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    display: block;
    outline: none;
    overflow: visible;
    padding: 0;
    z-index: 1046;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.mfp-close {
    color: #FFF;
    filter: alpha(opacity=65);
    font-family: Arial, Baskerville, monospace;
    font-size: 28px;
    font-style: normal;
    height: 44px;
    line-height: 44px;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    position: fixed;
    right: 0;
    text-align: center;
    text-decoration: none;
    top: 0;
    width: 44px;
}

.mfp-close:hover, .mfp-close:focus {
    filter: alpha(opacity=100);
    opacity: 1;
}

.mfp-close:active { top: 1px; }

.mfp-close-btn-in .mfp-close {
    color: #FFF;
    opacity: 0;
}

.mfp-counter {
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 100%);
    bottom: 2px;
    color: #B3B3B3;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    opacity: 0;
    padding: 8px 15px;
    position: fixed;
    right: 0;
    text-align: center;
    white-space: nowrap;
}

.mfp-arrow {
    font-family: "Icons";
    height: 40px;
    margin: 0;
    margin-top: -25px;
    opacity: 0.65;
    padding: 0;
    position: absolute;
    top: 50%;
    width: 40px;
}

.mfp-arrow:hover, .mfp-arrow:focus {
    filter: alpha(opacity=100);
    opacity: 1;
}

.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
    border-color: #fff;
    color: #fff;
    display: block;
    font-size: 40px;
    left: 0;
    margin-left: 35px;
    margin-top: 35px;
    position: absolute;
    top: 0;
}

.mfp-arrow:after, .mfp-arrow .mfp-a {
    border-bottom-width: 13px;
    border-top-width: 13px;
    top: 8px;
}

.mfp-arrow-right:before {
    content: "\67";
    margin: 0;
}

.mfp-arrow-left:before {
    content: "\68";
    margin: 0;
}

.mfp-arrow-left { left: 0; }

.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    border-right: 17px solid #FFF;
    margin-left: 31px;
}

.mfp-arrow-right { right: 0; }

.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    border-left: 17px solid #FFF;
    margin-left: 39px;
}

.mfp-iframe-holder {
    padding-bottom: 40px;
    padding-top: 40px;
}

.mfp-iframe-holder .mfp-content {
    line-height: 0;
    max-width: 900px;
    width: 100%;
}

.mfp-iframe-holder .mfp-close { top: 0px; }

.mfp-iframe-scaler {
    height: 0;
    overflow: hidden;
    padding-top: 56.25%;
    width: 100%;
}

.mfp-iframe-scaler iframe {
    background: #000;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Main image in popup */

img.mfp-img {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    height: auto;
    line-height: 0;
    margin: 0 auto;
    max-width: 100%;
    padding: 40px 0 40px;
    width: auto;
}

/* The shadow behind the image */

.mfp-figure { line-height: 0; }

.mfp-figure:after {
    background: #444;
    bottom: 40px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    content: '';
    display: block;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 40px;
    width: auto;
    z-index: -1;
}

.mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px;
}

.mfp-figure figure { margin: 0; }

.mfp-bottom-bar {
    cursor: auto;
    left: 0;
    margin-top: -36px;
    position: absolute;
    top: 100%;
    width: 100%;
}

.mfp-title {
    color: #F3F3F3;
    line-height: 18px;
    padding-right: 36px;
    text-align: left;
    word-wrap: break-word;
}

.mfp-image-holder .mfp-content {
    max-width: 100%;
    /* transform: scale(1); */
}

.mfp-gallery .mfp-image-holder .mfp-figure { cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
    /**
       * Remove all paddings around the image on small screen
       */
    .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 {
        bottom: 0;
        top: 0;
    }

    .mfp-img-mobile .mfp-figure small {
        display: inline;
        margin-left: 5px;
    }

    .mfp-img-mobile .mfp-bottom-bar {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        background: rgba(0, 0, 0, 0.6);
        bottom: 0;
        box-sizing: border-box;
        margin: 0;
        padding: 3px 5px;
        position: fixed;
        top: auto;
    }

    .mfp-img-mobile .mfp-bottom-bar:empty { padding: 0; }

    .mfp-img-mobile .mfp-counter {
        right: 5px;
        top: 3px;
    }

    .mfp-img-mobile .mfp-close {
        background: rgba(0, 0, 0, 0.6);
        height: 35px;
        line-height: 35px;
        padding: 0;
        position: fixed;
        right: 0;
        text-align: center;
        top: 0;
        width: 35px;
    }
}

@media all and (max-width: 900px) {
    .mfp-arrow {
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    .mfp-arrow-left {
        -webkit-transform-origin: 0;
        transform-origin: 0;
    }

    .mfp-arrow-right {
        -webkit-transform-origin: 100%;
        transform-origin: 100%;
    }

    .mfp-container {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.mfp-ie7 .mfp-img { padding: 0; }

.mfp-ie7 .mfp-bottom-bar {
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
    width: 600px;
}

.mfp-ie7 .mfp-container { padding: 0; }

.mfp-ie7 .mfp-content { padding-top: 44px; }

.mfp-ie7 .mfp-close {
    padding-top: 0;
    right: 0;
    top: 0;
}


/*
Schiocco - Copyright (c) Federico Schiocchet - Schiocco (www.Schiocco.it) - Framework Y (www.framework-y.com)
*/

.mfp-content .content { position: relative; }

[class*=box-lightbox] iframe { display: block; }

.mfp-wrap.inner .mfp-bottom-bar {
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: -88px;
    padding: 15px;
}

[class*=box-lightbox] {
    background-color: #FFF;
    border-radius: 2px;
    display: none;
    float: none;
    margin: 10px auto;
    max-height: 750px;
    max-width: 800px;
    padding: 30px;
}

.mfp-content [class*=box-lightbox] { display: block; }

.box-lightbox-sm {
    max-height: 300px;
    max-width: 400px;
}

.box-lightbox-md {
    max-height: 500px;
    max-width: 800px;
}

.box-lightbox-lg { max-width: 1200px; }

.box-lightbox.full-screen {
    margin: 50px;
    max-height: 100%;
    max-width: 100%;
}

[class*=box-lightbox] > div { padding: 0; }

.box-inline .mfp-close { margin: 0; }

.mfp-container.active .mfp-close {
    opacity: 1;
    transition: all .3s;
    transition-delay: .5s;
}

 
/*
==============================
MOBILE - PHONE - Extra small devices
==============================
*/

@media (max-width: 992px) {
    .mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
        line-height: 70px;
        margin: 24px 21px;
        opacity: 1;
    }

    .mfp-container { overflow: visible; }

    button.mfp-arrow {
        -webkit-transform: scale(1);
        -webkit-transform-origin: 0;
        background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 100%);
        background-color: black;
        bottom: 0 !important;
        height: 50px !important;
        left: 0;
        padding: 0;
        position: fixed !important;
        right: initial;
        text-align: left;
        top: initial;
        transform: scale(1);
        transform-origin: 0;
        width: 50px;
    }

    button.mfp-arrow.mfp-arrow-right {
        background: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 100%);
        margin-left: 50px;
    }

    .box-lightbox, .box-lightbox-md, .box-lightbox-sm, .box-lightbox-xs {
        max-height: 100% !important;
        overflow: hidden;
    }
}