/* qst 2 */
html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

body {
	background: #343331 url(/media/images/bg.png) repeat 0 0 !important;
	color: #444;
	text-align: left;
}

#inv {
	/*margin: 40px 50px 50px 55px;*/
	text-align: center;
}

div.lang {
	text-align: right;
	font-size: 0.8em;
	line-height: 90px;
	float: right;
}

a.lang {
	color: #1DA9B6;
	background-color: #333;
}

#page {
	background: url(/media/images/bg2top.png) no-repeat center top;
	width: 100%;
	display: table;
}

#midpage {
	background: url(/media/images/bg2mid.png) no-repeat center top;
	width: 100%;
	display: table;
}

#midbot {
	background: url(/media/images/bg2midbot.png) no-repeat center top;
	width: 100%;
	display: table;
}

#bot {
	background: url(/media/images/bg2bot.png) no-repeat center top;
	width: 100%;
	display: table;
}

#ln {
	margin: 20px;
	text-align: center;
}

#vlad {
	margin: 50px 80px 0px 80px;
	text-align: center;
}

#per {
	margin: 20px 35px 10px 35px;
	font-size: 0.85em;
	text-align: justify;
}

.letters {
	color: #4c387c;
	font-size: 1.6em;
}

#content {
	width: 522px;
	margin: 40px auto 0;
}

#mid {
	width: 712px;
	margin: 40px auto 0;
}

#rab {
	margin: 65px auto 0;
	text-align: center;
	color: #ffffff;
	font-size: 1.45em;
}

#ppl {
	margin: 96px 98px 30px 98px;
	text-align: justify;
	font-size: 1.2em;
}

#pred {
	margin: 22px 138px 10px 138px;
}

#logo {
	margin: 0px 0px 0px 0px;
	width: 712px;
	height: 100px;
	padding-top: 30px;
	background: url(/media/images/logofill.gif) center top;
}

.ref_logo {
	height: 126x;
	float: left; 
	width:200px;
	text-align:center;
}

.logo_pic {
	margin: 0 auto;
	display: inline;
	vertical-align: middle;
}
.logo_name {
	font-size: 1.6em;
	width:310px;
	text-align: left;
	margin: 0px 0px 0px 230px;
}

.logo_txt {
	text-align: left;
	font-size: 0.85em;
	width:310px;
	margin: 0px 0px 0px 230px;
}

#drugie {
	margin: 35px 0 130px 0;
	text-align: center;
	font-size: 1.4em;
}

#obr {
	margin: 0px 35px 0px 35px;
	font-size: 1em;
}

#poimut {
	margin: 40px 80px 120px 80px;
	text-align: center;
}

.refimg {
	width: 150px;
	max-height: 100px;
}

.logo_pic img {
	position: relative;
	top: 20px;
	max-height: 90px;
	width: auto;
	max-width: 200px;
}