@import url('/css/fonts.css');








/* Magnific Popup CSS */

.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow: hidden;
    position: fixed;
    background: #4f4f4f;
    /*opacity: 0.9;*/
    /*filter: alpha(opacity=90);*/
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
    background: #4f4f4f;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: #4f4f4f;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    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: absolute;
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    z-index: 9005;
    top: 134px;
    left: 0;
}

.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: -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 {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.mfp-loading.mfp-figure {
    display: none;
}

.mfp-hide {
    display: none !important;
}

.mfp-preloader {
    color: #cccccc;
    position: absolute;
    top: 50%;
    width: auto;
    text-align: center;
    margin-top: -0.8em;
    left: 8px;
    right: 8px;
    z-index: 9004;
    letter-spacing: .01em;
    font-family: program, sans-serif;
}

.mfp-preloader a {
    color: #cccccc;
}

.mfp-preloader a:hover {
    color: white;
}

.mfp-s-ready .mfp-preloader {
    display: none;
}

.mfp-s-error .mfp-content {
    display: none;
}

button.mfp-close {
    overflow: visible;
    cursor: pointer;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 9006;
    -webkit-box-shadow: none;
    box-shadow: none;
    /*transform: scale(1.4);*/
    /*font-family: serif;*/
    /*font-weight: bold;*/
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.mfp-close {
    height: 66px;
    width: 66px;
    border: none;
    /* border-radius: 50%; */
    background: transparent;
    line-height: 40px;
    position: absolute;
    right: 2%;
    top: -17%;
    text-decoration: none;
    text-align: center;
    /* opacity: .9; */
    padding: 0 0;
    /* color: white; */
    font-style: normal;
    font-weight: 100;
    font-size: 66px;
    overflow: hidden;
    transition: all .25s ease-in-out;
}

.mfp-close:hover,
.mfp-close:focus {
    color: #ec1c24 !important;
}

.mfp-close-btn-in .mfp-close {
    color: white;
}

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    padding-top: 2px;
    color: white;
    text-align: center;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #cccccc;
    font-size: 12px;
    display: none;
    line-height: 18px;
}

button.mfp-arrow {
    overflow: visible;
    cursor: pointer;
    -webkit-appearance: none;
    display: block;
    outline: none;
    padding: 0;
    z-index: 10000;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.mfp-arrow {
    position: absolute;
    /* opacity: 0.8; */
    margin: 0 0 60px;
    top: 840px;
    /*margin-top: -55px;*/
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    background: transparent;
    border-radius: 100%;
    width: 65px;
    height: 65px;
    border: 2px solid transparent;
    transition: all .25s ease-in-out;
}

.mfp-arrow:hover {}

.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
}

.mfp-arrow:after,
.mfp-arrow .mfp-a {
    border-bottom-width: 17px;
    border-top-width: 17px;
    top: 4px;
}

.mfp-arrow:before,
.mfp-arrow .mfp-b {
    border-top-width: 21px;
    border-bottom-width: 21px;
}

.mfp-arrow-left {
    left: 0;
}

.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
    border-right: 22px solid #fff;
    margin-left: 17px;
}

.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
    margin-left: 11px;
    border-right: 27px solid #cccccc;
    transition: all .25s ease-in-out;
}

.mfp-arrow-left:hover:after,
.mfp-arrow-left:hover .mfp-a {
    border-right-color: #fff;
}

.mfp-arrow-left:hover:before,
.mfp-arrow-left:hover .mfp-b {
    border-right-color: #60d0e4
}

.mfp-arrow-right {
    right: 0;
}

.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
    border-left: 22px solid #fff;
    margin-left: 21px;
}

.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
    border-left: 27px solid #cccccc;
    transition: all .25s ease-in-out;
}

.mfp-arrow-right:hover:before,
.mfp-arrow-right:hover .mfp-b {
    border-left-color: #60d0e4
}

.mfp-arrow-right:hover:after,
.mfp-arrow-right:hover .mfp-a {
    border-left-color: #fff;
}

.mfp-arrow-right {
    content: "";
    display: inline-block;
    background-image: url('../img/icon-arrow-right.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 59px;
    height: 56px;
    transition: all .2s ease-in-out;
}

.mfp-arrow-right:hover {
    transform: translateX(5px);
}

.mfp-arrow-left {
    content: "";
    display: inline-block;
    background-image: url('../img/icon-arrow-left.svg');
    background-size: cover;
    background-repeat: no-repeat;
    width: 59px;
    height: 56px;
    transition: all .2s ease-in-out;
}

.mfp-arrow-left:hover {
    transform: translateX(-5px);
}

.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: black;
}









/* Main image in popup */

img.mfp-img {
    /*width: auto;*/
    /*max-width: 100%;*/
    width:  100%;
     height: 648px; 
    /*height: 500px !important;*/
    display: block;
    line-height: 0;
    object-fit: cover;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0 auto;
}

figure {
    position: relative;
}

.mfp-figure figure:before {
    content: " ";
    background-image: url(../img/light-top.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    position: absolute;
    display: block;
    top: -1px;
    left: -2px;
    width: 100%;
    height: 150px;
}

.mfp-figure figure:after {
    /*  content: " ";
    background-image: url('../img/mask-bottom.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom left;
    position: absolute;
    display: block;
    left: -1%;
    bottom: -2px;
    width: 100%;
    height: 28%;
    overflow: hidden; */
}









/* The shadow behind the image */

.mfp-figure {
    line-height: 0;
}

.mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: 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 {
    margin: 0px auto 50px;
    padding: 0;
    padding-left: 30px;
    position: relative;
    top: 22px;
    left: 0px;
    width: 80%;
    cursor: auto;
    z-index: 9045;
    overflow: hidden;
}

.mfp-title {
    text-align: left;
    letter-spacing: .01em;
    line-height: 1.3em;
    color: white;
    word-wrap: break-word;
    padding-right: 120px;
    margin-top: 31px;
    font-size: 24px;
    font-weight: 500;
}

.mfp-title p {
    color: white;
    font-size: 20px;
    margin-top: 10px;
    font-weight: 400;
}

.mfp-image-holder .mfp-content {
    min-width: 100%;
}

.mfp-gallery .mfp-image-holder .mfp-figure {
    cursor: pointer;
    overflow: visible;
}

figcaption {
    height: 0px;
}

@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 {
        /* The shadow behind the image */
    }
    .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;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        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 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 {}
}


@media (max-width: 992px) {
    .mfp-content {
        position: absolute;
        display: inline-block;
        vertical-align: middle;
        margin: 0 auto;
        z-index: 9005;
        left: 0;
        top: 82px;
    }
    .mfp-close {
        height: 66px;
        width: 66px;
        border-radius: 50%;
        line-height: 40px;
        position: fixed;
        right: 2%;
        top: 0;
        text-decoration: none;
        background: transparent;
        font-style: normal;
        font-weight: 100;
        font-size: 60px;
        overflow: hidden;
    }
    button.mfp-arrow {
        top: 500px;
        display: block;
        transition: none;
        height: 45px;
        width: 51px;
    }
    .mfp-close:hover,
    .mfp-close:focus,
    .mfp-close:active {
        opacity: 1;
        border: none;
    }
    .mfp-gallery .mfp-image-holder .mfp-figure {
        cursor: pointer;
        height: 275px;
        overflow: visible;
    }
    img.mfp-img {
        width: 100%;
        /*min-width: 100%;*/
        /*height: 275px;*/
        height: 375px !important;
        display: block;
        line-height: 0;
        object-fit: cover;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin: 0 auto;
    }
    .mfp-title {
        /*margin-left: 27px;*/
        text-align: left;
        letter-spacing: .01em;
        line-height: 1.5em;
        color: white;
        word-wrap: break-word;
        padding: 0 24px;
        /*padding-right: 36px;*/
        margin: 0px auto;
        margin-top: 31px;
        font-size: 18px;
        width: 75%;
    }
    .mfp-title p {
        font-size: 16px;
    }
    .mfp-bottom-bar {
        padding: 10px 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        cursor: auto;
    }
   /* .mfp-figure figure:after {
        bottom: -102px;
    }*/
    .mfp-arrow-left {
        left: 5%;
    }
    .mfp-arrow-left:hover {
        transform: none;
    }
    .mfp-arrow-right {
        right: 5%;
    }
    .mfp-arrow-right:hover {
        transform: none;
    }
}

@media(max-width: 768px) {
    .mfp-content {
        position: absolute;
        display: inline-block;
        vertical-align: middle;
        margin: 0 auto;
        z-index: 9005;
        left: 0;
        top: 82px;
    }
    .mfp-close {
        height: 66px;
        width: 66px;
        border-radius: 50%;
        line-height: 40px;
        position: absolute;
        right: 11px;
        top: -30%;
        text-decoration: none;
        background: transparent;
        font-style: normal;
        font-weight: 100;
        font-size: 60px;
        overflow: hidden;
    }
    button.mfp-arrow {
        background-size: 30px;
        height: 30px !important;
        width: 32px !important;
        /*display: none;*/
    }
    .mfp-close:hover,
    .mfp-close:focus,
    .mfp-close:active {
        opacity: 1;
        border: none;
    }
    .mfp-gallery .mfp-image-holder .mfp-figure {
        cursor: pointer;
        height: 275px;
        overflow: visible;
    }
    img.mfp-img {
        width: auto;
        max-width: 100%;
        width: 100%;
        height: 375px !important;
        display: block;
        line-height: 0;
        object-fit: cover;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
        margin: 0 auto;
    }
    .mfp-title {
        /*margin-left: 27px;*/
        text-align: left;
        line-height: 1.3em;
        color: white;
        word-wrap: break-word;
        padding-right: 36px;
        margin-top: 31px;
        font-size: 20px;
        /*font-weight: 400;*/
    }
    .mfp-title p {
        font-size: 16px;
        font-weight: 400;
    }
    .mfp-bottom-bar {
        padding: 10px 0;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        cursor: auto;
    }
}

/*@media(max-width:520px) {
    .mfp-close {
        top: 0px;
        right: 0px;
        transform: scale(1.2);
    }
    .mfp-figure figure:before {
        content: " ";
        background-image: url(../img/light-top.svg);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: top right;
        position: absolute;
        display: block;
        top: -1px;
        left: -20px;
        width: 100%;
        height: 75px;
    }
}*/



.mfp-ie7 .mfp-img {
    padding: 0;
}

.mfp-ie7 .mfp-bottom-bar {
    width: 600px;
    left: 50%;
    margin-left: -300px;
    margin-top: 5px;
    padding-bottom: 5px;
}

.mfp-ie7 .mfp-container {
    padding: 0;
}

.mfp-ie7 .mfp-content {
    padding-top: 44px;
}

.mfp-ie7 .mfp-close {
    top: 0;
    right: 0;
    padding-top: 0;
}

@media screen and (min-width: 900px) {
    .mfp-arrow-left {
        left: 82%;
    }
    .mfp-arrow-right {
        right: 3%;
    }
}
@media screen and (min-width: 1200px) {
    .mfp-arrow-left {
        left: 85%;
    }
}
@media screen and (min-width: 1500px) {
    .mfp-arrow-left {
        left: 87%;
    }
}
@media screen and (min-width: 1800px) {
    .mfp-arrow-left {
        left: 88%;
    }
}
@media screen and (min-width: 2000px) {
    .mfp-arrow-left {
        left: 90%;
    }
}

@media screen and (max-height: 600px) {
    .mfp-arrow {
        top: 135%;
    }
}
@media screen and (max-height: 500px) {
    .mfp-arrow {
        top: 140%;
    }
}
@media screen and (max-height: 400px) {
    .mfp-arrow {
        top: 150%;
    }
}
@media screen and (max-height: 300px) {
    .mfp-arrow {
        top: 180%;
    }
}
@media screen and (max-height: 200px) {
    .mfp-arrow {
        top: 190%;
    }
}