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

@media only screen and (min-width: 1366px) {
	.custom-container {
		width: 1300px;
	}

	.custom-container[data-container-size="lg"] {
		width: 1350px;
	}
}

@media only screen and (min-width: 1500px) {
	.custom-container {
		width: 1356px;
	}

	.custom-container[data-container-size="lg"] {
		width: 1510px;
	}
}

@media only screen and (min-width: 1200px) and (max-width: 1365px) {

	.home-page .container:not(.custom-container),
	#inner-page-wrapper>.container,
	#main-footer .container,
	.ip-banner-breadcrumbs .container {
		width: 970px;
	}

	.custom-container,
	.custom-container[data-container-size="lg"] {
		width: 1000px;
	}
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {

	.home-page .container:not(.custom-container),
	#inner-page-wrapper>.container,
	#main-footer .container,
	.ip-banner-breadcrumbs .container {
		width: 770px;
	}

	.custom-container,
	.custom-container[data-container-size="lg"] {
		width: 800px;
	}
}

@media only screen and (max-width: 1440px) {
	.header-left img {
		max-width: 430px;
	}
}

@media only screen and (max-width: 1365px) {
	#main-header {}

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

	.header-left img {
		max-width: 360px;
	}

	#hero {}

	.tagline-holder h1 {
		font-size: 38px;
	}

	#hp-video {}

	.video-txt {
		width: calc(100% - 20px);
		padding-top: 20px;
		padding-left: 10px;
	}

	.video-explore {
		margin-top: 24px;
	}

	.footer-contact-info {
		padding-right: 100px;
	}
}


/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#main-header {}

	.header-inner {
		padding-right: 20px;
	}

	.header-left {
		padding-left: 45px;
		width: 30%;
	}

	.header-left a {
		font-size: 16px;
		color: var(--secondary-color);
	}

	.header-right {}

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

	#nav>li>.sub-menu {
		padding-top: 52px;
	}

	.slide-menu-main {
		width: 100%;
	}

	.header-left img {
		max-width: 300px;
	}

	#hero {}

	.tagline-holder h1 {
		font-size: 30px;
	}

	.qs-form .field-input input,
	.qs-form .field-input select,
	.qs-form .field-input button[type="button"].dropdown-toggle {
		padding: 0 14px;
	}

	#hp-welcome {}

	.welcome-img-txt-holder {
		padding: 30px 30px 0;
	}

	#hp-listing {}

	.listing-txt-holder .site-button {
		width: 250px;
	}

	#hp-video {}

	.video-title {
		font-size: 15px;
		line-height: 1.1;
	}

	.video-txt {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.video-item a:hover .video-txt {
		padding-top: 15px;
	}

	.video-explore {
		margin-top: 20px;
	}

	#main-footer {}

	.footer-contact-col:nth-child(2) {
		width: 27.89%;
	}

	.footer-contact-col:nth-child(3) {
		width: 28.26%;
	}

	.footer-contact-col .head-title {
		letter-spacing: 0.3em;
	}

	.footer-contact-info li a {
		font-size: 14px;
	}

	.footer-smis a {
		margin: 0 2px;
	}

	.footer-bottom-left {
		font-size: 11px;
	}

	.footer-logo a {
		font-size: 25px;
	}

	.footer-logo img {
		max-width: 300px;
	}

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

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

	.slide-menu-contact-col {
		width: 100%;
	}

	.footer-contact .textwidget {
		flex-flow: row wrap;
		padding-bottom: 0;
	}

	.footer-contact-col .head-title {
		padding-bottom: 15px !important;
		margin-bottom: 20px !important;
	}

	.footer-contact-info {
		padding-right: 0;
	}

	.footer-contact-info .col-md-6 {
		padding: 0 15px !important
	}

	.footer-contact-col {
		width: 100% !important;
		margin-bottom: 40px;
	}

	.footer-contact-info li a {
		font-size: 14px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {
	#pojo-a11y-toolbar {
		display: none;
	}

	html {
		overflow: scroll !important;
	}

	.amh-fixed-header-nav .amh-header-buttons {
		background: var(--primary-color) !important;
		color: var(--secondary-color);
		border-bottom: 1px solid var(--primary-color-accent);
	}

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

	.amh-navigation .amh-menu li {
		border-color: var(--primary-color-accent) !important;
	}

	.amh-navigation .amh-menu li a {
		color: var(--secondary-color) !important;
	}

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

	.amh-navigation .amh-menu li:hover>a,
	.amh-navigation .amh-menu li.open>a {
		background: var(--primary-color-accent) !important;
	}

	#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: 18px;
	}

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

	#main-wrapper {
		padding-top: 52px;
	}

	#main-header {
		position: relative;
		background: var(--primary-color);
	}

	.header-inner {
		padding: 20px 15px;
	}

	.header-left {
		padding-left: 0;
		width: 100%;
		text-align: center;
	}

	.header-left a {
		display: inline-block;
	}

	#hero {}

	#hero::after {
		display: none;
	}

	.tagline-holder {
		margin-top: 0;
	}

	.quick-search-holder {
		position: relative;
		background: #2b2b2b;
		padding: 50px 0;
	}

	.qs-form {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
		max-width: 360px;
		margin: auto;
	}

	.qs-form .field-input {
		margin: 5px 0;
	}

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

	.qs-form .field-sm {
		width: calc(50% - 5px);
		margin-right: 10px;
	}

	.qs-form .field-nomar {
		margin-right: 0;
	}

	.qs-form .form-button {
		display: block;
		margin: 20px auto;
	}

	.qs-form .bootstrap-select.btn-group .dropdown-menu {
		min-width: 100%;
	}

	#hp-welcome {}

	.welcome-inner,
	.welcome-img-txt-holder {
		flex-direction: column;
	}

	.welcome-inner .section-title {
		margin: auto;
		text-align: center;
	}

	.welcome-img-txt-holder {
		width: 100%;
		text-align: center;
	}

	.welcome-img,
	.welcome-txt {
		width: 100%;
		padding: 0;
	}

	.welcome-img {
		margin: 50px 0 20px;
	}

	.welcome-img img,
	.welcome-txt .site-button {
		margin: auto;
	}

	#hp-listing {}

	.listing-title {
		position: relative;
		background: #0f0f0f;
		top: 0;
		text-align: center;
		padding: 30px 0;
	}

	.listing-txt-holder {
		position: relative;
		background: #0f0f0f;
		padding: 30px 0;
	}

	.listing-txt-slick {
		margin: auto;
		float: none;
	}

	.listing-txt-slide {
		padding: 0;
		transform: translateY(0);
		text-align: center;
		background: transparent !important;
		min-height: 0;
	}

	.listing-txt-slide::before {
		display: none;
	}

	.listing-price,
	.listing-address-01,
	.listing-address-02,
	.listing-features {
		color: #ffffff !important;
		opacity: 1;
	}

	.listing-txt-slide a {
		opacity: 1;
		justify-content: center;
	}

	.listing-txt-slide a span {
		color: #ffffff;
	}

	.listing-txt-holder .site-button {
		margin: 50px auto 0;
		float: none;
	}

	.listing-prev {
		left: 30px;
	}

	.listing-next {
		right: 30px;
	}

	#hp-video {}

	.video-items {
		flex-direction: column;
		align-items: center;
	}

	.video-item {
		width: 100%;
		max-width: 360px;
		margin: 10px 0;
	}

	#hp-communities {}

	a.fc {
		width: 50%;
	}

	#scroll-to-top {
		right: 20px;
		left: inherit;
	}

	#main-footer {}

	#main-footer::after {
		display: none;
	}

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

	.footer-logo a {
		display: inline-block;
	}

	.footer-logo img {
		max-width: 100%;
		margin: 0 auto;
	}

	.footer-logo-list {
		flex-flow: column wrap;
	}

	.footer-logo-list>div {
		width: 100%;
	}

	.footer-contact {
		flex-direction: column;
	}

	.footer-contact-col {
		width: 100% !important;
		margin-bottom: 50px;
	}

	.footer-contact-col .head-title {
		text-align: center;
	}

	.footer-contact-info {
		padding-right: 0;
	}

	.footer-contact-info .col-md-6+.col-md-6 {
		padding: 0 15px;
	}

	.footer-contact-info li {
		flex-direction: column;
		align-items: center;
		margin-bottom: 10px;
	}

	.footer-contact-info li i {
		margin-right: 0;
	}

	.footer-contact-info li a {
		text-align: center;
	}

	.footer-smis {
		justify-content: center;
	}

	.footer-newsletter {
		max-width: 360px;
		margin: auto;
	}

	.footernav {
		height: auto;
		align-content: center;
		justify-content: center;
		text-align: center;
	}

	.footernav>li {
		flex: 1 1 100%;
	}

	.footernav li {
		margin-bottom: 15px;
	}

	.footernav>li>a {
		margin-bottom: 10px;
	}

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

	.footer-bottom-right {
		padding-top: 0;
	}

	.footer-contact .textwidget {
		flex-direction: column;
	}

	.footer-bottom-top {
		text-align: center;
		line-height: 1.7;
	}

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

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

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

	.ip-cta .ip-cta-list div {
		width: 100%;
	}

	.ip-cta .ip-cta-list a {
		width: 320px !important;
		max-width: 100%;
		margin: 0 auto;
	}

	#hp-social-media {
		padding: 0 0 50px;
	}

	#hp-social-media .section-title h2 {
		font-size: 30px;
	}

	#hp-social-media .social-media-blogs-wrap {
		margin-top: 20px;
	}

	#hp-social-media .social-media-blogs {
		width: 670px;
		margin: 0 auto;
	}

	#hp-social-media .social-media-col {
		width: 50%;
		padding: 0 15px;
		margin-top: 30px;
	}

	.fc-list {
		padding: 0 15px;
	}

	a.fc {
		display: block;
		width: 550px;
		max-width: 100%;
		margin: 0 auto;
	}

	a.fc+a.fc {
		margin-top: 15px;
	}

	.newsletter_popup_content {
		margin-top: 30px;
		padding-left: 15px;
		padding-right: 15px;
	}

	.post-page-contact .aios-contact-main .aios-contact-form {
		width: 100%;
	}
}

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

	.header-left img {
		max-width: 400px;
	}

	#hp-communities {}

	a.fc {
		width: 100%;
	}

	#hp-social-media .section-title h2 {
		font-size: 25px;
	}
}

@media only screen and (max-width: 567px) {
	#hp-social-media .social-media-blogs {
		width: 320px
	}

	#hp-social-media .social-media-col {
		width: 100%
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
	.header-left img {
		max-width: 280px;
	}

	.section-title span {
		display: block;
		margin: 15px 0 0;
	}

	.section-title span::before {
		display: none;
	}

	#hp-contact {}

	.git-holder .field-sm {
		width: 100%;
		margin-right: 0;
	}

	#hp-social-media .section-title h2 {
		font-size: 20px;
	}

	.newsletter_form div.wpcf7-response-output,
	.newsletter_form .wpcf7 form .wpcf7-response-output {
		bottom: -25px;
	}
}