/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1440px) {
	.welcome_right_wrap {
		padding-left: 60px;
	}
	.fp_text_left {
		padding-left: 20px;
	}
	.fp_text_right {
		padding-right: 20px;
	}
}

@media only screen and (max-width: 1366px) {
	.custom_site_title h2,
	#content .custom_site_title h2 {
		font-size: 70px;
	}
	#nav li, #fixed_nav li {
		padding: 0 25px;
	}
	.welcome_right_wrap {
		padding-left: 40px;
	}
}

@media only screen and (max-width: 1280px) {
	.custom_site_title h2,
	#content .custom_site_title h2 {
		font-size: 65px;
	}
	#nav li, #fixed_nav li {
		padding: 0 20px;
	}
	.fp_details span {
		font-size: 12px;
		padding: 0 5px;
	}
	.fp_text_left {
		padding-left: 15px;
	}
	.fp_text_right {
		padding-right: 15px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.custom_site_title h2,
	#content .custom_site_title h2 {
		font-size: 55px;
	}
	#nav li, #fixed_nav li {
		padding: 0 10px;
	}
	.bm_info, .bm_info_address {
		font-size: 15px;
	}
	.welcome_right_wrap {
		padding-left: 20px;
	}
	.fp_more_dets {
		font-size: 12px;
	}

	.ip-agent-list-info span {
		font-size: 15px !important;
	}

}

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

	#header_wrap {
		position: relative;
		z-index: 1;
		margin-top: 52px;
		padding: 20px 0;
		background-color: var(--primary-color);
	}
	.header_logo {
		width: 100%;
		text-align: center;
	}
	.hp_slide_tagline {
		top: 50%;
	}

	.welcome_content {
		display: flex;
		flex-flow: column;
	}
	.welcome_left_wrap {
		width: 100%;
		order: 2;
		margin-top: 0;
		padding: 0 15px;
		text-align: center;
	}
	.welcome_photo {
		max-width: 741px;
		margin: 0 auto;
	}
	.welcome_photo canvas {
		height: auto;
	}
	.welcome_right_wrap {
		width: 100%;
		padding: 50px 15px;
		text-align: center;
	}

	#hp_featprop_wrap {
		padding: 50px 0;
		text-align: center;
	}
	.fp_right_wrap {
		margin-top: 30px;
		text-align: center;
	}
	.fp_slider_wrap {
		margin-top: 50px;
		padding: 0 10px;
	}
	.fp_item a {
		max-width: 527px;
		margin: 0 auto;
	}
	.fp_text {
		bottom: 15px;
	}
	.fp_text_left, .fp_text_right {
		width: 100%;
		padding: 0 15px;
		text-align: center;
	}
	.fp_text_left {
		border: none;
	}
	.fp_text_left::before {
		display: none;
	}
	.fp_price {
		margin-top: 10px;
	}
	.fp_text_right {
		margin-top: 20px;
	}
	.fp_details {
		height: auto;
		opacity: 1;
		margin-top: 10px !important;
	}
	#hp_cta_wrap {
		padding: 100px 0 120px;
	}
	.cta_list {
		margin: 0;
	}
	.cta_item {
		width: 100%;
		padding: 10px 0;
	}
	.cta_item a {
		max-width: 563px;
		margin: 0 auto;
	}

	.footer_form_wrap {
		padding: 50px 0;
	}
	.contact_smi {
		display: block;
		margin: 20px auto;
	}

	.footer_bottom_wrap {
		padding: 50px 0;
	}
	.footer_info {
		flex-flow: column;
	}
	.foot_info {
		padding: 10px 0;
	}
	.foot_info::before {
		display: none;
	}
	.foot_info_address {
		margin-top: 15px;
	}
	.footernav li {
		display: block;
		padding: 10px 0;
	}
	.footernav li::before {
		display: none;
	}
	
	/* 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%;
	}

	.post-page-contact-us .aios-contact-wrap .aios-contact-main {
		margin-left: 0;
		margin-right: 0;
	}
	.post-page-contact-us .aios-contact-wrap .aios-contact-main {
		padding-left: 15px;
		padding-right: 15px;
	}

	#aios-testimonials.aios-testimonials-page h1 {
	    font-size: 36px;
	    margin-bottom: 30px;
	}
	
	.ip-agent-contact {
	    text-align: center;
	}
	.ip-agent-details-list-wrap:nth-child(even) .ip-agent-list-item {
	    flex-direction: column !important;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.hp_slide_tagline h2 {
		font-size: 40px;
		margin-bottom: 10px;
	}
	.contact_form .form_field_short {
		width: 100%;
		margin-left: 0;
	}
    .ip-banner .container{
        width: 100%;
    }
    #content .entry-title, #content .archive-title {
    	font-size: 45px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.custom_site_title h2,
	#content .custom_site_title h2 {
		font-size: 45px;
	}
	.hp_slide_tagline h2 {
		font-size: 30px;
	}
	.hp_slide_tagline span {
		margin-bottom: 5px;
		font-size: 18px;
	}

	#content .entry-title, #content .archive-title {
    	font-size: 32px;
    }
}
 
