/*** Reset Settings  http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ ***/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: transparent;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}

/* end reset*/
/*some improvements by http://cherenkevich.livejournal.com/41802.html */
a:focus, object:focus {
	outline: none;
}

i, em {
	font-style: italic;
}

b, strong {
	font-weight: bold;
}

p {
	margin: 0 0 1.5em; /*������ �������� ���� �� ������ ������� (������������ ������)*/
}

small{font-size:90%;}

/*links*/
a:link, a:visited {
	text-decoration: underline;
	color: #333;
}

a:hover, a:active {
	text-decoration: underline;
	color: #336633;
}

a.dashed:link, a.dashed:visited {
	text-decoration: none;
	color: #333;
	border-bottom: 1px dashed #333;
}

a.dashed:hover, a.dashed:active {
	text-decoration: none;
	border-bottom: 1px dashed #336633;
	color: #336633;
}

* html .clear, * html .floatform {
    height: 1%;
}

*:first-child+html   .clear, *:first-child+html  .floatform {
    height: 1%;
}

.clear, .floatform {
    display: block;
	clear:both;
	visibility:hidden;
	height:0px;
}


/*end reset*/
/* ie6 png fix*//*
img, div, a{ behavior: url(iepngfix.htc) }*/

html{
	width:100%;
	height:100%;
	font-size: 16px;
	font-family:Tahoma, Verdana, sans-serif;
	color:#333;
}

body{
    font-size: 62.5%;/* 1em = 16* 0.625 = 10px */
    line-height: 1.8em;   
    background-image:url("img/bg.jpg");
    background-position:center top;
    background-repeat: repeat-x;
    background-color:white;
}

#wrapper{
    width:84em;
    margin:0 auto;
		position:relative;
}


#top{
	padding-top:3em;
}

	#topnav{
		float:left;
		width:24em;
		text-align:right;
	}
	
	#toplogo{
		padding-right:40px;		
	}
	
	#top h4{
		color:#336633;
		font-size:1.6em;
		padding:0.5em 0;
		padding-right:40px;
	}
	
	#topmenu{}
	
	#topmenu ul{list-style:none;}
	
	#topmenu li{
		padding-right:40px;}
	
	#topmenu li a:link,
	#topmenu li a:visited{
		color:#333;
		font-size:1.4em;
		text-decoration:none;
	}
	
	#topmenu li a:active,
	#topmenu li a:hover{
		color:#363;
	}	
	
	#topmenu li.active{	
		background-image:url("img/larr.jpg");
		background-position:right center;
		background-repeat: no-repeat;
	}
	
	#langbar{
		padding:1em 3.5em 1em 0;
		/*position:absolute;
		top:12em;
		right:-10em;*/
	}
	
	#langbar a{/*display:block;*/text-decoration:none; font-size:1.4em; padding:0.1em 0.3em;}
	#langbar a.active{padding:0.0em 0.2em; border:1px solid #ccc;}
	
	#topcontent{
		margin-left:24em;
		border: 1px solid #ccc;
		border-left: 4px solid #ccc;
		min-height:21em;
		padding:7em 2em 2em 2em ;
		position:relative;
	}
	
	#topcontent h1{	
		position:absolute;
		top:24px;
		right:-13px;	
		background-image:url("img/toph4bg.jpg");
		background-position:left top;
		background-repeat: no-repeat;
		width:134px;
		height:31px;
		padding:0.2em 0;
		font-size:1.3em;
		color:white;
		text-align:center;
	}
	#topcontent h4{
		color:#336633;
		font-size:1.6em;
		padding:0.5em 40px 0.5em 0;
	}
	
	#topcontent p{	
		font-size:1.1em;
		color:#363;
		margin: 0 0 1em;
	}

#main{margin:3em 0;}
	#sidebar{
		float:left;
		width:22.5em;
		text-align:right;
		padding-right:1.5em;
	}
		#sidebar a{			
			padding-right:2.5em;
			font-size:1.1em;
		}
		
		#sidebar a#link-email{
			background-image:url("img/icon-email.jpg");
			background-position:right;
			background-repeat: no-repeat;			
		}
		
		#sidebar a#link-twitter{
			background-image:url("img/icon-twitter.jpg");
			background-position:right;
			background-repeat: no-repeat;			
		}
		
		#sidebar a#link-download{
			background-image:url("img/icon-download.jpg");
			background-position:right;
			background-repeat: no-repeat;			
		}
	
	#content{
		margin-left:24em;
		padding:0 2em;
		border-left: 4px solid transparent;color:#333; 
	}
	#content p{font-size: 1.2em;}
	#content h4{
		color:#336633;
		font-size:1.6em;
		padding:0.5em 40px 0.5em 0;
	}


#footer{
	border-left: 4px solid #ccc;
	margin-left:24em;
	padding: 0.5em	2em;
}

	#footer a{text-decoration:none;font-size:1.1em;}
	
	#copyright a{color:#363;}

	#footermenu ul {list-style:none;}

	#footermenu li {float:left; margin-right: 2em;}

















