/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1440px) {
	.main-header .header-nav {
		padding: 25px 0 0 0;
	}
	/* #nav a{
		font-size: 14px;
	} */

	.header-contact {
		padding: 50px 0px 5px 10px;
		margin: 0 0 0 -80px;
	}
	.fixed-header .header-nav {
		margin: 0 -15px;
		padding: 65px 0 0;
	}
	#fixednav > li {
		margin: 0 0 0 27px;
	}

	.header-contact a {
		font-size: 12px;
	}

	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option,
	.qs-form select {
		font-size: 10px !important;
	}
}
@media only screen and (max-width: 1366px) {

	#nav a{

    font-size: 11px;
	}


	.main-header .header-nav {
		padding: 30px 0 0 0;
	}

	#fixednav > li {
		margin: 0 0 0 13px;
	}
	.header-contact a {
		letter-spacing: 0.150em;
		font-size: 12px;
	}

	.header-contact {
		padding: 44px 0px 11px 10px;
	}


	.fixed-header .row {
		/* max-width: 1170px; */
		margin: 0 auto;
	}

	.fixed-header .logo {
		margin: 0 -62px 0 0;
		padding-top: 12px;
	}

	#fixednav > li > .sub-menu {
		padding: 26px 0 0 0;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.main-header .logo {
		margin: 0 0 0 0;
	}
	.main-header .header-nav {
		padding: 8px 0 0 0;
	}
	.main-header .header-broker {
		margin: 0 0 0 0;
		padding: 5px 0 0 0;
	}
	/* #nav a {
		font-size: 13px;
	} */
	#nav > li {
	    margin: 0 0 0 16px;
	}
	.fixed-header:before{
		height: 20px;
	}
	.fixed-header .logo {
    margin: 0 -14px 0 0;
		padding: 5px 0 0;
	}
	.header-contact {
		padding: 25px 0 0 0;
    margin: 0 0 0 -20px;
	}
	.header-contact a {
		letter-spacing: 0.050em;
		font-size: 11px;
	}
	.fixed-header .header-nav {
		padding: 45px 0 0;
	}
	.header-contact .h-email,
	.header-contact .h-phone{
		background-size: 15px auto;
		padding: 4px 0 4px 25px;
	}
	#fixednav a{
    font-size: 11px;
		letter-spacing:0.000em;
	}
	#fixednav > li {
		margin: 0 0 0 15px;
	}
	#hp-tagline h3{
		font-size: 50px;
	}
	.as-wrapper .as-title h2{
		font-size: 29px;
	}
	.qs-wrapper .qs-title{
		font-size: 12px;
	}
	.qs-wrapper .qs-title h2{
		font-size: 33px;
	}
	.ww-wrapper .ww-single h3 {
		font-size: 23px;
	}
	.welcome-wrapper .welcome-content h1{
		font-size: 50px;
	}
	.welcome-wrapper .welcome-content h1 span:after {
		margin: 15px 0 30px;
	}
	.welcome-wrapper .welcome-photo:after {
		top: -125px;
		right: -15px;
		opacity: 0.07;
		transform: scale(.6);
		transform-origin: center right;
	}
	.wmc-wrapper .wmc-content li{
		max-width: 140px;
	}
	.wmc-wrapper .wmc-content li:before{
		right: -45px;
	}
	.wmc-wrapper .wmc-content li h3{
		font-size: 13px;
	}

	.ip-container .wmc-wrapper .wmc-content li h3 {
		font-size: 13px !important;
	}

	.wmc-wrapper a .wmc-step{
		font-size: 35px;
	}
	.wmc-wrapper .wmc-step:before{
		width: 70px;
		height: 70px;
	}
	.wmc-wrapper .wmc-lg{
		font-size: 14px;
		letter-spacing:0.000em;
	}
	.testi-wrapper .testi-container {
		padding: 0 5% 0;
	}
	.testi-wrapper .testi-list {
		margin: 30px 0 0;
	}
	.testi-wrapper .testi-list li {
		line-height: 24px;
		font-size: 13px;
		letter-spacing: 0.020em;
		padding: 0 10px;
	}
	.testi-wrapper .testi-list h3{
		margin: 15px 0 0;
	}
	.testi-wrapper .testi-list a{
		margin: 25px 0 0;
	}

	.testi-wrapper .testi-content h2 {
		padding: 0 10px;
	}
	.footer-add{
		font-size: 13px;
	}
	.footer-add span {
		font-size: 11px;
		letter-spacing: 0.120em;
	}
	.footer-nav {
		padding: 0 0 0 30px;
	}
	.footer-contact{
		font-size: 13px;
	}
	.footer-broker-msg br{
	}
	.copyright-re .copyright{
		font-size: 11px;
	}
	.qs-form input {
		width: 100%;
	}

	.qs-form input[type="submit"] {
		width: 57px;
	}

	.fp-wrapper .fp-add {
		font-size: 13px;
	}

	.fixed-header > .row {
		/* max-width: 992px; */
		margin: 0 auto;
	}

	#fixednav > li > .sub-menu {
		padding: 23px 0 0 0;
	}

	.sb-wwc .wwc-single a {
		min-width: 192px;
	}

	.sb-qs .qs-title h2 {
		font-size: 30px;
	}

	.sb-qs .dropdown-menu {
		left: unset;
		right: 0;
	}

	.hp-quick-search .qs-form select,
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
		font-size: 10px !important;
	}





	.header-contact a {
	    font-size: 9px;
	}

	#fixednav a {
	    font-size: 10px;
	}

	.header-contact .h-email, .header-contact .h-phone {
	    padding: 4px 0 4px 21px;
	}










}

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

	.testi-wrapper .testi-r,
	.welcome-wrapper .welcome-photo:after,
	.wmc-wrapper .wmc-content li:before,
	.header:before,
	.main-header .header-broker,
	.main-header .header-nav,
	.fixed-header{
		display: none;
	}
	.header{
		position: relative;
		background: #121212;
		z-index: 99;
	}

	.main-header {
		padding: 70px 0 20px;
	}
	#hp-slide canvas,
	#hp-top{
		height: auto;
	}
	#hp-slide{
		position: relative;
		z-index: 0;
	}
	#hp-tagline {
		display: none;
	}
	#hp-tagline h3{
		font-size: 35px;
	}
	.as-wrapper .as-title{
		text-align: center;
	}
	.as-wrapper .as-sub,
	.as-wrapper .as-field{
		margin: 27px 0 0;
		width: 100%;
	}
	.as-form .dropdown-menu{
		right: auto;
		left: 0;
	}
	.qs-wrapper .qs-title {
		text-align: center;
	}
	.qs-form .qs-long {
		width: 100%;
		margin: 27px 0 0;
	}
	.qs-form .qs-short {
		width: calc(50% - 4px);
		margin: 27px 8px 0 0;
	}
	.qs-form .qs-short:nth-child(even){
		margin: 27px 0 0 0;
	}
	.qs-form .qs-sub {
		width: calc(50% - 4px);
		margin: 27px 8px 0 0;
	}
	.qs-form .qs-adv{
		width: calc(50% - 4px);
		margin: 27px 0 0 0;
		text-align: center;
	}

	.qs-form input[type="submit"] {
		width: 100%;
	}

	.hp-quick-search .qs-form select,
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {
		font-size: 12px !important;
	}
	#hp-ww {
		padding: 35px 0 40px;
	}
	.ww-wrapper .ww-content {
		margin: 25px 0 0;
	}
	.ww-wrapper .ww-single {
		border-top: 1px solid rgba(117,117,117,.2);
		border-left: 0px solid rgba(117,117,117,.2);
	}
	.ww-wrapper .ww-img {
		padding: 25px 0 0;
	}
	.ww-wrapper .ww-single:first-child {
		border-top: 0px solid rgba(117,117,117,.2);
	}
	#hp-wwc {
		background: #fff;
		padding: 60px 0 50px;
	}
	.wwc-wrapper .wwc-single {
		border-left: 0px solid rgba(117,117,117,.2);
		border-top: 1px solid rgba(117,117,117,.2);
	}
	.wwc-wrapper .wwc-single:first-child {
		border-top: 0px solid rgba(117,117,117,.2);
	}
	.wwc-wrapper .wwc-img {
		padding: 40px 0 0;
	}
	#hp-wmc {
		padding: 10px 0 45px;
	}
	.wmc-wrapper .wmc-content {
		margin: 40px 0 0;
	}
	.wmc-wrapper .wmc-content ul {
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
	}
	.wmc-wrapper .wmc-content li {
		max-width: none;
		display: block;
		margin: 35px 0 0 0;
		border-top: 1px dotted #c3c3c3;
		padding: 25px 0 0;
	}
	.wmc-wrapper .wmc-content li:first-child{
		margin: 0 0 0 0;
		border-top: 0px dotted #121212;
	}
	.wmc-wrapper .wmc-content li h3 br{
		display: none;
	}
	.wmc-wrapper .wmc-img{
		max-width: 165px;
	}
	#hp-wc{
		padding: 20px 0 0 0;
	}
	.welcome-wrapper .welcome-photo img{
		margin: 0 auto;
	}
	.welcome-wrapper .welcome-content {
		padding: 50px 0 30px 0;
		text-align: center;
	}
	.welcome-wrapper .welcome-content h1 span:after {
		margin: 15px auto 30px;
	}
	#hp-sac {
		background: rgba(36,36,36,1);
		padding: 35px 0;
	}
	.aoe-wrapper .aoe-name h3 {
		font-size: 20px;
		letter-spacing: 0.020em;
	}
	.testi-wrapper .testi-l {
		width: 100%;
		padding: 30px 0;
	}
	.testi-wrapper .testi-list li{
		padding: 0 2px;
	}
	.footer{
		padding: 50px 0 0;
	}
	.footer-info {
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		align-items: center;
	}
	.footer-logo img{

	}
	.footer-contact{
		display: flex;
		flex-flow: column wrap;
		justify-content: center;
		align-items: center;
		margin: 30px 0 0;
	}
	.footer-contact .footer-cal,
	.footer-contact .footer-phone{
		margin: 12px 0 0 0;
	}
	.footer-nav {
		padding: 0 0 0 0;
		text-align: center;
		margin: 40px 0 0;
	}
	.footer-broker-msg{
		margin: 40px 0 0;
		text-align: center;
	}
	.copyright-re {
		max-height: none;
		text-align: center;
	}
	.copyright-re .re-logos {
		margin: 20px 0 0;
	}
	.ip-banner .tagline-wrapper h3{
		font-size: 40px;
	}

	.qs-form input {width: 100%;}

	#hp-wwc .wwc-wrapper .wwc-single a {
		margin: 35px auto 0;
		position: relative !important;
		left: unset;
		transform: unset;
	}
	#hp-wwc .wwc-wrapper .wwc-single {
		height: auto !important;
		padding-bottom: 41px;
	}

	.aios-mobile-header-wrapper {
		z-index: 100 !important;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }
	.sec-title .sec-title-sub{
		display: block;
	}
	.sec-title .sec-title-sub span{
		padding: 0 0;
	}
	.wmc-wrapper .wmc-title span:before,
	.wmc-wrapper .wmc-title span:after,
	.aoe-wrapper .aoe-title span:before,
	.aoe-wrapper .aoe-title span:after,
	.sac-wrapper .sac-title span:before,
	.sac-wrapper .sac-title span:after,
	.sec-title .sec-title-sub:after,
	.sec-title .sec-title-sub:before{
		display: none;
	}
	.aoe-wrapper .aoe-single{
		width:calc(100% / 2);
	}
	.ip-banner .tagline-wrapper h3{
		text-align: center;
	}

	.fp-wrapper .fp-content {
	    margin: 70px auto 0;
		max-width: 400px;
	}

	.sac-form .sac-d-field > div {
		width: 100%;
		display: block;
		float: none;
		margin: 45px auto !important;
	}

	.sac-form .sac-field {
		margin: 55px 0 0;
	}

	#hp-fp .sec-title-sub {
		padding: 0 15px;
	}

	#content .entry-title, #content .archive-title {
		font-size: 32px;
		line-height: 34px;
		margin: 20px 0;
	}

	#ihf-main-container #ihf-agent-sellers-rep-own-listing {
		width: auto !important;
	}

	.fp-wrapper .fp-nav a {
		width: 48px;
		height: 48px;
		font-size: 18px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	#hp-tagline h3 {
		font-size: 25px;
	}
	#hp-slide #aios-slider-hp-slideshow .aios-slider-splide .aios-slider-tagline .aios-slider-tagline-title {
		font-size: 14px;
	}
	.welcome-wrapper .welcome-content h1 {
		font-size: 40px;
	}
	.aoe-wrapper .aoe-single{
		width:calc(100% / 1);
	}
	.ip-banner .tagline-wrapper h3 {
		font-size: 28px;
	}

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

	#ihf-refine-search button,
	#ihf-refine-search + .btn-group button {
		font-size: 12px !important;
	}
}
 @media print {
    .header-wrapper,
    .header-bg,
    .header-fixed.ease-transition,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    .footer-form-wrapper,
    .footer-wrapper,
    footer.footer-wrap,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default,
    .menu-main-navigation-container,
    .entry.entry-content>a,
    .footer-links,
    p#breadcrumbs,
    .header.font-pop,
    .addtoany_share_save_container,
    .footer,
    .grecaptcha-badge
    {
        display: none !important;
    }
    #content{
        width: 100% !important;

    }
    div#inner-page-wrapper{
        padding-top: 0px;
    }
}
