@media screen and (min-width: 481px) {
	#aside .ce_image .image_container{
		margin-bottom: 100px;
}
}

@media screen and (max-device-width: 986px) {
	
	

	div#main, div#footer,
	div#baner .ce_imageslider > div, div#baner .ce_imageslider > div img,
	div#baneru .ce_imageslider > div, div#baneru .ce_imageslider > div img,
	div#baner .ce_image > div, div#baner .ce_image > div img,
	div#baneru .ce_image > div, div#baneru .ce_image > div img,
	.image_container img,
	#mainlogo img,
	.g_contact .grid_5
	{
	height: auto;
	width: 100%;
	}
	
	div#header div#nav li a{
		padding: 0 10px;
		font: 600 13px/26px arial;
		
	}
	#content {
		padding: 0 10%;
	}
	div#header div#nav li a.home{
		padding-right: 12px;
		padding-left: 12px;
	}
	div#cookieNotice{
	height: auto;
	width: 100%;
	margin: 0;
	padding:0;
	}
	
	div#cookieNotice .wrapper{
	padding: 8px 0;
	width: 100%;
	}
	
	div#cookieNotice .wrapper span {
	width: 50%;
	margin: 0 10px;
	}
	
	div#cookieNotice .wrapper .okbutton{
	margin: 6px 0 0 0;
	}
	
	.htick::before
	{
		display: none;
	}
	
	.bg,
	div#header .mod_customnav	{border-radius: 0;}
	

}

@media screen and (max-device-width: 790px) {
	
	#handyinfo .h_phone a div + div,
	#handyinfo .h_mail a div + div,
	#handyinfo .margin,
	.no-rwd
	{
		display: none;
	}
	
	
	
}

@media screen and (max-device-width: 768px) {

	body {
		background: #5B710F url("../images/body-bg-mobile.png") repeat-x fixed 0 0 ;
	}

	#nav ul li:first-child,
	div#header .mod_customnav #nav::after,
	#mod_search::after,
	div.mod_changelanguage
	{
		display: none;
	}
	
	div.mod_changelanguage.open
	{
		display:block;
	}
	.mobile_only{
		display: inline-block;
	}

	div#footer dl dt{
		margin:0;
		border-radius:0;
	}
	
	.beta{
		border-right: initial;
	}
	
	#main{
		margin-top: 100px;
	}
	
	
	#aside > div {
		margin-left: 0;
	}
	
	#aside > div ul li {
		font: 400 14px Arial;
		margin-top: 10px;
	}
	
	#aside .image_container {
		width: 100%;
		float: unset;
		margin-right: unset;
		margin-top: 20px;
	}
	
	#aside ul li a, #aside ul li span{
	word-wrap: break-word;
	}
	
	.htick {
		width: 10px;
		height: 40px;
	}
	.htick.alt{
		left: 0;
		width: auto;
		height: auto;
		padding: 5px;
	}
	
	
	.htick.alt > *{
		white-space: normal;
		font-size: 14px;
		line-height: 130%;
		margin: 5px 10px;
		overflow: auto;
		padding-top: 0;
		text-overflow: none;
		
	}
	#bread-banner {
		padding-top: 3px;
	}
	#bread-banner .ce_headline{
		font:400 22px Arial;
		top: 37%;
	}
	div#header #customenu{
		height: auto;
		top: 37px;
		width: 100%;	
		position:fixed;
		box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);	
	}
	
	div#header #customenu #nav{
		border-left-width: 10px;
		padding: 1px 0;	
	background: #f1f1f1 none repeat scroll 0 0;		

	}
	
	div#header div#nav li{
		float: none;
	}
	div#header div#nav li a{
		border: 0 none;
		padding:10px;
		margin:0;
	}
	div#header div#nav li a#active{
		background-color: #80a409;
		color: #fff;
	}
	
	#handyinfo {
		background: #7fa409 none repeat scroll 0 0;
		left: 0;
		padding: 10px 0;
		position: fixed;
		right: 0;
		top: 0;
		width: 100%;
		text-align: right;
		z-index: 5;
	}
	
	
	#handyinfo .ico{
		background-size: 21px auto;
		width: 21px;
		height: 21px;
	}
	#handyinfo .h_mail .ico{
		height: 12px;
	}
	#handyinfo > .h_phone::before,
	#handyinfo > .h_mail::before{
		border-left: 1px dashed #90bc08;
		content: "";
		height: 22px;
		margin-left: -7px;
		position: absolute;
		top: 9px;
	}
	
	
	div#header #search-on{
		border: 0 none;
		border-radius: 0;
		opacity: 0.7;
		position: fixed;
		right: 92px;
		top: 4px;
	}
	
	#mod_search {
  
		padding: 30px 21px 35px;
		position: fixed;
		right: 0;
		text-align: right;
		top: 41px;
		width: 100%;
	}
	
	.mod_changelanguage {
		position: fixed;
		right: 130px;
		top: 8px;
		z-index: 5;
	}
	
	
	.mod_changelanguage > ul > li a {
		border: 0 none;
		border-radius: unset;
	}
	
	.mod_changelanguage > ul > li a img {
		height: 25px;
		width: 25px;
	}
	
	.mod_changelanguage::after {
		border-right: 1px dashed #90bc08;
		content: "";
		height: 22px;
		position: absolute;
		right: 0;
		top: 2px;
	}
	
	div#header #mainlogo {
		padding: 0 10px;
		left:0;
		right:0;
		top:-50px;
		text-align:center;
	}
	
	div#header #mainlogo img {
		max-width: 100px;
}
	#handyinfo #mobilemenu{
		background: transparent url("../images/menu-x.png") repeat-x scroll 0 0;
		height: 20px;
		left: 6px;
		position: absolute;
		top: 8px;
		width: 25px;
		margin: 2px 4px;
		padding: 5px 0;
	}
	
	div#header #customenu.mod_customnav{
	left: -200%;
	
	}
	
	div#header #customenu.mod_customnav.open {
	transition: left 200ms ease-out 0s;
	left:0;
	}
	
	#baner, #baneru {
		box-shadow: unset;
		padding-top: 4px;
	}
	
	div#footer dl dd.inblock {
		margin: 10px 2%;
	}
	
}
@media screen and (max-device-width: 587px) {	
	
	.g_container #galeria .ce_gallery table {
		text-align: right;
	}
	
	.g_container #galeria .ce_gallery table tr td {
		display: inline-block;
		width: 48% !important;
		vertical-align: top;
	}
	.g_container #galeria .ce_gallery table tr td a:hover img {
		filter: none;
	}
	.g_container #galeria .ce_gallery table .caption {
		font-size: 15px;
		margin-top: 10px;
		line-height: 20px
	}
	
}
@media screen and (max-device-width: 300px) {
	.g_container #galeria .ce_gallery table tr td {
		width: 98% !important;
	}
	.g_container #galeria .ce_gallery table {
		text-align: center;
	}	
	

}



@media screen and (min-device-width: 481px) and (max-device-width: 600px) {
	#strengths .block p:nth-child(3){
	min-height: 70px;
	}
}
