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

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

	#slideshow .aios-slider.aios-slider-template-default .splide .splide__arrow--next,
	.slideshow-next {
		right: 30px;
	}

	#slideshow .aios-slider.aios-slider-template-default .splide .splide__arrow--prev,
	.slideshow-prev {
		left: 28%;
	}

	.sc-right {
		padding: 0 50px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.agentpro-header-inner .agentpro-logo {
		width: 31%;
	}

	.agentpro-header-inner .agentpro-navigation {
		width: 69%;
	}

	#nav>li {
		padding: 0 5px;
	}

	.slideshow-content .container {
		min-height: initial;
	}

	.sc-left {
		width: 22%;
	}

	.agent-info {
		padding: 10px 15px;
	}

	.agent-info strong {
		font-size: 20px;
	}

	.agent-info a.asis-mailto-obfuscated-email {
		font-size: 13px;
	}

	.agent-logo img {
		max-width: 80%;
	}

	.social-media {
		padding: 20px 15px 15px;
		text-align: center;
	}

	.social-media a {
		width: 35px;
		height: 35px;
		line-height: 35px;
	}

	.sc-right {
		width: 75%;
	}

	.qs-form select,
	.qs-form input[type=submit] {
		font-size: 12px;
		padding: 8px 4px;
	}

	.sidebar a.cta span {
		font-size: 13px;
	}

	.sidebar a.cta {
		font-size: 16px;
	}

	.footer-form .ff-col {
		width: 48.2%;
	}

	#nav>li {
		padding: 0 3px;
	}

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

	.custom-quick-search ul.dropdown-menu.inner {
		max-height: 128px !important;
	}
}

/* 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 !important;
	}

	.amh-fixed-header-nav {
		color: var(--primary-color);
	}

	header.agentpro-header,
	header.agentpro-header.fixed {
		position: relative;
		background: var(--primary-color);
		z-index: 1;
		padding: 52px 0 0;
	}

	.agentpro-header-inner {
		padding: 0;
	}

	.agentpro-header-inner .agentpro-logo,
	.fixed .agentpro-header-inner .agentpro-logo {
		width: 100%;
		font-size: 35px;
	}

	.agentpro-header-inner .agentpro-logo em,
	.fixed .agentpro-header-inner .agentpro-logo em {
		font-size: 14px;
	}

	.agentpro-section-1 {
		padding-top: 0;
		background: var(--primary-footer-bg);
	}

	#slideshow {
		position: relative;
	}

	#slideshow .aios-slider.aios-slider-template-default .splide .splide__arrows {
		display: none;
	}

	.sc-left {
		width: 100%;
	}

	.agent-info-box-wrap {
		margin: 0 auto;
	}

	.agent-info {
		text-align: center;
	}

	.agent-info strong {
		font-size: 26px;
	}

	.agent-info a.asis-mailto-obfuscated-email {
		font-size: 15px;
	}

	.agentpro-section-2 {
		padding: 30px 0;
	}

	.qs-form select.dp-large {
		width: calc(50% - 5px);
		margin: 2.5px;
	}

	.qs-form select.dp-small,
	.qs-form select.dp-medium {
		width: calc(25% - 5px);
		margin: 2.5px;
	}

	.custom-quick-search {
		width: calc(50% - 5px);
		margin: 0 2.5px;
	}

	.qs-form input[type=submit] {
		width: 290px;
		margin-top: 2.5px;
	}

	.agentpro-section-4 {
		text-align: center;
	}

	#featured-communities {
		margin-top: 40px;
	}

	.featured-list {
		max-width: 360px;
		margin: auto;
	}

	.testimonials-list .slick-arrow.slick-prev {
		left: -50px;
	}

	.testimonials-list .slick-arrow.slick-next {
		right: -50px;
	}

	#welcome {
		margin-bottom: 40px;
		padding-right: 15px;
	}

	#welcome:before {
		display: none;
	}

	.footer-bottom,
	.footer-logo {
		text-align: center;
	}

	.footer-logo {
		margin-top: 20px;
	}

	.footer-form {
		margin-top: 30px;
	}

	.footer-form .ff-row {
		margin-bottom: 20px;
	}

	.footer-form .ff-row:before,
	.footer-form .ff-row:after {
		content: '';
		display: table;
		clear: both;
	}

	.footer-form .ff-col {
		float: left;
	}

	.footer-form .ff-col+.ff-col {
		float: right;
	}

	#inner-page-wrapper {
		padding-top: 0;
	}

	#content-sidebar aside {
		margin-top: 30px;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {
	.ip-banner .container {
		width: 100%;
	}

	.qs-form select.dp-large {
		width: calc(100% - 5px);
		margin: 2.5px;
	}

	.custom-quick-search {
		width: calc(100% - 5px);
	}

	.qs-form select.dp-small,
	.qs-form select.dp-medium {
		width: calc(50% - 5px);
		margin: 2.5px;
	}

	.testimonials-list .slick-arrow {
		height: 38px;
		top: 102%;
	}

	.testimonials-list .slick-arrow:before {
		font-size: 37px !important;
		line-height: 37px !important;
	}

	.testimonials-list .slick-arrow.slick-next {
		right: 50%;
		transform: translateX(150%);
	}

	.testimonials-list .slick-arrow.slick-prev {
		left: 50%;
		transform: translateX(-150%);
	}

	.footer-contact-details .agent-info,
	.footer-contact-details .social-media {
		text-align: center;
	}

	.footer-navigation {
		padding-left: 15px;
		margin-top: 30px;
		text-align: center;
	}

	.footernav li {
		width: 100%;
	}

	.footer-wrapper h2 {
		text-align: center;
	}

	.pdf-footer {
		text-align: center;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.agentpro-tab-buttons>li {
		display: block;
	}

	.agentpro-tab-buttons>li a {
		text-align: center;
		margin: 0;
	}
}