@media screen and (max-width: 800px) {
	#wrapper {
		overflow: hidden;
	}
	
	#frontpage-header {
		height: auto;
		overflow: hidden;
		margin-bottom: 10px;
	}
	#navigation {
		height: auto;
		display: inline-block;
	}
	#navigation .search-block {
		clear: left;
		float: left;
	}
	#imageband {
		padding: 5px 0 0 5px;
		height: auto;
		background: none;
	}
	.home #imageband {
		background: #c7c7c7;
	}
	#header {
		display: inline-block;
		height: auto;
	}
	#navigation, 
	#imageband, 
	#front-page, 
	#inner-page, 
	#footer-wrapper .footer,
	#h1-tag {
		margin-right: 0;
		margin-left: 0;
		padding-right: 2px;
		padding-left: 2px;
		width: 95%;
	}
	#navigation {
		background: none;
	}
	#inner-page .col1 {
		width: 95%;
	}
	
	#navigation-mobile {
		display: block;
		width: 80px;
		padding: 10px;
		background: #58585a url(img/arrow-up.png) 71px center no-repeat;
		border-radius: 5px;
		color: #fff;
		margin: 10px 0;
	}
	#navigation-mobile:hover {
		cursor: pointer;
	}
	#menu li {
		width: 96%;
		text-align: left;
		font-size: 17px;
		float: none;
		/* background: url("img/arrow.png") right center no-repeat; */
		border-top: 1px solid #EBE8E1;
	}
	#menu li.back,
	#menu li.back .left {
		background: none;
	}
	
	
	.search-block {
		background: url("img/search-background.png") 0 0 no-repeat;
		float: none;
		height: 22px;
		margin-top: 6px;
		width: 158px;
	}
	.search-block input {
		background: none;
		border: 1px solid transparent;
		height: 19px;
		padding: 0 0 0 5px;
		width: 131px;
	}
	#imageband {
		margin-top: 0;
	}
	
	
	#footer-wrapper .footer .footer-navigation {
		float: left;
		margin-top: 10px;
	}
}
@media screen and (max-width: 650px) {
	#front-page .col3,
	#front-page .col2,
	#front-page .col1 {
		width: 95%;
		margin-bottom: 10px;
	}
	.recent_posts_with_excerpts li {
		display: inline-block;
	}
	.subject {
		width: 240px;
	}
}
@media screen and (max-width: 535px) {
	.slogan {
		display: none;
	}
	#header, #frontpage-header {
		padding-left: 0;
	}
}
