/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1366px) {
	.hp-qs-hdr {
	    padding: 30px 20px 25px;
	}

	.hp-qs-hdr h4 {
	    font-size: 40px;
	}

	.hp-qs-hdr h5 {
	    font-size: 18px;
	}

	.qs-title {
	    font-size: 18px;
	    margin: 20px auto 13px;
	}

	.qs-form {
	    padding: 0 20px 20px;
	}

	.cta-label span strong {
	    font-size: 40px;
	}

	.slider-holder .ai-arrow-a-p, 
	.slider-holder .ai-arrow-a-n {
	    font-size: 80px;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-prev {
	    left: -25px !important;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-next {
	    left: 25px !important;
	}

	.slide-arrow-area {
	    top: 47%;
	}

} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	nav.header-nav ul#nav > li > a{
	    font-size: 13px;
	    padding: 13.5px 34px;
	}

	.slider-holder .ai-arrow-a-p, 
	.slider-holder .ai-arrow-a-n {
	    font-size: 55px;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-slide canvas {
	    min-height: 570px;
	}

	.fixed-header .hdr-name {
	    font-size: 25px;
	    letter-spacing: 1px;
	}

	.fixed-header .hdr-name .sub-title {
	    font-size: 11px;
	    letter-spacing: 2px;
	    white-space: nowrap;
	}

	.fixed-header .header-nav #nav-fixed > li > a {
	    padding: 10px 5px;
	}

	.hp-qs-hdr h4 {
	    font-size: 35px;
	}

	.hp-qs-hdr h5 {
	    font-size: 16px;
	}

	.cta-label span strong {
	    font-size: 35px;
	}

	.cta-label span {
	    font-size: 15px;
	}

	.wc-content h1 span {
	    font-size: 35px;
	    line-height: 30px;
	}

	.wc-content {
	    padding-top: 10px;
	}

	.expertise-site-title {
	    font-size: 39px;
	    letter-spacing: 4px;
	}

	.expertise-site-title span {
	    font-size: 16px;
	    letter-spacing: 2px;
	    white-space: nowrap;
	}

	.mls em {
	    margin-right: 10px;
	}

	.mls img {
	    width: 170px;
	}

	.fp-title,
	.blog-title,
	.testi-title,
	.fc-title,
	.areas-title {
	    font-size: 15px;
	}

	.fp-title span,
	.blog-title span,
	.testi-title span,
	.fc-title span,
	.areas-title span {
	    font-size: 35px;
	}

	.sidebar-contacts span, 
	.sidebar-contacts span a {
	    font-size: 13px;
	}

	.sidebar-contacts span i {
	    font-size: 10px;
	}

	.sidebar-cta .cta-label span strong {
	    font-size: 25px;
	}

	.sidebar-cta .cta-label span {
	    font-size: 14px;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-prev {
	    left: -20px !important;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-next {
	    left: 20px !important;
	}
	.hdr-name {
		font-size: 50px;
	}
} 

/* 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%;
	}

	.ip-banner {
	    display: none;
	}

	header.main-header {
	    position: relative !important;
	    z-index: 101;
	    margin-top: 54px;
	    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
	}

	.header-title {
	    text-align: center;
	}

	.header-logo img, .hdr-name img{
	    margin: 0 auto;
	}

	.header-bottom,
	.header-top,
	.fixed-header,
	.slider-holder .cycloneslider-template-responsive .cycloneslider-prev, 
	.slider-holder .cycloneslider-template-responsive .cycloneslider-next{
		display: none;
	}

	.slider-holder .cycloneslider-template-responsive .cycloneslider-slide canvas {
	    min-height: auto;
	}

	.quick-search-area {
	    position: relative;
	    bottom: 0;
	    padding: 30px 0 0;
	}

	section.cta-area {
	    margin-top: 0;
	    padding: 30px 0 0;
	}

	.qs-holder {
	    max-width: 460px;
	    margin: 0 auto;
	}

	.fp-holder {
	    margin: 0 auto;
	    max-width: 360px;
	}

	.hp-qs-hdr,
	.qs-title {
	    text-align: center;
	}

	.long-form {
	    width: 100%;
	}

	.short-form {
	    width: 50%;
	}

	.cta-list a {
	    margin: 0 auto 15px;
	}

	.fp-title, 
	.blog-title, 
	.testi-title, 
	.fc-title, 
	.areas-title {
	    text-align: center;
	}

	.wc-content h1 {
	    text-align: center;
	    margin-top: 15px;
	}

	.wc-content p {
	    text-align: center;
	}

	.blog-arrows,
	.testi-arrows {
	    text-align: center;
	}

	.blog-arrows span,
	.testi-arrows span {
	    margin: 0 4px;
	}

	.testimonials-area {
	    margin-top: 40px;
	}

	.blog-list,
	.testi-list {
	    text-align: center;
	}

	.featured-communities-area {
	    max-width: 360px;
	    margin: 40px auto 0;
	}

	.expertise-site-title {
	    text-align: center;
	    padding: 50px 0 0;
	}

	.area-of-expertise-content {
	    padding: 48px 0;
	}

	.footernav li:first-child {
	    padding-left: 10px;
	}

	ul.footernav {
	    text-align: center;
	}

	.footer-copyright, .footer-credit-disclaimer {
	    margin-top: 10px;
	    text-align: center; 
	    line-height: 24px;
	}

	.mls {
	    text-align: center;
	    margin-top: 20px;
	}

	.sidebar-contacts span, .sidebar-contacts span a {
	    font-size: 15px;
	}

	.sidebar-contacts span i {
	    font-size: 12px;
	}

	.header-middle {
	    padding: 25px 0 27px;
	}
		
    section.featured-areas-section {
        background-repeat: repeat-y;
        background-size: auto;
    }


.hdr-name a {
	/*display: block*/;
	text-align: left;
}

.amh-header-buttons.amh-3a .amh-center .amh-phone, .amh-header-buttons.amh-3a .amh-center a.amh-phone,
.ai-font-menu, .amh-email
{
	color: #2e25e8;
}

.aios-mobile-header-1 .amh-navigation .amh-menu li:hover > a, .aios-mobile-header-1 .amh-navigation .amh-menu li.open > a {
	background:#2e25e8 !important;
}

.wc-agent-photo img {
	max-width: 200px;
}
.aios-mobile-header-1 .amh-navigation .amh-menu li ul li a {
	background:#2e25e8 !important;
}

.aios-mobile-header-1 .amh-navigation .amh-menu li ul li:hover a {
	background: #81d742 !important;
}

.logo-broker {
	justify-content: center;
	/*flex-direction: column;*/
}

.logo-broker a {
    margin-bottom: 15px;
}

.ai-font-realtor {
  display: none;
}

.expertise-site-title img {
   margin: 0 auto;
}


.logo-broker img {
    width: 100%;
    margin: 2px 0;
    padding: 0 5px;
}

.post-page-exposure-engine #content .alignnone {
    clear: both;
    margin: 10px auto; 
    padding: 10px 0;
}

    body #pojo-a11y-toolbar {
        display: none;
    }

.single-aios-agents #agents-single .agents-button {
    margin: 0 auto !important;
}

	.page-id-458 #agents-results .agents-list .agents-box-row {
		max-width: 970px;
	}

	.page-id-458 #agents-results .agents-list .agents-box-col > .agents-box,
	.page-id-458 #agents-results .agents-list .agents-box-col > .agents-box:hover {
		width: 50%;
	}

} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }

    .hdr-name {
	    font-size: 35px;
	    /*letter-spacing: 15px;*/
	}

	.hdr-name .sub-title {
	    font-size: 17px;
	    letter-spacing: 5px;
	}

	.area-of-expertise-content ul li {
	    /*width: calc(100% / 2);*/ 
	    width: 33.333%; 
	    padding: 0 5px;
	}

	.footernav li {
	    margin-bottom: 7px;
	}

	.mls img {
	    display: block;
	    margin: 15px auto 0;
	}

	.mls em {
	    margin: 0 5px;
	}

	.area-of-expertise-content ul {
	    margin-left: 0;
	    flex-direction:unset;
	    text-align: center;
	    align-items: center;
	}

	.area-of-expertise-content ul {
	    margin-left: 0;
	    flex-direction: unset;
	    text-align: left;
	    align-items: center;
	    max-width: 480px;
	    margin: 0 auto; 
	    flex-wrap: wrap;
	}
    
    .fp-photo canvas {
        min-height: 240px;
    }


.area-of-expertise-content ul li a {
	font-size: 12px;
}

#agents-single .agents-img {
	max-width: 360px;
	margin: 0 auto;
}

	.page-id-458 #agents-results .agents-list {
		margin: 0 auto;
		max-width: 400px;
	}

	.page-id-458 #agents-results .agents-list .agents-box-col > .agents-box,
	.page-id-458 #agents-results .agents-list .agents-box-col > .agents-box:hover {
		width: 100%;
	}

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.hdr-name {
	    /*letter-spacing: 5px;*/
		font-size: 25px;
	}

	.hdr-name .sub-title {
	    font-size: 15px;
	    letter-spacing: 2px;
	}

	.hp-qs-hdr h4 {
	    font-size: 25px;
	}

	.hp-qs-hdr h5 {
	    font-size: 12px;
	}

	.wc-content h1 span {
	    font-size: 27px;
	}
	.hdr-name img {
		width: 100%;
	  height: auto;
	  display: block;
	}

	.area-of-expertise-content ul li {
	    /*width: calc(100% / 2);*/ 
	    width: 50%; 
	    padding: 0 5px;
	}

.area-of-expertise-content ul {
	max-width:300px;
}

.idx-text-center {
  text-align: left !important;	
}

#agents-single .agents-contact li.agent-email-address {
	    margin: 0px auto !important;
}


}
 
