@media only screen and (max-width: 400px){
	*{
		box-sizing: border-box;
	}
	.head .head{
		height: auto !important;
	}
	.head .head img:not(.foreign){
		/*width: 100%;
		height: auto;*/
	}
	.contentboxright{
		margin: 0 !important;
	}
}
@media only screen and (max-width: 490px){
	*{
		box-sizing: border-box;
	}
	#mobile #mnubtn{
		/*top: 130px !important;
		left: 15px !important;*/
	}
	.head .head{
		height: auto !important;
	}
	#mobile{
		/*padding-top: 170px !important;*/
	}
	.topbox .pic{
		height: 250px;
	}
	/*
	.contentboxright table{
		width: 100%;
	}
	.contentboxright table td img{
		width: 30%;
		height: auto;
		float: none;
		display: inline-block;
	}
	.contentboxright td p{
		width: 65%;
		float: right;
		display: inline-block;
	}
	.contentboxright{
		margin: 0 !important;
	}
	.right div table td{
		display: table;
	}
	.right div table td img, .right div table td img p{
		display: table-cell;
	}
	*/
	#div_135, #div_143{
		width: auto !important;
	}
	table.rendezveny-item.desc tr td{
		display: block;
		width: 100% !important;
		margin: 0 auto;
	}
	table.rendezveny-item.desc td.rendezveny-kep{
		max-width: none !important;
		width: 100% !important;
	}

}
@media only screen and (max-width: 770px){
	*{
		box-sizing: border-box;
	}
	.head .head{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 106px;
	}
	.container{
		position: relative;
	}

	#mobile{
		position: relative;
		padding-top: 106px;
		display: block;
	}
	#mobile #mnucnt{
		display: none;
		/*height: 0px;*/
		width: 100%;
		overflow: hidden;
		background: white;
	}
	#mobile #mnubtn{
		position: absolute;
		top: 20px;
		left: 20px;
		height: 20px;
		width: 25px;
		background-image: url("/parameters/anthemon/images/mobmen.png");
		background-position: center center;
		background-size: 100% 100%;
		z-index: 6000;
		cursor: pointer;
	}

	#mobile #mnucnt .leftpanelmenu .mainul .mainli .maina{
		background: none;
		line-height: 150%;
		height: auto;
	}
		#mobile #mnucnt .leftpanelmenu .mainul .mainli .maina:hover{
			background: none;
			color: #387D24;
		}
	#mobile #mnucnt .leftpanelmenu .mainul .mainli .maina.on{
		color: #80C663;
		text-shadow: none;
	}
		#mobile #mnucnt .leftpanelmenu .mainul .mainli .maina.on:hover{
			color: #80C663;
		}
	#mobile #mnucnt .leftpanelmenu .mainul .mainli .subul{
		margin: 0;
	}
	#mobile #mnucnt .leftpanelmenu .mainul .mainli .subul .subli{
		border: none;
		width: 100%;
		max-height: none;
		line-height: 100%;
	}
		#mobile #mnucnt .leftpanelmenu .mainul .mainli .subul .subli .suba:hover{
			color: #80C663 !important;
		}
		#mobile #mnucnt .leftpanelmenu .mainul .mainli .subul .subli:hover:before {
			content:url('images/leftmenu_arrow_green.png');
		}

	h3.headSlogan{
		display: none !important;
	}
	.head table tr td:nth-child(2){
		display: none;
	}
	.topbox{
		display: block;
		height: auto;
		padding: 0;
		margin: 0;
	}
	.topbox .pic{
		display: block;
		width: 100%;
		background-position: center center;
		float: none;
		position: static;
	}
	.topbox .box{
		display: none;
	}
	.right h1{
		display: block;
		width: 100%;
		margin: 0;
		padding: 0;
		float: none;
		background-image: none;
		background: #454a50;
		color: white;
		padding-left: 40px;
		text-transform: uppercase;
		position: relative;
		height: auto !important;
		font-size: 16px;
		font-weight: normal;
		font-family: "Open Sans", sans-serif;
		padding-top: 5px;
		padding-bottom: 5px;
	}
		.right h1:before{
			content: url("images/leftmenu_arrow_white.png");
			position: absolute;
			top: 2px;
			left: 20px;
			z-index: 5000;
			height: 22px;
			width: 30px;
			margin-left: 0px !important;
		}

	.right h1+p{
		padding-left: 15px;
		padding-right: 15px;
	}
	/*
	.right table{
		max-width: none !important;
		padding-left: 15px;
		padding-right: 15px;
	}
	.right h2:not(:empty):not(.nlxtitle) br{
		display: none;
	}
	.right h2:not(:empty):not(.nlxtitle){
		text-transform: uppercase;
		clear: left;
		font-family: "Open Sans",sans-serif;
		font-weight: 700;
		font-size: 23px;
		color: #164800;
		padding-left: 45px;
		margin-top: 15px;

	}
		.right h2:not(:empty):not(.nlxtitle):before{
			content: url("images/title_before.png");
			margin-top: 0px;
			margin-right: 5px;
			margin-bottom: 0px;
			margin-left: -30px !important;
			position: absolute;
			padding-top: 2px;
		}


	.contentboxright{
		margin: 0 !important;
	}
	*/
	.topbox .box .filoz,
	.topbox .box br{
		display: none;
	}
	.topbox .box a{
		background: none;
		border: none;
		padding: 0;
		margin: 0;
		float: right;
		margin-right: 30px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
		.topbox .box a:hover{
			box-shadow: none;
		}
	.bodycontent{
		display: table;
		width: 100%;
	}
	.bodycontent .left{
		display: table-footer-group;
		width: 100%;
	}
	.bodycontent .right{
		display: table-header-group;
		width: 100%;
	}
	/*
	.right table{
		width: 100% !important;
		padding-bottom: 15px;
		border-bottom: 1px solid silver;
		margin-top: 15px;
	}
	*/
	.foot .container{
		padding-left: 15px;
		padding-right: 15px;
	}
	.foot .col2{
		width: 100% !important;
	}
	#div_90{
		width: 100% !important;
	}
	.right li{
		left: 0 !important;
		padding-right: 20px;
	}
	p{
		padding-left: 10px;
		padding-right: 10px;
	}
	/*
	.contentboxright td p{
		width: 55%;
		float: right;
		display: inline-block;
	}
	*/
	#div135{
		width: auto !important;
	}
	form table tr td{
		display: block;
		width: 100%;
		margin: 0 auto;
	}
	form table{
		width: 80% !important;
		margin: 0 auto;
	}

}


@media only screen and (max-width: 1000px) and (min-width: 771px){
	*{
		box-sizing: border-box;
	}
	.topbox{
		display: table;
	}
	.topbox .pic{
		display: table-cell;
		width: 70%;
		background-position: center center;
	}
	.topbox .box{
		display: table-cell;
		width: 30%;
		margin: 0;
	}
	/*
	.right table{
		width: 100% !important;
	}
	*/
	#div135{
		width: auto !important;
	}
}

@media only screen and (max-width: 1000px){
	*{
		box-sizing: border-box;
	}
	.container,
	.head,
	h3.headSlogan,
	.topbox,
	.head table
	{
		width: 100% !important;
	}

	.head table td{
		display: block;
		width: 100%;
		text-align: center;
	}

	.pnlogo{
		display: absolute;
		bottom: 0;
		right: 0;
		margin: 0 !important;
	}
	/*
	td img{
		float: left !important;
	}

	p{
		margin-left: 5px !important;
		margin-right: 5px !important;
	}
	*/
	#div_135, #div_143{
		width: auto !important;
	}

}
@media only screen and (max-width: 350px){
	*{
		box-sizing: border-box;
	}
	#mobile{
		padding-top: 120px !important;
	}
	#mobile #mnubtn{
		top: 85px !important;
	}
	/*
	.contentboxright table{
		width: 100%;
	}
	.contentboxright table td{
		width: 100%;
		display: block;
	}
	.contentboxright table td img{
		width: 100%;
		height: auto;
		display: block;
	}
	.contentboxright td p{
		width: 100%;
		float: none;
		display: block;
	}
	*/
	#div_135, #div_143{
		width: auto !important;
	}
}
