/*******************************************************
 *
 * 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) {
	#send-message .container {
		width: 100%;
	}
    #nav li a{
        padding: 0.375vw 16px;
    }

	.position-fixed #nav li a {
		padding: 0.375vw;
	}

	#site-header .container {
		max-width: 99.5vw;
	}
	.footernav li{
		padding: 0 max(1.25vw, 15px);
	}

	.contact-info-cont {
		font-size: 12px;
		margin: 0 10px;
	}
}

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

	.mobile-screen {
		display: block;
	}

	.desktop-screen {
		display: none;
	}

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

	.amh-header-buttons.amh-2a .amh-navigation-trigger span,
	.amh-header-buttons.amh-2a .amh-header-right-btn {
		font-family: var(--font-family-default);
		font-size: 16px !important;
	}
		.amh-header-buttons.amh-2a .amh-header-right-btn {
			padding-top: 20px;
		}

	.qsearch-submit {
		margin-top: 20px;
	}
	.qsearch-close {
		display: none;
	}

	#aios-testimonials .aios-testimonials {
		margin: 0 !important;
	}

	#send-message .container {
		max-width: 750px !important;
		width: 100% !important;
	}
		#send-message .container .row {
			flex-direction: column;
		}
			.send-message-title,
			.send-message-form {
				width: 100% !important;
			}
				.send-message-title .section-title {
					margin-bottom: 40px;
				}

	.footer-logo {
		flex-direction: column;
	}
		.footer-site-logo {
			margin-right: 0;
			margin-bottom: 30px;
		}

		.footer-logo .section-title {
			font-size: max(5.8vw, 30px);
		}
		
	.footernav{
		flex-direction: column;
		align-items: center;
		}
		.footernav li{
			padding: 10px max(1.25vw, 20px);
		}
	

	.contact-info {
		padding: 0;
	}	

	.contact-info-cont {
		margin: 15px 0;
		width: 100%;
		display: grid;
		justify-content: center;
	}

	#content .contact-info ul li {
		width: fit-content !important;
	}
	
	#content .contact-info ul li + li {
		margin-top: 0 !important;
	}
	/* 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%;
	}

	#content .aios-communities-metropolitan .aios-communities-metropolitan-item-title .section-title{
		font-size: 26px;
	}
    .slider-logo{
        font-size: calc(53px + (85 - 53) * ((100vw - 320px) / (991 - 320))) !important;
        top: 15% !important;
    }
    #aios-slider-hp-slideshow-auto-generated .aios-slider-splide .aios-slider-img canvas, #aios-slider-hp-slideshow-auto-generated .aios-slider-splide .aios-slider-custom-video canvas{
        min-height: 400px !important;
    }
    .ihf-details-template .splide__track--fade>.splide__list::after,
    .ihf-details-template #listings-details .listings-slideshow-splide .splide__main::after{
        display: none;
    }
    
    #pojo-a11y-toolbar {
         display:none;
    }

}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.container {
		width: 100%;
	}

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

	.footernav li {
		padding: 7px;
	}
	.footer-logo .section-title {
		font-size: max(6.8vw, 30px);
	}
}

@media only screen and (max-width: 600px) {
	.footer-logo .section-title {
		font-size: max(7.8vw, 30px);
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.footer-logo .section-title {
		font-size: max(8.8vw, 30px);
	}
}


/*IP CONTACT*/
    .post-page-contact .addtoany_content{
        margin-left: 122px;
    }
@media only screen and (max-width: 1440px){
    .post-page-contact .addtoany_content{
        margin-left: 100px;
    }
}
@media only screen and (max-width: 1366px){
    .post-page-contact .addtoany_content{
        margin-left: 75px;
    }
}
@media only screen and (max-width: 1280px){
    .post-page-contact .addtoany_content{
        margin-left: 50px;
    }
}
@media only screen and (max-width: 991px){
    .post-page-contact .addtoany_content{
        margin-left: 15px;
    }
}
@media only screen and (max-width: 480px){
    .post-page-contact .addtoany_content{
        
    }
}
