/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1366px) {
	body.home .agents-list .agents-single {
	    width: calc(25% - 100px);
	}
}

@media only screen and (max-width: 1280px) {
	.qs_title h2 {
		font-size: 30px;
	}
	.welcome_right {
		padding-right: 0;
	}
	.cta_text_wrap span {
		font-size: 40px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.qs_title h2 {
		font-size: 25px;
	}
	.qs_field input, .qs_field select {
		font-size: 12px;
	}
	.qs_submit input[type="submit"], .qs_advanced a {
		font-size: 14px;
	}

	.comm_text_title {
		font-size: 20px;
	}

	.prop_text_wrap {
		padding-left: 15px;
		padding-right: 15px;
	}
	.prop_text_left {
		padding-left: 15px;
	}
	.prop_address {
		font-size: 20px;
	}
	.prop_item .prop_item_button {
		font-size: 10px;
	}

	.reviews_slider_wrap {
		padding-left: 0;
		padding-right: 0;
	}
	.reviews_item {
		padding-left: 20px;
		padding-right: 20px;
		text-align: justify;
	}
	.reviews_author {
		line-height: 1;
	}

	.cta_text_wrap span {
		font-size: 35px;
	}
	.cta_text_wrap em {
		font-size: 17px;
	}

	.form_field_margin {
	    margin: 0 23px;
	}

	.footer_contact_info {
		padding-left: 15px;
	}
	.foot_info_left {
		width: 56.96%;
	}
	.foot_info_right {
		width: 43.04%;
	}
	.foot_info span {
		font-size: 13px;
	}
	.foot_info i {
		margin-right: 5px;
	}

	.footernav li {
		margin-left: 20px;
	}
	.footer_copyright {
		font-size: 13px;
	}
	body.home .agents-list{
		margin: 0 -5px;
	}
	body.home .agents-list .agents-single{
		margin: 0 5px;
		width: calc(25% - 69px);
	}
	body.home .agents-list .agents-ci{
		font-size: 9px;
	}
	body.home .agents-list .agents-info h3{
		font-size: 20px;
	}
	body.home .agents-view-btn {
	    font-size: 12px;
	}
	.ip_prop_address span {
		font-size: 1.2em;
	}
} 

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

	#header_wrap {
		position: relative;
		z-index: 1;
		margin-top: 52px;
		padding: 30px 0;
		background-color: rgba(25,15,1,0.8);
	}
	#header_wrap > .container-fluid {
		padding: 0 15px;
	}
	.header_logo {
		width: 100%;
		text-align: center;
	}

	.welcome_left, .welcome_right {
		width: 100%;
		text-align: center;
		padding-right: 0;
	}
	.welcome_right {
		margin-top: 40px;
	}

	#hp_team_wrap, #hp_properties_wrap {
		padding-top: 50px;
	}
	.team_top_wrap, .properties_top_wrap, .communities_top_wrap {
		display: block;
		text-align: center;
	}
	.team_title, .properties_title, .communities_title {
		width: 100%;
	}
	.team_button, .properties_button, .communities_button {
		width: 100%;
		margin-top: 30px;
		text-align: center;
	}
	.team_photo {
		padding: 0;
	}

	body.home .agents-content{
		max-width: 720px;
	}
	body.home .agents-list{
		display: block;
		margin: 0 auto;
		/*justify-content: space-between;*/
	}
	body.home .agents-list .agents-single {
	    margin: 0 0 0;
	    width: calc(50% - 10px);
	    max-width: 100%;
	}
	body.home .agents-list .agents-single:nth-child(n + 3){
		margin: 20px 0 0;
	}
	body.home .agents-list .agents-det{
		margin: 0 0 0;
		max-width: none;
	}
	body.home .agents-list .agents-ci {
	    font-size: 12px;
	}
	body.home .agents-view-btn {
		max-width: none;
	}

	body.home .agents-list .agents-img {
		max-width: 260px;
		margin: 0 auto;
	}
	body.home .agents-list .agents-det,
	body.home .agents-view-btn {
		max-width: 260px;
		margin: 0 auto;
	}

	.properties_slide_wrap {
		margin-top: 40px;
	}
	#properties_slider {
		max-width: 700px;
		margin: 0 auto;
	}
	#properties_slider .slick-list {
		padding-top: 0 !important;
	}
	.prop_item {
		padding: 0;
	}
	/*.prop_item.slick-current {
		margin: 0;
	}*/
	.prop_item a {
		min-width: 100%;
		left: auto;
	}
	.prop_item a::before, .prop_item a::after {
		display: none;
	}

	.prop_text_wrap {
		position: relative;
		bottom: auto;
		background-color: var(--primary-color);
		padding: 15px 0;
		text-align: center;
	}
	.prop_text_left, .prop_text_right {
		width: 100%;
		text-align: center;
		padding: 0;
		position: relative;
		bottom: auto;
	}
	.prop_text_right {
		margin-top: 15px;
	}
	.prop_site_logo {
		display: none;
	}
	.prop_price, .ip_prop_price {
		display: block !important;
	}
	.prop_details {
		opacity: 1;
	}
	.prop_price, .ip_prop_price {
		opacity: 1;
	}
	.prop_text_right, .ip_prop_text_right {
		position: relative !important;
		opacity: 1 !important;
		bottom: auto;
		right: auto;
	}
	.ip_prop_text_left {
		position: relative;
		bottom: auto;
	}


	#hp_qs_wrap {
		padding-bottom: 50px;
	}
	.qs_form_wrap {
		display: block;
		text-align: center;
	}
	.qs_title {
		width: 100%;
	}
	.qs_title h2 {
		font-size: 36px;
	}
	.qs_form {
		width: 100%;
		max-width: 360px;
		margin: 20px auto 0;
		padding: 0;
		text-align: center;
	}
	.qs_form form {
		display: block;
	}
	.qs_field {
		margin: 0 0 10px;
	}
	.qs_long {
		width: 100%;
	}
	.qs_short, .qs_submit, .qs_advanced  {
		width: calc(50% - 5px);
		display: inline-block;
		vertical-align: top;
	}
	.qs_margin {
		margin-left: 10px;
	}
	.qs_submit {
		margin: 0;
	}

	.qs_cta_wrap {
		margin: 50px 0 0;
	}
	.qs_cta_item {
		width: 100%;
		max-width: 500px;
		margin: 10px auto;
		padding: 0;
	}

	.comm_list_wrap {
		padding: 0 15px;
	}
	.comm_item {
		width: 50%;
	}

	#hp_reviews_cta_wrap {
		padding: 50px 0;
	}
	.reviews_slider_wrap {
		padding: 30px 10px;
	}
	.reviews_item {
		text-align: center;
		line-height: 1.5;
	}

	.cta_wrap {
		margin: 0;
	}
	.cta_item {
		width: 100%;
		max-width: 500px;
		margin: 10px auto 0;
		padding: 0;
	}
	.cta_text_wrap span {
		max-width: 300px;
		margin: 0 auto;
	}


	.form_field_short {
		width: 100%;
	}
	.form_field_margin {
		margin: 10px 0;
	}

	.footer_top {
		margin-bottom: 30px;
	}
	.footer_contact_info {
		padding: 0 15px;
		margin-top: 30px;
		text-align: center;
	}
	.foot_contact_wrap {
		display: block;
	}
	.foot_info_left, .foot_info_right {
		width: 100%;
	}
	.foot_info span {
		width: auto;
		min-height: auto;
	}
	.footer_smi {
		margin-top: 20px;
	}

	.footernav li {
		width: 100%;
		margin: 10px auto;
	}



	/* 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%;
	}
	
	.custom_site_button a {
		margin: 0 auto!important;
	}

	#community-details-wrap .cdc-left {
	    padding-top: 50px;
	}

	body.term-22 p#breadcrumbs {
	    width: 100%;
	    padding:  0;
	}

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

    .post-page-meet-the-team .agents-list {
    	flex-flow: column;
    	align-items: center;
    }
    .single-aios-neighborhood .ip_prop_text_wrap {
    	padding-left: 15px;
    	padding-right: 15px;
    }
    .single-aios-neighborhood .ip_prop_text_left {
    	padding-left: 0;
    }
    .single-aios-neighborhood .ip_prop_address {
    	font-size: 18px;
    }

    .ip_prop_text_status.open-house {
	    display: none !important;
	}

	.ip-ld-main-slider-wrap, 
	.ip-ld-main-slider{
		height: auto !important;
	}

	#aios-testimonials.aios-testimonials-page .aios-testimonials-lists:first-child .aios-testimonials-content {
    	font-size: 17px;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.custom_site_button {
		width: 100%;
		text-align: center;
	}
	.custom_site_title h2, #content .custom_site_title h2 {
		font-size: 50px;
	}

	.comm_item {
		width: 100%;
		max-width: 399px;
	}

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

    body.home .agents-list{
    	/*flex-flow: column wrap;
    	align-items: center;
    	justify-content: center;*/
    }
    body.home .agents-list .agents-single{
    	width: 100%;
    	/*max-width: 260px;*/
    }
    body.home .agents-list .agents-single + .agents-single{
    	margin: 20px 0 0;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#content .entry-title, #content .archive-title, h1.entry-title, .single-aios-agents h1.agent-entry-title {
		font-size: 33px;
	}
	.custom_site_title h2, #content .custom_site_title h2 {
		font-size: 35px;
	}
	.custom_site_button a {
		width: 100%;
		padding: 0 15px;
		font-size: 14px;
	}
}
 
