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

 @media only screen and (min-width: 991px) {
  .page-id-68 .aios-smf-theme-two .aios-smf-left {
	    padding: 0;
	}
  .page-id-68 .aios-smf-theme-two .aios-smf-left #theme-title h2 {
      font-size: 36px;
  }
  .page-id-68 #theme-title ul li a {
      margin: auto;
  }
}

@media only screen and (max-width: 1440px) {
	.post-page-contact .addtoany_content {
	    margin: 16px 96px;
	}

	#content .archive-subtitle {
		font-size: 17px;
	}
}

@media only screen and (max-width: 1366px) {
	#listings-results .listings-grid .listings-plan span {
		font-size: 14px !important;
	}

	.post-page-contact .addtoany_content {
	    margin: 16px 71px;
	}
  .ihf-results-template-shortcode .addtoany_content {
    padding: 0 26px;
  }

  #content .archive-subtitle {
		font-size: 16px;
	}
}

@media only screen and (max-width: 1280px) {
	#listings-results .listings-grid .listings-plan span {
		font-size: 13px !important;
	}

	.post-page-contact .addtoany_content {
	    margin: 16px 46px;
	}
}

/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */
@media only screen and (max-width: 1199px) {
	#site-header.position-fixed #nav li a {
		font-size: 12px;
	}
	#listings-results .listings-grid .listings-plan span {
		padding: 5px !important;
		font-size: 12px !important;
	}

	.footernav li {
	    padding: 0 max(0.25vw, 10px);
	}

	.footernav li a {
	    font-size: max(0.875vw, 12px);
	}

	.ihf-details-template #listings-details .listings-smi ul > li {
	    padding: 10px 5px !important;
	}

	#content .archive-subtitle {
		min-height: 55px;
	}
}

/* iPad(portrait) | Galaxy Tab 4(portrait)  */
@media only screen and (max-width: 991px) {

	.ip-container #send-message {
		overflow: hidden;
	}

	.ihf-container-modal #ihf-main-container .modal-body {
	    overflow-x: hidden;
	}

	.ihf-container-modal #ihf-main-container .col-xs-6 {
	    width: 100%;
	}

	#pojo-a11y-toolbar {
         display:none;
    }

	.container {
		width: 750px;
	}

	.mobile-screen {
		display: block;
	}

	.desktop-screen {
		display: none;
	}

	#site-header {
		display: none !important;
	}

	.amh-header-buttons.amh-2a .amh-navigation-trigger span,
	.amh-header-buttons.amh-2a .amh-header-right-btn {
		font-family: var(--font-family-default);
		font-size: 16px !important;
	}
		.amh-header-buttons.amh-2a .amh-header-right-btn {
			padding-top: 20px;
		}

	.qsearch-submit {
		margin-top: 20px;
	}
	.qsearch-close {
		display: none;
	}

	#aios-testimonials .aios-testimonials {
		margin: 0 !important;
	}

	#send-message .container {
		max-width: 750px !important;
		width: 100% !important;
	}
		#send-message .container .row {
			flex-direction: column;
		}
			.send-message-title,
			.send-message-form {
				width: 100% !important;
			}
				.send-message-title .section-title {
					margin-bottom: 40px;
				}

	.footer-logo {
		flex-direction: column;
	}
		.footer-site-logo {
			margin-right: 0;
			margin-bottom: 30px;
		}

	/* 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 .archive-subtitle {
		min-height: auto;
		font-size: 20px;
    margin-top: 15px;
	}
	
}

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

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

	.footernav li {
		padding: 7px;
	}

  .page-id-76 .ip-banner .col-md-12{
    padding-left: calc((100vw - 76.875vw) / 2);
  }
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */
@media only screen and (max-width: 480px) {
  .footer-smi span.ftr-loc {
    display: flex;
    text-align: center;
    line-height: 1.3;
  }
}

 @media print{
	.ihf-printable-template #content .listings-printable-header span,
	.ihf-printable-template .grecaptcha-badge,
	.ihf-printable-template #pojo-a11y-toolbar {
	    display: none !important;
	}

	.ihf-printable-template #content .listings-printable-inner{
	    width: 90% !important;
	}

	.ihf-printable-template #main-wrapper{
	    overflow: unset!important;
	}

	.ihf-printable-template #content .listings-printable-git ul li a[href]:after {
	    content: none !important;
	}

}
