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

@media only screen and (max-width: 1440px) {
	.head-navi-left > li, .head-navi-right > li {
        margin: 0 19px;
    }
    #fixed_nav > li {
    	margin: 0 30px;
    }
    .burger_menu_content {
    	/*overflow: scroll;*/
    }
        .bm_inner_content {
            height: 100%;
            overflow: scroll;
        }
    .fp_item_txt {
    	padding: 35px 25px;
    }

    #content .propdet-more-images-list {
        margin-right: -30px;
    }


}

@media only screen and (max-width: 1366px) {
	.header_wrap .custom-container {
		padding: 0 35px;
	}
	#fixed_nav > li {
    	margin: 0 20px;
    }
    .fp_item_txt {
    	font-size: 12px;
    }
    .fp_price {
    	font-size: 30px;
    }
    .hp_partners li {
    	margin: 0 25px;
    }
    #content .ip-properties-search form {
        margin-right: -30px;
    }

#content .custom-built-listwithus-title h2 {
    font-size: 78px;
}


}

@media only screen and (max-width: 1280px) {
	.head-navi-left > li, .head-navi-right > li {
        margin: 0 10px;
    }
    .bm_info_wrap {
    	width: 40%;
    }
    .featprop_title h2 {
    	font-size: 90px;
    	margin-right: -60px;
    }
    .hp_partners li {
    	margin: 0 20px;
    }
    .blog_title h2 {
    	font-size: 55px;
    }
    .blog_txt_title {
    	font-size: 20px;
    }


}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

    .hp-tagline span { 
        font-size: 28px;
    }

	.header_wrap .custom-container {
	    padding: 0 15px;
	}
	.head_left_wrap {
		padding-right: 30px;
	}
    .head_left_wrap nav.navigation {
        margin-right: -54px;
    }
	.navi li a {
		font-size: 12px;
	}
	.fixed_logo {
		padding-left: 15px;
	}
	#fixed_nav > li {
		margin: 0 8px;
	}
	.bm_navigation, .bm_info_wrap {
	    width: 50%;
	}
	.featprop_title h2 {
		font-size: 70px;
	}
	ul.featprop_buttons {
		width: 100%;
		margin-right: 0;
	}
	.fp_item_txt {
		padding: 20px;
		font-size: 10px;
	}
	.fp_price {
		font-size: 25px;
	}
	.cta_item_01 {
		width: 52.62%;
	}
	.cta_item_02 {
		width: 47.38%;
	}
	.cta_title {
		font-size: 30px;
	}
	.cta_item_01 .cta_txt {
	    right: 280px;
	}
	.cta_item_02 .cta_txt {
	    right: 310px;
	}
	.cta_more {
		font-size: 12px;
	}
	.cta_more::before {
		right: 75px;
	}
	.cta_item_01 .cta_more {
	    right: 85px;
	}
    .cta_item_01 .cta_title span {
        left: 18px;
    }
	.cta_item_02 .cta_more {
	    right: 55px;
	}
    .cta_item_02 .cta_title span {
        left: 16px;
    }

	ul.stats_list_wrap li {
		margin: 0 3px;
	}
	.hp_partners li {
		margin: 0;
	}
	.hp_partners li img {
		width: 80%;
	}
	.blog_title h2 {
		font-size: 45px;
	}
	.blog_txt_wrap {
		padding: 30px 20px 0;
	}

	.foot_copyright {
		font-size: 13px;
	}
    #content .propdet-more-images-list {
        margin-left: 0;
        margin-right: 0;
    }
    #propdet-collapse {
        margin: 0;
    }

    .ip-properties-search:before {
        width: calc( (100vw - 940px) / 2 );
    }
        #content .ip-properties-search form {
            margin-right: 0;
        }
    #content .ip-properties-search h2 {
        font-size: 30px;
    }
    .ip-properties-list {
        margin-left: -8px;
        margin-right: -8px;
        padding: 0 65px;
    }
    .ip-properties-details .price {
        font-size: 30px;
    }
    .ip-properties-details:before, .ip-properties-details:after {
        width: 35px;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	.page-id-3287 .wp-caption {		
		max-width: 410px;
		width:100% !important;
		margin: 0 auto !important;
		display: block;
		/* color: #002e6b !important; */
	}
	
	.page-id-3287 #breadcrumbs {
		text-align: center;
	}

    .head_left_wrap nav.navigation {
        margin-right: 0;
    }

    body .cycloneslider-template-responsive {
        margin-top: 0;
    }

    .hp-tagline span { 
        font-size: 24px;
    }

    .hp-slider-tagline {
        /*top: 25%;*/
    }

    .learn-how-to-make-your-homepay-holder {
        display: inherit ;
    }
    .homepay-left {
        border-right: 1px solid #e5e5e5;
        border-bottom:   1px solid #e5e5e5;
    }

    .custom-cols{
        width: 100% !important
    }

	.mob_hide, .navi {
		display: none;
	}
	.header_wrap {
		position: relative;
		z-index: 1;
		margin-top: 52px;
		padding: 60px 0;
	}
	.head_left_wrap {
		padding: 0;
	}
    .head_left_wrap nav.navigation {
        margin-right: 0;
    }
	.head_logo .desktop_hide {
        display: block;
    }
    .featprop_title {
    	width: 100%;
    	text-align: center;
    }
    .featprop_title h2 {
	    padding: 0;
    	margin: 0 0 30px;
	    text-align: center;
    }
    .featprop_title h2 span {
    	padding: 0;
    	top: auto;
    }
    .hp_featprop ul.featprop_buttons li:last-child a {
        background-color: transparent;
    }
    ul.featprop_buttons {
    	width: 100%;
    }
    .fp_items_left {
    	width: 100%;
    	max-width: 790px;
    	margin: 50px 0 0;
    	text-align: center;
    }
	    .fp_item_01, .fp_item_04 {
	    	width: 100%;
	    	max-width: 790px;
	    }
	    .fp_item_02, .fp_item_03 {
	    	width: 49.5%;
	    	max-width: 100%;
	    }
    .fp_items_right {
    	width: 100%;
    	max-width: 790px;
    	margin-top: 0;
    }
    	.fp_items_right .fp_item_row {
    		width: 49.5%;
    	}
    		.fp_item_02, .fp_items_right .fp_item_row:first-child {
    			margin-right: 1%;
    		}
    		/*.fp_item_02 canvas, .fp_item_03 canvas,
    		.fp_items_right .fp_item_img canvas {
    			height: 273px;
    		}*/
            .fp_item,
            .fp_items_right .fp_item_row {
                width: 100%;
            }
            .fp_item canvas {
                max-width: 400px;
                margin: auto;
            } 

   	.hp_widget2 {
   		padding: 100px 0;
   	}

    .cta_item_01, .cta_item_02 {
    	width: 100%;
	    max-width: 358px;
	    text-align: center;
	    display: block;
	    margin: 10px auto;
    }
    .cta_txt {
    	width: 100%;
    	right: auto !important;
    	top: calc(50% - 51px) !important;
    }
    .cta_title span {
    	left: auto !important;
    }
    .cta_title em {
    	color: #ffffff;
    }
    .cta_more {
    	display: inline-block;
    	vertical-align: top;
    	right: auto !important;
    	color: #ffffff;
    }
    .cta_more::before {
    	width: 100%;
    	left: auto;
    	right: auto !important;
    	top: auto;
    	bottom: -10px;
    	margin: 0 auto;
    }

    .hp_widget4 {
    	padding: 50px 0;
    }
    .hp_widget4::before {
    	width: 100%;
    	max-width: 100%;
    }
    .testimonials_wrap {
    	padding: 50px;
    	text-align: center;
    }

    .hp_widget5 {
    	height: auto;
    }
    .agents_title {
    	width: 100%;
    	margin: 0;
    	padding: 30px 0;
    	text-align: center;
    }
    .agents_title h2 span {
    	padding: 0;
    }
    .agents_more_btn a::before {
    	display: none;
    }
    #agents_slider .slick-slide > div:first-child > .agents_list:nth-child(2),
    #agents_slider .slick-slide > div:nth-child(2) > .agents_list:first-child {
    	top: auto;
    }
    #agents_slider .slick-slide > div:nth-child(2) > .agents_list:nth-child(2) {
    	margin-top: 0;
    }
    #agents_slider .slick-slide > div:first-child {
    	margin-bottom: 20px;
    }
    .agents_arrows {
    	width: 100%;
    	position: relative;
    	text-align: center;
    	padding: 30px 0;
    }
    .agents_arrows .slick-arrow {
    	position: relative;
    	display: inline-block !important;
    	vertical-align: top;
    	margin: 0 35px;
    }
    .agents_arrows .slick-arrow.agents_prev {
    	top: auto;
    	left: auto;
    }
    .agents_arrows .slick-arrow.agents_next {
    	bottom: auto;
    	right: auto;
    }

    ul.stats_list_wrap::before, ul.stats_list_wrap::after {
    	display: none;
    }
    ul.stats_list_wrap li {
    	width: 100%;
    	margin: 4px;
    }

    .blog_title {
    	width: 100%;
    	min-height: auto;
    	padding: 50px 0;
    	text-align: center;
    }
    .blog_title h2 {
    	margin: 0;
    }
    .blog_title h2 span::before, .blog_title::after {
    	display: none;
    }
    .blog_items_wrap {
    	width: 100%;
    }
	    .blog_items {
	    	width: 100%;
	    	margin-bottom: 30px;
            display: flex;
            flex-direction: column;
	    }
            .blog_items:first-child,
            .blog_items:last-child {
                flex-direction: column-reverse;
            }
		    .blog_txt_wrap {
		    	height: auto;
		    	padding: 30px 15px;
		    	text-align: center;
		    }
		    .blog_desc a.blog_desc_more {
		    	margin: 20px auto 0;
		    }
		    .blog_photo {
		    	max-width: 360px;
		    	height: auto;
		    	margin: 0 auto;
		    }
		    .blog_photo a::after {
		    	display: none;
		    }
    .blog_more_btn {
    	margin: 45px auto 0;
    }

    .foot_left {
    	padding-left: 15px;
    	margin-bottom: 20px;
    	text-align: center;
    }
    .foot_right {
    	text-align: center;
    }


	/* 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%;
	}
	
    .propdet-slide-details {
        max-width: 90%;
    }
    #content .propdet-description p {
        margin-right: 0;
        padding-left: 0;
    }
    .propdet-description-text {
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
    .propdet-body {
        padding: 0 15px;
    }
        #propdet-collapse > div {
            width: 100%;
        }
        .propdet-map,
        .propdet-contact {
            width: 100%;
        }
        .propdet-contact {
            padding: 30px 15px 0;
            text-align: center;
        }
        .propdet-form {
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 30px;
        }

    .ip-banner .container {
        padding: 0 15px;
        top: 50%;
        transform: translateY(-50%);
    }
        .ip-banner h1 {
            font-size: 30px;
        }
            .ip-banner h1 span,
            .ip-banner .container.big h1 {
                font-size: 60px;
            }
    .ip-properties-search {
        margin: 0 auto;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
        .ip-properties-search:before {
            display: none;
        }
        .ip-properties:nth-child(2) {
            margin-top: 0;
        }
            .ip-properties-details:before, .ip-properties-details:after {
                top: 34px;
                width: 30px;
            }
            .ip-properties-details {
                padding: 20px 15px;
                width: 80%;
            }
                .ip-properties-details .address {
                    font-size: 18px;
                }
                .ip-properties-list {
                    padding: 0;
                }
                .ip-properties-details .price {
                    font-size: 27px;
                }

    .ip-properties a:hover {
        transform: none;
    }

    .propdet-cta-wrap a {
        margin: 5px 2.5px 0;
    }
    .ip-banner {
        margin-top: 0;
    }

    .agents_more_btn {
        margin-left: 0;
    }
	.hp_widget8,
	.hp_widget7,
	.hp_widget6,
	.hp_widget5,
	.hp_widget4,
	.hp_widget3,
	.hp_widget2{
		background-position: center center;
		background-attachment: unset;
	}
    .post-page-sell-my-house .template-reunion-resort-footer-content img{
        float: unset;
        margin: 10px auto;
        display: block;
    }

} 

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

    .hp_partners li {
		margin: 10px;
	}
    .ip-banner .container{
        width: 100%;
    }
    .ip-banner canvas {
    	min-height: 150px;
    }
    .propdet-slide-details .price {
        font-size: 35px;
    }
    #content .propdet-slide-details .address {
        font-size: 25px;
    }
    #content .propdet-description h2 {
        font-size: 70px;
    }

    .properties-wrapper.container {
        padding: 0 15px;
    }
    .ip-banner h1 span,
    .ip-banner .container.big h1 {
        font-size: 40px;
    }
    #content .ip-properties-search h2 {
        text-align: center;
    }
    .ip-properties-field {
        width: 100%;
        margin: 0 auto 12px!important;
        display: block;
        max-width: 360px;
    }
        .ip-properties-field button {
            margin: 30px auto 0;
        }
    .ip-properties {
        float: none!important;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
    }
    #iik-popup .aidefcf-cl2 span.wpcf7-form-control-wrap {
        width: 100%;
        float: none;
    }
    .way-cont span.wpcf7-list-item {
        width: 100%;
    }
    .fp_item_02, .fp_item_03,
    .fp_items_right .fp_item_row {
        width: 100%;
    }

    .page ul.featprop_buttons li {
        width: 100%;
        margin-left: 0;
    }
}

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

    #iik-popup textarea {
        height: 75px;
    }

    .iik-heading h2 {
        font-size: 18px;
    }

    .iik-heading p {
        font-size: 14px;
    }

    .aiosp-wrap .aiosp-container .ip-main-popup {
        padding: 30px 15px 15px;
    }
    
	.featprop_title h2 {
		font-size: 50px;
	}
	.fp_item_02 canvas, .fp_item_03 canvas, .fp_items_right .fp_item_img canvas {
	    height: 170px;
	}
	ul.featprop_buttons li a {
		font-size: 18px;
		/*padding-left: 65px;*/
	}
	.hp_welcome h1 {
		font-size: 50px;
	}
	.testi_title h2 {
		font-size: 25px;
	}
	.testi_title h2 span {
		font-size: 30px;
	}
	.testimonials_wrap {
		padding: 50px 20px;
	}
	.agents_list a {
		max-width: 241px;
		margin: 0 auto;
	}
	.hp_statistics h2 span {
		font-size: 60px;
	}
	.blog_title h2 {
		font-size: 40px;
	}

	.foot_form_wrap h2 {
		font-size: 50px;
	}

    #ihf-main-container .btn-group > .btn-group:first-child > .dropdown-toggle {
        padding: 6px;
    }

    #ihf-main-container .btn-group > .btn-group:last-child > .btn:first-child {
        padding: 6px;
    }

    #propdet-collapse .panel > a i {
        right: 5px;
    }

}
 



@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,.addtoany_share_save_container,
    .yoast-breadcrumbs,.entry-title,.slide-gt-connect,.grecaptcha-badge,.main-header,div#main-wrapper::after,
    .ihf-share-btn,.ip-banner {
        display:none!important
    }
 
 
    #content-sidebar #content{
        width:100% !important;
    }
    #content-sidebar, #content-full {
        margin-top: -70px;
    }
    body {
        background-image: none !important;
    }
 
    #main-wrapper{
        overflow: unset!important;
    }
    #inner-page-wrapper .container{
        width: 100% !important;
    }
 
    #content .listings-printable-price,
    #content .listings-printable-amenities h2,
    #content .listings-printable-info,
    #content .listings-printable-description,
    #content .listings-printable-git h2,
    #content .listings-printable-git strong,
    #content .listings-printable-git ul li i{
        color: #000000;
    }
 
    #content .listings-printable-git ul li a {
        display: block !important;
        margin-top: 10px;
        color: #000000;
    }
	#content .listings-printable-git ul li a[href]:after {
        content: none !important;
    }
 
    #content .listings-printable-header span,
    .grecaptcha-badge,
    #pojo-a11y-toolbar,
    .ihf-printable-template #breadcrumbs,
    .ihf-printable-template section#contact {
        display: none !important;
    }

 
}
