input#mobilemenu, .onlyformobile {
	display: none;
}
@media handheld, only screen and (max-width: 1400px) { 
	img, object, embed {
		max-width: 100%;
		height: auto;
	}

	body {
		 -webkit-animation: bugfix infinite 1s;
	}
	@-webkit-keyframes bugfix {
	 from { padding: 0; }
	 to { padding: 0; }
	}

	.col .textwrap {
		height: 188px;
	}
	
	#middle, #footer .inner {
		padding: 0 10px;
	}
}
@media handheld, only screen and (max-width: 1160px) { 
	
	ul.topmenu li a {
		padding: 28px 8px 24px;
	}
	.linker, div.aside.cycle-slideshow .textwrap {
		position: static;
		max-height: none;
	}
	
	.col .textwrap, .latest .col .textwrap {
		height: auto;
	}
	
	div.onecol.suggestions a.headlinelink {
		top: 90px;
		left: 10px;
		font-size: 42px;
	}
	
	#searchform {
		margin: 17px 25px 17px 0;
	}
	
}
@media handheld, only screen and (max-width: 966px) { 
	/*#logo {		
		top: 28px;
		bottom: auto;
	}
*/
}
@media handheld, only screen and (max-width: 920px) {
	.onlyfordesktop {
		display: none;
	}
	.onlyformobile {
		display: block;
	}
	#page, .inner, .logo, #mainsidebar, #navbar, #main, #subnavbar {
		width: auto !important;
		float: none !important;
	
	}
	#main, #navbar {
		max-width: none !important;
	}
	#mainsidebar {
		max-width: 60%;
	}
	#main {
		margin-bottom: 20px;
	}
	.frontpage.articlelisting #mainsidebar div.twocol > .col.col0 {
	    width: 63%;
	}
	.frontpage.articlelisting #mainsidebar div.twocol > .col.col1 {
	    width: 31%;
	}

	#top {
		margin: 20px 0;
		max-height:150px;
	}
	
	#topnav {
		background: #548F6D;
		width: 100%;
		position: relative;
	}
	
	.logo {
    	min-width: 200px;
	}
	
	#logo {
		position: static;
	}

	#toolbar {
		bottom: 0;
		position: relative;
		right: auto;
		margin-right: 0px;
		padding-left: 10px;
	}
	
	#searchform {
		position: absolute;
		top: 0;
		margin: 10px 25px;
	
	}
	label.mobmenu { 
	  	cursor: pointer;
	  	user-select: none;
		display: block;
		min-height: 3.55em;
		width: 100%;
		color: #fff;
	}
	label.mobmenu:after {
	    position: absolute;
	    content: "\2261";
		right: 20px;
		font-size: 36px;
		font-weight: normal;	
	}
	
	input.mobmenu[type=checkbox] ~ ul.menu {
		display: none;
	}
	input.mobmenu[type=checkbox]:checked ~  ul.menu {
		display: block;
	}
	/* collapse to two cols */
	.fourcol .col {
		width: 49%;
	}
	
	.fourcol > .col.col0, .fourcol > ul > .col.col0 { 
		clear: both;
		float: left;
	}
	.fourcol > .col.col1, .fourcol > ul > .col.col1, .fourcol > .col.col3, .fourcol > ul > .col.col3 { 
		clear: right;
		float: right;
		margin-right: 0;
	}
	.fourcol ul.bolkmenu li.menulevel0 {
		margin-right: 0;
		width: 43%;
	}
	.fourcol ul.bolkmenu li.menulevel0.itemlvlnum2 {
		clear: right;
		float: right;
		margin-right: 0;
	}
	
	ul.mainmenu {
		height: auto;
	}
	ul.mainmenu li a {
		border-left: none;
		border-bottom: 4px solid transparent;
	}
		
	ul.mainmenu li a:hover, ul.mainmenu li a.menuitemselected {
		border-left: none;
		border-bottom: 4px solid #458363;
	}
	ul.mainmenu li {float: none !important;}
	
	ul.topmenu {
		padding: 10px;
		float: none;
	}
	ul.topmenu li {
		float: none;

	}
	ul.topmenu li a {
		border: none;
		font-size: 14px;
		padding: 8px;
		border-bottom:1px solid #D7D7D7;
		margin-bottom: 10px;
	}
	
	ul.topmenu li a:hover, ul.topmenu li a.menuitemselected { 
		background: #45765A;
	}

	ul.sidemenu {
		width: auto !important;
		position: static;
	}
	
	.viewareacontent {
		min-height: 0;
	}
	
	
}
	
}
@media handheld, only screen and (max-width: 500px) {
	#page, #subnavbar, #main, #mainsidebar {
		float: none !important;
		width: auto !important;
		max-width: none;
		min-width: 200px;
	}
	
	.articleblock .imgwrap img {
		width: 100%;
	}
	
	
	/* collapse to one col */
	.col {
		clear: both !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		width: auto !important;
	}

}
@media handheld, only screen and (max-width: 260px) {
	#searchform {
		width: 130px;
	}
	input.searchinput {
		width: 105px;
	}

}
