.mfp-bg
{
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    opacity: .8; 
    background: #0b0b0b;
}
.mfp-wrap
{
    position: fixed;
    z-index: 3001;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}
.mfp-container
{
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box; 
    width: 100%;
    height: 100%;
    padding: 0 8px;
    text-align: center;
}
.mfp-container:before
{
    display: inline-block;
    height: 100%;
    content: '';
    vertical-align: middle;
}
.mfp-align-top .mfp-container:before
{
    display: none;
}
.mfp-content
{
    position: relative;
    z-index: 3000; 
    display: inline-block;
    margin: 0 auto;
    text-align: left;
    vertical-align: middle;
}
.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;
    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;
        -ms-user-select: none;
            user-select: none;
}
.mfp-loading.mfp-figure
{
    display: none;
}
.mfp-hide
{
    display: none !important;
}
.mfp-preloader
{
    position: absolute;
    z-index: 3000; 
    top: 50%;
    right: 8px;
    left: 8px;
    width: auto;
    margin-top: -.8em;
    text-align: center;
    color: #ccc;
}
.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
{
    z-index: 3000;
    display: block;
    overflow: visible;
    padding: 0;
    cursor: pointer;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}
button::-moz-focus-inner
{
    padding: 0;
    border: 0;
}
.mfp-close
{
    font-family: Arial, Baskerville, monospace; 
    font-size: 28px;
    font-style: normal;
    line-height: 44px;
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    padding: 0 0 18px 10px;
    text-align: center;
    text-decoration: none;
    opacity: .65;
    color: #fff;
}
.mfp-close:hover,
.mfp-close:focus
{
    opacity: 1;
}
.mfp-close:active
{
    top: 1px;
}
.mfp-close-btn-in .mfp-close
{
    color: #333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close
{
    right: -6px;
    width: 100%; 
    padding-right: 6px;
    text-align: right;
    color: #fff;
}
.mfp-counter
{
    font-size: 12px;
    line-height: 18px;
    position: absolute;
    top: 0;
    right: 0;
    white-space: nowrap; 
    color: #ccc;
}
.mfp-arrow
{
    position: absolute;
    top: 50%;
    width: 90px;
    height: 110px;
    margin: 0;
    margin-top: -55px;
    padding: 0;
    opacity: .65;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active
{
    margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus
{
    opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after
{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 0;
    height: 0;
    margin-top: 35px;
    margin-left: 35px;
    content: '';
    border: medium inset transparent;
}
.mfp-arrow:after
{
    top: 8px; 
    border-top-width: 13px;
    border-bottom-width: 13px;
}
.mfp-arrow:before
{
    opacity: .7; 
    border-top-width: 21px;
    border-bottom-width: 21px;
}
.mfp-arrow-left
{
    left: 0;
}
.mfp-arrow-left:after
{
    margin-left: 31px; 
    border-right: 17px solid #fff;
}
.mfp-arrow-left:before
{
    margin-left: 25px;
    border-right: 27px solid #3f3f3f;
}
.mfp-arrow-right
{
    right: 0;
}
.mfp-arrow-right:after
{
    margin-left: 39px; 
    border-left: 17px solid #fff;
}
.mfp-arrow-right:before
{
    border-left: 27px solid #3f3f3f;
}
.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
{
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}
.mfp-iframe-scaler iframe
{
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    background: #000; 
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
/* Main image in popup */
img.mfp-img
{
    line-height: 0;
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto; 
    padding: 40px 0 40px;
}
/* The shadow behind the image */
.mfp-figure
{
    line-height: 0;
}
.mfp-figure:after
{
    position: absolute;
    z-index: -1;
    top: 40px;
    right: 0;
    bottom: 40px;
    left: 0;
    display: block;
    width: auto;
    height: auto;
    content: '';
    background: #444; 
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}
.mfp-figure small
{
    font-size: 12px;
    line-height: 14px; 
    display: block;
    color: #bdbdbd;
}
.mfp-figure figure
{
    margin: 0;
}
.mfp-bottom-bar
{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: -36px;
    cursor: auto;
}
.mfp-title
{
    line-height: 18px;
    padding-right: 36px; 
    text-align: left;
    word-wrap: break-word;
    color: #f3f3f3;
}
.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)
{
    /**
       * Remove all paddings around the image on small screen
       */
    .mfp-img-mobile .mfp-image-holder
    {
        padding-right: 0; 
        padding-left: 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
    {
        position: fixed;
        top: auto;
        bottom: 0;
        box-sizing: border-box; 
        margin: 0;
        padding: 3px 5px;
        background: rgba(0, 0, 0, .6);
    }
    .mfp-img-mobile .mfp-bottom-bar:empty
    {
        padding: 0;
    }
    .mfp-img-mobile .mfp-counter
    {
        top: 3px; 
        right: 5px;
    }
    .mfp-img-mobile .mfp-close
    {
        line-height: 35px;
        position: fixed;
        top: 0;
        right: 0;
        width: 35px;
        height: 35px;
        padding: 0; 
        text-align: center;
        background: rgba(0, 0, 0, .6);
    }
}
@media all and (max-width: 900px)
{
    .mfp-arrow
    {
        transform: scale(.75);
    }
    .mfp-arrow-left
    {
        transform-origin: 0;
    }
    .mfp-arrow-right
    {
        transform-origin: 100%;
    }
    .mfp-container
    {
        padding-right: 6px; 
        padding-left: 6px;
    }
}

	.popup {
			height: 100vh;
			left: 50%;
			opacity: 0;
			pointer-events: none;
			position: fixed;
			top: 50%;
			-webkit-transform: translate3d(-50%, -50%, 0);
			transform: translate3d(-50%, -50%, 0);
			width: 100%;
			z-index: 1000;
			-webkit-transition: opacity 0.4s ease;
			transition: opacity 0.4s ease;
			overflow-y: auto;
			background: rgba(0, 0, 0, 0.7);
		}

		.popup__body {
			width: 100%;
			min-height: 100%;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			padding: 60px 15px 20px;
		}

		.popup.open {
			opacity: 1;
			pointer-events: all;
		}

		.popup__content {
			position: relative;
			overflow: hidden;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-webkit-box-align: start;
			-ms-flex-align: start;
			align-items: flex-start;
			border-radius: 30px;
			gap: 10px;
			padding: 50px;
			-webkit-transition: -webkit-transform 0.3s linear;
			transition: -webkit-transform 0.3s linear;
			transition: transform 0.3s linear;
			transition: transform 0.3s linear, -webkit-transform 0.3s linear;
			background: #fff;
			-webkit-transform: rotateY(90deg);
			transform: rotateY(90deg);
		}

		.popup__content h3 {
			width: 100%;
			text-align: center;
		}

		.popup__content .button {
			width: 100%;
		}

		.popup.open .popup__content {
			-webkit-transform: rotateY(0);
			transform: rotateY(0);
		}

		.popup__title {
			width: 100%;
			font-weight: 700;
			font-size: 28px;
			color: #1B4655;
			margin-bottom: 8px;
			line-height: 1;
			text-align: center;
		}

		.popup__subtitle {
			margin-bottom: 30px;
			text-align: center;
			width: 100%;
			display: block;
		}

		.popup__input {
			width: 100%;
		}

		.popup__textarea {
			width: 100%;
			background-color: rgba(73, 107, 119, 0.129);
			border-radius: 5px;
			color: rgba(73, 107, 119, 0.87);
			padding: 15px 10px;
			min-height: 150px;
			max-height: 150px;
			overflow-y: auto;
		}

		.popup__textarea::-webkit-input-placeholder {
			color: rgba(73, 107, 119, 0.87);
		}

		.popup__textarea::-moz-placeholder {
			color: rgba(73, 107, 119, 0.87);
		}

		.popup__textarea:-ms-input-placeholder {
			color: rgba(73, 107, 119, 0.87);
		}

		.popup__textarea::-ms-input-placeholder {
			color: rgba(73, 107, 119, 0.87);
		}

		.popup__textarea::placeholder {
			color: rgba(73, 107, 119, 0.87);
		}

		.popup__form-subtitle {
			display: block;
			font-size: 28px;
			font-weight: 400;
			margin-bottom: 24px;
			width: 100%;
			text-align: left;
		}

		.popup__form {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			gap: 20px;
			width: 100%;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			margin: 0 auto;
		}

		.popup__form>* {
			-ms-flex-preferred-size: 100%;
			flex-basis: 100%;
		}

		.popup__btn {
			margin-top: 0;
		}

		.popup-btn{
			cursor: pointer;
		}

		.popup__btn {
			width: 100%;
		}

		.close-popup {
			cursor: pointer;
			position: absolute;
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			top: 15px;
			right: 15px;
			z-index: 1000;
			width: 14px;
			height: 14px;
			-webkit-transition: -webkit-transform 0.4s linear;
			transition: -webkit-transform 0.4s linear;
			transition: transform 0.4s linear;
			transition: transform 0.4s linear, -webkit-transform 0.4s linear;
		}

		.close-popup img {
			height: 100%;
		}

		.close-popup:hover {
			-webkit-transform: rotate(180deg);
			transform: rotate(180deg);
		}