/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
  @media only screen and (max-width: 1280px) {
	#slideshow-wrapper canvas {
	        height: 1200px;
	        }
}
  /*Galaxy Tab 4 (landscape)*/
  @media only screen and (max-width: 1200px) {
	#slideshow-wrapper canvas {
	        height: 1050px;
	        }
}	        
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	#navigation li {
	    margin: 0 0 0 4px;
	 } 
	 #header-contact{
	 	width: 70%
	 }
	 #navigation li a , #fixed-header nav > div > ul > li > a{
    		 font-size: 12px
    	}	    
	 #fixed-header nav > div > ul > li {
    	    margin: 0 0 0 15px;
    	   } 
	.hp-search-left {
	    padding: 0 10px 0 15px;
	}
	.hp-search-right {
	    text-align: left;
	 }
	 .hp-search-form .select-all1 {
    		width: 22.7%;   
    	}	
	.cta-col.cta-right {
	   margin-left: 0;
	}
	.cta-col.cta-left{
		margin-right: 0;
	} 
	#hp-cta .cta-list  .cta-title  strong{
		font-size: 24px;
	}
	#hp-cta .cta-list  .cta-title .title-big{
		font-size: 32px;
	}
	.category-left.col-md-7 {
	    width: 49%;
	}

	.category-right.col-md-5 {
	    width: 51%;
	}
	.welcome-right.col-md-5 {
    		width: 46%;
    	}
    	.welcome-left.col-md-7 {
 	   width: 52%;
	}	
	.footer-contact strong, #footer-nav strong{
		letter-spacing: 1px;
	}
	 .footer-contact .social a.ai-font-facebook , .footer-contact  .social a.ai-font-twitter ,.footer-contact  .social a.ai-font-youtube,  .footer-contact  .social a.ai-font-pinterest
      	.footer-contact  .social a.ai-font-instagram, .footer-contact  .social a.ai-font-google-plus{
 		 margin-right: 0;
 		 } 

 	.sidebar .select-all select {
 		font-size: 11px;
 		padding-left: 6px;
 	}

 	.sidebar .hp-search-wrap h2 {
 		font-size: 15px;
 	}
}	



/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	/*class Hide Mobile*/
	#slideshow-wrapper canvas {
    		height: 100%;
    	}	
	.mob-hide{
		display: none !important;
	}
	#page-bg{display: block;}
	#mobile-logo{
		display: block !important;
	}

	 #navigation, #header-contact, #header-wrapper.fixed-nav {
		display: none !important
	}

	/* The following are used on inner pages. Please edit carefully. */
	.inner {
	    width: 100%;
	}
	#content p.yoast-breadcrumbs, .yoast-breadcrumbs{
		margin:  0;
	}
	#content-full #content, #content-sidebar, #content-full{
	    	width: 100%;
	    	padding: 10px 15px 20px;
    		margin: 0;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#inner-page-wrapper{
		margin: 40px 0 0 0;
	}
	#content-sidebar #content{
		width: 100%;
	}
/*Header Area*/
	#main-wrapper {
    	margin-top: 52px;
	}
	#header-wrapper #header{
		margin: 0 auto 0;
	    	text-align: center;
	    	height: auto;
	}
	#header-logo {
	    margin: 0 auto 0;
	    text-align: center;
	    padding: 20px 0
	     }	
	#header-wrapper{
		height: auto;
		z-index: 1;
		position: relative;
		margin: 0 auto 0;
	}
	.aios-mobile-header-wrapper{
		z-index: 1011
	}
	#hp-search-wrapper {
    		position: relative;
    	}	
    	#hp-search-holder, #hp-testimonials-holder, #hp-cta-holder{
    		position: relative;
    		    top: 0;
    	}
	.hp-search-left {
	    float: none;
	    margin: 0 auto 0;
	    text-align: center;
	}
	.hp-search-left h2 {
	    	    float: none;
	    	   margin: 0;
	  } 
	.hp-search-form {
	    padding: 0 0 0 20px;
	}
	.hp-search-form .select-all1 {
    		width: 40%;
    	}	
    	.hp-search-form .select-all2 {
    		width: 18.2%;
    	}	
	.hp-search-form .input-all {
    		width: 18.8%;
    	}
    	#hp-communities{
    		text-align: center;
    	}
    	#hp-category {
    	    text-align: center;
    	   } 
    	.category-left.col-md-7,  .category-right.col-md-5{
 	   width: 100%;
	}	
	.welcome-left.col-md-7 {
    		width: 100%;	
    	}	
	.welcome-right.col-md-5 {
	    width: 100%;
	    text-align: center;
	}
	#footer-nav {
		padding: 0;
		text-align: center;
	} 
/*Footer*/
	#footer-left, .footer-contact, .footer-logos{
		text-align: center;
	}
	.footer-copyright{
		text-align: center;
		font-size: 12px;
	}
	.footer-logos img {
        margin: 10px 0;
     }
	.footer-contact a.asis-mailto-obfuscated-email {
		display: block;
	}
	.footer-contact .social {
		margin: 20px 0;
	}

    #hp-testimonials  .slick-prev.slick-arrow {
    	left: 48%;
    }
    #hp-testimonials  .slick-next.slick-arrow {
    	right: 48%;
    }

    
	#hp-cta .cta-list {
		width: 225px;
		height: 225px;
	}
	#hp-cta .cta-list-big {
	    width: 300px;
	    height: 300px;
	}
	.cta-col {
		width: auto;
	}
    .cta-col.cta-right {
	   margin-left: 45px;
	}
	.cta-col4.cta-mid {
	   margin-left: -70px;
	}


	/* MOBILE HEADER */
	.amh-header-buttons,
	.amh-header-buttons a,
	.amh-header-buttons.amh-1a .amh-center .amh-phone-text,
	.amh-header-buttons.amh-1a .amh-center .amh-phone-text a {
		color: #0052c0;
	}
	.amh-navigation .amh-menu li:hover > a,
	.amh-navigation .amh-menu li.open > a {
		color: #fff;
		background: #0052c0;
	}
	.amh-navigation .amh-menu li ul {
		background: #2271ad;
	}
	.amh-navigation .amh-menu li ul a {
		color: #fff;
	}
	.amh-navigation .amh-menu li ul ul {
		background: #327fb4;
	}
	.welcome-left  a.read-more {
	    	padding: 15px 0;
	    	display: block;
	    	margin: 0 auto 0;
	    	width: 50%;
	    	text-align: center;
	}	
}
/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) | Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 767px) {
	.cta-col {
	    width: 100%;
	    display: block;
	    }
	    .cta-col4 {
    		width: 100%;
    		display: block;
    		margin: 20px 0
    	}
    	.cta-col.cta-right,
    	.cta-col4.cta-mid {
		   margin-left: 0;
		}
		
		#hp-cta .cta-list,
		#hp-cta .cta-list-big {
		    width: 255px;
		    height: 255px;
		}
		
    	.hp-search-form {
 	   padding: 0 5px;
	}
    	.hp-search-form .select-all1, .hp-search-form .select-all2 {
    		width: 99%;
    		display: block;
    		padding: 0;
    }		    
	    .hp-search-form .select-all2 {
	    	width: 99%;
	    	display: block;
	}
	.hp-search-form .input-all {
	    width: 99%;
	    padding: 0;
	    margin-left: 1px;
	   } 

	#hp-testimonials  .slick-prev.slick-arrow {
    	left: 45%;
    }
    #hp-testimonials  .slick-next.slick-arrow {
    	right: 45%;
    }
}	
@media only screen and (max-width: 640px) {
	.fp .fp-content .left-text {
    		    padding-left: 10px;
    	} 
    	.fp .fp-content .right-text {
		   padding: 7px 10px 0 0;
	}	   
	.cat-each{
		padding-left: 0;
	}
	#hp-search {
	    padding-top: 10px;
	  }  
	#main-slide .aios-slider.aios-slider-template-default .aios-slider-splide .aios-slider-custom-video video {
		max-height: calc((335 / 480)* 100vw);
	  margin: auto;
	  top: 19%;
	}
}

@media only screen and (max-width: 499px) {
	.cat-img img {
	    height: 100%;
	    width: unset;
	}
}


@media only screen and (max-width: 480px) {
	#ihf-main-container .btn {
		font-size: 12px;
		padding: 6px 5px;
	}
	/*#content-full #content,
	#content-sidebar,
	#content-full {
		padding: 0;
	}*/

	.agent-center {
		width: 100%;
		margin-right: 0;
	}
}


@media only screen and (max-width: 320px) {
}

@media print{

	#header-wrapper{
		display: none !important;
	}
	.amh-fixed-header-nav{
		display: none !important;
	}

	.sidebar{
		display: none !important;
	}
	header#header .container .row{
		display: none !important;
	}
	#content{
		width: 100% !important;

	}
	.entry-title{
		display: block !important;
	}
	#footer-wrapper{
		display: none !important;
	}
	#fixed-header{
		display: none !important;
	}
	.yoast-breadcrumbs{
		display: none;
	}

}

