/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-height: 750px) {
	.agentpro-navigation {
		margin: 20px 0;
	}

	#nav li a {
		font-size: 12px;
		padding: 7px 0;
	}
}

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.agentpro-header-home {
		width: 230px;
	}
	.agentpro-widgets {
	    width: 74%;
	    margin-left: 26%;
	}
	.agentpro-logo {
	    padding-top: 10px;
	}
	.agentpro-navigation {
		margin: 15px 0 20px;
	}
		.agentpro-header-ip #nav > li {
			padding: 0 5px;
		}
		.agentpro-header-ip #nav li a {
			font-size: 10px;
		}
	.agentpro-contact-info {
	    padding: 5% 0;
	}
	#welcome .wc-content {
		padding-left: 30px;
	}
	a.cta {
		font-size: 14px;
	}
	.side_cta a.cta {
	    font-size: 12px;
	}
	.footernav li {
		padding: 0 5px;
	}
		.footernav li a {
			font-size: 10px;
		}

	.ihf-details-template #listings-details .listings-smi ul > li {
	    padding: 5px;
	}
} 

/* 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%;
	}
	.mob_hidden {
		display: none;
	}
	.agentpro-widgets {
	    width: 100%;
	    margin-left: 0;
	}
	.ip-container .agentpro-header {
		top: 0;
	}
	.agentpro-header {
		position: relative;
		background: var(--primary-header-bg);
		z-index: 1;
		padding: 52px 0 0;
	}
		.agentpro-header-home {
			width: 100%;
			position: relative;
		}
			.agentpro-header-home::before {
				display: none;
			}
			.agentpro-logo,
			.agentpro-header-ip .agentpro-logo {
			    padding: 30px 0;
			    text-align: center;
			}
			.agentpro-header-ip .agentpro-logo a h2,
			.agentpro-logo a h2 {
				font-size: 41px;
			}
				.agentpro-header-ip .agentpro-logo a h2 span,
				.agentpro-logo a h2 span {
					font-size: 55px;
				}

		.agentpro-header-ip {
			display: block;
			padding: 0;
		}
	#welcome .agentpro-welcome-left, #welcome .agentpro-welcome-right {
		padding: 40px 15px;
	}	
	#welcome .wc-content{
		padding-left: 0;
	}
	.agentpro-section-5 {
		margin-bottom: 40px;
	}
	.agentpro-section-6 {
		padding: 40px 0;
	}

	#inner-page-wrapper {
		padding-top: 0;
	}
	.side_cta a.cta {
	    font-size: 15px;
	}
	.agentpro-footer img.foot_cire {
		max-width: 100%;
		margin-top: 20px;
	}
	.page-id-389 .agent-holder .agent-description a{
		margin: 35px auto 0;
	}
	#pojo-a11y-toolbar {
        display:none;
    }

    .category-blog #content .archive-list .article-long .archive-has-thumbnail {
	    width: 100%;
	    margin-left: 0;
	}

	.category-blog #content .archive-list .article-long p {
	    font-size: 16px;
        text-align: center;
	}

	.category-blog #inner-page-wrapper {
	    text-align: center;
	}

	.category-blog #content .archive-list .article-long .archive-thumbnail {
	    width: 100%;
	}

	#slideshow .cycloneslider-template-responsive .cycloneslider-caption-description {
	    font-size: 20px !important;
	}

	.slider-award {
	    max-width: 150px;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.slider-award {
	    max-width: 100px;
	}
	#slideshow .cycloneslider-template-responsive .cycloneslider-caption {
	    bottom: 5%;
	}
    .ip-banner .container{
        width: 100%;
    }
    #welcome .agentpro-welcome-left,
    #welcome .agentpro-welcome-right,
    #recent-posts, #testimonials {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
    }
    .agentpro-section-2 {
		margin-top: 0;
	}
	    .agentpro-section-2 > div,
	    .agentpro-section-2 > div:last-child {
	    	margin-top: 40px;
	    	margin-bottom: 40px;
		}
			.agentpro-section-2 > div::before, 
			.agentpro-section-2 > div::after {
				content: '';
				display: table;
				clear: both;
			}
			#welcome .agentpro-welcome-left {
				background: none;
				min-height: initial;
			}
				#welcome h1 {
					margin-bottom: 15px;
				}
				#welcome p {
					padding-right: 0;
				}
			#welcome .agentpro-welcome-right {
				padding-top: 0;
			}
	#featured-areas ul li {
		width: 50%;
	}
	#recent-posts,
	#testimonials {
		margin-top: 15px;
		margin-bottom: 15px;
		padding-left: 15px;
		padding-right: 15px;
	}
		#recent-posts {
			background: none;
		}
		#testimonials {
			margin-top: 50px;
		}
		.agentpro-blog-list {
			padding-right: 0;
		}
		.agentpro-section-6 h2 {
			margin-top: 0;
		}

	.agentpro-footer {
		text-align: center;
	}
	.agentpro-footer img.foot_cire {
		margin-right: auto;
	}
	.footernav li {
		margin-bottom: 5px;
	}
		.footernav li a {
			font-size: 12px;
		}

	.footernav li {
	    display: block;
	    border-left: none;
	}

	#slideshow .cycloneslider-template-responsive .cycloneslider-caption-description {
	    font-size: 15px !important;
	    width: 80% !important;
	    line-height: 25px !important;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.slider-award {
	    max-width: 80px;
	}
	.agentpro-slick {
		display: block;
	}
		.agentpro-slick .col-xs-6 {
			width: 100%;
			float: none;
			text-align: center;
		}
		.agentpro-slick-img-list {
			margin: 30px auto 0;
			max-width: 326px;
		}
		#featured-communities .agentpro-slick-details-item h3 {
			margin: 15px 0;
		}
		.agentpro-slick a.btn-a {
			margin-left: auto;
			margin-right: auto;
		}
	#featured-areas ul li {
		width: 100%;
	}

	.cycloneslider-template-responsive .cycloneslider-caption {
	    display: block !important;
	}

	#slideshow .cycloneslider-template-responsive .cycloneslider-caption-description {
	    font-size: 12px !important;
	    width: 100% !important;
	    line-height: 15px !important;
	}

	#slideshow .cycloneslider-template-responsive .cycloneslider-caption {
	    height: auto !important;
	    bottom: 15px !important;
	}

	/* Center Recent Posts */
	/*.agentpro-section-6 #recent-posts h2 {
		text-align: center;
	}
	.agentpro-blog {
		display: block;
	}
		.agentpro-blog-img {
			width: 100%;
			max-width: 100px;
			margin: 0 auto 15px;
			display: block;
		}
		.agentpro-blog-details {
			width: 100%;
			text-align: center;
		}
		.agentpro-section-6 .btn-a {
			margin-right: auto;
		}*/
}


@media print {
    .sidebar, header, footer, .ip-banner, #breadcrumbs,
    .page-id-0 #content .entry > a:first-child, #ihf-detail-navrow, #ihf-leadcapture-btns, 
    .page-id-0 #content .entry > a:first-child ~ br,
    .ihf-contiguous-links {
        display: none;
    }
    #inner-page-wrapper {
        margin-top: 0 !important;
    }
    #content-sidebar #content {
        width: 100%;
    }
    #ihf-main-container h4.ihf-address, #ihf-main-container h4.ihf-price {
        margin: 0;
    }
    #content .entry-title, #content .archive-title {
        font-size: 25px;
        margin-top: 0;
    }
    #content-sidebar, #content-full {
        margin-top: 0;
    }
}
