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

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

	.header-inner,
	.fixed-header-inner {
		margin: 0 -15px;
	}

	.logo-holder span,
	.fixed-header-inner .header-logo a {
		font-size: 22px;
	}

	nav.header-nav ul#nav-fixed>li {
		margin: 0 12px;
	}

	.fp-content {
		padding-left: 30px;
		margin-right: -15px;
	}

	.fp-title,
	.blog-title {
		font-size: 40px;
	}

	.fp-title span,
	.testi-title,
	.blog-title span,
	.gt-title {
		font-size: 65px;
	}

	.fc-holder {
		margin: 0 -18px;
	}

	.fb-feed-holder {
		margin: 0 -15px;
	}

	#instagram-feed {
		margin: 0 -15px;
	}

	.blog-row-wrap {
		margin: 0 -15px;
	}

	footer.main-footer {
		padding: 125px 0 80px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	.site-name span {
		font-size: 35px;
		bottom: 17px;
	}

	.logo-holder span,
	.fixed-header-inner .header-logo a {
		font-size: 18px;
	}

	nav.header-nav ul#nav>li,
	nav.header-nav ul#nav-fixed>li {
		margin: 0 5px;
	}

	.burger-holder {
		margin-left: 20px;
	}

	.broker-logo {
		max-width: 120px;
	}

	.quick-search-area {
		bottom: 50px;
	}

	.cta-label {
		font-size: 25px;
	}

	.cta-label span {
		font-size: 40px;
	}

	.wc-content h1 {
		font-size: 60px;
		margin-bottom: 30px;
	}

	.wc-content p {
		font-size: 15px;
	}

	.wc-agent-photo {
		margin-left: -30px;
		margin-right: -10px;
	}

	.fp-holder {
		width: calc((100vw - 940px) / 2 + 100%);
	}

	.fp-content {
		padding-left: 0;
	}

	.fp-title,
	.blog-title {
		font-size: 30px;
	}

	.fp-title span,
	.testi-title,
	.blog-title span,
	.gt-title {
		font-size: 50px;
	}

	.fp-content-list p {
		font-size: 15px;
	}

	.fc-label {
		font-size: 20px;
	}

	.fc-title {
		font-size: 22px;
	}

	.fb-feed-content {
		padding: 30px 20px 28px;
	}

	.fb-time span {
		font-size: 16px;
		padding-left: 20px;
	}

	.fb-time span em {
		font-size: 11px;
	}

	.ins-feed-col1 .ins-feed-list:nth-child(2) {
		padding-left: 50px;
	}

	.ins-feed-head {
		padding-left: 45px;
	}

	.blog-photo {
		max-width: 300px;
	}

	.blog-content h2 a {
		font-size: 15px;
		margin-bottom: 10px;
	}

	.blog-content p {
		font-size: 12px;
		padding-bottom: 10px;
	}

	.bootstrap-extend-left {
		margin-left: calc((100vw - 940px) / -2);
	}

	.bootstrap-extend-right {
		margin-right: calc((100vw - 940px) / -2);
	}

	.blog-view-more a {
		margin-left: 325px;
	}

}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	html {
		overflow: scroll !important;
	}

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

	#content .entry-title,
	#content .archive-title {
		font-size: 50px;
	}

	#content .archive-list>article {
		width: 100%;
	}

	#content .archive-list .article-long .archive-has-thumbnail .archive-subtitle {
		margin: 0.75em 0;
		font-size: 24px;
	}

	#content .archive-list .article-long p {
		font-size: 17px;
	}

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

	header.main-header {
		position: static;
		background: var(--primary-color);
		margin-top: 52px;
		padding: 50px 25px;
	}

	.amh-header-buttons {
		background: var(--primary-color) !important;
		color: var(--secondary-color);
	}

	.amh-navigation {
		background: var(--primary-color) !important;
	}

	.amh-navigation.amh-nav-1 .amh-menu li a {
		color: #fff;
	}

	.aios-mobile-header-wrapper {
		z-index: 1001 !important;
	}

	.aios-mobile-header-wrapper .amh-navigation .amh-menu li ul {
		background: var(--primary-color);
	}

	.aios-mobile-header-wrapper .amh-navigation .amh-menu li:hover>a,
	.aios-mobile-header-wrapper .amh-navigation .amh-menu li.open>a {
		background: var(--primary-color-accent);
	}

	.aios-mobile-header-wrapper .amh-navigation .amh-menu li ul a {
		color: #fff;
	}

	.header-inner {
		margin: 0;
		display: block;
	}

	.main-header .logo-holder img {
		margin: 0 auto;
		display: block;
	}

	.main-header .header-nav,
	.main-header .burger-holder,
	.fixed-header,
	.site-offcanvas {
		display: none;
	}

	.site-name span {
		bottom: 0;
	}

	.quick-search-area {
		bottom: 0;
		position: relative;
		background: #232222;
		padding: 30px 0;
	}

	.qs-title {
		font-size: 25px;
		width: 100%;
		text-align: center;
		;
		margin-bottom: 15px;
	}

	.qs-title span {
		margin-top: 5px;
		right: 0;
	}

	.long-form.qs-field {
		width: 100%;
	}

	.qs-form {
		width: 100%;
		padding: 9px 30px 0;
	}

	.qs-form p {
		text-align: center;
		padding-right: 0;
	}

	.btn-form.qs-field.qsbtn1 {
		margin: 5px auto 0;
		display: block;
	}

	.btn-form.qs-field.qsbtn2 {
		width: 100%;
		text-align: center;
	}

	.qs-holder {
		padding: 26px 0 17px;
	}

	.cta-list a {
		text-align: center;
		margin: 30px auto;
	}

	section.cta-area {
		padding: 50px 0;
	}

	.cta-list a:hover {
		-webkit-transform: scale(1.2);
		-ms-transform: scale(1.2);
		transform: scale(1.2);
	}

	section.welcome-area {
		padding: 30px 0 0;
	}

	.wc-content {
		margin-right: 0;
		margin-top: 20px;
		text-align: center;
	}

	.wc-agent-photo {
		margin: 25px auto 0;
		max-width: 300px;
	}

	.row.fp-row {
		flex-direction: column-reverse;
	}

	.fp-holder {
		width: 100%;
		float: none;
		padding-right: 0;
		height: auto;
	}

	.fp-slick-slider-error,
	.fp-slick-slider-coming-soon {
		padding: 0;
	}

	.fp-slick-slider-error p,
	.fp-slick-slider-coming-soon p {
		font-size: 15px;
	}

	.fp-slick-slider-coming-soon p span {
		font-size: 25px;
	}

	.fp-title,
	.blog-title {
		text-align: center;
	}

	.fp-title {
		left: 0;
		margin-bottom: 25px;
		margin-top: 50px;
	}

	a.fp-view {
		margin-top: 15px;
	}

	.fp-content-list {
		text-align: center;
		margin: 23px 0;
	}

	.fp-holder {
		max-width: 500px;
		margin: 0 auto;
	}

	.fp-content {
		margin-right: 0;
	}

	.fp-content-slick-slider {
		max-width: 500px;
		margin: 0 auto;
	}

	section.featured-communities-area {
		padding: 60px 0;
	}

	.fc-holder {
		
	}

	.fc-list{
		height: auto;
		width: 100% !important;
		margin: 0 !important;
		height: auto !important;
	}

	.fc-list.fc-title-holder .fc-photo {
		display: none;
	}

	.fc-title-inner {
		position: relative;
	}

	.fc-title-content {
		padding: 30px 15px;
	}

	.fc-photo canvas {
		height: 350px !important;
	}

	.fc-label {
		font-size: 24px;
	}

	.fb-feed-bg {
		display: none;
	}

	.fb-like a {
		border: solid 1px #3b5997;
	}

	.fb-feed-header {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-pack: center;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-bottom: 30px;
	}

	.fb-logo {
		margin-bottom: 30px;
	}

	section.facebook-feed-area {
		padding: 25px 0 0;
	}

	.ins-feed-holder {
		margin: 0 0;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.ins-feed-list.ins-feed-title-holder {
		padding: 0;
		height: auto;
		width: 100%;
	}

	.ins-feed-col1,
	.ins-feed-col2,
	.ins-feed-col3 {
		width: 100%;
	}

	.ins-feed-head {
		padding: 30px 0;
	}

	.ins-feed-col1 .ins-feed-list:nth-child(2) {
		padding-left: 0;
	}

	.ins-feed-col3 .ins-feed-list {
		width: 100%;
	}

	.ins-feed-list {
		padding: 5px !important;
		width: 100%;
		max-width: 500px;
		margin: 0 auto;
	}

	.ins-feed-photo canvas {
		height: 300px;
	}

	.fp-title span,
	.testi-title,
	.blog-title span,
	.gt-title {
		font-size: 40px;
	}

	.fb-feed-holder {
		margin: 0 0;
	}

	section.instagram-feed-area {
		padding: 50px 0 0;
	}

	section.testimonials-area {
		padding: 70px 0;
	}

	.blog-bg {
		width: 100%;
		background-position: center;
		background-attachment: local;
	}

	.blog-content {
		background-color: var(--background-color);
	}

	.row.blog-row {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}

	.blog-title {
		margin-bottom: 50px;
	}

	.blog-view-more {
		text-align: center;
		margin-left: 0;
	}

	.blog-view-more {
		text-align: center;
		margin-bottom: 0;
	}

	.blog-view-more a {
		margin-left: 0;
		color: #fff;
	}

	.blog-photo {
		max-width: 390px;
	}

	.blog-list {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		max-width: 390px;
		margin: 0 auto 15px;
	}

	.blog-content {
		padding: 20px;
		text-align: center;
	}

	section.blog-area {
		padding: 80px 0 60px;
	}

	.blog-content h2 a {
		font-size: 18px;
	}

	.blog-content p {
		font-size: 13px;
	}

	footer.main-footer {
		padding: 60px 0 50px;
	}

	.gt-fields {
		width: 100%;
	}

	.footer-smi {
		margin: 0 0 40px;
	}

	.ft-contact{
		flex-flow: column;
	}
	.ft-contact span {
		margin: 0 0 15px;
		justify-content: center;
	}

	ul.footernav li {
		margin: 0 12px 5px;
	}

	.bootstrap-extend-left {
		margin-left: 0;
	}

	.bootstrap-extend-right {
		margin-right: 0;
	}

	#instagram-feed {
		margin: 0;
	}

	#instagram-feed .ig-btns {
		margin-top: 30px;
	}

	.blog-row-wrap {
		margin: 0;
	}

	#instagram-feed .sf-heading-left {
		width: 100%;
	}

	.ft-logo-smi>div {
		width: 100%;
	}

	#content .aios-about-title {
		font-size: 40px;
	}
}

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */
@media only screen and (max-width: 767px) {

	#content .entry-title,
	#content .archive-title {
		font-size: 45px;
	}

	.ip-banner .container {
		width: 100%;
	}

	.site-name span,
	.footer-site-name {
		font-size: 30px;
	}

	.cta-label {
		font-size: 20px;
	}

	.cta-label span {
		font-size: 30px;
	}

	.wc-content h1 {
		font-size: 40px;
	}

	.fp-title,
	.blog-title {
		font-size: 25px;
	}

	.fp-title span,
	.testi-title,
	.blog-title span,
	.gt-title {
		font-size: 35px;
	}

	#instagram-feed .sf-main-feed ul li{
		width: 50%;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {

	#content .entry-title,
	#content .archive-title {
		font-size: 40px;
	}

	.site-name span,
	.footer-site-name {
		font-size: 20px;
	}

	.qs-form select,
	.qs-form input {
		letter-spacing: 0;
	}

	.wc-content h1 {
		font-size: 30px;
	}

	.fc-photo canvas {
		height: 200px !important;
	}

	.fb-time {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
		text-align: center;
	}

	.fb-links {
		text-align: center;
	}

	.fb-time span {
		padding-left: 0;
		margin-top: 10px;
	}

	.ins-feed-photo canvas {
		height: 250px;
	}

	.testi-list {
		padding: 0 0;
	}

	.slider-holder .swiper-slide canvas {
		height: 200px;
	}

	#instagram-feed .sf-heading-left {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}

	#instagram-feed .sf-heading-left i {
		margin: 0 0 15px;
	}

	/** IHF Common Issues Fixes */
	#ihf-main-container .btn-group>.btn-group:first-child>.dropdown-toggle,
	#ihf-main-container .btn-group>.btn-group:last-child>.btn:first-child {
		padding: 6px;
	}

	#ihf-main-container .pagination {
		width: 140px;
	}

	/** End of IHF Common Issues Fixes */
}