/* Header */
#header {
	width: 1024px;
	height: 130px;
	overflow: hidden;
	margin: 0 auto;
}

/* Logo */
#logo {
	width: 223px;
	height: 130px;
	float: left;
}

#logo a {
	display: block;
	margin: 22px 0px 0px 30px;
}

/* Search form */
#search-form {
	width: 539px;
	height: 130px;
	float: left;
	overflow: hidden;
	background: url(/static/images/skin/search-form.jpg) 0px 0px no-repeat;
}

#search-form div.navigate {
	margin: 19px 0px 0px 5px;
}
#search-form input {
	margin: 0;
	padding: 0;
}
#search-form label {
	padding-right: 12px;
}
#search-form input.query {
	width: 415px;
	margin: 13px 0px 0px 14px;
	border: 0px none;
	font-size: 11px;
}
#search-form input.submit {
	width: 62px;
	height: 21px;
	margin: 0px 0px 0px 17px;
}
#search-form a.rss {
	width: 273px;
	height: 32px;
	margin: 6px 0px 0px 2px;
	padding: 16px 0px 0px 60px;
	display: block;
	float: left;
	background: url(/static/images/rss.jpg) left top no-repeat;
}

/* Auth Login */
#auth-login {
	width: 233px;
	height: 130px;
	float: left;
	background-color: #fff2e1;
	overflow: hidden;
}

#auth-login div.header {
	padding: 7px 13px 7px 13px;
	background-color: #ff8e00;
	border-bottom: 1px solid #ffffff;
	overflow: hidden;
}

#auth-login div.header div {
	float: left;
	width: 160px;
	white-space: nowrap;
	overflow: hidden;
	color: #ffffff;
}

#auth-login div.header a {
	float: right;
	color: #ffffff;
}

#auth-login div.photo {
	width: 62px;
	height: 82px;
	margin: 6px 0px 13px 13px;
	float: left;
}

#auth-login div.photo img {
	border: 1px solid #9c9c9c;
}

#auth-login ul {
	width: 140px;
	float: left;
	margin: 9px 0px 13px 13px;
}

#auth-login ul li {
	margin-bottom: 2px;
	color: #646363;
	font-weight: bold;
}

#auth-login ul li a {
	font-weight: normal;
}
	
/* Auth Logout */
#auth-logout {
	width: 233px;
	height: 130px;
	float: left;
	background: url(/static/images/skin/auth-login.gif) 0px 0px no-repeat;
}

#auth-logout input {
	margin: 0;
	padding: 0;
}

#auth-logout div.links {
	margin-top: 5px;
	text-align: center;
	color: #186db8;
}

#auth-logout div.links a {
	margin: 0px 5px;
}

#auth-logout div.links b {
	margin: 0px 5px;
	color: #656565;
}

#auth-logout div.input {
	margin: 12px 0px 0px 17px;
}

#auth-logout div.input input {
	width: 193px;
	height: 17px;
	margin-top: 10px;
	padding: 2px 3px 0px 3px;
	background: url(/static/images/nick-pass.gif) 0px 19px no-repeat;
	border: 1px solid #a7a6aa;
}

#auth-logout div.input input.nick.bg {
	background-position: 0px 0px;
}

#auth-logout div.input input.password.bg {
	background-position: 0px -19px;
}

#auth-logout div.submit {
	margin: 8px 0px 0px 17px;
	overflow: hidden;
}

#auth-logout div.submit div {
	float: left;
}

#auth-logout div.submit div input {
	height: 20px;
	margin-right: 4px;
}

#auth-logout div.submit label {
	float: left;
	display: block;
	margin-top: 4px;
}

#auth-logout div.submit input.submit {
	width: 68px;
	height: 21px;
	margin: 0px 12px 0px 0px;
	float: right;
}

/* Menu */
#menu {
	width: 1024px;
	height: 32px;
	overflow: hidden;
	margin: 0 auto;
	background: #f5f5f5 url(/static/images/skin/menu-bg.gif) 0px 0px repeat-x;
	position: relative;
	
}

#menu li.left {
	width: 16px;
	height: 32px;
	position: absolute;
	left: 0;
	top: 0;
	background: url(/static/images/skin/menu-lr.gif) 0px 0px no-repeat;
}

#menu li.right {
	width: 16px;
	height: 32px;
	position: absolute;
	right: 0;
	top: 0;
	background: url(/static/images/skin/menu-lr.gif) 0px -32px no-repeat;
}

#menu li {
	float: left;
}

#menu a {
	height: 22px;
	margin: 1px 3px 0px 2px;
	padding: 8px 14px 0px 19px;
	display: block;
	float: left;
	background: url(/static/images/skin/menu-marker.gif) 6px 11px no-repeat;
}

#menu a.first {
	padding-left: 32px;
	background-position: 24px 11px;
}

#menu a:hover {
	background-color: #ffffff;
}

#menu li.active {
	float: left;
	height: 22px;
	border-top: 1px solid #00397a;
	border-bottom: 1px solid #00397a;
	font-weight: bold;
	color: #ffffff;
	padding: 8px 13px 0px 24px;
	background: #2a70b2 url(/static/images/skin/menu-marker2.gif) 6px 13px no-repeat;
}

#menu li.active.first {
	padding-left: 37px;
	background-position: 24px 13px;
}

#menu li.active.last {
	padding-right: 21px;
}

/* Content */
#content {
	width: 1024px;
	overflow: hidden;
	margin: 0 auto;
}

div.content {
	width: 962px;
	overflow: hidden;
	margin: 15px auto 0px;
}

div.mainblock {
	float: left;
	width: 760px;
}

/* Footer */
#footer {
	width: 962px;
	overflow: hidden;
	margin: 15px auto 0px;
	border-top: 2px solid #b9b9b9;
	padding: 20px 0px 10px 0px;
	color: #929292;
}

#footer div.studio {
	width: 300px;
	float: left;
	padding-left: 100px;
	background: url(/static/images/skin/studio.jpg) 16px 4px no-repeat;
}

#footer div.copyright {
	width: 365px;
	float: left;
}

#footer div.copyright ul li {
	display: inline;
}

#footer div.copyright ul b {
	color: #5c5c5c;
}

#footer div.counters {
	width: 190px;
	float: left;
}

/* Not found */
#notfound {
	width: 400px;
	margin: 50px auto 0px;
	padding: 0px 0px 150px 200px;
	background: url(/static/images/skin/logo.jpg) 0px 0px no-repeat;
}

#notfound h1 {
	margin: 0px 0px 0px 0px;
}

#notfound p {
	margin-top: 12px;
	font-size: 12px;
}
