/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-height: 800px) {
	.burger-menu .burger-contact {
		bottom: 10px;
	}

	span.ihf-grid-result-address {
	    font-size: 12px !important;
	}
}

@media only screen and (max-width: 1400px) {

	.fixed-header .hdrnav li {
		padding: 3px 25px;
	}

	.hp-map h2 {
		font-size: 38px;
	}

	.hp-map .map-right li > a {
		font-size: 18px;
	}

	.hp-cta .cta-item a h2 {
		font-size: 24px;
	}

}

@media only screen and (max-width: 1300px) {

	.fixed-header .hdrnav li {
		padding: 3px 20px;
	}

	.hp-map h2 {
		font-size: 34px;
	}

	.hp-map .map-right li > a {
		font-size: 16px;
	}

	.hp-cta .cta-item a h2 {
		font-size: 22px;
	}

}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {

	.fixed-header .fixed-logo {
		width: 250px;
	}

	.fixed-header .fixed-nav {
		width: calc(100% - 385px);
	}

	.hdrnav li {
		padding: 3px 23px;
	}

	.fixed-header .hdrnav li {
		padding: 3px 10px;
	}

	.hp-map h2 {
		font-size: 26px;
	}

	.hp-map .map-right {
		padding: 30px 30px 60px;
	}

		.hp-map .map-right li > a {
			font-size: 12px;
		}

		.hp-map .map-right li .sub-links a {
			font-size: 10px;
		}

	.hp-fl .fl-inner h2,
	.welcome-left h1 {
		font-size: 48px;
		line-height: 43px;
	}

	.hp-cta .cta-item a h2 {
		font-size: 30px;
	}

	.hp-news .news-details .news-title {
		font-size: 16px;
		line-height: 18px;
	}

	.hp-news .news-item .news-details {
		line-height: 20px;
	}

	.footer-contact .f-logo.contact-col img {
		max-width: 300px;
	}

	.footer-contact .al-top {
		width: 790px;
	}

	.ip-banner a.hdr-link img {
		width: 90%;
		max-width: 350px;
		top: 60%;
	}

	.side-cta .cta-item a h2 {
		padding: 0 15px 0;
		font-size: 20px;
	}

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	.welcome-video-mobile iframe{
		max-width: 100%;
	}

	.ip-banner::before{

    background: rgb(189 189 189 / 40%);
	}

	.ip-banner a img{

    max-width: 300px;
	}




	.hp-news:after {
        position: absolute;
        content: '';
        right: 0;
        top: -1px;
        width: 100%;
        height: 105%;
        
        background-attachment: scroll;
        background-size: cover;
        z-index: 2;
    }

	.hide-mobile {
		display: none !important;
	}

	.hp-logo {
		/*padding: 70px 20px 20px;
    	background: #282828;
    	height: auto !important;*/
    	padding: 0;
	    background: rgba(40, 40, 40, 0.24);
	    height: auto !important;
	    position: absolute;
	    height: 100% !important;
	    width: 100%;
	    text-align: center;
	}

	.hp-logo > div {
	    height: 100%;
	}

		.hp-logo img {
		    position: absolute;
		    width: 100%;
		    max-width: 300px;
		    display: inline-block;
		    vertical-align: middle;
		    left: 50%;
		    top: 25%;
		    transform: translate(-50%, -50%);
		    margin: 0;
		}

	.hp-slide {
		position: relative;
		height: auto;
		/*display: none;*/
	}

			.hp-slide-area:before {
				display: none;
			}

		.hp-logo a {
			position: relative;
		    left: 0;
		    top: 52px;
		    transform: translate(0, 0);
		    display: block;
		    height: calc(100% - 52px) !important;
		}

			.hp-logo img.logo-coldwell {
				max-width: 150px;
			}

		.hp-slide .cycloneslider-template-responsive,
        .hp-slide .cycloneslider-template-video,
        .cycloneslider-template-video .canvas-holder {
			height: auto !important;
			width: 100% !important;
		}
		

	.hp-map .map-right {
		width: 100%;
	}

	.hp-fl .fl-inner {
		padding: 90px 30px;
	}

	.hp-fl .fl-inner .fl-left,
	.hp-fl .fl-inner .fl-right {
		width: 100%;
	}

		.hp-fl .fl-inner .fl-left a {
			max-width: 360px;
			margin: 15px auto 0;
		}

		.hp-fl .fl-list {
			margin-top: 30px;
		}

	.hp-welcome:after {
		display: none;
	}

	.hp-welcome .welcome-video-mobile {
		display: block;
	}


	.welcome-left .text-inner {
		width: 100%;
		right: 0%;
		height: 150%;
	}

	.welcome-left a {
		position: relative;
	    display: block;
	    bottom: 0;
	    left: 0;
	    margin-top: 30px;
	}

		.welcome-left .text-inner:after {
			display: none;
		}

	.welcome-right {
		position: unset;
	}

		.welcome-right img {
			position: relative;
			display: block;
			margin: 30px auto 0;
			right: 0;
		}

		.welcome-right:after {
			left: 0;
			width: 100%;
			display: none;
		}

	.hp-cta .cta-item {
		width: 50%;
		margin-bottom: 6px;
	}

	.hp-stats .stat-col {
		margin: 5px 0;
	}

	.hp-foundation {
		padding-bottom: 95px;
	}

		.hp-foundation .inner-text:after {
			display: none;
		}

		.hp-foundation .inner-text {
			padding-bottom: 45px;
		}

		.hp-foundation .gallery-list {
			margin-top: 30px;
		}

	.hp-reviews {
		background: url('images/slide1.jpg') center;
    	background-size: cover;
	}

	.footer-contact .textwidget {
		display: block;
	}

		.footer-contact .al-top {
			display: block;
			width: 100%;
    		justify-content: unset;
		}

		.footer-contact .f-logo.contact-col,
		.footer-contact .contact-col {
			display: block;
		}

			.footer-contact .f-logo.contact-col img {
				margin: 0 auto;
				display: block;
				max-width: 100%;
			}

			.footer-contact .contact-col {
				padding: 30px 0;
				text-align: center;
			}

			.footer-contact .contact-col.f-smi {
				display: block;
				width: 100%;
				text-align: center;
				padding: 0;
			}

	.footer-git .form-wrap p {
		padding: 0;
	}

	.footer-awards .awards-logo {
		display: block;
		text-align: center;
	}

		.footer-awards .awards-logo img {
			display: inline-block;
			vertical-align: middle;
			margin: 0 15px;
		}

	.footernav li a {
		padding: 0 10px;
		line-height: 16px;
	}

	.hp-fl .fl-inner h2, .welcome-left h1,
	.hp-stats h2 {
		font-size: 7vw;
		line-height: 7vw;
	}

		.hp-fl .fl-inner h2 {
			text-align: center;
			display: block;
		}

		.hp-fl .fl-inner h2:after {
			display: none;
		}

		.hp-fl .fl-inner h2 em:before {
			left: 50%;
			margin-left: -50px;
		}

		.hp-fl .fl-inner h2 em:after {
			left: 50%;
		}

	.footer-git h2 {
		font-size: 6vw;
		line-height: 6vw;
	}

	/*Communities*/
	.page-id-48 .comm-wrap {
		text-align: center;
	}
	.page-id-48 .comm-list {
		width: 100%;
	}

	.ip-btn {
		margin: 10px auto;
	}

	/* The following are used on inner pages. Please edit carefully. */

	.ip-banner a.hdr-link span {
		/*position: relative;
	    left: 0;*/
	    top: 60%;
	    /*transform: translate(0,0);
	    background: #282828;
	    padding: 70px 20px 20px;
	    display: block;
	    width: 100%;
	    max-width: 100%;*/
	}

		.ip-banner a.hdr-link img {
			margin: 10px auto;
			width: 100%;
			max-width: 500px;
		}

			.ip-banner a.hdr-link img.logo-coldwell {
				max-width: 150px;
			}

	.ip-banner canvas {
		/*min-height: 200px;*/
	}

	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}

	.welcome-left a.welcome-btn {
	    position: relative;
	    left: auto;
	    right: auto;
	    margin: 10px auto 0;
	    bottom: 0;
	}

	#content .about-info {
		display: block;
		text-align: center;
		margin-top: 20px;
	}

	#content .about-content {
	    margin-top: 30px;
	}
}

@media only screen and (max-height: 600px) {





	.hp-fl .fl-item .fl-details .view-more {
	    font-size: 12px;
	    width: 166px;
	    height: 40px;
	    line-height: 40px;
	}

	.hp-fl .fl-item .fl-details span {
	    font-size: 13px;
	}

	.hp-fl .fl-item .fl-details .fl-price {
	    font-size: 22px;
	    margin-bottom: 10px;
	}

	.burger-menu .burger-contact {
		bottom: 0;
	}

	.burger-menu #menu-burger-menu > li {
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 991px) {
	.footer-awards .awards-logo img {
		display: none;
	}
	.footer-awards .awards-logo img[src*="awards-logo3.png"],
	.footer-awards .awards-logo img[src*="awards-logo4.png"],
	.footer-awards .awards-logo img[src*="awards-logo6.png"] {
		display: inline-block;
		transition: none
	}
	.footer-awards .awards-logo img[src*="awards-logo6.png"] {
		display: block;
		margin: 15px auto 0;
	}
}

@media only screen and (max-width: 991px) and (min-height: 500px) {
	.hp-video-pop .video-pop {
		height: auto;
		transform: scale(0) translate(-50%, -50%);
		top: 50%;
		left: 50%;
	}

		.hp-video-pop .video-pop.active {
			transform: scale(1) translate(-50%, -50%)
		}

		.hp-video-pop .video-pop video {
			max-width: 100%;
		}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {

	.ip-banner a img{

   	 max-width: 150px;
	}


	.hp-fl .fl-list .fl-item {
		width: 100%;
	}

	.hp-cta .cta-item {
		width: 100%;
		display: block;
		max-width: 360px;
		margin: 0 auto 6px;
	}

		.hp-cta .cta-item a h2 {
			padding: 0 15px;
		}

	.hp-foundation .foundation-logo {
		display: block;
		margin: 0 0 20px;
	}

	.hp-reviews .review-list {
		display: block;
	    width: 100%;
	    margin-top: 30px;
	}

	.hp-news .news-item {
		padding: 30px;
	}

		.hp-news .news-item .news-photo {
			display: block;
			margin: 0 auto 20px;
			max-width: 360px;
		}

		.hp-news .news-item .news-details {
			width: 100%;
			text-align: center;
		}

    .ip-banner .container{
        width: 100%;
    }

    .ip-banner a.hdr-link span {
    	top: 58%;
    }

	.ip-banner canvas {
		min-height: 350px;
	}

	.hp-logo img{
		max-width: 150px;
	}

	#content .entry-title, #content .archive-title {
		font-size: 36px;
	}

	.agent-holder .render-all-description a {
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {

	.ip-banner canvas {
		min-height: 260px;
	}

	#ihf-main-container .btn-group .btn-group {
        float: right !important;
    }

    .footer-contact .contact-col {
    	/*font-size: 13px;*/
    	font-size: 4vw;
    	letter-spacing: .04em;
    	line-height: 1.65;
    }

}
@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,
    .hdrnav,
    .footernav
    {
        display: none !important;
    }
    #content{
        width: 100% !important;

    }
    div#inner-page-wrapper{
        padding-top: 0px;
    }
    #inner-page-wrapper{
        margin-top:-50px;
    }
}
