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

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

	.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: 10px;
    	padding: 0 5px;
	}
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle{
    	padding: 0 5px;
	}
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
		font-size: 10px!important;
	}
	.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;
	}

	.sidebar .side-contact, .sidebar .side-contact a{
		font-size: 11px;
	}

	.fixed-header .hdr-nav{
		margin: 0 -40px;
	}

	.hp-areas ul li a {
	    font-size: 12px;
	    line-height: 1.3;
	}

	.fixed-header .hdr-nav > li > a {
	    font-size: 9px;
	    padding: 10px 5px;
	}
	footer .copyright div:empty{
		display: none;
	}
	footer .copyright, footer .copyright a {
		font-size: 8px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {


	.elev-form {
    width: 100%;
    margin-top: 40px;
}

.elev-content {
    width: 100%;
}



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

	.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: var(--secondary-color) !important;
		padding: 80px 0 20px;
		position: relative;
	}

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

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

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

				.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 select, .hp-qs input {
			border: 1px solid #fff;
		}

		.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-qs select,
		.hp-qs input {
			font-size: 12px;
			padding: 0 10px;
		}
		.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle{
			padding: 0 10px;
		}
		.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
			font-size: 12px !important;
		}

	.hp-welcome h1 {
		text-align: center;
	}

	.hp-welcome .welcome-img img {
		margin: 30px auto 0;
		float: none;
		display: block;
	}

	.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;
		letter-spacing: .300em;
	}


	.sidebar .side-contact, .sidebar .side-contact a {
	    font-size: 14px;
	}
	/* 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%;
	}

	.category-counties .archive-content{
		text-align: center;
	}

	.category-counties .archive-content > a {
	    display: block;
	    margin: 0 auto 10px;
	    max-width: 420px;
	}

	#ihf-main-container .checkbox label.field-label {
	    padding-left: 0;
	}

	#ihf-main-container .checkbox label.field-label > input[type="checkbox"] {
	    margin-top: 2px;
	}
	footer .copyright, footer .copyright a {
		font-size: 11px;
	}








		.col-md-10.hdr-nav-contact {
	    display: none;
	}

	.main-header, .home .main-header {
	    padding: 60px 0 10px;
	}

	footer {
	    padding: 2% 0;
	}

	footer .f-broker img {
	    width: 100%;
	    max-width: 160px;
	}











		.hp-blog .blog-item .blog-photo img {
		    max-width: 100% !important;
		}

		.hp-qs span.ai-magnifying-glass-g {
		    display: none !important;
		}


		.hp-welcome p {
		    padding: 14px 0 6px !important;
		}

		.hp-qs {
		    padding-bottom: 12px !important;
		}

		.hp-testimonials {
		    padding: 24px 0 !important;
		}


		.side-cta--sellers a {
			width: 100%;
		}

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .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;
    		height: auto;
    	}

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

    #ihf-main-container .ihf-grid-result span.ihf-grid-result-address {
	    display: block;
	}

	.single-aios_agent .ip-banner {
		display: none;
	}
	.single-aios_agent header.main-header img {
		max-width: 80px;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {


	.elev-form {
    width: 100%;
    margin-top: 40px;
}

.elev-content {
    width: 100%;
}

.elev-form-wrapper {
    padding: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.elev-form-wrapper img {
    max-width: 220px;
}



	.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;
    	}

    div#ihf-main-container div#ihf-refine-search, div#ihf-main-container div#ihf-refine-search + .btn-group {
	    float: right;
	}

	#ihf-main-container ul.pagination a {
	    font-size: 14px;
	    padding: 6px 8px;
	}

	#ihf-main-container div#ihf-agent-sellers-rep div#ihf-agent-sellers-rep-own-listing {
	    max-width: 100%;
	}
}

@media print {
	header.main-header,
	.fixed-header.hide-mobile.active,
	.aios-mobile-header-wrapper,
	.textwidget,
	.yoast-breadcrumbs,
	p#breadcrumbs,
	footer.footer,
	.sidebar,
	.ip-banner,
	.ihf-contiguous-links,
	.entry-content > a:first-child,
	.entry-title,
	.ihf-open-home .panel.panel-default
	{
		display: none !important;
	}
	#content{
		width: 100% !important;

	}
	.inner-page-wrapper{
		padding-top: 0px;
	}
}
