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


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1440px) {
	.rp-wrap .slick-list {
	    padding: 128px 27% 0;
	}

	.welcome-right::after {
		left: -220px;
	}
}

@media only screen and (max-width: 1365px) {
	.rp-wrap .slick-list {
	    padding: 128px 25% 0;
	}

	.fc-item {
		padding-right: 13px;
	}

	.fc-sub {
		margin-bottom: 22px;
	}

	.fc-desc p {
		font-size: 13px;
	}

	.fc-img {
		padding-right: 6px;
	}

	.welcome-agent {
		right: 24px;
	}

	.welcome-title h1 {
		font-size: 48px;
	}

	.welcome-right-img::before {
		width: calc(100% - 315px);
	}
}

@media only screen and (max-width: 1199px) {
  .bootstrap-select.btn-group .dropdown-menu{
    min-width: 187px !important;
  }
	.qs-long select, .qs-long input, .qs-short select, .qs-short input, .qs-mid select, .qs-mid input {
		font-size: 10px;
	}

	.welcome-title h1 {
	    font-size: 39px;
	}

	.welcome-desc p {
		font-size: 13px;
		line-height: 20px;
		margin-bottom: 25px;
	}

	.fl-price {
		font-size: 32px;
	}

	.welcome-right::after {
		left: -163px;
		height: 100%;
	}

	.welcome-right-img::before {
		width: calc(100% - 257px);
	}

	.fc-desc p {
	    font-size: 11px;
	    line-height: 24px;
	}

	.fc-sub {
		font-size: 40px;
	}

	.rp-wrap .slick-list {
	    padding: 128px 18% 0;
	}

	.footer-left-inner {
	    max-width: 233px;
	}

	.footer-left::after {
		right: 0;
	}

	.qs-long select {
		padding-left: 8px !important;
	}

	.nav2 li.prop-nav:hover > .sub-menu {
	    left: 86% !important;
	    padding-top: 45px !important;
	}

	.sidebar .qs-long .bootstrap-select.btn-group .dropdown-toggle .filter-option {
		    font-size: 10px;
	}

	.safari-true .fl-item a::before {
	    right: 0;
	    opacity: 1;
	}
	.safari-true .fl-item a .fl-desc {
	    bottom: 26px;
	}
	.safari-true .fl-item a .fl-btn {
	    opacity: 1;
	}
	.safari-true .fl-item a::after {
	    left: 400px;
	    opacity: 0;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	.nav2.nav-left,
	.nav2.nav-right {
	    display: none;
	}

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

	.qs-form-wrapper button.btn.dropdown-toggle.btn-default {
		background-color: rgb(221, 153, 51);
		border: 1px solid #fff;
	}

	.qs-long .bootstrap-select.btn-group .dropdown-toggle .filter-option {
	    font-size: 10px;
	}

	.qs-btn.advancewrap a:hover {
		color: #dd9933;
	}

	.testi-arrow {
	    position: relative;
	    top: 0;
	    left: 0;
	    max-width: 200px;
	    margin: 0 auto;
	    margin-top: 18px;
	}

	header.header {
	    position: relative;
	    top: 0;
		margin-top: 52px;
	}

	.header-logo {
	    margin: 0 auto;
	}

	section.hp-qs {
	    position: relative;
	    bottom: 0;
	    background: #035cde;
	    padding: 20px 0;
	}

	.qs-short {
	    width: 50%;
	    margin-bottom: 5px;
	}

	.qs-mid {
		width: 50%;
	}

	.qs-long select {
	    padding-left: 18px !important;
	}

	.qs-long select, .qs-long input, .qs-short select, .qs-short input, .qs-mid select, .qs-mid input {
		border: 1px solid #fff;
		background-color: #dd9933;
	}

	.qs-long,
	.qs-long.citywrap {
	    width: 100%;
	    padding: 0;
	    margin-bottom: 5px;
	}

	.qs-long::after {
		display: none;
	}

	.qs-left {
	    padding-right: 2.5px;
	}

	.qs-right {
		padding-left: 2.5px;
	}

	.qs-input::after {
		display: none;
	}

	.qs-btn.btnsubmit-wrap {
	    width: 100%;
	    background-color: transparent;
	    padding: 5px 0;
	    height: 60px;
	}

	.qs-btn input {
	    height: 50px;
	    max-width: 100%;
	    background-color: #dd9933;
	}

	.qs-btn.advancewrap {
	    width: 100%;
	    background: transparent;
	}

	.qs-btn.advancewrap a {
	    margin: 0 auto;
	}

	.qs-inner .container {
	    max-width: 500px;
	}

	section.welcome-wrapper {
		padding: 20px 15px;
	}

	.welcome-left {
	    display: block;
	    width: 100%;
	    text-align: center;
	    padding-top: 0;
	}

	.welcome-left-inner {
		margin: 0 auto;
	}

	.welcome-btn a {
	    margin: 0 auto;
	}

	.welcome-right::after {
		display: none;
	}

	.welcome-right {
	    width: 85%;
	    max-width: 400px;
	    margin: 0 auto;
	    display: block;
	    padding-top: 0;
	}

	.fl-title::before {
		display: none;
	}

	.fl-title::after {
		display: none;
	}

	.fl-inner {
	    margin-left: 0;
	    text-align: center;
	}

	.fl-title {
	    width: 100%;
	    max-width: 100%;
	    text-align: center;
	}

	.rp-wrap {
		height: auto !important;
	}

	.fl-title-inner {
		margin: 0 auto;
	}

	.fc-wrap-inner {
		flex-direction: column;
	}

	.fc-item-inner {
	    margin: 0 auto;
	}

	.fc-item {
	    width: 100%;
	}

	.fc-desc {
		margin-bottom: 62px;
	    margin-top: 46px;
	}

	.rp-wrap .slick-list {
		padding: 77px 0;
	}

	.rp-list .slick-slide.slick-current + .slick-slide {
		margin-top: 0;
	}

	.rp-list .slick-slide {
		padding-top: 0;
	}

	.rp-list .slick-slide.slick-current {
		margin-top: 0px;
	}

	.rp-item a {
		margin: 0 auto;
	}

	.footer-left {
		padding-left: 0;
	}

	.footer-left::after {
		display: none;
	}

	.footer-left-inner {
	    max-width: 233px;
	    margin: 0 auto;
	}

	.footer-right {
		padding-left: 0;
	}

	.footer-form{
		margin: 0 auto;
	}

	.footer-nav ul {
	    flex-direction: column;
	}

	.footernav li {
	    margin-bottom: 10px;
	}

	/* 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%;
	}
	.footer-smi .textwidget {
		max-width: 11px !important;
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin: 0 auto;
		margin-top: 38px;
		text-align: center;
	}

}

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

    section.rp-wrapper {
    	padding: 100px 10px;
    }

    .rp-desc-inner-hold {
    	margin: 26px 3px 86px auto;
        max-width: 257px;
    }

    .rp-desc-para p {
    	font-size: 13px;
    }

    .testi-title span {
    	font-size: 32px;
    }

    .fc-desc {
	    margin-bottom: 42px;
	    margin-top: 37px;
	}

	.fc-item {
		margin-bottom: 20px;
	}

	.fc-item-inner {
		align-items: flex-start;
	}

	.fc-img {
		margin-top: 53px;
	}

	.fc-title span {
		font-size: 33px;
	}

	.fl-title-inner span {
		font-size: 42px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	#ihf-main-container > div.col-xs-6:nth-of-type(6){
		    width: 100% !important;
	}
	.welcome-title h1 {
	    font-size: 21px;
	}

	.welcome-right-img::after {
		height: calc(100% - 127px);
	}

	.welcome-right-img::before {
	    width: calc(100% - 114px);
	    top: 102px;
	}

	.welcome-line::before {
		width: calc(100% - 24px);
	}

	 .welcome-line::after{
	 	height: calc(100% - 211px);
	 }

	 .fc-img {
	    max-width: 100%;
	    width: 100%;
	    padding: 0;
	    margin: 0;
	}

	.fc-item-inner {
		flex-direction: column;
	}

	.fc-item {
		padding: 0;
	}

	.fc-desc {
	    text-align: center;
	    max-width: 100%;
	}

	.fc-desc p {
		min-height: 0;
	}

	.fc-sub::after {
	    width: 100%;
	}

	.fc-btn a {
		margin: 0 auto;
	}

	.rp-img {
	    width: 100%;
	    margin-top: 0;
	}

	.rp-item-inner{
		max-width: 100%;
		flex-direction: column;
	}

	.rp-desc-inner {
		margin-left: -113px;
	}

	.rp-desc {
	    margin-left: 0;
	    width: 100%;
	    margin-top: 12px;
	}

	.rp-desc-inner {
	    margin-left: 0 !important;
	}

	.rp-desc-inner-hold {
	    max-width: 100% !important;
	    margin: 20px;
	    text-align: center;
	    padding: 26px 0;
	}

	 .rp-desc-title {
	 	font-size: 12px;
	 }

	 .rp-desc-para p {
	    font-size: 11px;
	    line-height: 17px;
	}

	.footer-form .wpcf7-response-output {
		    bottom: -44px;
	}

	#ihf-main-container label.field-label.ihf-area-inclusion-label {
	    display: block;
	    white-space: pre-wrap;
	}


}


 @media print{
	header.header-wrapper, #fixed-header, #navigation, .entry-title, .yoast-breadcrumbs,footer,
	.sidebar, .amh-fixed-header-nav, .ip-bg, .header-content.wrapper, .menu-main-nav-container,
	a.header-logo, .header-logo,.amh-header-buttons, .sidebar, .top-logo, #navi, #headerwrapper,
	.transition, a, #breadcrumbs, .header-ip, .ip-image, .fixed-header, .ip-banner, .addtoany_share_save_container,
	.yoast-breadcrumbs, .entry-title, #ihf-leadcapture-btns, #footerwrapper, .footer {
		display:none !important;
	}
	#content-sidebar #content{
		width:100% !important;
	}
	#content-sidebar, #content-full {
		margin-top: -440px;
	}
	body {
		background-image: none !important;
	}
	#content{
		width: 100%!important;
		margin-top: 440px !important;
	}
}
