/* Let's go responsive, baby! */

img {
	max-width:100%;
	height:auto;
}

/* parallax stuff */
.mobile body {
	overflow: hidden;
}
.mobile .BGTable {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
}
.mobile #scroller {
	height: 3000px;
}

@media (max-width:1179px) {

	.siteWidth {
		width:auto;
	}

	.skewWrap > div > div:nth-child(2) .skewMeDesc {
		min-height:160px;
	}
	.skewWrap > div > div:nth-child(3) .skewMeDesc {
		min-height:190px;
	}
	.skewWrap > div > div:nth-child(4) .skewMeDesc {
		min-height:220px;
	}
	.skewWrap > div > div:nth-child(5) .skewMeDesc {
		min-height:250px;
	}
	.skewWrap > div > div:nth-child(6) .skewMeDesc {
		min-height:280px;
	}

}
@media (max-width:1023px) {

	/* modules */
	.aquaeSkins .MainPane #mdMemberList > li {
		width:50%;
	}
	.aquaeSkins .ModDNNFeedbackC fieldset:first-of-type .Feedback_Field {
		width:100%;
	}
	.aquaeSkins .ModDNNFeedbackC fieldset:first-of-type > div:nth-child(2n-1),
	.aquaeSkins .ModDNNFeedbackC fieldset:first-of-type > div:nth-child(2n) {
		padding:0;
	}
	
	.bannerMainFull .parallaxMe h2 {
		min-height: auto;
	}
	
	.skewWrap > div > div:nth-child(2) .skewMeDesc {
		min-height:190px;
	}
	.skewWrap > div > div:nth-child(3) .skewMeDesc {
		min-height:220px;
	}
	.skewWrap > div > div:nth-child(4) .skewMeDesc {
		min-height:250px;
	}
	.skewWrap > div > div:nth-child(5) .skewMeDesc {
		min-height:280px;
	}
	.skewWrap > div > div:nth-child(6) .skewMeDesc {
		min-height:310px;
	}
}

@media (max-width:900px) {
	.skewWrap {
		padding:30px 10px;
	}
	.skewWrap > div > div:nth-child(2),  
	.skewWrap > div > div:nth-child(3),  
	.skewWrap > div > div:nth-child(4),  
	.skewWrap > div > div:nth-child(5), 
	.skewWrap > div > div:nth-child(6) {
		margin-top:0;
	}
	.skewMePad {
		padding:0 9px 0 10px;
		width:100%;
		float:none;
	}
	.skewMe {
		height:60px;
	}
	.skewMe:before {
		display:none;
	}
	.skewMe br {
		display:none
	}
	.skewMeDesc {
		margin: 0 8px 40px -8px;
		padding: 20px 15px 15px;
	}
	.skewWrap > div > div:nth-child(2) .skewMeDesc,  
	.skewWrap > div > div:nth-child(3) .skewMeDesc,  
	.skewWrap > div > div:nth-child(4) .skewMeDesc,  
	.skewWrap > div > div:nth-child(5) .skewMeDesc, 
	.skewWrap > div > div:nth-child(6) .skewMeDesc {
		min-height:30px;
	}
}


@media (max-width:768px) {
	/* modules */
	.DnnAnnImage {
		width:50%;
	}
	.aquaeSkins .MainPane #mdMemberList > li {
		width:100%;
	}
	
	/* content */
	.WhiteBox {
	  margin:40px;
	}
	
	
}
@media (max-width:599px) {
	.imgLeft,
	.imgRight {
		float:none;
		margin:0 auto 20px;
		display:block;
	}
}
@media (max-width:480px) {
	.TopBarPane {
		display:none;
	}
	.padThis {
		padding:25px 15px;
	}
	.alignContBottom {
		margin-bottom:-25px
	}
	a.nextScreenButton {
		border-top-left-radius: 100%;
		border-top-right-radius: 0;
		width: 50px;
		height: 50px;
		line-height: 70px;
		padding-left: 10px;
		left:auto;
		right:0;
		margin:0;
	}
		
	
	/* content */
	.WhiteBox {
		margin: 30px;
	}

	/*
	.bannerMainFull .parallaxMe h1,
	.backgroundMe .owlCarousel h1 {
		margin-top:80px;
		font-size:35px;
	}
	.bannerMainFull .parallaxMe h2,
	.backgroundMe .owlCarousel h2 {
		font-size:20px;
	}
	*/
	
	
	/* modules */
	.showControlBar .aquaeSkins .ModBlogC .blog-main-content {
	  padding: 5.5em 0 0;
	}
	.showControlBar .aquaeSkins .ModBlogC .dnnPrimaryAction,
	.showControlBar .aquaeSkins .ModBlogC .dnnSecondaryAction {
	  padding:7px;
	}
	.aquaeSkins .dnnMemberDirectory .mdSearchBar input[type="text"] {
		display: block;
		float: left;
		width: 160px;
	}
}
@media (max-height:480px) {	
	/* content */
	/*
	.bannerMainFull .parallaxMe h1,
	.backgroundMe .owlCarousel h1 {
		margin-top:80px;
		font-size:35px;
	}
	.bannerMainFull .parallaxMe .position1,
	.bannerMainFull .parallaxMe .position2,
	.backgroundMe .owlCarousel .position1,
	.backgroundMe .owlCarousel .position2,
	.backgroundMe .owlCarousel .position3 {
		max-width: 22%;
	}
	*/
}
@media (max-width:400px) {
	.siteWidth {
	  padding: 0 15px;
	}
	.headerMain {
	  min-height:48px;
	}
	.logoMain {
	  padding: 10px 0;
	}
	.breadLeft {
	  float: none;
	  padding: 10px 0 0;
	}
	.breadRight {
	  float: none;
	  padding: 10px 0;
	}

	/* modules */
	.aquaeSkins .DnnAnnImage {
		width:100%;
		margin-bottom:10px;
	}
	.aquaeSkins .dnnForm.FeedbackForm .dnnFormItem .RadCaptcha.RadCaptcha_Default {
		width: 100%;
	}

	/* content */
	.WhiteBox {
	  margin: 0;
	}
}


/* landscape mobiles */
@media (max-height:480px) {
	.headerLogo {
		max-width:60%;
		margin-top:10px;
	}
	.homeHeader img:not(.headerLogo) {
		display:none;
	}
}

