/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1366px) {
	.hp-fp .fp-wrap {
	    max-width: 90%;
	    margin: 0 auto;
	}

	.hp-fp button.next-btn{right: -6%;}
    .hp-fp button.prev-btn{left: -6%;}
    .hp-testi button.next-btn {right: -8%;}
    .hp-testi button.prev-btn { left: -8%; }

    .fa-list {
	    max-width: 90%;
	    margin: 0 auto;
	}

	.fp-item .more-details .util-dtls {
		font-size: 10px;
	}

	header.header ul.menu > li {
	    padding: 0 17px;
	}


	.header ul.cinfo span[class^="ai-font"] {
	    font-size: 14px;
	    margin-right: 5px;
	}

	.header ul.cinfo a, .header ul.cinfo em {
	    font-size: 14px;
	    letter-spacing: 0;
	}

	.header .translator-wrap select#gtranslate_selector {
	    width: 180px;
	    font-size: 14px;
	}

		.hp-qs .tagline-wrap img {
	    max-width: 50%;
	}
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

	.testi-list {
	    max-width: 90%;
	}

	.fixed-header ul.menu > li {
	    padding: 0 20px;
	}


	.hp-qs .tagline-wrap img {
	    max-width: 40%;
	}

	.hp-qs {
	    top: calc(50% - 120px);
	}

	.header ul.cinfo {margin-right: 10px;}
	.header ul.cinfo a, .header ul.cinfo em {font-size: 12px;}

	.header .translator-wrap select#gtranslate_selector {
	    width: 160px;
	    font-size: 13px;
	    padding-left: 20px;
	    background-size: 17px;
	}

	header.header ul.menu > li {padding: 0 10px;}
	header ul.menu a {font-size: 14px;}


	.cta2-col a.cta2-btn {
	    width: 180px;
	    height: 180px;
	    margin: 0 auto;
	}

	.cta2-col a.cta2-btn .title-wrap {font-size: 20px;}
	.cta2-col a.cta2-btn .img-wrap {margin-bottom: 10px;}
	#content .wcu-single {
		width: calc((100% / 4) - 15px);
		margin: 0 0 0 20px;
	}

	.header ul.cinfo span[class^="ai-font"] {
	    font-size: 8px;
	    margin-right: 2px;}

	} 

	.sidebar .qs-form .dropdown-menu {
	    min-width: 181px;
	    max-width: 184px;
	}

	/* .page-id-42 a img {
	    max-width: 294px;
	} */

	.sidebar .qs-wrap .qs-form .qs-form-control {
		font-size: 10px;
		padding-left: 5px;
	}
	.sidebar .qs-wrap .qs-form span.filter-option.pull-left {
	    font-size: 9px;
	}
	.fp-item .fp-details .title-wrap {
		font-size: 13px;
	}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	.page-id-170 #content .row .col-md-3 img {
		/*width: 100%;*/
		max-width: 200px;
		margin: 0 auto 25px;
		display: block;
	}

	.fp-item .more-details .util-dtls {
		font-size: 9px;
	    letter-spacing: .040em;
	}
	.footer .f-bottom {
	    margin-bottom: 0px;
	    padding-bottom: 30px;
	}
	.sidebar .qs-wrap ul.dropdown-menu.inner {
		max-height: 188px !important;
	}
	.sidebar .qs-form .dropdown-menu {
	    min-width: 210px;
	    max-width: 310px;
	}

	.mb-logo .translator-wrap {
	    display: block;
	    position: relative;
	    margin: 0 auto;
	    max-width: 200px;
	}

	.mb-logo .translator-wrap select#gtranslate_selector {
	    width: 200px;
	    font-size: 16px;
	    font-weight: 600;
	    letter-spacing: .100em;
	    color: #fff;
	    text-transform: uppercase;
	    background: transparent;
	    border: 0;
	    -webkit-appearance: none;
	    outline: none;
	    background-image: url(images/translate-icon.png);
	    background-position: left center;
	    background-repeat: no-repeat;
	    padding: 10px 0 10px 30px;
	    cursor: pointer;
	}

	.mb-logo .translator-wrap select#gtranslate_selector option {
	    color: #333;
	}

	.show-on-mb{display: block;}
	.hide-on-mb{display: none;}

	.show-on-mb .ip-cta-wrap.cta2-wrap {margin: 0;}
	
	/* 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%;
	}

	#content h2.ip-gtitle {
	    font-size: 44px;
	}

	.hp-qs .tagline-wrap{display: none;}

	.cta1-wrap .cta1-col {
	    width: 50%;
	}

	header.fixed-header, header.header {
	    display: none;
	}

	.mb-logo{
		display: block;
	}
	
	.hp-qs {
	    position: relative;
	    top: 0;
	    padding: 15px 0;
	    background: #5e3369;
	}

	.qs-wrap .qs-form {
	    max-width: 320px;
	    margin: 0 auto;
	    display: block;
	}

	.qs-wrap .qs-form .qs-logo {
	    width: 100%;
	    display: block;
	    margin-bottom: 10px;
	}

	.qs-wrap .qs-form .qs-col-md {
	    width: 100%;
	    margin-bottom: 10px;
	    padding: 0 5px;
	}

	.qs-wrap .qs-form .qs-col-sm {
	    width: 50%;
	    padding: 0 5px;
	    margin-bottom: 10px;
	}

	.qs-wrap .qs-form .qs-col-btn {
	    padding: 0 5px;
	    width: 100%;
	}

	.qs-wrap ul.cinfo li {
	    display: block;
	    border: 0;
	    margin-bottom: 5px;
	}

	.fp-item .more-details .util-dtls {
	    width: 100%;
	    text-align: center;
        min-height: 38px;
	    margin-right: 0;
	}

	.fp-item .more-details .gbtn {
	    max-width: 110px;
	    width: 100%;
	    margin: 10px auto;
	    display: block;
	}

	.cta2-wrap .cta2-col {
	    width: 33.33%;
	}

	.cta2-wrap {
	    text-align: center;
	}

	.wc-wrap .wc-content-wrap, .wc-wrap .wc-photo-wrap {
	    display: block;
	    width: 100%;
	    text-align: center;
	    margin-bottom: 10px;
	}

	.wc-wrap {
	    display: flex;
	    flex-direction: column-reverse;
	}

	.wc-wrap .wc-content-wrap:before {
	    width: 100%;
	}

	.wc-wrap .wc-content-wrap {
		padding: 10px;
	}

	.wc-wrap .gtitle {
	    text-align: center;
	}

	.hp-blog .blog-list {
	    margin: 0;
	}

	.blog-list .blog-item {
	    width: 100%;
	    max-width: 320px;
	    margin: 0 auto 30px;
	    display: block;
	}

	.hp-fp .gtitle h2 {font-size: 32px;}

	.pyr-wrap .gtitle h2 {font-size: 42px;}

	.pyr-wrap .gtitle > span {
	    font-size: 19px;
	}

	.wc-wrap .gtitle h1 {
	    font-size: 80px;
	}

	.wc-wrap .gtitle h1 + span{
		font-size: 40px;
	}

	.testi-item > p {
	    font-size: 19px;
	}

	footer .f-upper .f-left, 
	footer .f-upper .f-right {
	    display: block;
	    width: 100%;
	    text-align: center;
	    margin-bottom: 20px;
	}

	footer .f-nav-wrap, footer .realtor-logo {
	    display: block;
	    width: 100%;
	    text-align: center;
	    margin-bottom: 10px;
	}

	.gtitle h2, .gtitle h1 {
	    font-size: 45px;
	}

	.home section.section2,
	.home section.section3,
	.home section.section4,
	.home section.section6,
	.home section.section8,
	footer .f-upper{padding: 30px 0;}

	.hp-blog .gtitle {
	    margin-bottom: 30px;
	}

	.hp-cta2 {
	    padding: 15px 0;
	}

	.wc-wrap .wc-photo-wrap {
	    padding-top: 0;
	}

	.hp-qs .tagline-wrap img {
	    max-width: 270px;
	    width: 100%;
	}

	.qs-wrap ul.cinfo a, .qs-wrap ul.cinfo em {
	    font-size: 14px;
	}

	.qs-wrap ul.cinfo li {
	    padding: 0;
	}
	#content .wcu-single {
		width: calc((100% / 4) - 60px);
		margin: 0 0 0 80px;
	}

	.big-btn span {
    font-size: 32px;}

    	.footer-qs .qs-wrap .qs-form .qs-logo {
	    width: 100%;
	    text-align: center;}

	.footer-qs .qs-logo span, 
	.footer-qs .qs-logo span.sub-title {
    text-align: center;
    margin: 0;}

    .footer-qs .qs-wrap .qs-form .qs-col-md {
    width: 100%;}


    .page-id-43 .ip-cta-wrap .cta2-col{
    	width: 50%;
    }

    .page-template-template-fullwidth #content{
    	padding: 0;
    }

    #content .entry-title, #content .archive-title {
	    font-size: 40px;
	    line-height: 1.2;
	}

	
	.cta2-wrap .cta2-col {
	    width: 50%;
	}

	#content h3.ip-gtitle {
	    font-size: 30px;
	}

	aside .qs-wrap {
		display: none;
	}
} 

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

    .wc-wrap .gtitle h1 {
	    font-size: 70px;
	}

	.wc-wrap .gtitle h1 + span{
		font-size: 35px;
	}

	.cta1-wrap .cta1-col {
	    width: 100%;
	    max-width: 320px;
	    margin: 0 auto 10px;
	    display: block;
	}

	.gtitle h2, .gtitle h1 {
	    font-size: 38px;
	}
	#content .wcu-single {
		font-size: 12px;
		width: calc((100% / 4) - 12px);
		margin: 0 0 0 15px;
	}

	.big-btn span {
	    font-size: 28px;}


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

	#content h2.ip-gtitle {
	    font-size: 38px;
	}

	#content h4.ip-gtitle{
		font-size: 20px;
	}

	#content h3.ip-gtitle {
	    font-size: 26px;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

	.wc-wrap .gtitle h1 {
	    font-size: 60px;
	}

	.gtitle h2, .gtitle h1 {
	    font-size: 32px;
	}

	.wc-wrap .gtitle h1 + span{font-size: 30px;}

	.wc-wrap .wc-content .content-col {
	    width: 100%;
	    padding: 0;
	}

	.wc-btn-wrap .gbtn {
	    margin-right: 0;
	    display: block;
	    margin: 0 auto 10px;
	}
	#content .wcu-single {
		font-size: 12px;
		width: calc((100% / 1) - 0px);
		margin: 20px 0 0 0;
	}

	.big-btn span {
    font-size: 22px;}

    .cta2-col a.cta2-btn {
	    width: 140px;
	    height: 140px;
	}

	.cta2-col a.cta2-btn .title-wrap {
	    font-size: 14px;
	}

	.cta2-col a.cta2-btn .img-wrap {
	    margin-bottom: 5px;
	}

	.cta2-col a.cta2-btn .inner-content {
	    margin-bottom: 20px;
	}

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

	#content h2.ip-gtitle {
	    font-size: 34px;
	}

	#content h4.ip-gtitle{
		font-size: 18px;
	}

	#content h3.ip-gtitle {
	    font-size: 24px;
	}
}

@media only screen and (max-width: 400px) {

	.footer .f-bottom {
	    margin-bottom: 70px;
	}
}

@media only screen and (max-width: 350px) {
	.footer .f-bottom {
	    margin-bottom: 90px;
	}
}


@media only screen and (max-width: 320px) {
	.footer .f-bottom {
	    margin-bottom: 110px;
	}
}