/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
	.services-details {
		padding-left: min(1.875vw, 30px);
		padding-right: min(1.875vw, 30px);
	}
		.services-details h2 {
			font-size: min(2.813vw, 45px);
		}
}
@media only screen and (max-width: 1580px) {
	/*.bg-section.bg-about-b {
		width: 60%;
	}*/
}
@media only screen and (max-width: 1440px) {
	.page-id-13 .addtoany_content {
        margin: 16px 100px;
    }
    
	.section-title,
	.about-text .section-title,
	#content .entry-title,
	#content .archive-title {
	    font-size: 70px;
	}

	.fl-address {
		font-size: 35px;
	}

	#ip-element-contact #content #breadcrumbs,
	#ip-element-contact #content .entry-title {
		margin-left: 100px;
		margin-right: 100px;
	}
}

@media only screen and (max-width: 1366px) {
	#ip-element-contact #content #breadcrumbs,
	#ip-element-contact #content .entry-title {
		margin-left: 75px;
		margin-right: 75px;
	}

	.page-id-13 .addtoany_content {
        margin: 16px 75px;
    }
}

@media only screen and (max-width: 1280px) {
	.page-id-13 .addtoany_content {
        margin: 16px 50px;
    }
	header.header.active .header-logo {
	    width: 270px;
	}

	.team-details h3 {
	    font-size: 30px;
	}

	#ip-element-contact #content #breadcrumbs,
	#ip-element-contact #content .entry-title {
		margin-left: 50px;
		margin-right: 50px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#nav {
	    margin-right: 10px;
	}
		#nav > li, #nav > li:before {
		    margin: 0 10px;
		}
		#nav li a {
			font-size: 12px;
		}

	.slideshow-tagline h2 {
	    font-size: 60px;
	}
		.slideshow-tagline h2 span {
		    font-size: 30px;
		}

	.section-title,
	.about-text .section-title,
	#content .entry-title,
	#content .archive-title {
	    font-size: 50px;
	}

	#hp-about {
		padding-top: 30px;
	}

	.bg-section.bg-testi-b {
	    width: calc( (100vw - 940px) / 2);
	}

	.fl-address {
	    font-size: 30px;
	}
	.fl-price {
	    font-size: 50px;
	    margin-bottom: 5px;
	}

	.ip-roadmaps-wrap {
		max-width: 970px;
	}

	.zoodealio-wrap {
	    margin: 0 calc( (940px - 100vw)  / 2);
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	*[class*="col-md"] { width: 100%; }
    .col-sm-1 { width: 8.33333333%; }
    .col-sm-2 { width: 16.66666666%; }
    .col-sm-3 { width: 25%; }
    .col-sm-4 { width: 33.33333333%; }
    .col-sm-5 { width: 41.66666666%; }
    .col-sm-6 { width: 50%; }
    .col-sm-7 { width: 58.33333333%; }
    .col-sm-8 { width: 66.66666667%; }
    .col-sm-9 { width: 75%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-11 { width: 91.66666667%; }
    .col-sm-12 { width: 100%; }

	/* The following are used on inner pages. Please edit carefully. */

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}

	.page-id-13 .addtoany_content {
        margin: 16px 30px;
    }

	header.header {
		position: relative!important;
		background: #fff!important;
		transform: none!important;
		opacity: 1!important;
		padding: 52px 0 0!important;
		z-index: 1;
	}
		.header-navigation {
			display: none;
		}
		header.header.active .header-logo,
		.header-logo {
			width: 100%;
			padding: 30px 0;
			text-align: center;
		}
		.header-logo a {
			width: 280px;
			max-width: 100%;
		}
		.header-logo a img.logo-default {
			display: none;
		}
		.header-logo a img.logo-fixed {
			display: block;
		}
	
	.slideshow-tagline {
		padding: 0;
	}
	#hp-about {
	    padding-top: 50px;
	    margin-bottom: 30px;
	}
		.bg-section.bg-about-a {
		    width: 50%;
		}
		.bg-section.bg-about-b {
		    width: 50%;
		    height: 403px;
		    top: 0;
		}
		.about-inner {
		    padding: 0;
		}
			.about-img {
			    width: 100%;
			    max-width: 500px;
			    margin: 0 auto;
			}
			.about-text {
			    width: 100%;
			    padding: 50px 6.25%;
			    margin: 0;
			}

	#hp-services {
	    padding: 0;
	    margin-bottom: 80px;
	}
		.services-title {
		    width: 100%;
		    margin: 0;
		    padding-bottom: 30px;
		    padding-top: 0;
		}
			.services-title:before {
			    bottom: 0;
			    box-shadow: none;
			}
		.services-list {
		    padding: 0 15px;
		}
			.service-item {
			    width: 50%;
			    padding: 15px;
			}
			.services-details h2,
			#content .services-details h2 {
			    font-size: 40px;
			}

	#hp-team .custom-container {
	    padding-right: 6.25%;
	}
		.team-text {
		    width: 100%;
		    margin-bottom: 40px;
		}
		.team-list {
		    width: 100%;
		}
			.team-list-slick {
			    margin-right: 0;
			    margin-left: 0;
			    padding-bottom: 90px;
			}
			.team-list .custom-slider-button.slider-prev {
			    left: 0;
			    right: 70px;
			    margin: auto;
			}
			.team-list .custom-slider-button.slider-next {
			    left: 70px;
			    right: 0;
			    margin: auto;
			}
	
	#hp-videos {
		padding-bottom: 80px;
		margin-bottom: 80px;
	}
		.bg-section.bg-video {
			max-height: 58.4%;
		}
		.video-list {
		    max-width: 500px;
		    margin: 0 auto;
		}
			.video-list-slick {
			    margin: 0 auto;
			    max-width: 500px;
			}
			.video-list .custom-slider-button.slider-prev {
			    left: 10px;
			}
			.video-list .custom-slider-button.slider-next {
			    right: 10px;
			}

	#hp-testimonials {
	    padding: 0 0 80px;
	}
		.testi-title {
		    width: 100%;
		    padding: 0 15px;
		}
		.testi-list {
		    padding-bottom: 90px;
		}
			.testi-item {
			    margin: 40px 0;
			    padding: 0;
			}

			.testi-item:before {
			    display: none;
			}
			.testi-list .custom-slider-button.slider-prev {
			    top: initial;
			    bottom: 15px;
			    left: 0;
			    right: 70px;
			}
			.testi-list .custom-slider-button.slider-next {
			    bottom: 15px;
			    left: 70px;
			    right: 0;
			    top: initial;
			    margin: auto;
			}

	#hp-featured-listings {
		margin-bottom: 50px;
	}
		#hp-featured-listings .custom-container {
		    padding-right: 6.25%;
		}
		.fl-title {
		    width: 100%;
		}
		.fl-inner {
		    padding-bottom: 30px;
		    margin-left: 0;
		}
		.fl-list {
		    width: 100%;
		    padding-bottom: 90px;
		}
			.fl-list .custom-slider-button.slider-prev {
			    bottom: 0;
			    left: 0;
			    right: 70px;
			    margin: auto;
			}
			.fl-list .custom-slider-button.slider-next {
			    bottom: 0;
			    left: 70px;
			    right: 0;
			    margin: auto;
			}

			.fl-details {
			    padding-left: 15px;
			    padding-right: 15px;
			    padding-bottom: 15px;
			    transform: translateY(93px);
			}

			.fl-amenities {
			    margin-bottom: 20px;
			    font-size: 12px;
			}

			.fl-address {
			    margin-bottom: 10px;
			    font-size: 23px;
			}

			.fl-price {
			    font-size: 40px;
			}

	footer.footer {
	    padding: 80px 0 50px;
	}

		.footer-logo {
		    width: 100%;
		    margin-bottom: 40px;
		}

		.footer-contact {
		    width: 100%;
		    margin: 0 auto 40px;
		    text-align: center;
		}

		.footer-nav {
		    width: 100%;
		    text-align: center;
		}

		.footer-contact ul li.contact-smi {
		    justify-content: center;
		    margin-top: 20px;
		}



	#hp-vip-popup {
	    max-width: 90%;
	}
		.vip-popup-img {
		    width: 100%;
		    height: 100px;
		}
		.vip-popup-form {
		    width: 100%;
		    padding: 50px 8%;
		}
		#hp-vip-popup .aiosp-close {
		    right: 0;
		    left: initial;
		    width: 40px;
		    height: 40px;
		}
			#hp-vip-popup .aiosp-close:after {
			    font-size: 20px;
			}

	#pojo-a11y-toolbar {
         display:none;
    }

	#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
        margin: 0.75em 0;
        font-size: 24px
    }

    #content .archive-list .article-long p {
        font-size: 17px;
    }

    #content .archive-list .article-long .archive-thumbnail,
    #content .archive-list .article-long .archive-has-thumbnail {
        width: 100%;
        margin-left: 0;
    }	

	.ip-roadmaps-btn {
		width: 100%;
	}

	#ip-element-contact #content #breadcrumbs,
	#ip-element-contact #content .entry-title {
		margin-left: 30px;
		margin-right: 30px;
	}

	.zoodealio-wrap {
	    margin: 0 calc( (720px - 100vw)  / 2);
	}

	.roadmap-video {
	    float: none;
	    padding-left: 0;
	    padding-bottom: 0;
	    display: block;
	    width: 100%;
	}

	body .aios-contact-smi {
		margin-bottom: 50px;
	}
	.about-agents {
		text-align: center;
	}
		.about-agents a {
			display: inline-block;
			margin-bottom: 40px;
		}
		
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	*[class*="col-sm"] { width: 100%; }
    .col-xs-1 { width: 8.33333333%; }
    .col-xs-2 { width: 16.66666666%; }
    .col-xs-3 { width: 25%; }
    .col-xs-4 { width: 33.33333333%; }
    .col-xs-5 { width: 41.66666666%; }
    .col-xs-6 { width: 50%; }
    .col-xs-7 { width: 58.33333333%; }
    .col-xs-8 { width: 66.66666667%; }
    .col-xs-9 { width: 75%; }
    .col-xs-10 { width: 83.33333333%; }
    .col-xs-11 { width: 91.66666667%; }
    .col-xs-12 { width: 100%; }

    .ip-banner .container{
        width: 100%;
    }
	.slideshow-tagline h2 {
	    font-size: 40px;
	}
    .slideshow-tagline h2 span {
	    font-size: 20px;
	}

    .about-btn a.btn-a {
	    margin-bottom: 15px;
	}

    .service-item {
    	width: 100%;
	    padding-left: 0;
	    padding-right: 0;
    }

	/*.video-list .custom-slider-button.slider-prev {
	    bottom: -172px;
	    top: initial;
	    left: 0;
	    right: 70px;
	}

	.video-list .custom-slider-button.slider-next {
	    bottom: -172px;
	    top: initial;
	    left: 70px;
	    right: 0;
	}*/
	#content .service-item {
		width: 100%;
	}
	
	.homebot-img,
	.homebot-text {
		width: 100%;
	}
	.homebot-text {
		padding: 0;
		margin-top: 40px;
	}

	.zoodealio-wrap {
	    margin: 0;
	}
}

@media only screen and (max-width: 658px) {
	.single-aios-agents .ihf-eureka .ihf-search.ihf-clearfix {
		height: auto!important;
	}
	.single-aios-agents .ihf-eureka:not(.ihf-map-none) .ihf-search.ihf-clearfix {
	    height: 500px!important;
	}
}

@media only screen and (max-width: 605px) {
	.ihf-eureka .ihf-search.ihf-clearfix {
		height: auto!important;
	}
	.ihf-eureka:not(.ihf-map-none) .ihf-search.ihf-clearfix {
	    height: 500px!important;
	}
	/*.ihf-eureka .ihf-mapboxgl-map {
		height: 860px!important;
	}*/
	.page-id-10 .ihf-eureka:not(.ihf-map-none) + .ihf-link-back {
		margin-bottom: 270px;
	}
	.page-id-10 .addtoany_content {
		display: none;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#content .entry-title,
	#content .archive-title {
		font-size: 40px;
	}

	.slideshow-tagline h2 {
	    font-size: 28px;
	}
	.slideshow-tagline h2 span {
	    font-size: 15px;
	}
	.services-details h2,
	#content .services-details h2 {
	    font-size: 30px;
	}

	body.page-id-13 .aios-contact-main {
	    margin-left: 15px;
	    margin-right: 15px;
	    padding-left: 15px;
	    padding-right: 15px;
	}
		body.page-id-13 .aios-contact-info ul li {
		    padding: 0;
		}

	body .ihf-captcha .g-recaptcha {
	    transform: scale(.78);
	    transform-origin: left;
	}
	body #ngrecaptcha-0 > div {
	    transform-origin: left;
	    transform: scale(.66);
	}
}
 
