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

/*IP template - Reset font size*/
@media only screen and ( min-width: 1601px ) {
	.page-template-template-join-our-team .jot-mai-title {
		font-size: 50px;
	}
	.page-template-template-join-our-team .jot-mai-subtitle {
		font-size: 28px;
	}
	.page-template-template-join-our-team .jot-mai-excerpt {
		font-size: 15px;
	}
	.page-template-template-join-our-team .jot-testimonials-item-excerpt {
		font-size: 19px;
	}
	.page-template-template-join-our-team .jot-testimonials-item-author {
		font-size: 22px;
	}
}

@media only screen and ( max-width: 1299px ) {
	.page-template-template-join-our-team .jot-mai-text-wrap {
		margin-left: 18%;
		padding-right: 20px;
	}
	.page-template-template-join-our-team .jot-testimonials-slide-wrap {
		margin-left: 20%;
		padding-right: 10px;
	}
}
/* SMALL HEIGHT MONITORS */
@media only screen and ( min-height: 800px ) {
    #content-sidebar, #content-full {
        min-height: 700px;
    }
}

@media only screen and (max-height: 770px) and (min-height: 700px) {
	#slide-nav {
		padding-top: 0;
	}
	#slide-nav li a {
		padding: 0 0 30px;
	}
}

@media only screen and (max-height: 749px) and (min-height: 650px) {
	#slide-nav {
		padding-top: 0;
	}
	#slide-nav li a {
		padding: 0 0 25px;
	}
}

@media only screen and (max-height: 649px) and (min-height: 600px) {
	#slide-nav {
		padding-top: 0;
	}
	#slide-nav li a {
		padding: 0 0 22px;
	}
}

@media only screen and (max-width: 1450px) { 
    .testi-text p {
        font-size: 17px;
    }
        .testi-text p > a {
            margin: 50px 0 0;
        }
    
    .testi-content ul {
        bottom: 55px;
	}
	.page-template-template-sell-a-home .sah-cta-item .sah-cta-item-text div {
		font-size: 14px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#seperator {
		/*background: url(images/sep-bg-fixed.jpg) fixed left center/auto 100% no-repeat;*/
		background-image: url(images/sep-bg-fixed.jpg);
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		/*background-attachment: fixed;*/
		margin: 0;
	}
	.welcome-text span.text-right h1 i,
	.welcome-text span.text-right h1 span {
		font-size: 75px;
	}

	section:last-child:before,
	.page-template-template-find-a-home .fah-get-in-touch:last-child:before {
		width: calc((100% - 944px) / 2);
	}

	section:last-child:after,
	.page-template-template-find-a-home .fah-get-in-touch:last-child:after {
		width: calc((100% - 944px) / 2);
	}

	#welcome-area h2,
	#welcome-area h2 span,
	#welcome-area h2 i{
		font-size: 47px;
	}

	.tagline-text span, .tagline-text strong {
		font-size: 50px;
	}

	.cta-list a .cta-text {
	    padding: 40px 20px 0;
	}

	.cta-list a .cta-text p {
	    position: relative;
	    font-size: 12px;
	}

	.testi-text p {
	    font-size: 15px;
	    line-height: 1.3;
	}

	.testi-content ul {
	    bottom: 25px;
	}

	.testi-text p > a {
	    font-size: 20px;
	    margin: 25px 0 0;
	}

	i.testi-bg {
	    padding: 40px 0 50px;
	}

	.header-main,
	.hdr-logo,
	.connect-menu {
	    height: 104px;
	}

	.connect-menu {
	    padding: 36px 0;
	}

	#nav {
	    padding-top: 40px;
	}

	.hdr-logo img {
	    max-width: 220px;
	}
	.page-template-template-blog .fbp-item-sm-title a,
	.page-template-template-blog .ip-blog-thumnail-item-img-title {
		font-size: 16px;
	}

	.page-template-template-about-us .about-awards-container button.slick-prev.slick-arrow {    
	    left: 0;
	}

	.page-template-template-about-us .about-awards-container button.slick-next.slick-arrow {
	    right: 0;
	}

	.page-template-template-about-us .about-mission-content-left{
		padding: 40px 76px;
	}

	.page-template-template-about-us .about-awards-desc span{
		font-size: 17px;
	}

	.page-template-template-sell-a-home .sah-cta-item .sah-cta-item-text div {
		font-size: 12px;
	}

	.page-template-template-sell-a-home .sah-rs-title {
		font-size: 62px;
	}

	.page-template-template-sell-a-home .sah-faq-item-title {
		font-size: 34px;
	}
} 

/* 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%;
	}

	.header-main {
		position: relative; 
		height: auto; 

	}

	.hdr-logo {
		 padding: 81px 0 30px; 
		 width: 100%; 
		 max-width: 100%; 
		 height: auto;
	}

	.hdr-logo img {
	    max-width: 284px;
	}

	#nav, .connect-menu {
	  display: none; 

	}

	.slide-tagline {
		top: 35%;
	}

	.tagline-text span {
		font-size: 40px; 

	}

	.cta-list a .cta-text {
		padding: 40px 20px 0; 
		text-align: left;
	}

	.cta-list a .cta-text strong {
		font-size: 20px; 

	}

	.cta-list a .cta-text br {
	    display: none;
	}

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

	.welcome-text span.text-left,
	.welcome-text span.text-right {
		width: 100%;
		text-align: center!important;
	}
	.welcome-text span.text-right h1 {
		text-align: center;
	}

	.slide-area canvas {
		display: none;
	}

	.hp-slide{
		position: relative;
	}

	section:last-child{
		background-color: #fff;
	}

	#welcome-area h2, #welcome-area h2 span, #welcome-area h2 i {
		font-size: 36px;
	}

	.testi-text p {
	    font-size: 12px;
	}

	.testi-content ul {
	    bottom: 10px;
	}

	.testi-text p > a {
	    margin: 15px 0 0;
	}

	.ftr-info-text {
	    text-align: left;
	}

	.ftr-cont-info {
	    text-align: center;
	}

	.page-template-template-join-our-team .jot-mai-title {
		font-size: 50px;
	}
	.page-template-template-join-our-team .jot-mai-subtitle {
		font-size: 28px;
	}
	.page-template-template-join-our-team .jot-mai-excerpt {
		font-size: 15px;
	}
	.page-template-template-join-our-team .jot-testimonials-item-excerpt {
		font-size: 19px;
	}
	.page-template-template-join-our-team .jot-testimonials-item-author {
		font-size: 22px;
	}
	.page-template-template-join-our-team .ip-banner {
	    height: 100px;
	}
	.page-template-template-join-our-team .ip-title {
		text-align: center;
	}
	.page-template-template-join-our-team .jot-apply-now-text {
	    padding-top: 0;
	    text-align: center;
	}
	.page-template-template-join-our-team .jot-apply-now-line {
		display: none;
	}
	.page-template-template-join-our-team .jot-apply-now-title {
		margin-bottom: 0;
	}
	.page-template-template-join-our-team .jot-apply-now-excerpt {
		margin-top: 0;
	}
	.page-template-template-join-our-team .jot-apply-now-link {
		margin: 0 auto;
	}
	.page-template-template-join-our-team .jot-apply-now-image {
		margin-left: 0;
		text-align: center;
	}
	.page-template-template-join-our-team .jot-mai-col {
	    width: 100% !important;
	    height: auto !important;
	}
	.page-template-template-join-our-team .jot-mai-text-wrap {
	    margin-left: 0;
	    padding-right: 0;
	    text-align: center;
	}
	.page-template-template-join-our-team .jot-mai-excerpt {
		max-width: 95%;
		margin: 0 auto;
	}
	.page-template-template-join-our-team .jot-mai-text-wrap {
		padding-top: 20px;
	}
	.page-template-template-join-our-team .jot-mai-excerpt {
		padding-bottom: 50px;
	}
	.page-template-template-join-our-team .jot-mai-gallery {
		text-align: center;
		padding-top: 10px;
	}
	.page-template-template-join-our-team .jot-mai-gallery img {
		object-position: initial;
	    object-fit: initial;
	    height: auto !important;
	}
	.page-template-template-join-our-team .jot-wws-col,
	.page-template-template-find-a-home .fah-wws-col {
	    width: 100% !important;
	    padding: 0 !important;
	    margin-bottom: 1px;
	}
	.page-template-template-join-our-team .jot-testimonials-col {
	    width: 100% !important;
	}
	.page-template-template-join-our-team .jot-testimonials-slide-wrap {
		margin-left: 0;
		padding-right: 0;
		text-align: center;
	}
	.page-template-template-join-our-team .jot-testimonials-item-excerpt {
		max-width: 95%;
		margin: 0 auto;
	}
	.page-template-template-join-our-team .jot-testimonials-item-excerpt {
		padding-top: 30px;
	}
	.page-template-template-join-our-team .jot-testimonials-slide-nav {
		padding: 20px 0;
	}
	.page-template-template-join-our-team .jot-testimonials-image {
		padding-top: 20px;
	    text-align: center;
	}
	.page-template-template-join-our-team .jot-testimonials-image img {
	    object-fit: initial;
	    object-position: initial;
	    max-width: 100%;
	    height: auto;
	}
	.page-template-template-blog .ip-banner {
	    height: 100px;
	}
	.page-template-template-blog .ip-title {
		text-align: center;
	}
	.page-template-template-blog .ib-sort-categories-wrap, .page-template-template-blog .ib-search-wrap {
		max-width: 100%;
		margin-bottom: 20px;
	}
	.page-template-template-blog .fbp-title {
		text-align: center;
	}
	.page-template-template-blog .fbp-item-sm:first-child {
		padding-top: 0;
	}
	.page-template-template-blog .fbp-item-lg,
	.page-template-template-blog .fbp-item-sm {
		max-width: 360px;
		margin: 20px auto;
	}
	.page-template-template-blog .fbp-item-lg-title a {
		font-size: 20px;
	}
	.page-template-template-blog .fbp-item-lg-img,
	.page-template-template-blog .fbp-item-sm-img {
		height: 200px;
	}
	.page-template-template-blog .ip-blog-thumnail-item {
	    max-width: 360px;
	    margin: 0 auto;
	}
	.page-template-template-find-a-home .ip-banner,
	.page-template-template-sell-a-home .ip-banner {
		height: 460px;
	}
	.page-template-template-find-a-home .ip-title-wrap,
	.page-template-template-sell-a-home .ip-title-wrap {
		transform: translateY(-50%);
	}
	.page-template-template-find-a-home .fah-get-in-touch,
	.page-template-template-sell-a-home .fah-get-in-touch {
		background-image: none;
	}
	.page-template-template-sell-a-home .sah-cta-item {
		width: 100%;
		padding: 3px 1.5px;
	}
	.page-template-template-sell-a-home .sah-rs-title {
		font-size: 48px;
	}
	.page-template-template-sell-a-home .sah-rs-link-item {
		width: 33.33%;
		margin-bottom: 20px;
	}
	.page-template-template-sell-a-home .sah-rs-subtext {
		padding: 20px 0;
		text-align: center;
	}
	.page-template-template-sell-a-home .sah-faq-item-title {
		margin-bottom: 0;
	}
	.page-template-template-sell-a-home .sah-faq-item-desc {
		margin-bottom: 20px;
	}

	/*ABOUT US PAGE TEMPLATE*/
	.page-template-template-about-us .ip-title{
		font-size: 50px;
		max-width: 360px;
		padding: 20px 0;
	}

	.page-template-template-about-us .ip-title-wrap{
		top: 30%;
	}

	.page-template-template-about-us .ip-banner{
		height: 300px;
	}

	.page-template-template-about-us #about-history{
		padding: 30px 0;
	}

	.page-template-template-about-us .about-history-content{
		padding-top: 40px;
	}


	.page-template-template-about-us .about-history-wrapp{
		position: relative;
		top: 0;
		display: block;
	}

	.page-template-template-about-us .about-history-list{
		display: block;
		margin: 0 auto 30px;
		text-align: center;
	}

	.page-template-template-about-us .about-mission-content-wrap{
		display: block;
	}

	.page-template-template-about-us .about-mission-wrapper{
		padding: 60px 0;
	}

	.page-template-template-about-us .about-mission-wrapper > .container {
	    padding-left: 15px;
	    padding-right: 15px;
	}

	.page-template-template-about-us .about-mission-content-wrap:before{
		display: none;
	}

	.page-template-template-about-us .about-mission-content-left{
		text-align: center;
		display: block;
		padding: 20px 0;
		margin-bottom: 30px;
	}

	.page-template-template-about-us .about-mission-content-left a{
		margin: 0 auto;
	}

	.page-template-template-about-us .about-awrds-wrapper{
		display: block;
		padding: 50px 0;
		min-height: 100%;
	}

	.page-template-template-about-us .about-awards-item-wrap .about-awards-item:before,
	.page-template-template-about-us .about-awards-item-wrap .about-awards-item:after{
		display: none;
	}

	.page-template-template-about-us .about-history-list a .about-history-text p{
		left: 0;
		right: 0;
	}


} 

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

	.cta-list {
	    font-size: 0;
	    position: relative;
	    display: inline-block;
	    width: 100%;
	    max-width: 379px;
	    vertical-align: bottom;
	    margin: 0 auto;
	}

	 .cta-wrapp {
	    position: relative;
	    width: 100%;
	    top: 0;
	    z-index: 2;
	    font-size: 0;
	    text-align: center;
	}

	.testi-text {
	    display: inline-block;
	    width: 100%;
	    vertical-align: top;
	    position: relative;
	    padding: 0 15px;
	}

	.testi-text p {
	    font-size: 19px;
	    width: 100%;
	    float: none;
	    line-height: 1.6;
	}

	.testi-photo {
		width: 100%;
	}

	.tagline-text, .tagline-text strong, .tagline-text span {
		font-size: 30px;
	}

	.cwu-title {
		font-size: 30px;
	}

	.welcome-text span.text-left {
		font-size: 26px; 
		text-align: left !important; 

	}

	.welcome-text span.text-right h1 {
		text-align: left; 

	}

	.testi-content ul {
		display: none !important;
	}

	.get-field-l, .get-field-c, .get-field-r {
		width: 100%; 
	}

	.ftr-logo-name {
	    display: block;
	    margin-right: 0;
	}

	.ftr-info-text {
	    text-align: center;
	    padding-top: 10px;
	    display: block;
	    padding-bottom: 10px;
	}

	.ftr-info-text span.ftr-smi a {
	    margin: 0 24px;
	}
    
    .slide-tagline {
        top: 45%;
    }

    .page-template-template-join-our-team .jot-apply-now-title {
    	font-size: 32px;
    }
    .page-template-template-join-our-team .jot-popup-border,
    .ip-popup .ip-popup-border {
    	padding: 10px;
    }
    .page-template-template-join-our-team .input-container,
    .ip-popup .input-container {
        width: 100% !important;
        margin-bottom: 10px !important;
        padding-right: 0 !important;
    }
    .page-template-template-join-our-team .jot-popup-form-title,
    .ip-popup .ip-popup-form-title {
    	font-size: 33px;
    }
    .page-template-template-join-our-team .jot-popup-form-wrap,
    .ip-popup .ip-popup-form-wrap {
    	padding-bottom: 45px;
	}
	.ip-popup .ip-banner {
		height: 300px;
	}
	.ip-popup .ip-title {
		font-size: 30px;
	}
	.page-template-template-sell-a-home .ip-title {
		font-size: 28px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.ip-popup .ip-popup-form-title br { 
		display: none;
	}
	.le-text > h1, .fc-main-title, .blog-title, .testi-title, .office-text > h2, .cont-form-title { 
		font-size: 40px;
	}
	.contact-info:before {
		display: none;
	}
	.page-template-template-join-our-team .ip-title {
		font-size: 37px;
	}
	.page-template-template-join-our-team .jot-apply-now-title {
	    font-size: 20px;
	}
	.page-template-template-join-our-team .jot-mai-title,
	.page-template-template-join-our-team .jot-wws-title {
	    font-size: 34px;
	}
	.page-template-template-join-our-team .jot-mai-subtitle {
	    font-size: 23px;
	}
	.page-template-template-join-our-team .jot-wws-text,
	.page-template-template-find-a-home .fah-wws-text {
		font-size: 19px;
	}
	.page-template-template-join-our-team .jot-wws-hover-text,
	.page-template-template-find-a-home .fah-wws-hover-text {
		font-size: 18px;
	}
	.page-template-template-join-our-team #inner-page-wrapper {
	    margin-bottom: 0;
	}
	.page-template-template-find-a-home .ip-banner,
	.page-template-template-sell-a-home .ip-banner {
		height: 230px;
	}
	.page-template-template-find-a-home .ip-title {
		font-size: 24px;
	}
	.page-template-template-find-a-home .fah-home-buyers-guide-title {
		font-size: 22px;
	}
	.page-template-template-find-a-home .fah-home-buyers-guide-text {
		max-width: 90%;
		font-size: 14px;
	}
	.page-template-template-sell-a-home .sah-cta-item .sah-cta-item-text {
		font-size: 19px;
	}
	.page-template-template-sell-a-home .sah-cta-item .sah-cta-item-text div {
		font-size: 13px;
	}
	.page-template-template-sell-a-home .sah-sell-your-home-title {
		font-size: 28px;
	}
	.page-template-template-sell-a-home .sah-sell-your-home {
		padding: 70px 10px;
	}
	.page-template-template-sell-a-home .sah-rs-title {
		font-size: 31px;
		line-height: 1;
	}
	.page-template-template-sell-a-home .sah-rs-link-item {
		width: 50%;
	}
}