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


@media only screen and (min-width: 1601px) {
	.hp-slide .slide-tagline,
	.hp-fp .fp-item .fp-details {
		font-size: 100px;
	}

	.hp-fp .fp-item .fp-details span em {
		font-size: 135px;
	}
}

@media only screen and (max-width: 1500px) {
	/*.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 120px 40px 20px;
	}*/

	.footer-bottom .footer-left {
		font-size: 13px;
	}

		.footer-bottom .footernav li {
			padding-right: 5px;
		}
}



@media only screen and (max-width: 1400px) {
	/*.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 140px 40px 20px;
	}*/

	.neigh-desc-wrap p {
		line-height: 26px;
	}

	.footer-bottom .footer-left,
	.footer-bottom .footer-right {
		width: 40%;
	}
	.footer-bottom .footer-middle {
		width: 20%;
	}
}

@media only screen and (max-width: 1366px) {
	.footer-bottom .footer-left {
		font-size: 11.5px;
	}
}

@media only screen and (max-width: 1300px) {
	/*.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 70px 40px 20px;
	}*/
	.neigh-desc-wrap p {
		font-size: 14px;
		line-height: 22px;
	}

	.footer-bottom .footer-left,
	.footer-bottom .footer-right {
    	/*width: 47%;*/
    	/* width: 37.5%; */
    }
    	.footer-bottom .footernav li {
    		padding-right: 3px;
    	}

    .footer-bottom .footer-middle {
    	/*width: 30%;*/
    	/* width: 25%; */
    }
		.footer-bottom .footer-middle img {
	    	width: calc( 33.33% - 10px );
	    }
	    .footer-bottom .footer-right img {
	    	width: 100px;
	    }
}

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

	.header .hdr-contact {
		padding-right: 0;
	}

	.hp-team .team-intro {
		font-size: 32px;
	}
	.upcomming-form .git-input{
		width: 28%;
	}
	.hp-slide {
	    min-height: 0vh;
	}
	.cycloneslider-template-responsive .cycloneslider-slide canvas{
		background-attachment: scroll;
	}
	.hp-sep2 canvas{
	    background-attachment: scroll;
	}
	.hp-sep1 canvas{background-attachment: scroll;}
	.hp-qs .input-field input {
		line-height: 1;
	}

	/*** results page template ***/

	.results-page .results-list .results-col, 
	.results-page .result-list-active .results-col, 
	.results-page .results-list-sold .results-col{
		width: 50%;
	}

	/*** details page ***/

	.details-navigation li {
		padding: 0 10px;
	}

		.details-navigation li a {
			font-size: 18px;
		}

		.details-navigation li .share-smi {
			width: 320px;
			margin-left: -160px;
		}

			.details-navigation li .share-smi a {
				padding: 20px 15px;
			}

	.prop-details-contact .det-info li {
		width: 20%;
	}
	.sidebar .cta-wrap .cta-list .cta-item a {
		/*height: 120px;*/
	}
		.sidebar .cta-wrap .cta-list .cta-item a div h2 {
			font-size: 15px;
		}

	/*.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 120px 40px 20px;
	}*/

		.neigh-desc-wrap p {
			font-size: 12px;
			line-height: 20px;
		}

		.neighborhood-wrap .view-all-link {
			margin-top: 20px;
		}		

	.footer-bottom .footer-left {
		/*width: 50%;*/
		width: 37.5%;
		font-size: 12px;
	}

	.footer-bottom .footer-middle {
    	/*width: 27%;*/
    	width: 25%;
    }

    .footer-bottom .footer-right {
    	width: 37.5%;
    }
	    .footer-bottom .footer-right img {
	    	width: 70px;
	    }

    #ws-walkscore-tile #ws-footer {
    	width: 98% !important;
    }


}



/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 

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


	.details-slide button.slick-arrow{
		font-size: 50px !important;
	}



	.hp-slide .cycloneslider-template-responsive .cycloneslider-slide canvas,
	.cycloneslider-template-responsive .cycloneslider-slide canvas{

		background-attachment: scroll !important;

	}

	.neigh-slide .cycloneslider-template-responsive,
	.neigh-slide .embed-responsive{
		position: absolute;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		padding: 0;
	}

	.neigh-slide .cycloneslider-template-responsive .cycloneslider-slides,
	.neigh-slide .cycloneslider-template-responsive .cycloneslider-slides .cycle-slide,
	.neigh-slide .cycloneslider-template-responsive .cycloneslider-slides .cycle-slide canvas{
		height: 100%;
	}

	.neigh-slide .embed-responsive video{
		top: 50%;
		left: 50%;
		min-width: 100%;
		min-height: 100%;
		width: auto;
		height: auto;
		max-width: 150%;
		max-height: 150%;
		transform: translate(-50%, -50%);
	}

	.page-id-46 .neigh-slide,
	.page-id-1053 .neigh-slide,
	.page-id-1057 .neigh-slide,
	.page-id-1061 .neigh-slide{
		margin-top: 128px;
	}

	.page-id-46 .mobile-logo,
	.page-id-1053 .mobile-logo,
	.page-id-1057 .mobile-logo,
	.page-id-1061 .mobile-logo{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1010;
	}

	.page-id-46 .mobile-logo img,
	.page-id-1053 .mobile-logo img,
	.page-id-1057 .mobile-logo img,
	.page-id-1061 .mobile-logo img{
		margin-bottom: -65px;
		background-color: #1b0700;
	}


	.hp-sep2 canvas {
		
		position: relative;
		z-index: 2;
		background: transparent;
	    background-image: url(images/hp-separator2.jpg);
	    background-position: center!important;
		background-attachment: fixed;
		background-size: cover;
		background-repeat: no-repeat;
	    min-height: 300px;
	}

	.is-mobile .hp-sep1 {
		background-color: #1b0700;
	}
	.hp-sep1 canvas {
		background-position: center!important;
		background-repeat: no-repeat;
		background-attachment: fixed;
		/*background-size: 100% auto;*/
		background-size: cover;
		min-height: 300px;
	}
		.ios-true .hp-sep1 canvas,
		.ios-true .hp-sep2 canvas {
			background-attachment: scroll;
		}
    
    .hp-sep1:before {
		display: none;
	}

	.fixed-menu .navigation {
		left: 20px;
	    top: 115px;
	    transform: translateY(0);
	}

		#nav .sub-menu {
			top: 0;			
			left: 30px;
			-webkit-transform: translateY(0);
    		transform: translateY(0);
    		transition: all .3s ease-in-out;
		    -webkit-transition: all .3s ease-in-out;
		    -moz-transition: all .3s ease-in-out;
		    -webkit-backface-visibility: hidden;
		}

		#nav li:hover > .sub-menu {
			position: relative;
		}

	.header .logo {
	    display: none;
	}

	.mobile-logo {
	    display: block;
	    padding: 50px 0 0;
	    background: #1b0700;
	}

		.mobile-logo img {
			margin: 0 auto;
			display: block;
		}

		.hdr-burger span {
		    margin-right: 10px;
		}

	.header .hdr-burger {
		width: 95px;
	}

	.header .hdr-contact {
		width: calc(100% - 95px);
	}

		.header .hdr-contact .con-phone {
			font-size: 12px;
			margin-right: 10px;
		}	

	.hp-team .team-intro {
		font-size: 22px;
    	line-height: 40px;
    	padding: 0;
	}

	.hp-team h2 {
		font-size: 40px;
	}

	.hp-team li {
		width: 33.33%;
		margin-bottom: 10px;
	}

	.cta-wrap .cta-list .cta-item {
		width: 50%;
	}

	.f-contact-wrap .contact-left,
	.f-contact-wrap .contact-right {
		width: 100%;
		text-align: left;
		padding: 0;
	}

		.f-contact-wrap .contact-right{
			display: flex;
		    flex-direction: column;
		    align-items: center;
		    text-align: center;
		}
		.f-contact-wrap .contact-left {
			display: flex;
		    flex-direction: column-reverse;
		    margin-bottom: 40px;
		    align-items: center;
		    text-align: center;
		}

			.f-contact-wrap .contact-col {
				vertical-align: top;
			}

				.f-contact-wrap .contact-left .contact-col span {
                    float: none;
                    padding-top: 0;
                    margin: 0 8px 0 0;
                }

			.f-contact-wrap .contact-left .contact-logo,
			.f-contact-wrap .contact-right .contact-logo {
				margin-right: 0;
				margin-left: 0;
				padding-left: 0;
				margin-bottom: 25px;
			}

	.footer-bottom .footer-left,
	.footer-bottom .footer-middle,
	.footer-bottom .footer-right {
		width: 100%;
		text-align: center;
	}

		.footer-bottom .footer-middle {
			margin: 10px 0;
		}
		.footer-bottom .footer-middle img {
			max-width: 120px;
		}
	
	/* 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%;
	}

	/*** neighborhood ***/

	.neigh-slide h1 {
		top: 50%;
		font-size: 8vw;
	}	


	.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 50px 40px;
	}

	.neigh-desc-wrap p {
		font-size: 16px;
	    line-height: 30px;
	}

	#content .addtoany_content {
	    margin: 55px 0 16px;
	}

	/*** details page ***/

	/*slick thumb*/
	.th-item canvas {
	    height: 134.94px;
	}

    .details-wrapper {
        padding-bottom: 0;
    }
	/*end*/
	.details-navigation li a {
		font-size: 14px;
	}

		.details-navigation li .share-smi {
		    width: 110px;
		    margin-left: -55px;
		    top: calc(100% + 27px);
		    height: 130px !important;
		}

		.details-navigation li .share-smi a {
		   padding: 10px 15px;
		}

		.details-navigation li .share-smi a,
		.details-navigation li .share-smi a.web-link {
			width: 50%;
		}

			.details-navigation li .share-smi a:after {
				opacity: 0;
			}

	.prop-details-contact .det-contact {
		margin-top: 30px;
	}

	.prop-add-info .info-inner .info-tabs,
	.prop-add-info .info-inner .tab-content-main {
		width: 100%;
	}

		.prop-add-info .info-inner .info-tabs {
			text-align: center;
		}

			.prop-add-info .info-inner .info-tabs li {
				display: inline-block;
				font-size: 16px;
				padding: 15px 10px;
			}

		.prop-add-info .info-inner .tab-content-main {
			padding: 50px 15px;
		}

	.results-col canvas {
		min-height: 300px;
	}

	.results-col .hover-details {
		bottom: -125%;
	}

		.results-col .hover-details .hover-left {
			line-height: 16px;
			font-size: 14px;
		}

		.results-col .hover-details .hover-right span {
			line-height: 38px;
		}

	.neigh-item .list-details .col-left,
	.featured-item .featured-details .col-left {
		font-size: 14px;
	}

		.neigh-item .list-details .col-left span,
		.featured-item .featured-details .col-left span {
			line-height: 18px;
		}

	.details-top-banner {
		display: none;
	}

	.prop-details-contact .det-info h2 {
		font-size: 32px;
		line-height: 40px;
	}

	.details-wrapper #ihf-walkscore-content input#ws-street {
		width: calc(100% - 145px) !important;
	}

	.prop-add-info {
	    padding: 0 5px;
	}

	.page-id-352 #content .ip-cta-list,
	.page-id-235 #content .ip-cta-list {
	    display: block;
	}

	.prop-details-contact .det-contact [class*=aidefcf-wrapper-contact-us] .wpcf7 {
		display: block;
		margin: 0 auto;
	}

	.footer-bottom .footer-right img {
		width: 130px;
		margin: 5px;
	}

	.results-wrapper .slide-top {
		position: relative;
		z-index: 5;
		pointer-events: none;
	}
	.results-wrapper .btn-grp-sort {
		float: none;
		position: relative;
		top: 50px;
		pointer-events: auto;
	}
	.results-wrapper .result-count {
		float: none;
		position: relative;
		top: 47px;
	}

	.has-result .results-wrapper #breadcrumbs {
		position: relative;
		top: -45px;
	}

	.has-no-result .results-wrapper #breadcrumbs {
		top: 0;
	}

	/*.page-id-869 .results-wrapper #breadcrumbs,
	.page-id-871 .results-wrapper #breadcrumbs {
		top: 0;
	}*/

	.listing-template-default.single .thumb-wrap {
		padding: 0 14px;
	}
		
		.listing-template-default.single .thumb-wrap .slick-slide > div {
			padding: 0 6px;
		}

			.listing-template-default.single .th-item canvas {
				width: 100%;
				height: auto;
			}

			.listing-template-default.single .thumb-wrap button.slide-main-arrow-left.slick-arrow, 
			.listing-template-default.single .thumb-wrap button.slide-main-arrow-right.slick-arrow {
				font-size: 50px;
			}


			.neigh-our-listings .neigh-tabs li canvas {

				min-height: 0;
				background-size: contain;
				background-position: bottom center;
				background-repeat: no-repeat;

			}

			.featured-list .featured-item .featured-img canvas {
			    min-height: 0;
			    background-size: contain!important;
			    background-position: bottom center!important;
			    background-repeat: no-repeat;
			}

			.neigh-list .neigh-item .list-img canvas {
			    background-size: contain!important;
			    background-position: bottom center!important;
			}
			.neigh-list .neigh-item .list-img canvas[width="506"] + canvas[width="506"] {
			    display: none!important;
			}


			/*Slideshow Parallax Effect*/ 


			 section {
			    background: #1b0700;
			    z-index: 2;
			    position: relative;
			} 

			.hp-slide .slide-spacer{
			    display: block;
			    width: 100%;
			    height: 100%;
			}

			.hp-slide .cycloneslider {
			    position: fixed;
			    z-index: -1;
			    top: 0;
			    left: 0;
			    width: 100vw;
			    height: 100vh;
			}

			.hp-slide .cycloneslider .cycloneslider-slides,
			.hp-slide .cycloneslider .cycloneslider-slide,
			.hp-slide .cycloneslider .cycloneslider-slide canvas {
			    width: 100%;
			    height: 100%;   
			}

			.hp-slide {
			    z-index: 1;
			}
			  
			.mobile-logo {
			    z-index: 2;
			    position: relative;
			}

			footer {
			    position: relative;
			    z-index: 2;
			}

			.footer-git {
			    z-index: 2;
			}

			.footer-contact {
			    position: relative;
			    background: #1b0700;
			}

			.footer-bottom {
			    position: relative;
			    z-index: 2;
			    background: #1b0700;
			}

			.hp-sep1, .hp-sep1 {
			    z-index: 2;
			    position: relative;
			    /* min-height: 250px; */
			}

			.hp-sep2 {
			    position: relative;
			    z-index: 2;			}
			/*End of Slideshow Parallax Effect*/ 

	canvas.neigh-slide-canvas {
        display: block;
        width: 100%;
    }
    canvas.neigh-slide-canvas + .cycloneslider-slides {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%!important;
    }
    	canvas.neigh-slide-canvas + .cycloneslider-slides > div {
		    height: 100%;
		}
		    canvas.neigh-slide-canvas + .cycloneslider-slides > div canvas {
		        height: 100%;
		    }


	.neigh-featured .featured-list .featured-item,
	.neigh-sold .featured-list .featured-item {
		padding: 0 10px;
	}
	.neigh-open h2 {
		font-size: 35px;
	}


} 

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

	.footer-git .form-wrap .col-input,
	.footer-git .form-wrap .col-input.large,
	.footer-git .form-wrap .col-input.margin-lr,
	.footer-git .form-wrap input[type="submit"] {
		width: 100%;
		margin: 0 0 5px;
	}

	.footer-git .form-wrap input[type="submit"] {
		margin: 15px 0 0;
	}

	.results-page .results-list .results-col, 
	.results-page .results-list-sold .results-col, 
	.results-page .result-list-active .results-col {
		width: 100%;
	}

	/*** neighborhoods page ***/

	.neigh-our-listings .neigh-tabs li span {
		font-size: 14px;
	}

	.neigh-open .open-details {
		font-size: 14px;
	}

		.neigh-open .open-details span.open-address {
			font-size: 18px;
		}

		.neigh-open .open-details span em {
			margin: 0 8px;
		}
		.upcomming-form .git-input{
			width: 100%;
		}
		.upcomming-form .git-btn{
			margin-top: 10px;
		}
		.upcomming-form .git-btn{
			width: 100%;
		}



	.neigh-desc-wrap p {
		font-size: 12px;
		line-height: 20px;
	}

	/*** details page ***/

	.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 50px 40px 20px;
	}

	.prop-details-contact .det-info li {
		width: 50%;
	}
	.ip-btn-item {
		width: calc(100%/2);
	}
	.ihf-listing-bottom-left {
	    padding: 0 49% 0 0;
	}
	.ihf-listing-address{
		font-size: 11px !important;
	}
	.neigh-desc-wrap{
		padding: 50px 10px;
	}

	#ihf-main-container .ihf-market-report .ihf-market-report-header-toggle .dropdown-menu.pull-right {
		left: 0;
		right: auto;
	}

	p.mortgage-calc form .row {
	    margin: 0;
	}

	p.mortgage-calc form .col-xs-12.col-sm-4{
		margin-left: 0 !important;
	}

	
	.footer-bottom .footer-right .ftr-logo {
	    flex-wrap: wrap;
	}
	.footer-right .ftr-logo div {
	    width: 100%;
		margin-top: 30px;
		justify-content: center;
	}
}


@media only screen and (max-height: 400px) and (max-width: 991px) {
	#nav li a {
		padding: 5px 38px;
		font-size: 16px;
	}
}

@media only screen and (max-width: 560px) {
  
  	.cta-wrap .cta-list .cta-item {
	    width: 100%;
	}
}
/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {

	.section-title {
		font-size: 28px;
	}

	.details-slide button.slick-arrow{
		font-size: 25px !important;
	}


	.details-slide .slide-main button.slick-arrow{
		display: none !important;
	}

	/*new*/
	.hp-listings .listings-wrap .listings-list {
    	 margin: 0 !important; 
	}

	.results-slide-list .slick-list{
		/*width: 100%;*/
		margin: 0 !important;
	}

	.ihf-featured-property-v2 canvas,
	.neigh-our-listings canvas {
		/*background-size: contain !important;*/
	}

	.hp-listings .listings-wrap .listing-arrow {
		top: 29%;
	}

	.ai-arrow-a-n:before, .ai-font-arrow-a-n:before,
	.ai-arrow-a-p:before, .ai-font-arrow-a-p:before {
		font-size: 30px;
	}

	.slick-list {
		margin: 10px ;
	}

	.details-slide .slide-main canvas{
		/*background-size: cover!important;*/
		height: 259px;
	}
	.neigh-featured .slick-list, .neigh-sold .featured-list .slick-list {
	     margin: 0 !important;
	}
	canvas {
		background-repeat: no-repeat;
	}
	
	button.slick-arrow {
	    height: 25px !important;
	}

	.hp-listings {
	    padding: 65px 5px 0;
	}
	.neigh-our-listings .neigh-list .slick-list {
	    /*margin: 0 20px;*/
	   margin: 0 ;
	}
	/*end*/
	.header .hdr-contact .con-phone {
		display: block;
		margin-right: 0;
	}

	.header .hdr-contact {
		font-size: 13px;
	}

	.hp-fp .fp-wrap .fp-arrow {
		top: auto;
		bottom: 15px;
		transform: translateY(0);
	}

	.hp-team li {
		width: 50%;
	    display: block;
	    margin: 0 auto 10px;
	    max-width: 219px;
	}

	.cta-wrap .cta-list .cta-item {
		width: 100%;
	}

	.hp-qs .input-field {
		width: 100%;
	}

	.hp-qs input[type="submit"] {
		margin-left: 0;
		display: block;
		margin: 15px auto 0;
	}

	.footer-git .git-wrap {
		padding: 70px 20px;
	}

		.footer-git .git-wrap h2 {
			font-size: 36px;
		}

	.f-contact-wrap .contact-left {
		display: inline-flex;
		flex-direction: column-reverse;
		text-align: center;
	}

	.f-contact-wrap .contact-right {
		text-align: center;
	}

	.f-contact-wrap .contact-col {
		width: 100%;
	}

	.f-contact-wrap .contact-left .contact-logo, .f-contact-wrap .contact-right .contact-logo {
		width: 100%;
		margin-right: 0;
	}

		.f-contact-wrap .contact-logo img {
			display: block;
			margin: 0 auto 20px;
		}

	.neigh-our-listings .neigh-tabs .slick-arrow {
		width: 40px;
		height: 40px;
		background-size: 50% !important;
	}

	.page-id-1057 ul.neigh-tabs [data-tab="tab-2"] .neigh-desc-wrap {
		padding: 70px 40px 20px;
	}
	.cta-wrap .cta-list .cta-item a {
		display: block;
/*		max-width: 200px;*/
		height: 180px;
		margin: 0 auto;
	}

		.cta-wrap .cta-list .cta-item a div h2 {
			font-size: 20px;
		}

		.cta-wrap .cta-list .cta-item a div p {
			font-size: 12px;
		}

		.listing-template-default.single .thumb-wrap button.slide-main-arrow-left.slick-arrow, 
		.listing-template-default.single .thumb-wrap button.slide-main-arrow-right.slick-arrow {
			font-size: 25px;
		}
	
	.neigh-open .open-details span.open-address,
	.neigh-open .open-details span {
		margin-bottom: 15px;
	}

	.neigh-open .open-details span,
	.neigh-open .open-details span.open-address {
		font-size: 14px;
	}

	.details-slide .thumb-wrap {
		overflow: unset; 
	}
	button.slide-thumb-arrow-left.slick-arrow {
		left: 0;
	}
	button.slide-thumb-arrow-right.slick-arrow {
		right: 0;
	}

	.neigh-list .neigh-item a:hover .list-img canvas {
		background-size: contain;
	}

}

@media only screen and (max-width: 360px) {
	.hp-sep1 canvas,
	.hp-sep2 canvas{
		min-height: 350px;
	}
}
 
@media print{
	.print-img{
		display: block !important;
		height: 718px !important;
		width: 1560px !important;
	}
	.details-slide, 
	header.header, 
	.details-navigation, 
	.prop-details-contact .det-contact{
		display: none;
	}
	.prop-details-contact .det-info {
	    width: 100%;
	}
}