/*

Template Name:	Azul Template;
Version :	1.0;

Table of content:

    1)- General Styling
    2)- Navbar
    3)- Header-intro
    4)- Futures
    5)- Screenshots
    6)- services
    7)- Testimonials
    8)- Pricing
    9)- Download App 
    10)-subscribe
    11)- Contact
    12)- Footer

*/


/*

    1)- General Styling

*/

*{
    margin: 0;
}

body{
	background: #f0f1f3;
    font-family: 'Raleway' , sans-serif;
    font-weight: 400;
}

p{
	line-height: 24px;
	font-weight: 400;
	margin: 0;
}

section{
    padding: 80px 0;
}

@media( max-width: 767px ){
   section{
        padding: 60px 0;
    }

    header, section, footer {
        width: 115% !important;
    }

    
}

h2{
    font-size: 48px;
    font-weight: 700;
}

h3{
    font-size: 24px;
}

h6{
    font-size: 16px;
    font-weight: 400;
}

@media( max-width: 767px ){
    h2{
        font-size: 36px;
        font-weight: 700;
    }

    h3{
        font-size: 24px;
    }

    h6{
        font-size: 14px;
        font-weight: 400;
    }

    .mevaker {
        width: 95% !important;
        left: 2.5% !important;
    }

    .mevakerImage {
        width: 50% !important;
    }

    .mevakerTable {
        font-size: 25px !important;
    }

    .flex-item {
        width: 35% !important;
        margin-right: 10% !important;
    }

    .clientLogo{
        max-width: 160px !important;
    }
}

.mevakerImage {
    float: left;
    width: 35%;
}

.mevakerTable {
    width: 100%;
    direction: rtl;
    font-family: David;
    font-size: 31px;
    text-align: right;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    color: #223843;
    text-transform: capitalize;
}


ul{
	margin: 0;
	padding: 0;
}

.primary_btn{
    padding: 15px 25px !important;
    background: #d77a61;
    color: #fff !important;
    border: none;
    border-radius: 5px !important;
    text-transform: capitalize;
}

.primary_btn:hover,
.primary_btn:focus,
.primary_btn:active:hover,
.primary_btn:active:focus,
.primary_btn:active{
    background-color: #f8f8f8 !important; 
    color: #d77a61 !important;
}
.secondary_btn{
    padding: 15px 25px !important;
    background: #223843;
    color: #fff !important;
    border: none;
    border-radius: 5px !important;
    text-transform: capitalize;
}

.secondary_btn:hover,
.secondary_btn:focus,
.secondary_btn:active:hover,
.secondary_btn:active:focus,
.secondary_btn:active{
    color: #223843 !important;
    background: #f8f8f8;
}
.section-title{
    padding-bottom: 80px;
}

.section-title > h2{
    padding-bottom: 25px;
}

.section-title > h6{
	color:	#555;

}

@media( max-width: 768px ){
    .hide-mobile {
        display: none;
    }
}


.owl-dot{
	background: #d77a61;
	height: 15px;
    width: 15px;
    display: inline-block;
    border-radius: 50%;
    margin-left: 5px;
}

.owl-dots{
	display: block;
    text-align: center;
    margin-top: 50px;
}

.owl-dot.active{
	background: transparent;
	border: 1px solid #d77a61;
}

.owl-carousel .owl-nav .owl-next, .owl-carousel .owl-nav .owl-prev{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    height: 45px;
    width: 45px;
    background: #d77a61;
    border-radius: 50%;
    text-align: center;
}

.owl-carousel .owl-nav .owl-next > i, .owl-carousel .owl-nav .owl-prev > i{
    color: #fff;
    line-height: 45px;
    font-size: 22px;
}


.owl-carousel .owl-nav .owl-next{
    left: -25px;
}

.owl-carousel .owl-nav .owl-prev{
    right: -25px;
}
/*

	2)- Navbar

*/

#main-nav{
	background-color: white;
    padding: 25px 0;
    height: 100px;
    border: none; 
    -webkit-transition: all 0.8s ease;   
    transition: all 0.8s ease;        
}

#main-nav.navbar-inverse .navbar-toggle {
    border-color: transparent;
    background: #d77a61;
    color: #fff;
}
@media( max-width: 767px ){
    .navbar-inverse .navbar-collapse {
        float: none !important;
        background: #fff;
        margin-top: 25px;
        border-color: #d77a61;
    }
}

#main-nav.navbar-inverse .navbar-nav > li > a {
    color: #444;
    font-size: 18px;
}

@media( max-width: 990px ){
    #main-nav.navbar-inverse .navbar-nav>li>a {
        padding: 15px 12px;
    }
}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:focus, .navbar-inverse .navbar-nav>.active>a:hover {
    color: #d77a61 !important;
    background: transparent;
}

.navbar-inverse .navbar-nav>li>.primary_btn {
    margin-left: 50px;
}


#main-nav.sticky-navbar{
    background: #fff;
    padding: 15px 0;
    height: auto;
    box-shadow: 0px 0px 5px 1px rgba(193, 193, 193, 0.3);  
}

#main-nav.sticky-navbar .navbar-nav>li>a {
    color: #444;
    font-size: 18px;
}

/* 

    3)-Header-intro

*/
#header-intro{
    background-attachment: fixed;
    overflow: hidden;
    position: relative;
    height: 650px;
    display: table;
    width: 100%;
    background-size: cover;
    
}

body.default #header-intro {
    background: -webkit-linear-gradient(rgba(34, 56, 67, 0.5), rgba(34, 56, 67, 0.5)), url(../images/backgroundReady.jpg) center center;
    background: linear-gradient(rgba(34, 56, 67, 0.5), rgba(34, 56, 67, 0.5)), url(../images/backgroundReady.jpg) center center;
}

body.parallax #header-intro {
    background: -webkit-linear-gradient(rgba(34, 56, 67, 0.5), rgba(34, 56, 67, 0.5)), url(../images/backgroundReady.jpg) center center;
    background: linear-gradient(rgba(34, 56, 67, 0.5), rgba(34, 56, 67, 0.5)), url(../images/backgroundReady.jpg) center center;
}

/* Style for video bg */
#header-intro.video-bg iframe,
#header-intro.video-bg .video-foreground{
   position: absolute;
    min-width: 100%;
    min-height: 891px;
    top: 0px;
    left: 0px;
    width: auto;
    height: auto;
    z-index: 1;
    border: none;
}

#header-intro.video-bg .header-intro-inner{
    position: relative;
    z-index: 9;
    background: rgba(34, 56, 67, 0.7);
}

#header-intro .header-intro-inner{
    display: table-cell;
    vertical-align: middle;
}

#header-intro h2,
#header-intro h6{
    color: #fff;
    font-weight: 400;
}
#header-intro h6{
    padding: 30px 24%;
    font-size: 18px;
    line-height: 24px;
}

@media( max-width: 768px ){
    #header-intro h6{
        padding: 30px 4%;
    }
 
}

#header-intro .btn-group .btn{
    margin: 0 15px;
    padding: 15px 60px !important;
    font-size: 18px;
}
 
@media( max-width: 768px ){
        #header-intro .btn{
            width: 100%;
            margin: 10px 0 !important;
    }
 
}


/*

	4)- Futures 

*/


#futures{
    position: relative;
    background: #f8f8f8;
}


#futures:before{
    content: '';
    position: absolute;
    top: -100px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
    background: -o-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
    background: linear-gradient(to top left, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
    z-index: 999;
}

#futures:after{
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
    background: -o-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
    background: linear-gradient(to top left, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
}

@media( max-width: 602px ){
    #futures:before{
            top: -50px;
            height: 50px;
            background: -webkit-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
            background: -o-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
            background: linear-gradient(to top left, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
        }

    #futures:after{
            bottom: -50px;
            height: 50px;
            background: -webkit-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
            background: -o-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
            background: linear-gradient(to top left, rgba(240, 241, 243, 0) 50%, rgb(248, 248, 248) 51%);
        }
}

#futures ul{
	list-style: none;
}

#futures ul > li:last-child > .future{
	margin: 0;
}

@media( max-width: 768px ){
    #futures ul > li:last-child > .future{
        margin-bottom: 60px;
    }
}
#futures .future{
	margin-bottom: 60px;
}
@media( max-width: 768px ){
    #futures ul > li> .future{
        text-align: center;
    }
}

@media( max-width: 768px ){
    #futures .future{
        text-align: left;
    }
}
#futures .future > h3{
	color: #d77a61;
	margin-bottom: 20px;
}


/*

	5)-Screenshots 

*/

#screenshots{
    position: relative;
    padding-top: 180px;
}
#screenshots img{
    box-shadow: 0px 0px 5px 1px rgba(193, 193, 193, 0.3);    
}
@media( max-width: 602px ){
    #subscribe{
        padding-top: 120px;
    }
}
#screenshots:after{
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
    background: -o-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
    background: linear-gradient(to top left, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
}

@media( max-width: 602px ){

    #screenshots:after{
        bottom: -50px;
        height: 50px;
    }
}

/*

	6)-services 

*/

#services{
	background: #f8f8f8;
	padding:180px 0;
}
@media( max-width: 602px ){
    #services{
        padding: 120px 0;
    }
}

#services .service-single > h3{
	font-weight: 600;
	margin-bottom: 25px;
}

@media( max-width: 992px ){
    #services .service-single > h3{
        text-align: center;
    }
}
#services .service-single > h3 > i{
	font-size: 24px;
    color: #d77a61;
    display: block;
    width: 35px;
    float: left;
}
@media( max-width: 992px ){
    #services .service-single > h3 > i{
        width: 100%;
        text-align: center;
        font-size: 50px;
        margin-bottom: 25px;
    }
}
#services .service-single >p{
	padding-left: 35px;
	color: #555;
}
@media( max-width: 1200px ){
    #services .service-single >p{
        padding-left: 0px;
    }
}
@media( max-width: 992px ){
    #services .service-single >p{
        margin-bottom: 45px;
        text-align: center;
    }
}
#services .service-single > p > a{
	color: #d77a61;
	font-weight: 600;
}
@media( max-width: 992px ){
    #services .service-single > p > a{
        display: block;
        text-align: center;
    }
}

/*

	7)- Testimonials 

*/

#testimonials{
    position: relative;
}

#testimonials:before{
    content: '';
    position: absolute;
    top: -100px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
    background: -o-linear-gradient(bottom right, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
    background: linear-gradient(to top left, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
}

#testimonials:after{
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
    background: -o-linear-gradient(bottom right, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
    background: linear-gradient(to top left, rgba(240, 241, 243, 0) 50%, rgb(240, 241, 243) 51%);
}


@media( max-width: 602px ){
    #testimonials:before{
            top: -50px;
            height: 50px;
            background: -webkit-linear-gradient(bottom right, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
            background: -o-linear-gradient(bottom right, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
            background: linear-gradient(to top left, #f0f1f3 50%, rgba(51, 51, 51, 0) 51%);
        }

    #testimonials:after{
            bottom: -50px;
            height: 50px;
            background: -webkit-linear-gradient(bottom right, #f8f8f8 50%, rgb(240, 241, 243) 51%);
            background: -o-linear-gradient(bottom right, #f8f8f8 50%, rgb(240, 241, 243) 51%);
            background: linear-gradient(to top left, #f8f8f8 50%, rgb(240, 241, 243) 51%);
        }
}

#testimonials .testimony > .testimony-img{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    float: left;
    -webkit-transform: translateY(45%);
            transform: translateY(45%);
}
@media( max-width: 480px ){
    #testimonials .testimony > .testimony-img{
        float: none;
        -webkit-transform: translateY(0%);
                transform: translateY(0%);  
        display: block;
        margin: auto;
    }
}


#testimonials .testimony > .testimony-inner{
	position: relative;
    float: left;
    width: 75%;
    background: #fff;
    padding: 25px;
    margin-left: 35px;
    box-shadow: 0px 0px 5px 1px rgba(193, 193, 193, 0.3);    
}

@media( max-width: 1199px ){
    #testimonials .testimony > .testimony-inner{
        width: 70%;
    }
}

@media( max-width: 482px ){
    #testimonials .testimony > .testimony-inner{
        width: 100%;
        text-align: center;
        margin-top: 35px;
        margin-left: 0;
    }
}
#testimonials .testimony > .testimony-inner:before{
    content: '';
    height: 20px;
    width: 20px;
    background: #fff;
    position: absolute;
    left: -4px;
    -webkit-transform: rotate(-45deg) translateY(-50%);
            transform: rotate(-45deg) translateY(-50%);
    top: 50%;
}

@media( max-width: 482px ){
    #testimonials .testimony > .testimony-inner:before{
        -webkit-transform: rotate(-45deg) translateX(-50%);
                transform: rotate(-45deg) translateX(-50%);
        left: 50%;
        top: -18px;
    }
}

#testimonials .testimony > .testimony-inner > h3{
	font-weight: 600;
    padding-bottom: 5px;
}

#testimonials .testimony > .testimony-inner > h3 + span{
	color: #223843;
	font-style: italic;
	margin-bottom: 15px;
	display: block;
}


#testimonials .testimony > .testimony-inner > h3 + span > a{
	color: #d77a61;
}

#testimonials .testimony > .testimony-inner > p{
	margin: 0;
}

#testimonials .testimony > .testimony-inner > i{
	color: #fce202;
}

/*

	8)-Pricing 

*/

#pricing{
	background: #f8f8f8;
    padding: 180px 0 80px;
}

@media( max-width: 602px ){
    #pricing{
        padding: 120px 0 80px;
    }
}

#pricing .pricing-table{
	background: #fff;
	padding: 70px 75px;
    box-shadow: 0px 0px 5px 1px rgba(193, 193, 193, 0.3);    
}

@media( max-width: 992px ){
    #pricing .pricing-table{
        margin-bottom: 30px;
    }
}

#pricing .pricing-table > h2{
	padding-bottom: 25px;
    font-size: 36px;
    font-weight: 300;
}

#pricing .pricing-table > ul > li{
	list-style: none;
	padding-bottom: 40px;
	font-size: 18px;
}

#pricing .pricing-table > ul > li.price{
	color: #d77a61;
	padding-bottom: 25px;
	font-size: 24px;
}

#pricing .pricing-table > ul > li >.primary_btn{
    font-weight: 600;
    font-size: 18px;
}

#pricing .pricing-table > ul > li:nth-child(5) {
    padding-bottom: 25px;
}


#pricing .pricing-table.pro{
	background: #d77a61;
}
#pricing .pricing-table.pro > ul > li{
	color: #fff;
}
#pricing .pricing-table.pro > ul > li.price{
	color: #f8f8f8;
}

#pricing .pricing-table.pro > ul > li >.primary_btn{
	background: #f8f8f8;
    color: #d77a61 !important;
}

/*

	9)-Download App 

*/
#download-app {
    background: -webkit-linear-gradient(rgba(34, 56, 67, 0.3), rgba(34, 56, 67, 0.3)), url(../images/video-bg-opacity.jpg) center center;
    background: -o-linear-gradient(rgba(34, 56, 67, 0.3), rgba(34, 56, 67, 0.3)), url(../images/video-bg-opacity.jpg) center center;
    background: linear-gradient(rgba(34, 56, 67, 0.3), rgba(34, 56, 67, 0.3)), url(../images/video-bg-opacity.jpg) center center;
    background-size: cover !important;
    position: relative;
    padding: 180px 0;
}

@media( max-width: 602px ){
    #download-app{
        padding: 120px 0;
    }
}

body.parallax #download-app{
    background-attachment: fixed;
}

body.parallax #download-app{
    background-size: 100% 175%;    
}

#download-app:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, rgba(255, 255, 255, 0) 50%, rgb(248, 248, 248) 51%);
    background: -o-linear-gradient(bottom right, rgba(255, 255, 255, 0) 50%, rgb(248, 248, 248) 51%);
    background: linear-gradient(to top left, rgba(255, 255, 255, 0) 50%, rgb(248, 248, 248) 51%);
}


#download-app:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: -webkit-linear-gradient(bottom right, rgb(240, 241, 243) 50%, rgba(255, 255, 255, 0) 51%);
    background: -o-linear-gradient(bottom right, rgb(240, 241, 243) 50%, rgba(255, 255, 255, 0) 51%);
    background: linear-gradient(to top left, rgb(240, 241, 243) 50%, rgba(255, 255, 255, 0) 51%);
}

@media( max-width: 602px ){
    #download-app:before{
            top: 0px;
            height: 50px;
        }

    #download-app:after{
        bottom: 0px;
        height: 50px;
        }
}

#download-app .download h2{
	color: #d77a61
}

#download-app .download p{
	color: #fff;
	padding: 25px 0;
	margin: 0;
}

#download-app .download .btn{
    padding: 20px 60px !important;
    font-size: 24px;
    width: 100%;
}

@media( max-width: 1200px ){
    #download-app .download .btn{
        padding: 20px 35px !important;
        font-size: 24px;
    }
}

@media( max-width: 992px ){
    #download-app .download .btn{
        padding: 20px 35px !important;
        font-size: 24px;
        width: 100%;
        margin-bottom: 10px;
    }
}

/*

    10)-subscribe

*/

#subscribe{
    background: #f8f8f8;
    position: relative;
    padding-bottom: 180px;
}

@media( max-width: 602px ){
    #subscribe{
        padding-bottom: 120px;
    }
}


@media( max-width: 602px ){

    #subscribe:after{
        bottom: -50px;
        height: 50px;
    }
}

#subscribe form .form-control{
    float: left;
    width: 66.66666667%;
    margin-right: 15px;
    height: inherit;
    padding: 15px 0 15px 25px;
    
}

#subscribe form .btn{
    float: left;
    width: 30%;
}


@media( max-width: 480px ){
    #subscribe form .form-control{
        width: 100%;
        margin-right: 0px;
        margin-bottom: 25px;
    }

    #subscribe form .btn{
        width: 100%;
    }

}

/*

	11)-Contact

*/

#contact{
    padding: 80px 0 180px;
}

@media( max-width: 602px ){
    #contact{
        padding: 80px 0 120px;
    }
}

#contact input[type='text'],
#contact input[type='email']{
	height: 50px;
	font-size: 18px;
	padding-left: 25px;
}

@media( max-width: 992px ){
    #contact input[type='text']{
        margin-bottom: 25px;
    }
}

#contact textarea{
	margin: 25px 0;
	height: 250px;
	font-size: 18px;
	padding-left: 25px;
	padding-top: 20px;

}

#contact button[type='submit']{
	font-size: 18px;
	font-weight: 600;
	padding: 20px 35px !important;
}

#contact .form-control:focus:invalid {
    border-color: #d77a61;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #d77a61;    
}

#contact .form-control:focus:valid {
    border-color: #2ecc71;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px #2ecc71;
}

/*

	12)-Footer

*/

#main-footer {
    background: #f8f8f8;
    padding: 80px 0;
    position: relative;
}

    #main-footer:before {
        content: '';
        position: absolute;
        top: -100px;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100px;
        background: -webkit-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
        background: -o-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
        background: linear-gradient(to top left, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
    }

@media( max-width: 602px ){
    #main-footer:before {
        top: -50px;
        height: 50px;
        background: -webkit-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
        background: -o-linear-gradient(bottom right, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
        background: linear-gradient(to top left, #f8f8f8 50%, rgba(51, 51, 51, 0) 51%);
    }
}
#main-footer .social-media{
	padding: 40px 0;
}
#main-footer .social-media > li{
	display: inline;
	line-height: 40px;
	margin-right: 15px;
}

#main-footer .social-media > li:last-child{
	margin-right: 0;
}

#main-footer .social-media > li > a{
	display: inline-block;
	height: 40px;
	width: 40px;
	text-align: center;
	background: #d77a61;    
	color: #fff;
	border-radius: 50%;      
	font-size: 18px;
}

#main-footer .social-media > li > a:hover{
	background: #f0f1f3;
    -webkit-transition: all ease 0.7s;
    transition: all ease 0.7s;
    color: #d77a61;
}

#main-footer .copyright > p{
	color: #FFF;
	font-size: 18px;
}

#main-footer .copyright > p > a{
	color: #555;
	font-weight: 600;
}

#main-footer .copyright > p > i{
	color: #d77a61;
}

.mevaker {

    background-image: url(../images/paper.jpg);
    width: 70%;
    left: 15%;
    position: relative;
    -webkit-box-shadow: 1px 0px 5px 9px rgba(0,0,0,0.19);
    -moz-box-shadow: 1px 0px 5px 9px rgba(0,0,0,0.19);
    box-shadow: 1px 0px 5px 9px rgba(0,0,0,0.19);
}

.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}


.flex-item {
    margin: auto;
}

.clientLogo {
    max-width: 200px;
    max-height: 160px;
}




/* Magnific Popup CSS */
.mfp-bg {
    top: 0;
    left: 0;
    width: 115%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.8;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    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: -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: #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: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    padding: 0 0 18px 10px;
    color: #FFF;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
}

    .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 {
    color: #FFF;
    right: -6px;
    text-align: right;
    padding-right: 6px;
    width: 100%;
}

.mfp-counter {
    position: absolute;
    top: 0;
    right: 0;
    color: #CCC;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.mfp-arrow {
    position: absolute;
    opacity: 0.65;
    margin: 0;
    top: 50%;
    margin-top: -55px;
    padding: 0;
    width: 90px;
    height: 110px;
    -webkit-tap-highlight-color: transparent;
}

    .mfp-arrow:active {
        margin-top: -54px;
    }

    .mfp-arrow:hover,
    .mfp-arrow:focus {
        opacity: 1;
    }

    .mfp-arrow:before,
    .mfp-arrow:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        position: absolute;
        left: 0;
        top: 0;
        margin-top: 35px;
        margin-left: 35px;
        border: medium inset transparent;
    }

    .mfp-arrow:after {
        border-top-width: 13px;
        border-bottom-width: 13px;
        top: 8px;
    }

    .mfp-arrow:before {
        border-top-width: 21px;
        border-bottom-width: 21px;
        opacity: 0.7;
    }

.mfp-arrow-left {
    left: 0;
}

    .mfp-arrow-left:after {
        border-right: 17px solid #FFF;
        margin-left: 31px;
    }

    .mfp-arrow-left:before {
        margin-left: 25px;
        border-right: 27px solid #3F3F3F;
    }

.mfp-arrow-right {
    right: 0;
}

    .mfp-arrow-right:after {
        border-left: 17px solid #FFF;
        margin-left: 39px;
    }

    .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 {
    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 8px rgba(0, 0, 0, 0.6);
        background: #000;
    }

/* Main image in popup */
img.mfp-img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    line-height: 0;
    box-sizing: border-box;
    padding: 40px 0 40px;
    margin: 0 auto;
}

/* 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;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
        background: #444;
    }

    .mfp-figure small {
        color: #BDBDBD;
        display: block;
        font-size: 12px;
        line-height: 14px;
    }

    .mfp-figure figure {
        margin: 0;
    }

.mfp-bottom-bar {
    margin-top: -36px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    cursor: auto;
}

.mfp-title {
    text-align: left;
    line-height: 18px;
    color: #F3F3F3;
    word-wrap: break-word;
    padding-right: 36px;
}

.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-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.6);
        bottom: 0;
        margin: 0;
        top: auto;
        padding: 3px 5px;
        position: fixed;
        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 {
        padding-left: 6px;
        padding-right: 6px;
    }
}