/************************
    - Media queries -
************************/

/* Extra Small Devices, Phones */
@media only screen and (min-width:320px) {

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 432px;
	}

	.div-welcome-image img {
		max-width: 400px;
		max-height: 400px;
		width: auto;
		height: auto;
	}

	.image-iphone2 {
		margin-left: 122px;
	}
}

@media only screen and (max-width:376px) {

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 432px;
	}

	.div-welcome-image img {
		max-width: 420px;
		max-height: 420px;
		width: auto;
		height: auto;
	}

	.image-iphone2 {
		margin-left: 145px;
	}
}

@media only screen and (min-width:425px) {

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 432px;
	}

	.div-welcome-image img {
		max-width: 410px;
		max-height: 410px;
		width: auto;
		height: auto;
	}

	.image-iphone2 {
		margin-left: 122px;
	}
}

@media only screen and (min-width:425px) {
	.main-menu-area:not(.fixed-menu) .container {
		padding:0;
	}

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 0;
	}

	.div-welcome-image img {
		max-width: 520px;
		max-height: 520px;
		width: auto;
		height: auto;
	}

	.image-iphone2 {
		margin-left: 178px;
	}
}

/* Small Devices */
@media only screen and (max-width:767px) {
	/* Banner */
	.banner-text h1 {
		font-size:36px;
	}

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 0;
	}

	.div-welcome-image img {
		max-width: 540px;
		max-height: 540px;
		width: auto;
		height: auto;
	}

	.image-iphone2 {
		margin-left: 160px;
	}

	/* Sections */
	section .container,
    footer .footer-widgets {
		padding-top:80px;
		padding-bottom:80px;
	}

	/* Services */
	.service-mobile {
		padding-top:30px;
		margin-bottom:-100px;
	}

	.service-single p {
		height: 7rem;
	}

	/* Testimonials */
    .testimonial-carousel .carousel-text .single-box {
	  	width:100%;
	}

	/* Google maps */
	.map #google-map {
		height:250px;
	}

	/* Blog */
	.post-meta > li {
		clear:both;
		float:none;
		width:100%;
	}

    /* Footer */
    footer .widget {
        text-align:center;
    }
}

/* Tablets */
@media (min-width:768px) {
	/* Parallax video */
	.video-btn .video-text {
		font-size:26px;
	}

	.play-btn {
		width:100px;
		height:100px;
		line-height:100px;
		font-size:30px;
	}

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 0;
	}

	.div-welcome-image img {
		max-width: 540px;
		max-height: 540px;
		width: auto;
		height: auto;
	}

	.image-iphone1 {
		margin-left: 50px;
	}

	.image-iphone2 {
		margin-left: 200px;
	}

}

@media (max-width:991px) {
	/* Margin */
	.res-margin {
		margin-bottom:30px;
	}

	footer .res-margin {
		margin-bottom:50px;
	}

	/* Header */
	.header {
		padding:30px 20px;
	}

	/* Mobile menu */
	.op-mobile-menu {
		position:fixed;
		top:0;
		left:-100vw;
		width:100vw;
		height:100vh;
		background-color:#fff;
		overflow-y:auto;
		transition:all 0.3s ease-in-out;
	}

	.op-mobile-menu .m-menu-header {
		padding:30px;
	}

	.op-mobile-menu .close-button {
		position:relative;
		width:20px;
		height:20px;
	}

	.op-mobile-menu .close-button:before,
	.op-mobile-menu .close-button:after {
		content:'';
		position:absolute;
		left:2px;
		top:10px;
		width:20px;
		height:2px;
		margin-top:-1px;
		background-color:#999;
		transform-origin:center;
	}

	.op-mobile-menu .close-button:before {
		transform:rotate(45deg);
	}

	.op-mobile-menu .close-button:after {
		transform:rotate(-45deg);
	}

	.mobile-menu-open .op-mobile-menu {
		left:0;
	}

	.op-mobile-menu .search-option {
		display:none;
	}

	.op-mobile-menu .nav-menu li {
		padding:0 30px;
	}

	.op-mobile-menu .nav-menu li a {
		clear:both;
		padding:10px 0;
		border:0;
		color:#111;
	}

	.op-mobile-menu .nav-menu > li:first-child > a {
		padding-top:0;
	}

    /* Banner */
	.banner {
		height:auto;
	}

    .banner-text .button-store .custom-btn {
        padding: 10px 23px;
        min-width: 150px;
    }

	.banner-image {
		float:none;
		clear:both;
		text-align:center;
	}

	.banner-image-center {
		max-width:100%;
	}

	/* Image Single Welcome */
	.container-welcome-image {
		justify-content: center;
	}

	.div-welcome-image {
		margin-bottom: 620px;
	}

	/* Feature box */
	.feature-box.box-left {
		padding:0;
		text-align:left;
	}

	.feature-box.box-left .box-icon {
		position:relative;
		width:auto;
		height:auto;
	}

	/* Pricing */
	.price-table.plan-popular {
		padding:30px 0;
		margin:0;
		box-shadow:none;
	}

	/* Previous/Next posts */
	.nav-links .nav-previous div,
	.nav-links .nav-next div {
		width:100%;
	}

	.nav-links img {
		display:none;
	}

	/* Member info */
	.member-info:after {
		width:100%;
	}

	.member-info li {
		clear:both;
		float:none;
		width:100%;
	}
}

/* Medium Devices */
@media (min-width:992px) {
	/* Section header */
	.section-title h3 {
		font-size:2.25em;
	}

	/* Navigation */
	.main-menu-area .navbar-brand1 {
		padding:0;
	}

	.nav-menu li a {
		padding:10px 12px;
		text-align:left;
		border-bottom:none;
	}

	.nav-menu li a:hover,
	.nav-menu li a.active {
		background-color:transparent;
		color:#fff;
	}

	.nav-menu li a:hover span:after,
	.nav-menu li a.active span:after {
		left:0;
		right:auto;
		width:100%;
	}

	.nav-menu li.dropdown .submenu {
		position:absolute;
		display:block;
		padding-right:0;
		min-width:230px;
		background-color:#fff;
		left:0;
		top:100%;
		transform:scaleY(0);
		transform-origin:top;
		transition:all 0.3s ease-in-out;
	}

	.nav-menu li.dropdown .submenu li a {
		display:block;
		padding:13px 20px;
		color:#111;
		font-size:80%;
		transition:all 0.3s ease-in-out;
	}

	.nav-menu li.dropdown .submenu li a:hover,
	.nav-menu li.dropdown .submenu li a.active-submenu {
		background-color:#000;
		color:#fff;
	}

	.nav-menu li.dropdown:hover .submenu {
		transform:scaleY(1);
	}

	.main-menu-area.fixed-menu {
		padding:17px 0;
	}

	.main-menu-area.fixed-menu .nav-menu li a {
		color:#111;
	}

	.main-menu-area.fixed-menu .nav-menu li a span:after {
		background-color:#111;
	}

	/* Search */
	.search-body .menu-search-form input {
		font-size:36px;
	}

	/* Banner */
	.banner .banner-text {
		text-align:left;
	}

	.service-single p {
		height: 9rem;
	}

	/* Image Single Welcome */
	.div-welcome-image {
		margin-bottom: 645px;
	}
}

@media (max-width:1199px) {
	.banner-text h1 em {
		display:inline;
		clear:none;
	}

	.service-single {
		max-height: 24.25rem;
	}
}

@media (min-width:1200px) {
	/* Navigation */
	.nav-menu li a {
		padding:10px 20px;
	}

	.service-single p {
		height: 7rem;
	}
}

/* Desktops */
@media (min-width:1500px) {
	/* Reset */
	p {
		font-size:16px;
		line-height:1.75;
	}

	.service-single p {
		height: 8rem;
	}
}


