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

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.footer-middle{
		
	    padding-top: 58px;
	}
	.header-contact li {
		padding: 0 4px;
	}
	.aios-starter-theme-demo-header-navigation #nav > li {
		margin: 0 15px;
	}
	.cta-default-text span, .cta-hover-text span {
		font-size: 16px;
	}
	.qs-form input[type="submit"] {
		font-size: 10px;
	}
	.qs-form a.adv-btn {
		font: 400 10px/28px 'Muli', sans-serif;
	}
	.fp-col .fp-heading-logo {
		margin: auto 25px;
	}
	.ig-feed-col {
		/*padding-top: 87px;*/
		/*padding-top: 17px;*/
	}
	.footernav li {
		padding: 0 12px;
	}

	#content-sidebar #content {
		width: 72.08%;
	}
	.sidebar {
	    width: 25.83%;
	}

	.pvg-list-thumb {
	    height: 90px;
	}

	.ig-feed-title,
	.fp-title {
		font-size: 20px;
	}
	.fp-title {
		max-width: 300px;
	}
}


/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	/* The following are used on inner pages. Please edit carefully. */
	#inner-page-wrapper {
		padding-top: 40px;
	}
	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}

	#main-wrapper {
		padding-top: 52px;
	}
	#main-header {
		position: relative;
	}
		.header-top {
			padding: 10px 0;
		    position: absolute;
		    bottom: -49px;
		    width: 100%;
		    background: none;
		}
			.header-translate {
				text-align: center;
			}
			.header-smis {
				text-align: center;
				padding-top: 0;
			}
		.header-middle {

		}
			.header-logo {
				text-align: center;
			}
				.header-logo {
					max-width: 100%;
				}
			.header-contact {
				text-align: center;
				padding-top: 0;
				padding-bottom: 15px;
			}
				.header-contact ul {
					margin-right: 0 !important;
				}
	.header-contact .contact-info{
		float: none;
	}
	.headerTopWrapper {
    	text-align: center;
    }	
	#quicksearch-wrap {

	}
		.qs-form {
			max-width: 300px;
			margin: auto;
		}
			.qs-form .field-input {
				float: left;
				margin: 3px 0;
			}
			.qs-form .field-input:first-of-type {
				margin-left: 0;
			}
			.qs-form .field-input:last-of-type {
				margin-right: 0;
			}
			.qs-form .field-lg {
				width: 100%;
			}
			.qs-form .field-sm {
				width: 49.5%;
			}
			.qs-form .field-sm:nth-child(even) {
				float: right;
			}
			.qs-form input[type="submit"] {
				width: 100%;
				margin: 3px 0;
			}
			.qs-form a.adv-btn {
				width: 100%;
				margin: 3px 0;
			}
			.qs-form input[type="submit"],
			.qs-form a.adv-btn {
				font-size: 12px;
			}
	#communities-wrap {

	}
		.comm-list {
			position: relative;
			text-align: center;
			margin-top: 50px;
		}
			.comm-list ul {
				margin: auto;
			}
	#properties-wrap {

	}
		#properties-wrap .container-fluid.no-gutter {
			/*padding-left: 15px;
			padding-right: 15px;*/
		}
		#properties-wrap .ig-feed-col {
			padding-right: 15px;
		}
		#properties-wrap .fp-col {
			padding-left: 15px;
			padding-top: 50px;
		}
		.ig-items-wrap {
			height: auto;
		}
		.fp-text-wrap {
			width: 100%;
			min-width: auto;
		}
		.fp-col .fp-heading-logo {
			display: none;
			margin: 15px auto 62px;
		}
		.fp-col .fp-heading-text {
			display: block;
			margin: 30px auto 0;
		}
	#cta-wrap {

	}
		#cta-wrap .cta-item {
			margin-bottom: 40px;
		}
		#cta-wrap .cta-item:last-of-type {
			margin-bottom: 30px;
		}
		.cta-default-text span, .cta-hover-text span {
			font-size: 20px;
		}
	#welcome-wrap {

	}
		#welcome-wrap p {
			margin: 25px 0;
		}
	#main-footer {

	}
		.footer-left {
			text-align: center;
		}
			.footer-left ul {
				margin: auto;
			}
		.footer-middle {
			text-align: center;
			padding-top: 20px;
		}
		.footer-right {
			text-align: center;
			padding-bottom: 20px;
		}
		.footer-copyright {
			text-align: center;
			padding-bottom: 20px;
		}
		.footer-realtors {
			text-align: center;
			padding-top: 0;
		}
		.header-contact li > span {
			    width: auto;
			    text-align: center;
	}

	.page-template-template-video-gallery #inner-page-wrapper {
	    padding-top: 0;
	}

	.insta_desc {
	    max-width: 430px;
	    font-size: 16px;
	    text-align: center;
	    text-transform: capitalize;
	    position: relative;
	    display: block;
	    width: 100%;
	    margin: 0 auto;
	    /*background-color: rgba(255,255,255,0.65);*/
	}
	.ig-photo{
		height: auto;
	}
	.ig-item img{
		width: 100%;
		height: auto;
	}
	.ig-items-wrap{
		background-size: cover;
	}

	/*.amh-navigation .amh-menu li:nth-child(2) {
		display: none;
	}*/

	ul.amh-menu li:nth-child(2) {
		display: none;
	}
	ul.sub-menu li:nth-child(2) {
		display: block;
	}

	#content-sidebar .sidebar {
		margin-top: 15px;
		clear: both;
	}

	#content ul.list {
		float: none;
	}

	.footernav li {
		padding: 0 8px;
		margin-bottom: 10px;
	}

	.ip-testi-videos iframe, .ip-testi-videos video {
		height: auto;
	}

	.ig-feed-title,
	.fp-title {
		font-size: 35px;
	}
	.fp-title {
		max-width: 500px;
	}

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) | Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 767px) {
	.pvg-thumb-holder {
	    position: relative;
	    bottom: 0;
	}

	.ip-testi-videos .testi-video {
		margin: 25px 0;
	}
}

@media only screen and (max-width: 575px) {
	.header-contact {

	}
		.header-contact li {
			display: block;
			border-left: 0;
		}
		.header-contact li:first-of-type {
			padding-left: 12px;
		}
		.header-contact li:last-of-type {
			padding-right: 12px;
		}
	.cta-default-text span, .cta-hover-text span {
		font-size: 16px;
	}
	.footernav li {
		display: block;
		border-left: 0;
		margin: 5px 0;
		padding: 0;
		text-align: center;
	}
	.footernav li:first-of-type {
		padding-left: 0px;
		text-align: center;
	}
	.footernav li:last-of-type {
		padding-right: 0px;
		text-align: center;
	}

	.ip-testi-videos {
		margin-top: 0;
	}

	.ip-testi-videos iframe, .ip-testi-videos video {
		max-width: 100%;
		width: 100%;
		height: 260px;
		margin: 0 0 0;
	}

	#ihf-main-container select[multiple], #ihf-main-container select[size] {
		height: auto;
		width: 100%;
	}

	.welcome-title {
		font-size: 18px;
	}
}

@media print{

	header#main-header {
   		display: none!important;
	}

	p.yoast-breadcrumbs {
    	display: none!important;
	}

	h1.entry-title {
    display: none !important;
	}

	 div#ihf-leadcapture-btns {
    display: none!important;
    }

    .col-xs-12.col-sm-5.col-md-4.pt-25.back-to-results.ihf-detail-back-to-results {
    display: none!important;
    }

    .ihf-contiguous-links {
    display: none!important;
}

    aside.sidebar{
    display: none!important;
    }

    #inner-page-wrapper{
    	padding-top: 0px!important;
    }

     #content-sidebar #content{
        width: 100%!important;
    }

    footer#main-footer {
    display: none!important;
	}

	 .aios-mobile-header-wrapper,
    .textwidget{
        display: none!important; 
    }

}



 
