/**
 * LAYOUT
 */

html, body {
	margin: 0;
	padding: 0;
	width:100%;
	height: 100%;
	text-align: center;

	font-family: tahoma, verdana, sans-serif;
	font-size: 12px;
	line-height: 15px;
}

form, input, textarea {
	margin:0;
	padding:0;
}

a {
	color: #557391;
}

#wrapper {
	position: relative;
	margin: 0 auto;
	width: 760;
	height: 100%;
	min-height: 100%;
	
	

}

html>body #wrapper { height: auto; }

#page {
	position: relative;
	text-align: left;
	width: 680px;
	margin-top: 120px;
	font-size: 24px;
	color: #999999;
	font-weight: bold;
}
#temp {
	position: relative;
	text-align: center;
	width: 680px;
	margin-top: 100px;
	font-size: 14px;
	color: #666666;
	font-weight: bold;
}

html>body #page { height: auto; }

/**
 * HEADER
 */

#topshadow {
	position: relative;
	display: block;
	height: 20px;
	width: 760px;
	margin: 0 -40px 0 -40px;
	background: transparent url(images/topshadow.gif) center top no-repeat;
}

#header {
	padding: 6px;
	background: white url(images/glava.jpg) 162px 6px no-repeat;
}

/**
 * MAIN MENU
 */

#mainmenu {
	position: relative;
	height: 22px;
	margin: 0 6px 0 6px;
	background: silver url(images/menu_bg.gif) left top repeat-x;
	border-bottom: 1px solid #000;
}

	#mainmenu ul {
		margin:0 0 0 0;
		padding:0;
		list-style: none;
	}
	
	#mainmenu li {
		margin-top: 3px;
		float: left;
	}

	#mainmenu a {
		margin: 5px 0;
		padding: 0 12px;
		border-right: 1px solid #000;
		font-size: 10px;
		color: #000;
		text-decoration: none;
	}
	
	#mainmenu a:hover {
		text-decoration: underline;
	}

#mainmenu a.neborder {
	border: none;
}

/**
 * SUBMENU
 */


#submenu {

	position: relative;
	display: inline;
	float: left;

	margin: 6px 0 0 6px;
	width: 150px;
	height: 340px;
	background: transparent url(images/submenu_bg.jpg) 0px 1px no-repeat;
}

	#currentpage {
		position: relative;
		display: block;
		padding-bottom: 6px;
		background-color: white;
	}
	
	#currentpage h1 {
		border-left: 1px solid #000;
		border-right: 1px solid #000;
	
		padding: 6px;
		height: 30px;
		margin: 0;
		color: #000;
		font-size: 12px;
		font-weight: bold;
		text-transform: uppercase;
	}

#submenu ul, #submenu li {
	position: relative;
	margin:0;
	padding:0;
	width: 150px;
	
	list-style: none;
}



#submenu a {
	display: block;
	width: 138px;
	padding: 4px 6px;

	border-top: 1px solid #000;
	border-bottom: 1px solid white;

	background-color: #fff;
	
	font-size: 10px;
	color: #000;
	text-decoration: none;
}

#submenu a:hover {
	background-color:#CCCCCC;
}

/**
 * RIGHT BLOCK
 */
 
#rightblock {
	float: right;
	display: inline;
	margin: 6px 6px 0 0;
	width: 150px;
	height: 340px;
	background: transparent url(images/picture_bg.jpg) left top no-repeat;
}

/**
 * FOOTER
 */
#footer {
	position: absolute;
	width: 666px;
	font-size: 10px;
	bottom: 0;
	left: 0;
	height: 15px;
	margin-top: -20px;
	margin-left: 47px;
	border-top: 1px solid #000;
}

#footer .test {
	color: #000;
	text-align: right;
	padding-right: 8px;
}

#footer .test a {
	color: #000;
	text-decoration: none;
}

#footer .test a:hover {
	text-decoration: underline;
}

/**
 * CONTENT
 */

#content {
	position: relative;
	margin: 6px 162px 0 162px;
	padding-bottom: 20px;
	text-align: justify;
}

#content h2 {
	margin:0;
	padding:24px 0 8px 0;
	font-size: 16px;
	color: #000;
	
}

#content h3 {
	margin:0;
	padding:14px 0 8px 0;
	font-size: 12px;
	font-weight: bold;
	color: #666;
}

#content .backlink {
	margin-top: 10px;
}