html {
	height: auto;
	-webkit-text-size-adjust: none;
}
body {
	font-size: 100%;
	height: auto;
}
header#primary_nav {
	min-width: 0;
	font-family: "Trebuchet MS", HelveticaNeue, Helvetica, Arial, sans-serif;
	}
header#primary_nav nav ul li a {
	font-size: 0.9em;
}
section#main_body {
	min-width: 0;
}
body.home section#main_body {
	min-width: 0;
}
section#main_body aside#secondary_nav {
	font-family: "Trebuchet MS", HelveticaNeue, Helvetica, Arial, sans-serif;
	font-size: 0.9em;
}
section#main_body aside#accessibility {
	display: none;
}
section#main_body article header h1 {
	padding-top: 1em;
}
section#main_body article h2, section#main_body article h3 {
	font-family: "Trebuchet MS", HelveticaNeue, Helvetica, Arial, sans-serif;
}
section#main_body article {
	padding-right: 20px;
	max-width: 100%;
}
section#main_body article:last-of-type {
	padding-bottom: 40px;
}
body.home section#main_body article {
	margin-top: 0;
	padding-top: 40px;
	background: transparent url(images/backgrounds/homepage.jpg) no-repeat right 50px;
	max-width: 100%;
}
body.home section#main_body article .ngg-slideshow {
	top: 50px;
}
footer#page_footer {
	background: transparent none;
	position: relative;
	margin: 2em 0 0 0;
	padding: 5px 10px;
	width: auto;
	min-width: 0;
}
body.home footer#page_footer {
	padding-left: 0;
}

section.ngg-galleryoverview, .ngg-albumoverview {
	margin: 1.5em -20px 0 -30px !important;
	}
.ngg-navigation {
	margin-right: 20px !important;
}
section#main_body article section.ngg-galleryoverview .ngg-navigation a , 
section#main_body article section.ngg-galleryoverview .ngg-navigation span {
	margin: 0 20px 0 0 !important;
	padding: 13px 11px !important;
	width: 25px !important;
	min-height: 20px !important;
}

@media all and (orientation: portrait) {
	body.home section#main_body article {
		padding-right: 460px;	
		}
	}
