/*
* ----------------------------------------------------------------------------------------
Author       : Onepageboss
Template Name: AISHA Material Design HTML5 Agency Template
Version      : 1.0

   ____                   _____                             ____     ____     _____    _____ 
  / __ \                 |  __ \                           |  _ \   / __ \   / ____|  / ____|
 | |  | |  _ __     ___  | |__) |   __ _    __ _    ___    | |_) | | |  | | | (___   | (___  
 | |  | | | '_ \   / _ \ |  ___/   / _` |  / _` |  / _ \   |  _ <  | |  | |  \___ \   \___ \ 
 | |__| | | | | | |  __/ | |      | (_| | | (_| | |  __/   | |_) | | |__| |  ____) |  ____) |
  \____/  |_| |_|  \___| |_|       \__,_|  \__, |  \___|   |____/   \____/  |_____/  |_____/ 
                                            __/ |                                            
                                           |___/                                             
* ----------------------------------------------------------------------------------------
*/


/*
* ----------------------------------------------------------------------------------------
* 01.GLOBAL CSS STYLE
* 02.HOMEPAGE CSS STYLE
* 03.ABOUT US CSS STYLE
* 04.SERVICE CSS STYLE
* 05.OUR TEAM CSS STYLE
* 06.WORKS CSS STYLE
* 07.TESTIMONIAL CSS STYLE
* 08.PRICING CSS STYLE
* 09.BLOG CSS STYLE
* 10.MAP CSS STYLE
* 11.CONTACT CSS STYLE
* 12.SINGLE BLOGBLOG CSS STYLE
* ----------------------------------------------------------------------------------------
*/


/*
* ----------------------------------------------------------------------------------------
* 01.GLOBAL STYLE
* ----------------------------------------------------------------------------------------
*/

body {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    font-family: 'Roboto', serif;
    letter-spacing: 2px;
    height: 100%;
	background-color: #e5e5e5;
}

html,
body {
    height: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 900;
    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
}

a {
    color: #1f1f1f;
	text-decoration: none;
    -webkit-transition: all 0.4s;
    transition: all 0.1s;
    font-family: "Roboto", sans-serif;
}

a:hover {
    color: #bf040d;
    text-decoration: none;
}

a:focus {
    outline: none;
    text-decoration: none;
}

ul,
li {
    margin: 0;
    padding: 0;
}

fieldset {
    border: 0 none;
    margin: 0 auto;
    padding: 0;
}

.no-padding {
    padding: 0
}

.section-padding {
    padding: 60px 0
}

.section-title {
    margin-bottom: 30px;
}

.section-title h2 {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 6px;
}

.section-title h2 span {
    color: #D32E2F;
}

.section-overview {
    margin-bottom: 15px;		
	margin-top: 5px;
	text-align: justify;
	width: 80%;
	position: relative;
	left: 10%;
	
}
a.read-more {
    display: inline-block;
    background: #fff;
    color: #D32E2F;
    padding: 6px 16px;
    box-shadow: 0px 1px 4.7px 0.3px rgba(0, 0, 0, 0.24);
    text-transform: uppercase;
    border-radius: 3px;
    font-size: 12px;
    margin-top: 10px;
}

a.read-more:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.scrollup {
    border-radius: 50%;
    height: 40px;
    width: 40px;
    font-size: 30px;
    color: #fff;
    text-align: center;
    background-color: #D32E2F;
    position: fixed;
    bottom: 30px;
    right: 30px;
    line-height: 35px;
    cursor: pointer;
    display: none;
    box-shadow: 0px 1px 4.7px 0.3px rgba(0, 0, 0, 0.24);
}

.scrollup:hover {
    box-shadow: 0 3px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


/*
* ----------------------------------------------------------------------------------------
* 01.PRELOADER CCS STYLE
* ----------------------------------------------------------------------------------------
*/

.preloader {
    background: #D32E2F;
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.status,
.status-mes {
    background-image: url(../images/preloader.svg);
    background-position: center;
    background-repeat: no-repeat;
    height: 200px;
    left: 50%;
    margin: -100px 0 0 -100px;
    position: absolute;
    top: 50%;
    width: 200px;
}


/*
* ----------------------------------------------------------------------------------------
* 01.HOMEPAGE CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.welcome-area {
    height: 65%;
}

.welcome-image-area {
    position: relative;
    height: 100%;
    background: url(../images/bg/x-bg.jpg);
    background-size: cover;
    z-index: 1;
    text-align: center;
}
.welcome-image-area:after {
    position: absolute;
    /*background: rgba(0, 188, 212, 0.67);*/
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}
.display-table{
    display: table;
    width: 100%;
    height: 100%;
}
.display-table-cell{
    display: table-cell;
    vertical-align: middle;
}
.welcome-image-area h2 {
    color: #f8f8f8;
    font-size: 40px;
}

.welcome-image-area p {
    color: #f8f8f8;
    margin-bottom: 30px;
}


.header-top-area {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.logo {
    padding-top: 28px;
    -webkit-transition: 1s;
    transition: 1s;
    padding-bottom: 5px;
}

.logo a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    color: #F8F8F8;
    letter-spacing: 2px;
}

.mainmenu .navbar-nav li a {
    color: #F8F8F8;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 30px 15px;
    -webkit-transition: .3s;
    transition: .3s;
    font-weight: 600;
}

.mainmenu .navbar-nav li a:hover {
    background: none;
    color: #d32e2f;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.nav li a:focus,
.nav li a:hover {
    background: none;
    color: #D32E2F;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.mainmenu ul.nav.navbar-nav li.active:before {
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    position: absolute;
    content: "";
    background: #D32E2F;
}

.navbar {
    margin: 0;
}

.menu-bg {
    background: #1f1f1f;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.24);
}

.menu-bg .logo {
    padding-top: 18px;
    -webkit-transition: 1s;
    transition: 1s;
}

.menu-bg .logo a {
    color: #D32E2F;
}

.menu-bg .mainmenu .navbar-nav li a {
    color: #ffffff;
    padding: 20px 15px;
    -webkit-transition: .3s;
    transition: .3s;
}

a.slide-btn {
    width: 160px;
    display: inline-block;
    background: #fff;
    color: #D32E2F;
    padding: 10px 10px;
    box-shadow: 0px 3px 4.7px 0.3px rgba(0, 0, 0, 0.24);
    text-transform: uppercase;
    border-radius: 3px;
    margin: 0 10px;
}

a.slide-btn:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
}


/*
* ----------------------------------------------------------------------------------------
* HOME SLIDER VERSION
* ----------------------------------------------------------------------------------------
*/

.welcome-area,
.welcome-slider-area,
.welcome-slider-area div {
    height: 100%;
}

.welcome-slider-area div.single-slide-item-tablecell,
.welcome-slider-area div.single-slide-item-tablecell div {
    height: auto;
}

.single-slide-item-table {
    display: table;
    text-align: center;
    width: 100%;
}

.single-slide-item-tablecell {
    display: table-cell;
    vertical-align: middle;
}

.single-slide-item {
    position: relative;
    z-index: 1;
}

.single-slide-item:after {
    position: absolute;
    background: rgba(0, 188, 212, 0.67);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: "";
    z-index: -1;
}

.slide-1 {
    background: url(../images/bg/bg1.jpg) scroll 0 0;
    background-size: cover;
}

.slide-2 {
    background: url(../images/bg/bg2.jpg) scroll 0 0;
    background-size: cover;
}

.slide-3 {
    background: url(../images/bg/bg3.jpg) scroll 0 0;
    background-size: cover;
}

.carousel-fade .carousel-inner .item {
    -webkit-transition-property: opacity;
    transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
    filter: alpha(opacity=0);
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
    filter: alpha(opacity=100);
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.single-slide-item h2 {
    color: #f8f8f8;
    font-size: 40px;
}

.single-slide-item p {
    color: #f8f8f8;
    margin-bottom: 30px;
}

/*
* ----------------------------------------------------------------------------------------
* 02.ABOUT CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.about-us-area{
    padding-top: 60px;
    padding-bottom: 60px;
}
.about-image {
    margin-top: 30px;
}

.about-text {
    margin-top: 30px;
}

.about-text h4 {
    margin-bottom: 18px;
}

.about-text p {
    margin-bottom: 18px;
}


/*
* ----------------------------------------------------------------------------------------
* 03.SERVICE CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.single-service {
    border: 2px solid rgba(31, 31, 31, 0.05);
	background-color: #f7f7f7;
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 3px;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;  
}

.single-service:hover {
    box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);	
    -moz-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
    -o-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
}

.single-service:hover i {
    color: #D32E2F;
}

.single-service i {
    font-size: 42px;
    line-height: 95px;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.single-service p {
    margin-top: 20px;
}


/*
* ----------------------------------------------------------------------------------------
* 04.TEAM CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.single-team {
    border: 2px solid rgba(31, 31, 31, 0.05);
	background-color: #f7f7f7;
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 3px;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out; 
}

.single-team:hover {
    box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);	
    -moz-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
    -webkit-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
    -o-box-shadow: 0px 8px 20px 0px rgba(31,31,31,.5);
}

.single-team img {
    height: 150px;
    margin-bottom: 20px;
}

.single-team h4 {}

.single-team p {
    margin: 20px 0;
}

.single-team ul.team-social {
    padding: 0;
    margin: 0;
    list-style: none''
}

.single-team ul.team-social {
    padding: 0;
    margin: 0;
    list-style: none;
}

.single-team ul.team-social li {
    display: inline-block;
    margin: 0px 2px;
}

.single-team ul.team-social li a {
    display: block;
    height: 30px;
    width: 30px;
    color: #D32E2F;
    border-radius: 50%;
    line-height: 30px;
    border: 1px solid #D32E2F;
}

.single-team:hover.single-team ul.team-social li a {
    background: #D32E2F;
    border: 1px solid #D32E2F;
    color: #fff;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


/*
* ----------------------------------------------------------------------------------------
* 05.WORK CSS STYLE
* ----------------------------------------------------------------------------------------
*/
.work-inner .mix{
    display: none;
}
 ul.work{
    padding: 0;
    list-style: none;
     margin-top: 30px;
     margin-left: 8px;
}

ul.work li {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 8px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 800;
    color: #bf040d;
    border: none;
    cursor: pointer;
    font-family: "Orbitron", sans-serif;
}

ul.work li:hover {
    color: #ffffff;
    border: none;
	background-color: #1f1f1f;
    box-shadow: 0px 1px 4.7px 0.3px rgba(0, 0, 0, 0.24);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

ul.work li.active {
    border: none;
    color: #1f1f1f;
    background-color: #fff;
    box-shadow: 0px 1px 4.7px 0.3px rgba(0, 0, 0, 0.24);
}

.work .item {
    margin-top: 30px;
    position: relative;
}

.work .item img {
    width: 100%;
}

.portfolio-caption {
    color: #333333;
}

.portfolio-caption {
    position: absolute;
    left: 0;
    top: 0;
    text-align: center;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8);
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.portfolio-caption h4 {
    margin-top: 140px;
}

.work .item:hover .portfolio-caption {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


/*
* ----------------------------------------------------------------------------------------
* 06.TESTIMONIAL CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.testimonial-list {
    border: 1px solid rgba(238, 238, 238, 0.65);
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 3px;
    box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
}

.single-testimonial img {
    height: 120px;
}

.single-testimonial h6 {
    margin-top: 20px;
}

.company-logo-area {
    margin-top: 50px;
}

.single-logo {
    text-align: center;
    border: 1px solid #ccc;
    padding: 20px;
}


/*
* ----------------------------------------------------------------------------------------
* 07.PRICING CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.pricing-box {
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    border-radius: 10px;
    border: 1px solid rgba(238, 238, 238, 0.5);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.pricing-box.active {
    background-color: #ffffff;
    z-index: 9;
    position: relative;
    border: 0;
    box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
}

.pricing-box:hover {
    box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
}

.pricing-box.active .plan-price {
    color: #D32E2F;
}

.pricing-box:hover .plan-price {
    color: #D32E2F;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.pricing-header .plan-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.pricing-header .plan-price {
    font-size: 42px;
}

.plan-features {
    margin-top: 40px;
    border-top: 1px dotted #ccc;
}

.plan-features li {
    margin: 10px 0;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
}

a.pricing-btn {
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    padding: 3px 10px;
    color: #D32E2F;
    font-size: 12px;
    border-radius: 5px;
    border: 1px dotted #D32E2F;
}

.pricing-box:hover a.pricing-btn {
    color: #fff;
    border: 1px dotted #D32E2F;
    background: #D32E2F;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}


/*
* ----------------------------------------------------------------------------------------
* 08.BLOG CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.single-blog {
    border: 1px solid rgba(238, 238, 238, 0.65);
    padding: 30px;
    margin-top: 30px;
    border-radius: 3px;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.single-blog:hover {
    box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
    -o-box-shadow: 0px 8px 42px 0px rgba(0, 0, 0, 0.08);
}

.single-blog h4 {
    color: #3F3333;
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    margin: 20px 0px;
}

.single-blog h4:hover {
    color: #D32E2F;
}


/*
* ----------------------------------------------------------------------------------------
* 09.MAP CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.map {
    height: 300px;
    border: 1px solid rgba(238, 238, 238, 0.65);
    margin-top: 30px;
    border-radius: 3px;
}


/*
* ----------------------------------------------------------------------------------------
* 10.CONTACT CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.contact-form {
    background-color: #ffffff;
    border: 1px solid rgba(238, 238, 238, 0.65);
    padding: 10px;
    margin-top: 10px;
    border-radius: 3px;
}

.contact-form input {
    border: 1px solid #e3e8f0;
    box-shadow: none;
    color: #333;
    height: 50px;
    border-radius: 0px;
    font-size: 18px;
}

.contact-form textarea {
    border: 1px solid #e3e8f0;
    box-shadow: none;
    color: #333;
    height: 200px;
    border-radius: 0px;
    resize: none;
    font-size: 18px;
}

.contact-form button {
    color: #fff;
    background: #D32E2F;
    border-radius: 3px;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0px 1px 4.7px 0.3px rgba(0, 0, 0, 0.24);
    font-family: "Orbitron", sans-serif;
}

.contact-form button:hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
}

.contact-details {
    background-color: #ffffff;
    border: 1px solid rgba(238, 238, 238, 0.65);
    padding: 30px;
    margin-top: 30px;
    border-radius: 3px;
}

.contact-details {}

.single-contact {
    margin-top: 28px;
}

.single-contact i {
    font-size: 20px;
    color: #D32E2F;
}

.contact-details ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-details ul li {}

.contact-details ul li i {
    height: 40px;
    width: 40px;
    text-align: center;
    background: #000;
    padding: 20px;
    margin-right: 20px;
    border-radius: 50%;
    background: #D32E2F;
    color: #fff;
}


/*
* ----------------------------------------------------------------------------------------
* 11.FOOTER CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.footer-text h1 {
    margin-bottom: 30px;
}

.footer-area {
background: #1f1f1f;
}

.footer-social-link {}

.footer-social-link ul {
    padding: 0;       
    list-style: none;
}

.footer-social-link ul li {
    display: inline-block;   
    margin-left: -25px;
   
}

.footer-social-link ul li a {
    display: block;
    padding: 40px;    
    height: 0px;
    width: 0px;
    color: #fff;
    
}


/*
* ----------------------------------------------------------------------------------------
* 12.SINGLE BLOG PAGE CSS STYLE
* ----------------------------------------------------------------------------------------
*/

.single-blog-area {
    height: 300px;
    background: #D32E2F;
}

.single-page-heading-area {
    padding-top: 150px;
}

.single-blog-heading-text h4 {
    color: #f8f8f8;
}

.single-blog-heading-text h4 a {
    color: #f8f8f8;
}

.comment-section {
    margin-top: 30px;
}

.single-blog-details,
.comment-section,
.single-sidebar {
    border: 1px solid rgba(238, 238, 238, 0.65);
    padding: 30px;
    border-radius: 3px;
}

.search input {
    border: 1px solid #e3e8f0;
    box-shadow: none;
    color: #333;
    height: 50px;
    border-radius: 0px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.single-sidebar,
.recent-single {
    margin-bottom: 30px;
}

.single-blog-details h4 {
    margin: 20px 0px;
}

.single-comment {
    margin-bottom: 20px;
}

.single-comment img {
    height: 120px;
}

.recent-single h4 {
    color: #333333;
}

.categories {}

.categories ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.categories ul li {
    margin-bottom: 10px;
    color: #333333;
}

.categories ul li a {
    color: #333333;
}
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  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; } }