/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1366px) {
	#nav li, #fixed_nav li {
		padding: 0 10px;
	}
}

@media only screen and (max-width: 1280px) {
	#nav li a, #fixed_nav li a {
		font-size: 11px;
	}
	.hp_navigation_btns {
		right: 15px;
	}
}
 
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.header_logo img, .fixed_header_logo img {
		max-width: 230px;
	}
	#nav li, #fixed_nav li {
	    padding: 0 8px;
	}
	#nav li a, #fixed_nav li a {
		font-size: 10px;
	}

	.hp_navigation_btns {
		right: 5px;
	}

	.hp_slideshow .cycloneslider-template-responsive,
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-slides,
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-slide canvas {
		min-height: 700px;
	}

	#hp_widget1::after, .testimonials_slider_wrap::after {
		right: 15px;
	}

	.welcome_right {
		padding-left: 0;
		padding-right: 15px;
		padding-bottom: 100px;
	}
	.welcome_right::before {
		width: 165%;
	}
	.welcome_right h1 {
		font-size: 50px;
	}

	.about_box {
		padding-left: 15px;
		padding-right: 15px;
	}

	.footer_top h3 {
		font-size: 30px;
	}
	.footer_smi a {
		margin-left: 30px;
	}

	.ip-banner h1 {
		font-size: 35px;
	}
} 

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

	.ip-sold-list-row {
		flex: 0 1 calc(100% - 8px);
	}

	#header_wrap {
		position: relative;
		z-index: 1;
		text-align: center;
		margin-top: 52px;
		padding: 20px 0;
		background-color: #8c8985;
	}
	#header_wrap::before {
		display: none;
	}
	.header_logo {
		width: 100%;
		margin: 0;
	}
	.header_logo img {
		max-width: 100%;
	}

	.hp_slideshow .cycloneslider-template-responsive,
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-slides,
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-slide canvas {
		min-height: auto;
	}
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-caption-description h3,
	.slide_tagline_wrap h3 {
		font-size: 35px;
	}

	#hp_cta {
		position: relative;
		top: auto;
		padding: 30px 0;
	}
	#hp_cta ul li {
		width: 100%;
		margin: 10px auto;
	}

	#hp_widget1 {
		text-align: center;
	}
	#hp_widget1::before, #hp_widget1::after, .testimonials_slider_wrap::after {
		display: none;
	}
	.welcome_right {
		padding: 40px 15px;
	}
	.welcome_right::before {
	    width: 100%;
	    right: 0;
	}
	.welcome_txt {
		max-width: 100%;
	}
	
	#hp_widget2, #hp_widget3 {
		margin-top: 50px;
	}
	.about_box {
		min-height: auto;
		margin-bottom: 30px;
	}

	.testimonials_slider_wrap {
		padding: 50px 0 30px;
		min-height: auto;
	}
	#testimonials_slider ul.slick-dots {
		margin-top: 50px;
	}
	.testi_arrows, .featcomm_arrows {
		position: relative;
		top: auto;
		transform: none;
		max-width: 120px;
		margin: 30px auto 0;
	}

	.fc_title {
		width: 100%;
		left: 0;
		bottom: 30px;
		text-align: center;
	}

	.footer_top {
		padding: 50px 0;
		text-align: center;
	}
	.footer_navigation .aios-split-nav li {
		max-width: 90%;
		display: inline-block;
		vertical-align: top;
	}
	.footer_info {
	    margin: 40px 0;
	}
	.footer_newsletter {
		padding-left: 0;
	}
	.newsletter_form {
		max-width: 303px;
		margin: 0 auto;
	}
	
	/* 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%;
	}
	#hp_cta ul li {
	    height: 70px;
	}
		#hp_cta ul li a {
		    background: #000;
		    border: 2px solid #fff;
		}

	.page-id-0.ihf-details-template.slideshow-variation-default #inner-page-wrapper {
		padding-top: 0;
	} 
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-caption-description h2,
	.slide_tagline_wrap h2 {
		font-size: 45px;
	}
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-caption-description h3,
	.slide_tagline_wrap h3 {
		font-size: 20px;
		line-height: 1;
	}
	#testimonials_slider::before {
		left: 0;
	}
	.form_field_short {
		width: 100%;
	}
	.form_field_margin {
		margin: 8px 0;
	}
	.footer_navigation .aios-split-nav {
		width: 100%;
	}
	.footer_navigation .aios-split-nav:first-child li:last-child a {
		border-bottom: 1px solid #1f1f1f;
	}
    .ip-banner .container{
        width: 100%;
    }

    #RequestInfoForm .aidefcf-cl2 > span {
    	width: 100%;
    }

}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	.hp_slideshow .cycloneslider-template-responsive .cycloneslider-caption-description h2,
	.slide_tagline_wrap h2 {
		font-size: 30px;
	}
	#hp_cta ul li a span {
		font-size: 18px;
	}
	.welc_info {
		font-size: 15px;
	}
	.hp_testimonials h2, .hp_featcomm h2 {
		font-size: 35px;
	}
	.hp_contact_form h2 {
		font-size: 20px;
	}
	.hp_contact_form .calendly-inline-widget {
		min-width: 290px !important;
	}
}
 
 @media print{
	header.header-wrapper, #fixed-header, #navigation, .entry-title, .yoast-breadcrumbs,footer,
	.sidebar, .amh-fixed-header-nav, .ip-bg, .header-content.wrapper, .menu-main-nav-container,
	a.header-logo, .header-logo,.amh-header-buttons, .sidebar, .top-logo, #navi, #headerwrapper,
	.transition, a, #breadcrumbs, .header-ip, .ip-image, .fixed-header, .ip-banner, .addtoany_share_save_container,
	.yoast-breadcrumbs, .entry-title, #ihf-leadcapture-btns, #footerwrapper, .footer, .grecaptcha-badge, .header_phone,
	.hp_contact_form {
		display:none !important;
	}
	#content-sidebar #content{
		width:100% !important;
	}
	body {
		background-image: none !important;
	}
	#content{
		width: 100%!important;
		margin-top: -120px !important;
	}
}
