/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
 @media(max-width: 1440px) {
	.header .custom-container {
		width: 88%;
	}

	.header.fixed .hdr-contact {
		font-size: 20px;
	}

	.hdrnav > li > a {
		font-size: 12px;
	}

	.header .logo {
		margin-right: 20px;
	}

	 .hp-fp-accent {
		 width: 10%;
	 }
	 
}

@media(max-width:1280px) {
	.header.fixed .hdr-contact {
		font-size: 13px;
	}	

	.hdrnav > li > a {
		font-size: 11px;
	}	
	.header.fixed .hdrnav > li > a {
		font-size: 9px;
	}	
}

@media only screen and (min-width: 1200px) {
	.hp-fp-accent::before, .hp-sl-accent::before {
		background-attachment: fixed;
	}
}

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.hdrnav > li:not(:last-child) {
	    padding-right: 10px;
	    margin-right: 10px;
	}
	.section-title h1, .section-title h2, 
	#content .entry-title, #content .archive-title{
		font-size: 58px;
	}

	.hp-fp-item .canvas-img canvas, .hp-sl-item .canvas-img canvas{
		height: 700px;
	}	

	.header .logo img {
		max-width: 80px;
		height: auto;
	}

	.header.fixed .hdr-contact, .header.fixed .logo {
		margin-right: 10px;
	}

	.hdrnav > li > a {
		font-size: 9px;
	}	

	.header.fixed .hdrnav > li:not(:last-child) {
		padding-right: 5px;
		margin-right: 5px;
	}
	.hp-award-logos-list {
		justify-content: center;
	}
	.hp-award-logos-list img {
		margin-left: 15px;
		margin-right: 15px;
	}
	.hp-award-logos-list > div {
		justify-content: center;
	}	 
	.hp-oh-spec {
		padding: 0 6px;
	}	
	.hp-oh-item-bottom .section-btn {
		min-width: auto;
	}
	.hp-ctas-list li a,
	.hp-ctas-list li a.cta-small {
		font-size: 27px;
	}
} 

@media(max-width: 1002px) {
	html #listings-results .listings-table .listings-table-body .listings-type {
		min-width: unset;
	}
}

@media(min-width: 992px) {
	.post-aios-agents-cheri-meckley #agents-single .agents-listings {
		margin-bottom: 260px;
	}	
}

/* 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%;
	}

	/* custom */
	.header {
		margin-top: 50px;
		z-index: 2;
	}
		
	
	.header .logo {
		margin: 0 auto;
		
	}
	
	.hidden-mobile {
		display: none;
	}

	.flex-wrap-mobile {
		flex-wrap: wrap;
	}

	.section-title, .section-title h1, .section-title h1, .section-title h1.text-right, .section-title h2.text-right, .section-title h1, .section-title h2 {
		text-align: center;
		width: 100%;
	}

	.section-title h1 span.line-number, .section-title h2 span.line-number {
		position: relative;		
		left: auto;		
		display: block;
		bottom: auto;
		top: auto;
		margin-bottom: 30px;
		text-align: center;
	}

	.hp-slide-control {
		margin-top: 30px;
	}

	.hp-fp-accent, .hp-sl-accent {
		display: none;
	}

	.hp-about-text-top {
		float: none;
		display: inline-block;
		vertical-align: top;
		text-align: center;
	}
	.hp-about-text-top img {
		display: block;
		float: none;
		margin: 0 auto 15px;
	}

	.hp-ctas-accent.a-left {
		width: 100%;
	}

	.hp-sm-feed-item {
		width: 50%;
	}
	
	 .hp-sm-feed-source {
		 width: 100%;
		 order: 0;
	 }

	.footernav li {
		display: block;
		margin: 10px 0;
	}

	.footernav li:not(:last-child)::after {
		display: none;
	}

	.hp-oh-list {
		max-width: 325px;
		margin: 0 auto;
	}

	.hp-fp-item-details, .hp-sl-item-details {
		right: auto;
		left: 50%;
		top: 50%;
		transform: translate(-50%,-50%);			
	}

	.hp-fp-item-tagline, .hp-sl-item-tagline {
		width: 100%;
		top: 40px;
		transform: translateY(0);
	}

	.hp-fp-specs, .hp-sl-specs {
		opacity: 1;
		background: #000;
		position: relative;
		bottom: auto;
		padding: 10px;
		width: 100%;
	}

	.hp-fp-spec, .hp-sl-spec {
		font-size: 15px;
	}

	.hp-fp-spec:not(:last-child)::after,
	.hp-sl-spec:not(:last-child)::after {
		margin: 0 5px;
	}
	

	.hp-award-logos-list {
		justify-content: center;
	}

	.hp-ctas-list {		
		padding: 0;
	}

	.hp-slider-tagline {
		top: 60%;
	}
	.hp-slider-tagline h1, .hp-slider-tagline h2 {
		font-size: 70px;
	}	

	#pojo-a11y-toolbar {
		display: none;
	}		

	.hp-ctas-list {
		width: 100%;
	}

	.hp-ctas-list li a, .hp-ctas-list li a.cta-small {
		font-size: 20px;
	}

	#content .archive-list .article-long .archive-has-thumbnail {
        width: 100%;
        margin: 0 auto;
    }

    #content .archive-list .article-long .archive-thumbnail {
        width: 100%;
    }

    #content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
        margin-top: .75em;
    }

    #content .archive-list .article-long p {
        font-size: 16px;
    }

	.hp-team .canvas-bg  {
		position: relative;	
	}	
	.hp-team .team-wrap {
		background: #000;
		padding-top: 60px
	}
	.hp-team .canvas-bg.section-logo-bg {
		display: none;
	}
} 

@media(max-width: 768px) {
	html .agents-box {
		max-width: 367px;
		margin: 0 auto;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }

	.hp-slider-tagline::before {
		width: 100%;
	}

	.hp-fp-item-details {
		width: 90%;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.section-title h1, .section-title h2, 
	#content .entry-title, #content .archive-title{
		font-size: 40px;
	}

	.hp-slide-control {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.hp-slide-control .section-btn {
		order: 3;
		margin-top: 30px;
	}

	.hp-slider-tagline h1, .hp-slider-tagline h2 {
		font-size: 50px;
	}	
	
	.footer-contact-list {
		flex-direction: column;
		line-height: 1.5;
	}
	.footer-contact.with-divider::after{
		display: none
	}	
	#content #ai-modern-contact .ai-modern-contact-title span {
		font-size: 20px;
	}
	#content  #ai-modern-contact .ai-modern-contact-title img {
	  width: 50px;
	}
	html #agents-single .agents-contact li.agent-email-address {
		margin-top: 0
	}
	html #agents-single .agents-contact li {
		margin: 0 !important;
	}
	html #agents-single .agents-button {
		margin-top: 30px;
	}	
}
 
