/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/


@media only screen and (max-width: 1400px) {

	.hb-menu {
	    padding: 15px 22px;
	}
	#nav .sub-menu a{
		padding:5px;
	}

}

 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {

	.side-gq .gq-wrapper {
	    padding: 25px 12px;
	}

	.side-gq .wpcf7-response-output {
	    font-size: 10px;
	    text-align: center;
	}

	.header-nav {
	    padding-top: 21.5px;
	}
	.header-nav #nav > li > a {
	    padding: 0 7px;
	}

	.cta-title h2 {
	    padding-top: 55px;
	}
	.gq-wrapper {
	    width: 70%;
	    padding: 40px 35px;
	}
	.comm-title span {
	    font-size: 14px;
	}

	.pv-item {
	    min-height: 430px;
	}
	.pv-content a {
	    word-break: break-word;
	}

	.hp-quick-search .dropdown-menu.open {
	    min-width: 100%;
	}
	.hp-quick-search ul.dropdown-menu.inner {
	    max-height: 180px !important;
	    min-width: 100%;
	}

	.ip-banner {
	    background: url(../../HomepageSlideshow/Photo1.jpg) top center;
	}

    .side-qs .qs-title h2 {
        font-size: 25px !important;
    }

    .qs-btn a {
        position: relative;
        top: 1px;
    }
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {

	.hb-menu {
	    top: 52px;
        height: calc(100% - 52px);
	}
	.con-sb-wrap{
	    overflow-y: scroll;
	}

	.hp-slide{
		position: relative;
	}

	.slide-qs canvas{
		display: none;
	}



	.mobile-logo{
        display: block;
    }

	.hp-qs {
	    position: relative;
	    padding: 0 0 45px;
	}
	.qs-title h2 {
	    color: #0d3e66;
	}
	.qs-title h2:before, .qs-title h2:after{
		background: #19608a;
	}
	.qs-form, .qs-search-btn {
	    width: 100%;
	}
	.qs-select.full, .qs-input.full {
	    width: 100%;
	}
	.qs-select.half, .qs-input.half {
	    width: 50%;
	}	

	.qs-select select, .qs-input input{
		border: 1px solid #092942;
	}
	.qs-btn {
	    width: 100%;
	}

	.cta-holder {
	    padding: 10px 0;
	}
	.cta-inner {
    	max-width: 360px;
	    margin: 0 auto;
	}
	.hp-wc:before {
		display: block;
	}
	.hp-wc:after {
		display: none;
	}
	.section-title.wc-title {
	    text-align: center;
	}
	.wc-content {
	    width: 100%;
	    text-align: center;
	}
	.fc-group {
	    width: 50%;
	}
	.testi-content-inner {
	    width: 100%;
	}

	footer.footer {
	    text-align: center;
	}
	.footer-mls {
	    text-align: center;
	}
	.su-item {
	    width: 90%;
	}

	.pv-item {
	    float: none;
	    width: 100%;
	    min-height: auto;
	    text-align: center;
	    padding: 20px 0;
	}
	.no-pv-img {
	    margin-top: 0;
	}


	
	/* The following are used on inner pages. Please edit carefully. */

	.ip-banner {
	    height: 200px;
	    background: url(../../HomepageSlideshow/Photo1.jpg) top center;
	}


	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle{
		border: 1px solid #092942;
		padding: 0;
	}
	.bootstrap-select.btn-group .dropdown-menu{
		min-width: 100% !important;
	}
	.side-qs .hp-quick-search .bootstrap-select.btn-group .dropdown-toggle{
		border: 1px solid rgba(9, 41, 66, 0.2);
		padding: 0;
	}
	.hp-quick-search .bootstrap-select.btn-group .dropdown-toggle .filter-option {	
	    padding-left: 8px;
	}
    
    .wow {
        -webkit-animation: none !important;
        animation: none !important;
    }
    
    .footer-sign .wpcf7-response-output {
        width: 90%;
    }
    
    #content .entry-title {
        word-break: break-all;
    }
    
    #ihf-main-container .row .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    .qs-btn a {
        top: 0;
    }
	
	#ihf-main-container .well {
		padding-left:0;
		padding-right:0;
	}
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {

	#content .entry-title {
	    font-size: 24px;
	    letter-spacing: 0;
	}
	
	#ihf-main-container .well {
		padding-left:5px;
		padding-right:5px;
	}

	
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	#content .entry-title {
	    font-size: 18px;
	}

.hideOnMobile{
display:none;
}
    .gq-form span.wpcf7-not-valid-tip {
        font-size: 11px;
    }

	.contact-holder .icon {
		padding:0;
	    padding-right: 10px;
	}
	.footer-nav .footernav > li > a{
		padding: 0 7px;
	}
	h2.archive-subtitle {
	    padding: 0 10px;
	}
	h2.archive-subtitle a {
	    word-wrap: break-word;
	}

	#ihf-main-container .btn{
	    white-space: pre-wrap;
	}

	#ihf-main-container .btn.ihf-map-search-refine-link {
	    padding: 0;
	    white-space: pre-wrap;
	    margin: 0;
	}

	#ihf-main-container .btn-group>.btn-group {
	    float: right;
	}

	.ihf-grid-result-address {
	    display: block;
	}

	.page-id-248 #content img.alignleft {
	    float: none;
	    margin: 0;
	    width: 100%;
	}

}
@media print {
	.header-wrapper,
	.aios-mobile-header-wrapper,
	.textwidget,
	.yoast-breadcrumbs,
	p#breadcrumbs,
	.footer-banner,
	footer.footer,
	.sidebar,
	.ip-banner,
	.ihf-contiguous-links,
	.entry-title,
	.ihf-open-home .panel.panel-default
	{
		display: none !important;
	}
	#content{
		width: 100% !important;

	}
/*	.inner-page-wrapper{
		padding-top: 0px;
	}*/
}