/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/
@media only screen and (max-width: 1470px) {
	button.button_menu {
		right: 40px;
	}
	header.header-wrapper a.hdr-home {
		right: 170px
	}
	header.header-wrapper.active a.hdr-home {
	     right: 176px; 
	}
	.section-links { width: 1230px; }
	section#pp_hero .container {
		padding-bottom: 0;
	}
	.sc-map-list-wrap .section-title {
	    margin-bottom: 40px;
	}
	a.sc-map-button {
		height: 130px;
	}
	.s3-text {
		margin-top: 8%;
	}

	.s3-text p {
		font-size: 12px;
		line-height: 18px;
		margin: 0 0 14px;
	}
	
	.s3-img {
		margin-left: 80px;
	}
	
	.s3-img img.s3-img-2 {
		width: 250px;
		bottom: -60px;
	}
	

	section#pp_welcome .s3-text {
		margin-top: 10px;
	}

	.s4-team-thumb-list {
		right: 0;
	}
	.s4-team-thumb-list {
		width: 534px;
	}
}
/* iPad(landscape) | iPad(landscape) | Galaxy Tab 4 (landscape) | Galaxy Tab 3 (landscape) */ 
@media only screen and (max-width: 1199px) {
	.section {
		background: #000 scroll url(images/bg-main.jpg) center top/cover no-repeat;
	}
	.ip-logo-wrapper .logo-animation {
	    max-width: 500px;
	}
	.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
	    width: 195.8px;
	}
	.section-links { width: 980px; }
	.section-title {
		font-size: 42px;
	}
	.s3-text {
		margin-top: -7%;
	}
	.s3-text .section-title {
		letter-spacing: .02em;
		line-height: 1.10;
		margin-bottom: 10px;
		font-size: 30px;
	}
	.s3-text .section-title em{
		font-size: 28px;
	}
	.s3-text p{
		font-size: 11px;
		line-height: 17px;
		margin: 0 0 7px;
	}
	.s3-img {
		margin-left: 32px;
		margin-right: 90px;
	}
	img.s3-img-2 {
		bottom: -40px;
	}
	#pp_search_colorado .section-content {
		padding-top: 0px;
	}
	.sc-map-list-wrap .section-title {
		margin-bottom: 20px;
	}
	.start-animate .sc-map-wrap {
		transform: scale(.7);
		-moz-transform: scale(.7);
		-webkit-transform: scale(.7);
	}
	a.sc-map-button {
		max-width: 100%;
		font-size: 25px;
		height: 100px;
		margin: 13px 0;
	}
	.s4-team-main{
		padding-left: 30px;
		padding-top: 25px;
	}
	a.s4-team-img {
		width: 40%;
	}
	.s3-img-bg {
		right: calc((940px - 100vw) / 2 - 47px);
	}
	.s4-team-accent {
		left: calc((940px - 100vw) / 2)
	}
	.s4-team-details {
		padding-left: 15px;
	}
		.s4-team-details h2 {
			font-size: 40px;	
		}
		.s4-team-details h2:before {
			height: 28px;
		}
	.s4-team-thumb-list {
		width: 430px;
	}
	.footer-content,
	.git-content {
		/* width: 360px; */
		width: 410px;
	}
		.footer-content {
			margin-right: 45px;
		}
			.footer-contact span {
				font-size: 15px;
				margin: 0 10px 10px;
			}
		.git-content {
			margin-left: 45px;
		}
			.git-content .section-title {
				padding-left: 15px;
			}

			.mobile.android .git-content {
				margin-top: -61px;
			}
} 

/* iPad(portrait) | Galaxy Tab 4(portrait)  */ 
@media only screen and (max-width: 991px) {
	body .s1-logo-wrapper {		
		top: -20px;		
	}
	header.header-wrapper a.hdr-home {
		display: none;
	}
    
    .s1-agents {
        top: 0;
    }

    
/*
    main {
    padding-top: 220px;
}
*/
	
	.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {
	    width: 360px;
	}
	/* The following are used on inner pages. Please edit carefully. */

	*[class*="col-md"] { width: 100%; }
    .col-sm-1 { width: 8.33333333%; }
    .col-sm-2 { width: 16.66666666%; }
    .col-sm-3 { width: 25%; }
    .col-sm-4 { width: 33.33333333%; }
    .col-sm-5 { width: 41.66666666%; }
    .col-sm-6 { width: 50%; }
    .col-sm-7 { width: 58.33333333%; }
    .col-sm-8 { width: 66.66666667%; }
    .col-sm-9 { width: 75%; }
    .col-sm-10 { width: 83.33333333%; }
    .col-sm-11 { width: 91.66666667%; }
    .col-sm-12 { width: 100%; }
	.inner {
	    width: 100%;
	}
	#content-sidebar, #content-full {
	    width: 100%;
	}	
	.outer{
		width: 100%;
		min-width: 100%;
	}
	#content-sidebar #content{
		width: 100%;
	}
	#pagepiling {
		height: initial;
		background: #000 scroll url(images/bg-main.jpg) center top no-repeat;
		background-size: auto 100vh;
		position: relative;
	}
		#pagepiling:before {
		    content: '';
		    position: absolute;
		    top: 0;
		    left: 0;
		    right: 0;
		    bottom: 0;
		    background: rgba(0,0,0,.2);
		    pointer-events: none;
		}
	.section {
		background: none;
	}
	.section-content {
		display: block;
	}
	.section-links { width: 720px; } 
	.section-links,
	.section:before,
	#pp_hero:after,
	.s3-img-bg,
	.s4-team-accent,
	.s4-team-details h2:before,
	a.sc-map-button:after {
		display: none;
	}
	button.button_menu {
	    right: 15px;
	    top: 15px;
	}
	#pp_hero .section-content,
	.ip-logo-wrapper.start-animate {
		padding-top: 100px;
	}
		.s1-agents,
		.s1-logo-wrapper {
			padding: 0 30px;
		}
	#pp_search_colorado .section-content {
		padding-top: 50px;
	}

	.mobile.android #pp_search_colorado .section-content {
		padding-top: 75px;
	}
		.sc-map-wrap {
			margin-top: 40px;
			padding-right: 0;
			text-align: center;
			display: none;
		}
		a.sc-map-button {
			font-size: 30px;
			max-width: 100%;
		}
	.s3-text {
		margin-right: 0;
	}
	.s3-img {
		margin: 50px auto 0;
		width: 360px;
		max-width: 100%;
	}
	#pp_meet_the_team .section-content {
		padding: 100px 0;
		display: block;
	}
		.s4-team-main {
			padding-left: 0;
			padding-top: 0;
		}
		a.s4-team-img,
		.s4-team-details {
			width: 100%;
			padding-left: 0;
		}
			.s4-team-contact,
			.s4-team-details h2 {
				text-align: center;
			}
			.s4-team-details h2 {
				padding-left: 0;
				margin-top: 30px;
			}
			.s4-team-contact span {
			    margin: 0 20px 24px!important;
			}

		a.s4-team-img {
		    max-width: 360px;
		    margin: 0 auto;
		}
		.s4-team-thumb-list {
			position: relative;
			width: 100%;
			margin-top: 30px;
		}
	
	#pp_get_in_touch .section-content {
		display: block;
	}
		.git-wrapper,
		.footer-wrapper {
			width: 100%;
		}
		.footer-wrapper {
			background: #000;
		}
			.git-content,
			.footer-content {
				margin: 50px auto;
				width: 100%;
				max-width: 750px;
				padding: 0 15px;
			}

	.menu-dropdown {
		padding: 90px 0 5%;
	}
		#menu_nav > li {
			width: 100%;
			max-width: 100%;
			margin: 15px 0;
		}


	section#pp_welcome {
		margin-top: 110px;
	}

	a.sc-map-button {
		margin: 13px auto;
	}

	.mobile.android .git-content {
    	margin-top: 50px;
	}

	section#pp_hero {
	    position: relative;
	}
	section#pp_hero::after {
	    content: '';
	    position: absolute;
	    left: 9px;
	    right: 0;
	    top: 0;
	    bottom: 2px;
	    background: url(images/accent-frame-1.png) center top/auto 100% no-repeat;
	    display: block;
	}

	.ip-container {
	    /*background: url(images/bg-ip-mobile.jpg);*/
	    overflow: auto!important;
	    background-size: 100% auto !important;
	    background-position: top !important;
	    background-attachment: scroll !important;
	    background-repeat: no-repeat;
	}

	.safari-true .ip-container {
	    overflow: hidden;
	    background-attachment: scroll !important;
	}

	
} 

/* Galaxy Tab 3(portrait) | Galaxy S5(landscape) */ 
@media only screen and (max-width: 767px) {
	*[class*="col-sm"] { width: 100%; }
    .col-xs-1 { width: 8.33333333%; }
    .col-xs-2 { width: 16.66666666%; }
    .col-xs-3 { width: 25%; }
    .col-xs-4 { width: 33.33333333%; }
    .col-xs-5 { width: 41.66666666%; }
    .col-xs-6 { width: 50%; }
    .col-xs-7 { width: 58.33333333%; }
    .col-xs-8 { width: 66.66666667%; }
    .col-xs-9 { width: 75%; }
    .col-xs-10 { width: 83.33333333%; }
    .col-xs-11 { width: 91.66666667%; }
    .col-xs-12 { width: 100%; }
    .ip-banner .container,
    .section-links { width: 100%; }
    .section-title,
    .s4-team-details h2,
    .s4-team-details h2 span,
    #content .entry-title,
	#content .archive-title {
    	font-size: 32px;
    }
    .section-title {
		letter-spacing: .1em;
    }

    .s4-team-thumb-list .slick-track {
    	margin-left: -50%;
    }
    .s4-team-thumb-list .slick-prev {
    	left: -10px;
    }
	.s3-img img.s3-img-2 {
		position: relative;
		bottom: 0;
		right: 0;
		width: 100%;
		margin: 10px 0 0;
	}

	.s4-team-details h2, 
	.s4-team-details h2 span {
		font-size: 24px;
	}

	#ihf-main-container .checkbox label, 
	#ihf-main-container .radio label {
		word-break: break-word;
    	font-size: 12px;
	}
}

/* Galaxy S5(portrait) | iPod Touch(landscape) | iPod Touch(portrait) */ 
@media only screen and (max-width: 480px) {
	*[class*="col-xs"] { width: 100%; }
	#content .entry-title,
	#content .archive-title {
		font-size: 23px;
		letter-spacing: 0;
	}
	#content .archive-subtitle {
		font-size: 20px;
	}
}

@media print{
   header.header-wrapper,
    h1.entry-title,
   .ip-logo-wrapper.start-animate,
    .grecaptcha-badge,
    aside.sidebar,
    p#breadcrumbs,
    .entry.entry-content > a,
    div#ihf-leadcapture-btns,
    div#footerwrapper,
    footer.footer-main.start-animate.visible{
        display: none!important;
    }

    #content{
        width: 100% !important;
    }

    #ihf-main-container .col-xs-5 {
    width: 41.66666666666667%;
    float: right!important;
	}

	h4.ihf-address{
		color:#333!important;
		display: block!important;
		font-size:14px!important;
	}

}
 

/* @media print {
.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
{
display: none !important;
}
body {
background-image: none !important;
}
#content{
width: 100%!important;
margin-top: -200px !important; 
}
}
*/
