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

@media only screen and (max-width: 1440px) {
	.wc-photo-inner {
	    margin-right: -16px;
	}
} 

@media only screen and (max-width: 1366px) {
	nav.header-nav ul#nav > li {
	    margin: 0 17px;
	}

	.qs-title {
	    padding: 7px 0 0;
	    font-size: 23px;
	}

	.qs-form .qs-field {
	    margin-right: 3px;
	}

	.fp-title,
	.fc-title,
	.wc-title,
	.moa-title,
	.ts-title,
	.testi-title {
	    font-size: 57px;
	}

	.fp-title span,
	.fc-title span,
	.wc-title span,
	.moa-title span,
	.ts-title span,
	.testi-title span {
	    font-size: 17px;
	}

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

	.fp-address {
	    font-size: 14px;
	}

	.fc-label span {
	    font-size: 20px;
	}

	.wc-content-inner {
	    padding: 50px 36px 40px;
	}

	.ts-label {
	    font-size: 18px;
	}

	.testi-arrow-holder {
	    padding: 0 15px;
	}

	nav.header-nav ul#nav .sub-menu a {
	    font-size: 13px;
	}
} 

@media only screen and (max-width: 1280px) {
	.testi-holder::after,
	section.team-stats-area::after{
		background-attachment: local;
	}
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	nav.header-nav ul#nav > li {
	    margin: 0 9px;
	}

	nav.header-nav ul#nav > li > a {
	    /* font-size: 13px; */
		font-size: 11px; /*jsm*/
	}

	nav.header-nav ul#nav .sub-menu a {
	    font-size: 12px;
	    padding: 12px 5px;
	}

	.qs-title {
	    padding: 11px 0 0;
	    font-size: 19px;
	}

	.btn-form.qs-field input,
	.btn-form.qs-field a {
	    font-size: 11px;
	}

	.fp-details {
	    padding: 0 20px 36px;
	}

	.fp-title, 
	.fc-title, 
	.wc-title, 
	.moa-title, 
	.ts-title, 
	.testi-title {
	    font-size: 48px;
	}

	.fp-title span, 
	.fc-title span, 
	.wc-title span, 
	.moa-title span, 
	.ts-title span, 
	.testi-title span {
	    font-size: 15px;
	}

	.wc-content-inner {
	    padding: 30px 25px 15px;
	}

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

	.wc-text p {
	    padding-bottom: 15px;
	}

	.moa-contact span a {
	    font-size: 12px;
	    letter-spacing: 0;
	}

	.moa-list {
	    padding: 10px;
	}

	.ts-label {
	    font-size: 16px;
	}

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

	.testi-list {
	    padding: 0 35px;
	}

	.ftr-contact span a {
	    font-size: 11.5px;
	}

	.ip-banner h1 {
	    margin-top: 75px;
	}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	
	/* 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 h1 {
	    margin-top: 0;
	}

	header.main-header {
	    position: relative;
	    z-index: 101;
	    padding: 82px 15px 30px !important;
	    background: #00362d !important;
	}

	.header-left,
	.hp-scroll-down,
	.slider-holder::after{
		display: none;
	}

	.header-inner{
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.header-logo a {
	    /* max-width: 154px !important; */
		max-width: 270px !important; /*jsm*/
	    margin: 0 auto;
	}

	header.main-header a img{
		opacity: 1 !important;
	}

	header.main-header a img.fixed-logo{
		opacity: 0 !important;
	}

	section.quick-search-area {
	    padding: 25px 15px;
	}

	.qs-title {
	    font-size: 23px;
	    width: 100%;
	    margin-bottom: 20px;
	    text-align: center;
	}

	.qs-form .qs-field {
	    margin-right: 0;
	    padding: 0 2.5px;
	}

	.long-form,
	.qs-form {
	    width: 100%;
	}

	.btn-form.qs-field {
	    width: 100%;
	    margin-left: 0;
	}

	.short-form {
	    width: 50%;
	}

	.fp-title, 
	.fc-title, 
	.wc-title, 
	.moa-title, 
	.ts-title, 
	.testi-title {
	    font-size: 40px;
	}

	.fp-title span, 
	.fc-title span, 
	.wc-title span, 
	.moa-title span, 
	.ts-title span, 
	.testi-title span {
	    font-size: 13px;
	}

	.fp-slick-slider {
	    margin: 0 auto;
	    max-width: 500px;
	}

	.fp-details {
	    text-align: center;
	}

	.fp-view {
	    margin: 0 auto;
	}

	.fc-list {
	    padding: 4px;
	    width: 100%;
	    max-width: 350px;
	    margin: 0 auto;
	}

	.fc-list-holder{
		margin: 0 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	section.featured-communities-area {
	    padding: 0 0 30px;
	}

	.fc-view-link {
	    position: relative;
	}

	.fc-view-more .fc-photo {
	    display: none;
	}
	
	.wc-content {
	    width: 100%;
	}

	.wc-content-inner,
	.wc-title {
	    text-align: center;
	}

	.wc-text {
	    max-width: 100%;
	}

	.wc-text p {
	    padding-bottom: 23px;
	}

	.wc-photo {
	    width: 100%;
	}

	.wc-photo-inner {
	    margin: 0 auto;
	    max-width: 500px;
	    width: 100%;
	}

	section.welcome-area {
	    padding: 30px 15px;
	    background: #fff;
	}

	section.meet-our-agents-area {
	    padding: 40px 0 30px;
	}

	.moa-contact span a {
	    font-size: 10px;
	}

	section.team-stats-area {
	    padding: 50px 0 0px;
	}

	.ts-list {
	    width: calc(100% / 2);
	}

	.ts-label {
	    font-size: 15px;
	}

	section.testimonials-area {
	    padding: 20px 15px;
	}

	.testi-holder {
	    padding: 40px 0;
	}

	.gt-title {
	    font-size: 30px;
	    text-align: center;
	}

	footer.main-footer {
	    padding: 40px 0 21px;
	}

	.ftr-logo {
	    margin-top: 40px;
	}

	.ftr-contact span a {
	    font-size: 14px;
	}

	.ftr-contact {
	    margin-top: 30px;
	    text-align: center;
	}

	.ftr-contact span a {
	    font-size: 14px;
	    max-width: 255px;
	    margin: 0 auto;
	}

	ul.footernav {
	    display: block;
	}

	.footer-copyright ,
	.mls{
	    text-align: center;
	}

	.gt-fields.gt-fields-half {
	    width: 100%;
	}

	.fs-12.ihf-grid-result-virtual-tour {
	    font-size: 10px !important;
	    letter-spacing: 0;
	}

	.ip-area-comm {
	    margin-bottom: 30px;
	}

	.moa-list {
	    padding: 10px 5px;
	}

} 

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

    .moa-slick-slider {
	    margin: 0 auto;
	    max-width: 265px;
	}

	.ts-label {
	    font-size: 13px;
	}

	.testi-arrow-holder {
	    position: relative;
	    max-width: 100px;
	    margin: 0 auto 20px;
	}

	.testi-list {
	    /* padding: 0 0; */
		padding: 10px 0; /*jsm*/
	}

	.fs-12.ihf-grid-result-virtual-tour {
	    font-size: 8px !important;
	    white-space: nowrap;
	}

	.ihf-grid-result-basic-info-container {
	    font-size: 10px !important;
	}

	.moa-contact span a {
	    font-size: 11px;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.ts-list {
	    width: 100%;
	    margin-bottom: 10px;
	}

	.quick-search-area form div.dropdown-menu ul.dropdown-menu {
	    max-height: 208px !important;
	}

}
 
