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

@media only screen and (min-width: 992px) {
	body.mobilenav-active{
		overflow: auto;
	}
	.header-phone-button{
		display: block;
	}
	.header-trigger{
		display: none;
	}
	.header-info__inner{
		justify-content: space-between;
	}
	.header-info__inner--col:last-child{
		display: block;
	}
	.next-move-sec{
		padding: 66px 0;
	}
	.next-move__inner{
		display: flex;
		flex-flow: row wrap;
		align-items: center;
		justify-content: space-between;
	}
	.next-move__content h2{
		letter-spacing: 0.265em;
	}
	.next-move__content--text-lg{
		line-height: 1.5;
	}
	.next-move__content--text-sm{
		margin: 0 0 0;
	}
	.next-move__inner--col:last-child{
		margin: 0 0 0;
	}
	.footerContent__inner{
		display: flex;
		flex-flow: row wrap;
	}
	.footerContent__inner--col{
		/*width: 25%;*/
		flex-grow: 1;
	}
	.footerContent__inner--col:last-child{
		padding: 0 0 0 10px;
	}
	.footer-info{
		padding: 60px 0 0 32px;
	}
	.footermenu{
		padding: 60px 10px 0 28px;
	}
	.footer-cf-wrap{
		max-width: 334px;
		margin-top: -85px;
	}
}
@media only screen and (min-width: 1200px) {
	.footerContent__inner--col:last-child{
		padding: 0 0 0 27px;
	}
}
@media only screen and (max-height: 770px) {
	#nav .sub-menu a{
		padding: 8px 10px;
	}
	.header-center .navigation #nav .sub-menu li a{
		font-size: 11px;
	}
}

@media only screen and (max-width: 1366px) and (max-height: 660px) {
	#nav .sub-menu a {
		padding: 6px 10px;
	}
}

@media only screen and (max-width: 1600px) {
	#nav > #menu-item-446 .sub-menu .sub-menu{
		margin-right: 100%;
		margin-left: auto;
		right: 0;
		left: -150%;
	}
	.welcome-img-wrap {
		margin-left: -118px;
	}
}

@media only screen and (min-width: 1300px) {

	/*HEADER*/
	.header-inner {
		/*margin-right: -67px;*/
	}

}

@media only screen and (max-width: 1480px) {
	.welcome-img-wrap {
		margin-left: -88px;
	}
	.welcome-text p.adjust-text {
		padding-right: 95px;
	}
}

@media only screen and (max-width: 1366px) {
	/*.upperfold-content-wrap {
	    bottom: 20%;
	}*/
	.header-contact-wrap {
		margin: 0 0 10px;
	}
	.header-right-logo img {
		padding: 30px 0;
	}
	.floating-smi {
		top: 40%;
		right: 30px;
	}
	.floating-smi-inner a {
		width: 30px;
		height: 30px;
	}
	.floating-smi-inner a i {
		font-size: 16px;
	}
	.floating-arrow {
		margin-top: 50px;
	}
	.floating-arrow:before {
		height: 40px;
		bottom: 25px;
	}
	.floating-arrow:after {
		bottom: -15px;
		font-size: 10px;
	}
	.floating-arrow > span {
		font-size: 20px;
	}
	.floating-arrow > span:last-child {
		margin: -15px 0 0;
	}
	.welcome-left-inner {
		padding: 0 20px 222px 60px;
	}
}

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

	/*HEADER*/

	
	.header-right {
	    width: 120px;
	    width: 250px;
	}
	.header-logo {
		top: 25px;
	}
	.header-logo img {
		/*max-width: 185px;*/
	}
	.scrolled .header-logo img {
	    max-width: 115px;
	}
	.header-right-logo img {
		max-width: 90px;
		max-width: 150px;
		padding: 32px 0;
	}
	.header-center {
		/*width: calc(100% - 240px);*/
	}

	.header-center .navigation #nav li a {
		font-size: 12px;
	}

	/*FLOATING SMI*/
	.floating-smi {
		right: 15px;
		top: 36%;
	}
	.floating-arrow:after {
	    left: -40%;
	    right: -40%;
	    font-size: 9px;
	    letter-spacing: 0;
	    bottom: -32px;
	    text-align: center;
	}

	.floating-smi-inner a {
	    width: 25px;
	    height: 25px;
	    margin: 3px 0;
	}

	.floating-smi-inner a i {
	    font-size: 13px;
	}

	/*UPPERFOLD*/
	.qs-wrap,
	.cta-wrap {
		padding-right: 50px;
	}
	.cta-item span {
		font-size: 20px;
	}
	/*WELCOME*/

	.welcome-wrap {
	    padding: 73px 0 0 35px;
	}
	.welcome-sec h1 {
	    padding: 0 0 0 30px;
	}
	.welcome-left-inner {
	    padding: 0 20px 111px 30px;
	}
	.welcome-text p{
		font-size: 12px;
	}
	.welcome-text p.adjust-text {
		padding-right: 75px;
	}

	/*IG*/
	.ig-wrap {
		padding: 0 30px 0 0;
	}
	.ig-btn {
		right: 30px;
		top: calc(50% - 70px);
	}
	.ig-btn > span {
		height: 70px;
	}
	.ig-slide-wrap {
		padding-right: 30px;
	}

	/* Sidebar */
	.sb-qs-tab{
		padding: 0 20px;
	}
	.sb-cta-item span{
		font-size: 15px;
	}

	.footernav .sub-menu li a{
		font-size: 11px;
		letter-spacing: 0.02em;
	}

	.sb-qs-wrap .dropdown-menu.open {
	    min-width: 100% !important;
	}

	.sb-qs-input .bootstrap-select.btn-group .dropdown-menu.inner {
	    min-width: 100% !important;
	}

	.welcome-sec h1 > span {
	    font-size: 70px;
	}

	.welcome-sec h1 > span > span {
	    font-size: 50px;
	}

} 

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

	.header {
		position: relative;
		/*margin-top: 52px;*/
		margin-top: 0;
		/*background: #000000;*/
		background: #fff;
		top: 0;
	}
	.logged-in .header {
		top: 0;
	}
		.header-logo {
			position: relative;
			top: 0;
		}
		.header-inner {
			/*justify-content: center;*/
			padding: 0 0;
		}

	/*UPPERFOLD*/
	/*.hp-slideshow .cycloneslider-canvas,
	.hp-slideshow .cycloneslider-template-responsive img.cycloneslider-slide-js[width="1"] + canvas {
		min-height: 300px;
	}*/
	.hp-slideshow .cycloneslider-canvas, 
	.hp-slideshow .cycloneslider-template-responsive img.cycloneslider-slide-js[width="1"] + canvas, 
	.hp-slideshow .cycloneslider-template-video .canvas-holder {
		min-height: auto;
	}
	.hp-slideshow .cycloneslider-template-video .cycloneslider-slides {
		height: auto;
	}
	.qs-wrap, .cta-wrap {
	    padding-right: 0;
	}
	.tagline {
	    text-align: center;
	    margin: 0;
	    left: 0;
	    position: absolute;
	    z-index: 2;
	    top: 15%;
	    width: 100%;
	}

	.upperfold-content-wrap {
	    position: relative;
	    padding: 35px 0;
	    background: #0d0d0d;
	    top: 0;
	    transform: none;
	}

	.upperfold-content {
    	position: relative;
	    width: 100%;
	    max-width: 400px;
	    margin: auto;
	}
	.qs-wrap {
		margin: 0 0 20px;
	}
	.qs-tab {
	    position: relative;
	    display: flex;
	    margin-left: 0;
	}
	.qs-input.qs-zip,
	.qs-input.submit {
		width: 100%;
	}
	.qs-input input[type="text"],
	.qs-input select,
	.bootstrap-select>.dropdown-toggle {
		border-right: 1px solid #ffffff;
	}

	.cta-inner {
		margin: 0;
	}
	.cta-list {
		width: 100%;
		padding: 5px 0;
	}

	/*WELCOME*/
	.welcome-sec h1 {
	    text-align: center;
	    font-size: 20px;
	    padding: 0 15px;
	}
		.welcome-sec h1 > span {
			font-size: 60px;
		}
			.welcome-sec h1 > span > em {
				font-size: 18px;
			} 
			.welcome-sec h1 > span > span {
				display: block;
				font-size: 35px;
			}
		.welcome-wrap {
    		padding: 73px 0 0 0;
    	}
		.welcome-row {
			flex-direction: column;
		}
		.welcome-left,
		.welcome-right {
			width: 100%;
		}
		.welcome-left {
			text-align: center;
		}
		.welcome-left-inner {
		    padding: 20px 15px;
		    width: 100%;
		    max-width: 600px;
		    margin: auto;
		}
		.welcome-text p {
			font-size: 13px;
		}
		.welcome-text p.adjust-text {
			padding: 0;
		}
		.welcome-inner:after {
			display: none;
		}
		.welcome-rm {
			margin: 37px auto 0;
		}
		.welcome-right-inner {
		    justify-content: center;
		    float: none;
		    align-items: center;
		}
		.welcome-img-wrap {
			margin-left: 0;
		}
			.welcome-img-wrap canvas {
				max-width: 500px;
			}
		.testi-btn {
		    position: relative;
		    max-width: 210px;
		    margin: 20px auto 0;
		}

	/*TESTI*/
	.testi-wrap {
		padding: 0;
	}

	/*IG*/
	.ig-title {
		margin-left: 0;
	}
	.ig-wrap,
	.ig-slide-wrap,
	.ig-slide {
		padding: 0;
	}
	.ig-btn {
		position: relative;
		flex-direction: row;
	    right: 0;
	    width: 100px;
	    justify-content: center;
	    align-items: center;
	    margin: 25px auto 0;
	}
		.ig-btn > span {
			height: 50px;
		}
	.ig-slide-wrap {
	    width: 100%;
	    max-width: 500px;
	    margin: 23px auto 25px;
	}

	/*FOOTER*/
	.fcf-input {
	    width: 100%;
	    margin: 7px 0;
	    margin-left: 0;
	}
	.footer-cf-contact {
		text-align: center;
	}
	.footer-cf-inner form {
	    position: relative;
	    width: 100%;
	    max-width: 500px;
	    margin: 47px auto 0;
	}
	.footer-logos img {
	    display: block;
	    margin: 25px auto !important;
	}
	.footernav {
	    flex-direction: column;
	    align-items: center;
	}
	.footernav > li:before {
		right: 0;
		margin: auto;
	}
	.footernav li {
		text-align: center;
		margin: 10px 0;
	}
	.footernav .sub-menu li a{
		font-size: 13px;
		letter-spacing: 0.04em;
	}
	.footernav .sub-menu li {
		width: 100% !important;
	}

	.ip-lenders-left,
	.ip-lenders-right {
		width: 100%;
		text-align: center;
	}
	.ip-lenders-img {
		width: 100%;
		padding: 5px;
	}
		.ip-lenders-img img {
			margin: auto;
		}
	.page-id-185 #reach150_widget{
		width: 100% !important;
	}
	.mobile-iframe-responsive{
		position: relative;
		overflow: hidden;
		padding-top: 62.25%;
		margin-top: 20px;
	}
	.mobile-iframe-responsive iframe{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 0;
	}
	/* 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%;
	}
	
	.footer-top {
		flex-wrap: wrap;
	}
	
	.footer-top > div {
		width: 100%;
	}
	
	.smi-bottom {
		justify-content: center;
	}
	
	.menu-footer-mini-container {
		margin-top: 0;
	}
	
	.footernav > li {
		padding: 12px 0 0;
	}
	
	.footer-cf-wrap {
		padding: 50px 25px 70px;
		margin-top: 0;
	}
	
	.footer-bottom {
		justify-content: center;
		text-align: center;
	}
	
	.footer-icons img {
		margin-right: auto;
	}
	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
    .ip-banner .container{
        width: 100%;
    }

    /*UPPERFOLD*/
	.tagline h2 {
		font-size: 59px;
	}
	.tagline h2 span {
		font-size: 20px;
	}
	.mc-flex > div {
		width: 50%;
	}
	#content .careers-wrap > h1,
	#content .careers-wrap > h1 strong{
		font-size: 30px !important;
		display: block;
	}
}

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

	#content .entry-title, #content .archive-title {
		font-size: 32px;
		letter-spacing: .02em;
	}
	#content .archive-subtitle { 
		font-size: 25px;
	}
	#content a{
		white-space: normal;
		word-break: break-word;
	}

	 /*UPPERFOLD*/
    .tagline {
	    top: 8%; 
	}
	.tagline h2 {
		font-size: 37px;
	}
	.tagline h2 span {
		font-size: 15px;
	}

	/*TESTI*/
	.testi-sec h2 {
		font-size: 40px;
	}
	.testi-sec h2 > span {
		font-size: 25px;
	}
	.testi-inner {
	    padding: 50px 15px 65px;
	}

	/*FOOTER*/
	.footer-cf-wrap {
	    padding: 47px 15px 88px;
	}
	.footer-cf-wrap div.wpcf7-response-output {
		bottom: -135px;
	}
	.footer-cf-title {
		font-size: 33px;
	}
	.footer-cf-title em {
	    font-size: 12px;
	    margin-left: -4px;
	}
	.footer-cf-title > span.cf-title2 {
		font-size: 14px;
	}
	.footer-cf-title > span:last-child {
		font-size: 10px;
	}

	.gmo-field.small {
	    width: calc(100% - 20px);
	}

	#ihf-main-container .ihf-listing-search-results .btn-group.pull-right{
		text-align: right;
	}
	#ihf-main-container .ihf-listing-search-results .btn-group.pull-right > .btn-group{
		float: none;
	}

}
 
 @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 {
		display:none !important;
	}
	#content-sidebar #content{
		width:100% !important;
	}
	#content-sidebar, #content-full {
		margin-top: -400px;
	}
	body {
		background-image: none !important;
	}
	#content{
		width: 100%!important;
		margin-top: 440px !important;
	}
}
