/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (min-width: 992px) {
	#hero .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-img canvas {
		min-height: 100vh !important;
	}
}
@media only screen and (max-width: 1300px) {
	.floating-smi {
		right: 0;
	}
} 
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#nav > li {
		padding: 0 25px;
	}

	.fixednav > li {
		padding: 0px 20px;
	}

	.fixednav > li > a {
		font-size: 12px;
	}

	.fixednav:last-of-type > li {
		padding: 0px 15px;
	}

	#nav > li:first-child > .sub-menu,
	.fixednav:first-child > li:first-child > .sub-menu {
		margin-left: -15px!important;
	}

	#qs h2 {
		font-size: 31px;
	}
		#qs h2 span {
			font-size: 17px;
		}

	.parallax:before {
		width: 933px;
		height: 1021px;
		background-size: contain;
	}

	.fp-img .fp-hover span, .fc-link,
	.testi-readmore a {
		padding: 19px 25px;
	}

	.fp-img .fp-hover:before {
		-webkit-background-size: contain;
		background-size: contain;
		max-height: 100%;
	}

	.fc-wrap .hp-title {
		padding-left: 25px;
	}

	.fc-wrap .hp-title h2 {
		font-size: 40px;
	}

	.fc-wrap .hp-title h2 small {
		margin-bottom: 9px;
		font-size: 18px;
	}

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

	.fc-link {
		margin-bottom: -79px;
	}

	.testi-text .hp-title {
		margin-bottom: 150px;
	}

	.testi-item p {
		font-size: 13px;
	}

	.testi-readmore a {
		margin-top: 24px;
	}

	#testimonials:before,
	#testimonials:after {
		height: 350px;
	}

	.blog-text {
		min-height: 130px;
	}
	.fc-title-wrap:before {
		width: 120px;
		height: 131px;
		background-size: cover;
	}

	#qs form input, #qs form select,
	.qs-field-col .bootstrap-select.btn-group .dropdown-toggle .filter-option {
		font-size: 12px;
	}
	#qs form input, #qs form select,
	#qs button.btn.dropdown-toggle.btn-default {
		padding: 0 10px;
	}
} 

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

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

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

	nav.navigation, .floating-smi,
	.parallax, #testimonials:before,
	#testimonials:after {
		display: none;
	}

	header.header {
		top: 52px;
	}

	.slideshow {
		position: relative;
	}

	#cta {
		position: relative;
		bottom: 0;
		padding: 30px 0;
		background: rgba(0, 0, 0, 0.35);
	}

	#cta a {
		margin: 30px auto;
	}

	#qs .row {
		display: block;
	}

	#qs h2 {
		font-size: 31px;
		text-align: center;
		margin-bottom: 20px;
	}

	#qs form .qs-field-wrap-row {
		width: 100%;
		margin-bottom: 5px;
	}

	#qs form .qs-field-wrap-row-md {
		width: 50%;
		margin-bottom: 5px;
	}
	
	#qs form .qs-field-wrap-row-btn {
		float: none;
		width: 100%;
		padding: 0 2.5px;
	}

	#qs form {
		max-width: 340px;
		margin: auto;
	}

	.fc-wrapper {
		width: 50%;
	}

	.fc-wrapper:first-of-type {
		width: 100%;
	}

	.fc-wrap .hp-title {
		padding-left: 0;
		text-align: center;
	}

	#testimonials {
		padding-top: 0;
	}

	.testi-img {
		text-align: center;
		max-width: 300px;
		margin: auto;
	}

	.testi-text .hp-title {
		padding-left: 0;
	}

	.testi-text {
		padding-left: 0;
		text-align: center;
	}

	.testi-text .hp-title h2 {
		color: #16147f;
		margin-bottom: 20px;
	}

	.testi-text .hp-title h2 small {
		color: #2b2828;
	}

	.testi-text .hp-title {
		margin-bottom: 0;
		padding-left: 0;
		padding-top: 20px;
	}

	.blog-item {
		max-width: 320px;
		margin: 0 auto 30px;
	}

	.blog-title, .blog-text {
		min-height: initial;
	}

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

	footer.footer .footer-contact-info > div {
		padding-left: 0;
	}

	footer.footer .footer-contact-info em[class^="ai-font"] {
		position: relative;
		top: 0;
	}

	footer.footer .footer-contact-info .email .ai-font-envelope-f {
		top: 0;
	}

	footer.footer .hp-title h2 {
		text-align: center;
	}

	.footernav > li {
		padding: 3px 18px;
	}

	#content .archive-content h2 {
		margin: 10px 0;
	}

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

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }
    #content .entry-title, #content .archive-title {
		font-size: 30px;
	}
}

@media only screen and (max-width: 600px) {
    .fc-wrapper {
		width: 100%;
	}

	.footernav > li {
		display: block;
	}

	.footernav > li:first-of-type {
		padding-left: 18px;
	}

	.footernav > li:last-of-type {
		padding-right: 18px;
	}

	.footernav > li:before {
		display: none;
	}

	.copyright {
		margin-top: 30px;
		line-height: 1.5em;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#welcome h1, .hp-title h2 {
		font-size: 44px;
	}

	#welcome h1 .welcome-sub-title {
		font-size: 13px;
	}

	.fp-slide {
		margin-left: 0;
		margin-right: 0;
	}

	#ihf-main-container .btn-group > .btn-group:first-child > .dropdown-toggle {
	    padding: 6px;
	}

	#ihf-main-container .btn-group > .btn-group:last-child > .btn:first-child {
	    padding: 6px;
	}

	#ihf-main-container .pagination {
	    letter-spacing: 0;
	}
}

@media print {
    .header-wrapper,
    .header-bg,
    .header-fixed.ease-transition,
    .aios-mobile-header-wrapper,
    .textwidget,
    .yoast-breadcrumbs,
    .footer-form-wrapper,
    .footer-wrapper,
    footer.footer-wrap,
    .sidebar,
    .ip-banner,
    .ihf-contiguous-links,
    .entry-title,
    .ihf-open-home .panel.panel-default,
    .menu-main-navigation-container,
    .entry.entry-content>a,
    .footer-links,
    p#breadcrumbs,
    .fixedheader,
    .header,
    .footernav,
    .copyright,
    .footer
    {
        display: none !important;
    }
    #content{
        width: 100% !important;

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