/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1366px) {
	.hp-slide .cycloneslider-template-responsive .cycloneslider-prev {
		left: -25px !important;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-next {
		left: 25px !important;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-prev span, .hp-slide .cycloneslider-template-responsive .cycloneslider-next span {
		font-size: 80px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

	.fixed-header .title-wrap > span.main-title {
		font-size: 16px;
	}

	.fixed-header .title-wrap > span.sub-title {
		font-size: 6px;
	}

	.main-header .title-wrap > span.main-title {
		font-size: 35px;
	}

	.main-header .title-wrap > span.sub-title {
		font-size: 12px;
	}

	.main-header .hdr-contact {
		padding-right: 15px;
	}

	.main-header .hdr-smi a {
		margin: 0 5px;
	}

	.hdr-nav > li > a {
		padding: 10px 5px;
		font-size: 12px;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-caption-title {
		font-size: 40px;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-prev {
		left: -10px !important;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-next {
		left: 10px !important;
	}

	.hp-qs select,
    .hp-qs input {
	    font-size: 11px;
	}
	.hp-qs input[type="submit"] {
		margin-left: 2%;
	}
	.hp-qs a.qs-adv {
		margin-left: 2%;
		width: 12.4%;
	}

	.hp-cta a span {
		font-size: 15px;
	}

	footer .f-title span.main-title {
		font-size: 26px;
	}

	footer .footernav li a {
		font-size: 10px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	.ip-container .main-header {
		position: relative;
	}

	footer.footer img {
		margin: 0 auto;
	}

	.f-broker {
		text-align: center !important;
	}

	.hide-mobile {
		display: none !important;
	}

	.aios-mobile-header-2 .amh-header-buttons {
		border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	}

	.main-header,
	.home .main-header {
		background: transparent;
		padding: 80px 0 20px;
		position: relative;
		background: rgb(0 0 0 / .6);
	}

		.main-header .row,
		.hp-welcome .row,
		.hp-qs .row,
		footer .row {
			display: block;
		}

			.main-header .title-wrap {
				display: block;
				text-align: center;
			}

				.main-header .title-wrap img {
					margin: 0 auto;
				}

			.main-header .hdr-contact {
				text-align: center;
				padding-right: 0;
			}

				.main-header .hdr-smi {
					padding: 0;
					margin: 0;
					border: 0;
				}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-prev,
	.hp-slide .cycloneslider-template-responsive .cycloneslider-next {
		left: 0 !important;
	}

	.hp-slide .cycloneslider-template-responsive .cycloneslider-caption-title,
	.cycloneslider-template-responsive .cycloneslider-caption-description {
		width: 90%;
		display: block;
		margin: 0 auto;
	}

		.hp-slide .cycloneslider-template-responsive .cycloneslider-caption {
			top: 30%;
		}

		.hp-slide .cycloneslider-template-responsive .cycloneslider-caption a {
			margin-top: 25px;
			width: 100%;
			max-width: 360px;
		}

	.hp-qs span.ai-magnifying-glass-g {
		text-align: center;
		margin-bottom: 30px;
	}

	.hp-qs .qs-col {
		width: 49%;
		margin-bottom: 10px;
	}

		.hp-qs .qs-col.mar-l {
			margin-left: 2%;
		}

		.hp-qs .qs-col.wide {
			width: 100%;
		}

		.hp-qs {
			z-index: 1;
			position: relative;
		}
        
        .bootstrap-select>.dropdown-toggle,
		.hp-qs select, .hp-qs input {
			border: 1px solid #fff!important;
		}

		.hp-qs select {
			background-position: 94% 50%;
		}

		.hp-qs .wide select {
			background-position: 97% 50%;
		}

		.hp-qs input[type="submit"] {
			width: 100%;
			max-width: 360px;
			margin: 10px auto 5px;
			display: block;
		}

		.hp-qs a.qs-adv {
			width: 100%;
			text-align: center;
			margin: 0;
		}
	
	.hp-welcome h1 {
		text-align: center;
	}

	.hp-welcome .welcome-img img {
		margin: 30px auto 0;
	}

	.hp-cta {
		padding: 30px 0 5px;
	}

	.hp-cta a {
		display: block;
		max-width: 480px;
		margin: 0 auto 25px;
		padding: 0 8%;
	}

		.hp-cta a span {
			font-size: 22px;
		}

	.hp-fp .fp-details p {
		font-size: 16px;
	}

	.hp-fc {
		margin-top: 40px;
	}

	.hp-testimonials {
		padding: 30px 0;
	}

	footer .f-title,
	footer .f-broker {
		padding: 20px 0;
	}

	footer .f-title span.main-title {
		font-size: 28px;
	}

	footer .f-title span.sub-title {
		font-size: 10px;
	}

	/* 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%;
	}
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	#ihf-main-container .checkbox label.field-label {
		display: flex !important;
		align-items: center;
	}

    .ip-banner .container{
        width: 100%;
    }

    .hp-slide .cycloneslider-template-responsive .cycloneslider-caption,
    .slide-arrow-area {
    	display: none;
    }

    .hp-blog,
    .hp-areas {
    	margin: 15px 0;
    }

    .hp-blog .blog-list .blog-item {
    	width: 100%;    	    	
    	display: block;
    	margin-left: 0;
    }

    .hp-blog .blog-item .blog-photo,
    .hp-blog .blog-item .blog-content {
    	width: 100%;
    	text-align: center;
    	padding: 10px 0;
    	margin: 0;
    }

    	.hp-blog .blog-item .blog-photo img {
    		max-width: 300px;
    		margin: 0 auto;
    	}

    .hp-areas h2 {
    	margin-bottom: 30px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.g-recaptcha {
		transform: scale(.8);
		position: relative;
		left: -20px;
	}

	.properties-area h2 {
		font-size: 22px;
	}
	
	.properties-area .fp-list-holder,
    .properties-area .fc-list-holder {
    	width: 100%;    	
    	max-width: 360px;
    	margin: 0 auto !important;
    	display: block;
    }

    .hp-areas ul {
    	width: 100% !important;
    	margin: 0 !important;
    	padding: 0;
    }

	.hp-areas ul li:first-child {
		border-top: 1px solid #e1e1e1;
	}

	#ihf-refine-search-button #ihf-refine-search-button > button,
	#ihf-main-container .pull-right:not(.ihf-social-share) .btn-group,
	#ihf-main-container .pull-right:not(.ihf-social-share) .btn-group > button {
	    text-align: right !important;
	    width: 100%;
	}

	#ihf-main-container .col-xs-6:not([class*="col-xs-offset"]),
	#ihf-main-container > div.ihf-listing-search-results > div:nth-child(5) .col-xs-6 {
	    width: 100% !important;
	}

	.ihf-refine-search-container form#ihf-mini-search-form div.col-xs-6 {
	    width: 50% !important;
	}


	#ihf-refine-search #ihf-refine-search-button,
	#ihf-refine-search + .btn-group button {
	    float: right !important;
	    width: auto !important;
	}
}
 

