@media screen and (max-width: 915px) {
	.header h1 a {
		font-size: 22px;
	}
}

@media screen and (max-width: 890px) {
	.header h1 a {
		font-size: 18px;
	}
}


@media screen and (max-width: 865px) {
	h1 {
		font-size: 1.3em;
	}
	
	h2 {
		font-size: 1.2em;
	}
	
	h3 {
		font-size: 1.1em;
	}
	
	h4 {
		font-size: 1em;
	}
		
	body {
		margin: 0px auto;
		min-width: 240px;
		background-size: inherit;
	}
	
	.logo {
		float: left;
		margin-left: 70px;
	}
	
	#nav {	
		margin-top: 0;
		float: left;
		z-index: 99;
		position: absolute;
		width: 90%;
	}
	
	#nav > a {
		width: 3.125em; /* 50 */
		height: 3.125em; /* 50 */
		text-align: left;
		text-indent: -9999px;
		background-color: rgba(59, 115, 170, 0.9);
		color: #fff;
		position: relative;
	}
		
	#nav > a:before,
	#nav > a:after {
		border: 2px solid #fff;
		position: absolute;
		top: 35%;
		left: 25%;
		right: 25%;
		content: '';
	}
		
	#nav > a:after {
		top: 60%;
	}
		
	#nav:not( :target ) > a:first-of-type,
	#nav:target > a:last-of-type {
		display: block;
		margin-left: 10px;
	}
		
	#nav > ul {
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
	}
		
	#nav:target > ul{
		display: block;
		background-color: rgba(59, 115, 170, 0.9);
		margin: 0 10px;
		width: 90%;
		z-index:10;
	}
		
	#nav > ul > li {
		float: none;
		border-top: 1px solid #dFeEFF; /* fallback colour must use full shorthand */
		border-top: 1px solid rgba(255,255,255,.5);
	}
		
	#nav > ul > li > a {
		color: #fff;
		height: auto;
		text-align: left;
		padding: 0 0.833em; /* 20 (24) */
	}
		
	#nav > ul > li:not( :last-child ) > a {
		border-right: none;
	}
		
	#nav li ul {
		position: static;
		padding: 0; /* 20 */
	}

	#nav li.active a, #nav li:hover {
		color: #fff;
	}
	#nav ul {
		box-shadow: none;
	}
	
	#nav ul li {
		background: transparent;
		margin: 0;
		padding: 0;
	}
	
	#nav ul ul{
		margin-left: 0px;
	}
	
	#nav ul li ul li a {
		color: #fff;
		padding: 0 0 0 25px;
		background-color: rgba(59, 115, 170, 0.9);
	}
	
	#nav ul li ul li ul li a {
		padding-left: 35px;
	}	
	
	#sf-menu span.arrow {
		background-image: none;
	}
	
	.textl, .textr {
		max-width: 100%;
		float: left;
		padding: 10px;
	}
}

@media screen and (max-width: 670px) {
	header {
		height: 170px;
	}

@media screen and (max-width: 500px) {
	
	.logo {
		width: 45%;
	}
		
	header {
		height: 150px;
	}
	
	breadcrumb {
		font-size: 10px;
	}
	
	.copy {
		background: #fff;
		padding-left: 10px;
		padding-right: 10px;
	}
}
