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

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

	.fc-description p {
	    font-size: 14px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#nav > li {
	    padding: 17px 39.5px;
	}
	.page #nav > li, .page .fixed-header #nav > li {
	    padding: 17px 31px;
	}
	.fixed-header #nav > li {
	    padding: 13px 39.5px;
	}
	.qs-widget-title .letter-q-text {
	    font-size: 81px;
	}
	.qs-widget-title .qs-text {
	    font-size: 36px;
	}
	.cta-text-wrapper .cta-yellow-text {
		font-size: 14px;
	}
	.contact-row1 span {
	    padding: 0 5px;
	    font-size: 12px;
	}
	.sidebar .qs-widget-title .letter-q-text {
	    font-size: 86px;
	}

	.slideshow-wrapper .cycloneslider-template-video {
	    min-height: 100%;
	}
	.fc-left {
	    left: 1%;
	}
	.fc-right {
	    right: 1%;
	}
	#content .comm-list li {
	    width: 100%;
	    max-width: 200px;
	   } 
	
}

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

	.aios-mobile-header-wrapper {
	    z-index: 1010;
	}
	.amh-navigation .amh-menu li ul {
	    background: #ab9a66;
	}
	.amh-navigation .amh-menu li ul a {
	    color: #fff;
	}
	.fixed-header img.img-responsive {
	    max-width: 100%;
	}
	.slideshow-wrapper .cycloneslider-template-video{
		min-height: auto;
	}
	#content .comm-list{
		text-align: center;
	}
	.header-wrapper {
	    position: relative;
	    padding: 87px 0 35px;
	}
		.navigation-wrapper {
		    display: none;
		}
	.qs-wrapper {
	    position: relative;
	    padding: 40px 0 20px;
	    background-color: #272727;
	}
    .qs-widget-title {
        width: 100%;
        text-align: center;
        line-height: 1;
    }
        .qs-widget-title .qs-text {
            text-align: left;
        }
    .qs-form  .qs-form, .qs-form  .long-form, .qs-form  .qsbtn1 {
        width: 100%;
    }
    .qs-form {
        padding-top: 24px;
        width: 100%;
    }
    .qs-form  .short-form {
        width: 49.5%;
    }
    .qs-form  .qsbtn1 {
        padding-left: 0;
        margin-bottom: 0 !important;
    }
    .qs-form  .field-left {
        float: left;
    }
    .qs-form  .field-right {
        float: right;
    }
    .qs-form  .qs-field {
        margin-bottom: 15px;
    }
    .slideshow-wrapper:after {
    	display: none;
    }
    .fc-item {
        height: auto !important;
    }
    .fc-item .fc-photo-wrapper {
   		display: block;
   		width: 100%;
    }
   .fc-photo-wrapper canvas {
   		height: auto;
   		display: block;
   		max-width: 777px;
   		margin: 0 auto;
   		background-size: cover;
   	}
   	.fc-item .fc-details-wrapper {
        width: 100%;
        display: block;
        height: auto;
        padding: 30px;
        transition: none !important;
        -moz-transition: none !important;
        -webkit-transition: none !important;
        -ms-transform: none !important;
        -webkit-transform: none !important;
        transform: none !important;
        display: block;
   		max-width: 777px;
   		margin: 0 auto;
    }
    .fc-photo-wrapper:after,  .fc-left, .fc-right {
   		display: none !important;
   	}
   	.cta-text-wrapper .cta-yellow-text {
   		width: 100%;
   	}
   	.cta-text-wrapper .cta-white-text {
	    font-size: 50px;
	}
	.cta-white-small {
	    font-size: 38px;
	}
   	.fp-left-wrapper {
	    display: block;
	    width: 100%;
	    text-align: center;
	    padding-bottom: 30px;
	}
	.fp-center-wrapper, .fp-right-wrapper {
	    width: 100%;
	    display: block;
	}
	.fp-center-wrapper {
		padding-right: 0;
		padding-bottom: 20px;
	}
	.feed {
	    max-width: 360px;
	    margin: 30px auto;
	}
	.git-widget-title {
	    width: 100%;
	    display: block;
	    text-align: center;
	    padding-bottom: 10px;
	}
	.form-wrapper {
   		width: 100%;
	    display:block;
	}
	.contact-row1 a, .contact-row1 span {
		display: block;
		color: #ab9a66;
		padding-bottom: 5px !important;
	}
	.copyright p {
	    text-align: center;
	}
	.footer-logos-wrapper2 {
	    text-align: center;
	    padding-top: 10px;
	}
	ul.footernav {
		text-align: center;
	}
	
	/* 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%;
		padding-right: 0;
	}
	#content-sidebar aside, #content-full aside {
	    margin: 55px auto -0;
	}
	#inner-page-wrapper {
	    padding-top: 0;
	}

	#content .entry-title, #content .archive-title {
		text-align: left;
	}

	.page-id-38 .wp-image-171 {
	    margin: 0 auto !important;
	    display: block;
	}
	
} 

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

	/*.cta {
	    margin: 0 auto;
	}*/
	.footer-logos-wrapper .berkshire {
	    margin: 0 auto 40px;
	}
	.footer-form .short-field, .footer-form .long-field {
		width: 100%;
		margin-bottom: 5px;
		padding: 0;
	}
	.footer-form input[type="submit"] {
	    top: 111px;
	}
	.footer-form .ajax-loader {
	    position: absolute;
	    top: 129px;
	    right: -14px;
	}
	.ip-banner-wrapper {
	    height: 200px;
	}

	.page-id-76 #content .entry-title, .page-id-173 #content .entry-title,
	.page-id-174 #content .entry-title, .page-id-175 #content .entry-title,
	.page-id-78 #content .entry-title {
		font-size: 20px;
	}
	.page-id-75 #content .entry-title, .page-id-79 #content .entry-title {
		font-size: 18px;
	}
	.page-id-77 #content .entry-title {
	 	font-size: 15px;
	}

	.home .cta-wrapper {
	    background-color: transparent;
	    max-width: 360px;
	    display: block;
	    margin: 0 auto;
	}

	.home .cta {
	    margin: 5px auto 0;
	    padding: 18px 0;
	    background: #1b1b1b;
	}

	.home .cta-text-wrapper .cta-yellow-text {
		width: 100%;
    	font-size: 16px;
    	line-height: 31px;
    	padding-bottom: 7px;
	}

	.home .cta-text-wrapper .cta-white-text {
	    font-size: 28px;
	    line-height: 23.33px;
	}

	.home .cta-white-small {
	    font-size: 22px;
	    line-height: 23.33px;
	}

	.home .cta-text-wrapper:after {
	    background-image: url(images/ip-cta-border.png);
	}
	.form-wrapper .wpcf7-response-output{
	   width: 100%;
    	margin: 0;
    	font-size: 11px;
	}
}

@media only screen and (max-width: 640px) {
	#content .comm-list li{
	    display: block;
	        margin: 0 auto 0;
		}

}
@media (max-width: 575.98px) {
	.ihf-listing-search-results .ihf-grid-result{
		width: 100% !important;
	}
}

@media only screen and (max-width: 345px) {
	.fp-details-link {
		margin-right: 0;
		margin: 0 auto !important;
		display: block !important;
	}
	.fp-left-wrapper > a.fp-link {
		margin-left: 0;
	}

}

@media only screen and (max-width: 440px) {
	#content .entry-title {
		font-size: 21px;
	}
}



@media print{
header.header-wrapper,
.ip-banner-wrapper,
.entry-title,
.ihf-detail-back-to-results,
#ihf-leadcapture-btns,
aside,
.git-wrapper,
.footer-info-wrapper,
footer,
.amh-header-buttons  {
    display:  none;
}
#content{
	width: 100%!important;
}

}
 
