/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1500px) {
	.welc-wrapper:after {
	    left: 6%;
	}
} 

@media only screen and (max-width: 1440px) {
	.welc-wrapper:after {
	    left: 50px;
	}
} 

@media only screen and (max-width: 1366px) {
	.welc-title h1 {
	    font-size: 50px;
	}
	
	.fp-right {
	    width: calc(40.85% - 13px);
	}

	.fp-left {
		width: calc(59.15% - 13px);
	}

	.fp-gallery-title h2 {
	    font-size: 28px;
	}

	.fp-gallery-title {
	    margin-bottom: 20px;
	}

	.fp-loc-sm span {
	    font-size: 12px;
	}

	.fp-price-sm span {
	    font-size: 15px;
	}

	.testi-content p {
	    font-size: 16px;
	}

	.blog-content p {
	    font-size: 14px;
	}
} 

@media only screen and (max-width: 1280px) {
	.welc-left {
	    width: calc(54% - 30px);
	    padding-left: 70px;
	}

	.welc-right {
	    width: calc(44% - 30px);
	}

	.blog-container {
	    padding-left: 30px;
	}

	.slide-content-wrapper > .container,
	.im-wrapper > .container,
	.footer-wrapper > .container {
	    padding: 0 15px;
	}

	.blog-content p {
	    line-height: 24px;
	}

	.testi-content p {
	    line-height: 25px;
	}

	.fp-loc-sm span {
	    letter-spacing: normal;
	}

	.fp-loc span {
	    letter-spacing: 1.1px;
	}

	.fp-hover-price span {
	    letter-spacing: 2px;
	}

	.fp-price span {
	    letter-spacing: 2px;
	}
} 

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.flexmls_connect__sr_listing_facts_container {
		width: 50% !important;
	}

	.header-smi-widget {
		border-right: 1px solid transparent;
	}

	.slideshow-container .cycloneslider-canvas, 
	.slideshow-container .cycloneslider-slide.cycloneslider-slide-image.cycle-slide, 
	.slideshow-container .cycloneslider-template-responsive img.cycloneslider-slide-js[width="1"] + canvas{
		height: 100%!important;
		min-height: 675px!important;
	}

	.qs-form-check-field {
	    width: 25%;
	}

	.qs-form-check-field span em.ccustom-checkbox {
	    margin-right: 5px;
	}

	.slide-tagline h2 {
	    font-size: 50px;
	}

	.slide-tagline h2 span {
	    font-size: 27px;
	}

	#scroll-down {
	    left: 0;
	}

	.welc-left {
	    width: calc(54% - 15px);
	}

	.welc-right {
	    width: calc(44% - 15px);
	}

	.welc-title h1 {
	    font-size: 45px;
	    letter-spacing: 2px;
	}

	.welc-title span, .welc-title h1 span {
	    font-size: 22px;
	}

	.welc-content p:not(:last-child) {
	    margin-bottom: 15px;
	}

	.welc-content p {
	    font-size: 14px;
	    line-height: 24px;
	}

	.im-title h2 span,
	.testi-title h2 span,
	.blog-title h2 span {
	    font-size: 45px;
	    letter-spacing: 3px;
	}

	.im-title h2,
	.testi-title h2,
	.blog-title h2 {
	    font-size: 23px;
	}

	.fp-gallery-title h2 {
	    font-size: 25px;
	}

	.fp-gallery-title {
	    margin-bottom: 10px;
	}

	.fp-col {
	    padding: 50px 0;
	}

	.fp-details {
	    padding: 0 15px 19px;
	}

	.fp-price span {
	    letter-spacing: 1px;
	    font-size: 27px;
	}

	.fp-loc span {
	    letter-spacing: 1px;
	    font-size: 18px;
	}

	.fp-details-sm {
	    padding: 0 5px 10px;
	}

	.fp-loc-sm span {
	    font-size: 11px;
	}

	.fp-price-sm span {
	    font-size: 14px;
	}

	.fp-price-sm {
	    margin-bottom: 5px;
	}

	.im-video-btn a {
	    font-size: 18px;
	}

	.testi-content p {
	    font-size: 15px;
	}

	.testi-container {
	    padding-right: 20px;
	}

	.testi-slide-wrapper {
	    max-width: 43%;
	}

	.footer-logo img {
	    max-width: 300px;
	    width: 100%;
	}

	.blog-content p {
	    line-height: 20px;
	}

	.blog-content-title h2 {
	    font-size: 16px;
	}

	.blog-content-wrapper {
	    padding-left: 11px;
	}

	.blog-container {
	    padding-left: 15px;
	    padding-right: 15px;
	}
	
	.sb-qs-col .qs-sp-form-filed.qs-search-label {
	    width: calc(10% - 3px);
	}

	.sb-qs-col .qs-sp-form-field {
	    width: calc(30% - 3px);
	}

	.sb-qs-col .qs-sp-form-field input {
	    padding: 0 5px;
	}

	.sb-qs-col .qs-sp-form-field select {
	    font-size: 12px;
	}

	.sb-qs-col .qs-map-submit-option a {
	    font-size: 12px;
	}

	.sb-qs-col .qs-map-submit-view-btn button.qs-submit-button {
	    font-size: 12px;
	}

	.sb-qs-col .qs-map-submit-view-btn {
	    width: calc(72.75% - 35px);
	}

	.sb-qs-col .qs-map-submit-option {
	    width: calc(27.25% - 35px);
	}


	.sidebar {
	    width: 25.83%;
	}

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

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

} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	#scroll-down{
		display: none;
	}

	.slideshow-container .cycloneslider-canvas, 
	.slideshow-container .cycloneslider-slide.cycloneslider-slide-image.cycle-slide, 
	.slideshow-container .cycloneslider-template-responsive img.cycloneslider-slide-js[width="1"] + canvas {
	    min-height: 0!important;
	}

	#fixed-header {
	    position: relative;
	    -webkit-transform: none;
	        -ms-transform: none;
	            transform: none;
	    z-index: 1;
	}

	.header-wrapper {
	    position: relative;
	    margin-top: 52px;
	    display: block;
	    padding: 30px 0;
	}

	.header-right {
	    display: none;
	}

	.header-wrap {
	    display: block;
	    text-align: center;
	}

	.logo a {
	    display: inline-block;
	}

	.slide-content-main {
	    display: block;
	}

	.slide-content-container {
	    position: relative;
	    display: block;
	    top: 0;
	}

	.slide-content-left {
	    display: none;
	}

	.slide-content-right {
	    width: 100%;
	}

	.fp-item {
	    -webkit-box-orient: vertical!important;
	    -webkit-box-direction: reverse!important;
	        -ms-flex-direction: column-reverse!important;
	            flex-direction: column-reverse!important;
	}

	.fp-left, .fp-right {
	    width: 100%;
	}

	.fp-col:before, .fp-col:after {
	    width: 100%;
	}

	.fp-item-sm {
	    margin-bottom: 5px!important;
	}

	.fp-gallery-title h2 {
	    font-size: 31px;
	}

	.fp-gallery-title {
	    display: block;
	    text-align: center!important;
	}

	.welc-main-container {
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: column-reverse;
		        flex-direction: column-reverse;
	}

	.welc-left, .welc-right {
	    width: 100%;
	}

	.welc-wrapper:after {
	    display: none;
	}

	.welc-left {
	    padding: 0;
	}

	.welc-content-wrap {
	    padding: 50px 0;
	}

	.welc-agent-img {
	    width: 100%;
	    max-width: 548px;
	    margin: 0 auto;
	}

	.welc-content-wrapper {
	    display: block;
	    padding: 50px 15px;
	    background: #fff;
	    text-align: center;
	}

	.welc-title h1 span {
	    text-align: center;
	}

	.im-wrapper {
	    padding: 50px 0;
	}

	.im-video-btn a {
	    margin: 0 auto;
	    width: 100%;
	    max-width: 300px;
	    font-size: 14px;
	    letter-spacing: 1px;
	}

	.im-video-banner:before {
	    width: 45px;
	    height: 45px;
	}

	.im-video-btn a span em.ai-youtube-icon {
		margin-left: 10px;
	}

	.th-flex-wrap {
	    display: block;
	}

	.testi-container {
	    width: 100%;
	    padding: 30px 15px;
	}

	.testi-container:before {
	    display: none;
	}

	.testi-title {
	    max-width: 100%;
	    display: block;
	    text-align: center;
	    margin-bottom: 30px;
	}

	.testi-slide-wrapper {
	    max-width: 100%;
	}


	.testi-slide {
	    text-align: center;
	    margin-bottom: 30px;
	}

	.testi-btn-wrap a {
	    margin: 0 auto;
	}

	.blog-container {
	    width: 100%;
	    display: block;
	    padding: 30px 0;
	}

	.blog-wrapper {
	    margin: 0 auto;
	}

	.blog-title {
	    text-align: center;
	}

	.footer-info-main {
	    display: block;
	    text-align: center;
	}

	.footer-contacts {
	    text-align: center;
	}

	.footer-smi {
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;
	}

	.footer-logo {
	    display: block;
	    margin-bottom: 30px;
	}

	.footer-nav-wrap {
	    text-align: center;
	}

	.footer-wrapper {
	    padding: 50px 0 30px;
	}
	
	.blog-ft-img {
	    display: block;
	    text-align: center;
	}

	.blog-img {
	    width: 100%;
	    max-width: 231px;
	    margin: 0 auto;
	}

	.blog-content-wrapper {
	    padding: 10px;
	    width: 100%;
	    max-width: 303px;
	    margin: 0 auto;
	}

	.footer-cont span {
	    display: block;
	    padding: 0;
	}

	.footer-cont span:not(:last-child) {
	    margin-bottom: 10px;
	}

	.footer-loc {
	    margin-bottom: 10px;
	}
	
	.fp-loc span {
	    font-size: 17px;
	}

	.fp-price span {
	    font-size: 27px;
	    letter-spacing: normal;
	}

	.fp-details {
	    padding: 0 15px 15px;
	    display: block;
	}

	.fp-price {
	    margin-bottom: 5px;
	}

	#footer-nav li {
	    padding: 0 10px;
	}

	.fp-banner-img canvas {
	    min-height: 225px;
	    background-attachment: scroll;
	}
	
	/* 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%;
	}

	.ip-banner:before{
		display: none;
	}

	.footer-elogo {
	    width: calc(100% / 3);
	    text-align: center;
	    margin-bottom: 15px;
	    padding: 0 15px;
	}

	.footer-extra-logos {
	    flex-flow: row wrap;
	    margin: 0;
	    width: 100%;
	    max-width: 480px;
	    margin: 0 auto;
	}
	
	#hp-contact-form{
		padding: 40px 0 60px;
	}
    #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-img canvas,
    #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-custom-video canvas{
        min-height: 400px !important;
    }
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.flexmls_connect__sr_listing_facts_container {
		width: 100% !important;
	}
	
    .ip-banner .container{
        width: 100%;
    }
    .hp_form_wrap .form_field {
    	width: 100%;
    	margin: 0 0 10px;
    }

    #content .archive-subtitle {
    	font-size: 30px;
    }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#content .entry-title,
	#content .archive-title { 
		font-size: 30px;
	}

	#content .archive-subtitle {
		font-size: 20px;
	}

	.im-title h2 span, 
	.testi-title h2 span, .blog-title h2 span {
	    font-size: 40px;
	}

	.welc-title h1 {
	    font-size: 40px;
	}
	
	.qs-map-submit-view-btn button.qs-submit-button, 
	.qs-map-submit-option a {
	    font-size: 12px;
	}

	.qs-search-form-field input {
	    padding: 0 10px;
	    font-size: 12px;
	}
	
	.qs-sp-form-field select {
	    font-size: 11px;
	}


	.fp-gallery {
	    display: block;
	}

	.fp-item-sm {
	    width: 100%;
	}

	.fp-hover-price span {
	    font-size: 20px;
	}

	.fp-hover-price {
	    margin-bottom: 10px;
	}

	.fp-hover-loc {
	    margin-bottom: 10px;
	}

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

	.fp-info span {
	    font-size: 16px;
	    padding: 0 9px;
	}

	.fp-details {
	    display: block;
	    padding: 0 15px 11px;
	}

	.fp-price-sm span {
	    font-size: 25px;
	}

	.fp-loc-sm span {
	    font-size: 15px;
	}

	.fp-price span {
	    font-size: 25px;
	}

	.fp-loc span {
	    font-size: 16px;
	    text-transform: uppercase;
	}

	.qs-map-search-wrapper {
	    padding: 30px 0;
	}

	.sb-qs-col .qs-form-check-field span {
	    font-size: 13px;
	    letter-spacing: 0.455px;
	}

	.qs-form-check-field span {
	    letter-spacing: normal;
	    font-size: 11px;
	}

	.fp-img-bg canvas, .fp-img-sm canvas {
	    min-height: 162px;
	}

}
 