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

@media only screen and (max-width: 1500px) {
	.fp-add {
/*		font-size: 33px;*/
		font-size: 29px;
	}

	.fp-info {
		padding: 35px 185px 35px 25px;
	}

	.fp-btn {
		right: 20px;
		bottom: 30px;
		padding: 22px 25px;
	}

	.fp-add span {
		font-size: 16px;
	}

	.fp-price {
		font-size: 26px;
	}

	.header-container .aios-split-nav:first-of-type > li:first-of-type > .sub-menu {
		left: 0;
		transform: translate(0);
	}
} 

@media only screen and (max-width: 1440px) {
	#content .entry-title, #content .archive-title{
		font-size: 55px;
	}

	/* .expanded-menu-nav > li > a, .expanded-menu-custom-wrap > li > a {
	    font-size: 30px;
	} */

	/* .expanded-menu-nav-container {
	    max-width: 1110px;
	} */

	/* .expanded-menu-nav > li .sub-menu > li > a, .expanded-menu-custom-wrap > li .sub-menu > li > a {
	    font-size: 13px;
	} */

	body #ai-modern-community-details .ai-modern-community-details-photo {
	    width: 39%;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2,
	.single-aios-communities #content .custom-page-title {
	    font-size: 55px;
	}


}

@media only screen and (max-width: 1400px) {
	.header-container .aios-split-nav > li {
		padding: 0 15px;
	}

	.expanded-menu .close-btn {
		right: 40px;
	}

	.fp-add {
		font-size: 30px;
	}

	.map-list a {
		font-size: 14px;
		padding: 10px 0;
	}

	.map-left {
		padding-top: 50px;
	}

	.map-container:before {
		left: -208px;
	}

	.sm-smi ul {
		max-width: 400px;
	}
} 



@media only screen and (max-width: 1366px) {
	.expanded-menu-custom-wrap > li:not(:last-child), .expanded-menu-nav > li:not(:last-child) {
	    margin-bottom: 25px;
	}

	.expanded-menu-nav > li .sub-menu > li:not(:last-child), .expanded-menu-custom-wrap > li .sub-menu > li:not(:last-child) {
	    margin-bottom: 5px;
	}


}

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#content .entry-title, #content .archive-title{
		font-size: 45px;
	}

	.header-container .aios-split-nav a {
		font-size: 15px;
	}

	.header-container .aios-split-nav > li {
		padding: 0 12px;
	}

	li.menu-item-47 > .sub-menu {
		min-width: 365px;
	}

	.em-logo {
		margin-bottom: 40px;
	}

	.em-col nav > ul > li > a {
		font-size: 20px;
	}

	.em-col .sub-menu {
		margin-top: 13px;
	}

	.em-col nav > ul > li {
		margin-bottom: 20px;
	}

	.em-contact-info div a {
		font-size: 12px;
	}

	.em-col .sub-menu a {
		font-size: 11px;
	}

	/* .expanded-menu-nav:first-of-type, .expanded-menu-nav:last-of-type > li:not(:last-child), .expanded-menu-custom-wrap {
	    margin-right: 25px;
	}

	.expanded-menu-nav > li > a, .expanded-menu-custom-wrap > li > a {
	    font-size: 25px;
	}

	.expanded-menu-nav > li .sub-menu > li > a, .expanded-menu-custom-wrap > li .sub-menu > li > a {
	    letter-spacing: normal;
	    font-size: 11px;
	} */


	.logo img {
		max-width: 100px;
		height: auto;
	}

	h1, h2 {
		font-size: 3rem;
	}

	.fp-bg {
		left: 445px;
	}

	.fp-info {
		padding: 35px 160px 35px 20px;
	}

	.fp-add {
		font-size: 23px;
	}

	.fp-add span {
		font-size: 13px;
	}

	.fp-price {
		font-size: 23px;
		margin-top: 24px;
	}

	.fp-btn {
		font-size: 12px;
		padding: 19px 19px;
	}

	.fp-inner .text-right a {
		padding: 20px 46px;
	}

	.map-left {
		padding-top: 30px;
		padding-left: 50px;
	}

	.map-list a {
		font-size: 12px;
	}

	.map-left .primary-btn {
		padding: 20px 27px;
		font-size: 12px;
	}

	.team-header h2 {
		padding-bottom: 30px;
	}

	.testi-item {
		padding: 0 20px;
	}

	.testi-slider-wrap {
		padding: 70px 15px 66px;
	}

	.sm-smi a {
		font-size: 12px;
		height: 53px;
	}

	.sm-smi {
		padding: 0 5px;
	}

	.sm-smi i {
		margin-right: 8px;
		font-size: 17px;
	}

	.footer-smi {
		margin: 0 30px;
	}

	body #content .ai-modern-community-details-content p {
	    font-size: 13px;
	}

	body #ai-modern-community-details .ai-modern-community-details-photo {
	    margin-right: 0;
	    width: 37%;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2, .single-aios-communities #content .custom-page-title {
	    font-size: 30px;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2 span em:before {
	    top: -7px;
	}

	div#reciprocity iframe {
	    height: 2050px !important;
	}

} 

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


	.header-container nav.navigation {
	    display: none;
	}

	.header.show .header-container nav.navigation .logo {
	   display: none;
	}

	.header-container {
	   
	    text-align: center;
	}

	.header .logo:not(.hidden-lg.hidden-md) {
	    display: none;
	}


	div#reciprocity iframe {
	    height: 2440px !important;
	}

	.single-aios-communities #ai-modern-community-details .ai-modern-community-details-photo {
		margin-right: 0;
	}
	
	
	
	/* 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 .archive-list .article-long .archive-has-thumbnail {
	    width: 100%;
	    margin: 0 auto;
	}

	#content .archive-list .article-long .archive-thumbnail {
	    width: 100%;
	}

	#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
	    margin-top: .75em;
	}

	#content .archive-list .article-long p {
	    font-size: 16px;
	}
	
	.header-container .aios-split-nav, .header-tel, .burger-menu,
	.fixedheader, .expanded-menu, .fp-bg,
	.fp-btn, .map-right, .testi-left, .testi-item:before {
		display: none;
	}

	.header .menu-primary-menu-container {
		justify-content: center;
	}

	.header, .header.show {
		position: relative;
		top: 0 !important;
		background: #000;
		padding: 25px 0;
		top: 0 !important;
		opacity: 1 !important;
	}

/*	.header.show {
		opacity: 1;
		top: 0;
	}*/

	section#slideshow {
		/* margin-top: -167px; */
		margin-top: -200px
	}

	#main-wrapper {
		margin-top: 52px;
	}

	.qs-wrap {
		flex-direction: column;
		align-items: center;
	}

	.qs-wrap form {
		padding-left: 0;
		margin-top: 30px;
	}

	.fp-title {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.fp-title p {
		padding-left: 0;
		text-align: center;
	}

	.fp-slider .slick-slide > div:first-of-type .fp-item:first-of-type {
		width: 50%;
	}

	.fp-slider .slick-slide > div:first-of-type .fp-item:last-of-type {
		width: 50%;
		border: none;
		margin-bottom: 0;
		border-right: 0;
		margin-top: 0;
	}

	.fp-slider .slick-slide > div:last-of-type .fp-item:first-of-type {
		width: 50%;
		border: none;
		margin-top: 0;
		border-left: 0;
		margin-bottom: 0;
	}

	.fp-slider .slick-slide > div:last-of-type .fp-item:last-of-type {
		width: 50%;
	}

	.fp-info {
		padding: 35px 20px;
		text-align: center;
		justify-content: center;
	}

	.fp-inner .text-right {
		text-align: center;
	}

	.fp-icon {
		display: flex;
		justify-content: center;
	}

	.fp-add {
		white-space: normal;
	}

	.map-left {
		padding-top: 50px;
    	padding-bottom: 50px;
		padding-left: 0;
		position: relative;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.map-list {
		padding-left: 0;
	}

	.team-header {
		position: relative;
		top: 0;
	}

	.team-header > div {
		display: flex;
		justify-content: center;
	}

	.team-header h2 {
		padding-right: 28px;
	}

	.fp-inner .text-right a, .team-btn .primary-btn {
		padding: 20px 46px;
		font-size: 12px;
	}

	.testi-right {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.testi-slider-wrap {
		margin-left: 0;
	}

	.testi-title {
		padding: 0 0 62px 0px;
	}

	.testi-right > div {
		max-width: 95%;
	}

	.testi-item p, .testi-item .reviewer-name {
		text-align: center;
	}

	.sm-wrap {
		flex-direction: column;
		align-items: center;
	}

	.sm-col {
		width: 100%;
		max-width: 400px;
	}

	.sm-col:nth-child(1) {
		order: 2;
	}

	.sm-col:nth-child(2) {
		width: 100%;
		margin-bottom: 30px;
	}

	.git-wrap {
		justify-content: center;
	}

	.git-inner {
		background: rgba(22, 55, 136, 0.9);
		padding: 100px 20px 120px;
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
		max-width: 500px;
	}

	.git-form form {
		flex-direction: column;
	}

	.git-form input[type=submit] {
		min-width: 100%;
		margin-left: 0;
		margin-top: 20px;
	}

	.footer-logo {
		flex-direction: column;
	}

	.footer-logo a {
		margin: 20px;
	}

	.footer-mid {
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-top: 0;
	}

	.footer-mid h3 {
		font-size: 24px;
		margin-bottom: 35px;
		margin-top: 50px;
	}

	.footer-contact-info .flex-align-center {
		justify-content: center;
	}

	.footernav ul{
		column-count: 1;
	}

	.footernav li {
		width: 100%;
	}

	body #ai-modern-community-details .ai-modern-community-details-photo {
	    width: 100%;
	    max-width: 500px;
	    margin: 0 auto;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2 {
	    padding-left: 0;
	}

	body.single-aios-communities #content .custom-page-title em+em {
	    margin-left: 8px;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2 span {
	    padding-left: 0;
	}

	body #ai-modern-community-details .ai-modern-community-details-title h2, body.single-aios-communities #content .custom-page-title {
	}

	body.single-aios-communities #content-full #content > .container-fluid {
	    padding: 0;
	}

	body.single-aios-communities #content-full #content {
	    margin-top: 30px;
	}

	body.single-aios-communities #content .custom-page-title {
	    width: 100%;
	    max-width: 320px;
	    margin: 0 auto 30px;
	}

	body.single-aios-communities p#breadcrumbs {
	    padding: 0 15px;
	    margin-bottom: 30px;
	}

	body.single-aios-communities .listings-pagination li:not(:last-of-type) {
	    margin-right: 10px;
	}

	body.single-aios-communities .listings-pagination li a {
	    width: 26px;
	    height: 45px;
	}
	body #aios-modern-community-page .amcp-top h1 .amcp-line {
	    margin: 0;
	}

	body #aios-modern-community-page .amcp-top h1 {
	    margin-bottom: 20px;
	}

	#content .archive-subtitle:after {
	    display: none;
	}

	
	#content .archive-content.archive-has-thumbnail {
	    text-align: center;
	}


#featured-properties {
	    padding: 40px 0;
}

#team {
    margin-top: 30px;
}
.team-btn {
	padding-bottom: 40px;
}

.fp-title {
    margin-bottom: 30px;
}

.testi-btn {
	justify-content: center;

}

#social-media {
	padding: 50px 0;
}

.page-id-61 #content .entry-title {
   margin-bottom: 0;
}

.aios-cu-form {
	margin: 40px auto !important;
}

.map-list {
    padding: 0 15px;
}

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

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

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

	.qs-wrap {
		padding: 0 15px;
	}

	.qs-row:first-of-type, .qs-row {
		flex-direction: column;
	}

	.qs-row:first-of-type {
		margin-bottom: 5px;
	}

	.qs-col {
		width: 100%;
	}

	.qs-col.qs-btn {
		margin-top: 20px;
	}

	.qs-text {
		text-align: center;
	}

	.fp-slider .slick-slide > div:last-of-type .fp-item:last-of-type, .fp-slider .slick-slide > div:first-of-type .fp-item:last-of-type,
	.testi-btn button {
		display: none !important;
	}

	.fp-slider .slick-slide > div:first-of-type .fp-item:first-of-type, .fp-slider .slick-slide > div:last-of-type .fp-item:first-of-type {
		width: 100%;
	}

	.fp-item .canvas-img canvas {
		min-height: 300px;
	}

	.fp-slider {
		max-width: 400px;
		margin: auto;
		overflow: hidden;
	}

	.fp-row {
		padding: 10px 0;
	}

	.testi-btn a.primary-btn {
		height: 64px;
		padding: 20px 27px;
		font-size: 12px;
	}


}

@media only screen and (max-width: 544px) {
	div#reciprocity iframe {
	    height: 5900px !important;
	}

#content p {
	text-align: left !important;
}


.aios-cu-contact span + span {
    font-size: 14px!important;
}

body.page-id-61 p {
   font-size: 14px!important;
}

}

@media only screen and (max-height: 550px) {
	.em-logo img {
		max-width: 80px;
	}

	.em-logo {
		margin-bottom: 20px;
	}

	.em-col nav > ul > li > a {
		font-size: 17px;
	}

	.em-col .sub-menu a {
		font-size: 10px;
	}

	.em-col .sub-menu li {
		margin: 6px 0;
	}



}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	div#reciprocity iframe {
	    height: 5400px !important;
	}
	#content .entry-title, #content .archive-title{
		font-size: 25px;
	}
	
	h1, h2 {
		font-size: 2.3rem;
	}

	#qs form select, .qs-col.qs-btn a, .qs-col.qs-btn input, .testi-item p, .testi-item .reviewer-name {
		font-size: 12px;
	}

	.testi-item {
		padding: 0;
	}

	.testi-btn a.primary-btn {
		height: 59px;
		padding: 10px 16px;
		font-size: 12px;
	}

	.sm-smi ul {
		max-width: 230px;
		flex-direction: column;
		width: 100%;
	}

	.sm-smi li {
		width: 100%;
	}

	.footer-logo img {
		max-width: 200px;
		height: auto;
	}


	.sellers-sec3 .sellers-right .primary-btn {
		padding: 21px 10px !important;
	}

#content .similar-properties h2 {
	font-size: 35px !important;
}


}
