/* (c) Kazan Daemon's Code http://www.kazandaemon.ru/ */

* {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
}

.clear {
	clear: both;
}

body {
	background: #114074 url("/img/bg.jpg") left 50px repeat-x;
}

h1 {
  font-size: 16px;
  font-weight: bold;
}

p {
  font-size: 12px;
  margin: 10px 0;
  line-height: 18px;
}

div#top {
	background: url("/img/bg_top.jpg") center top no-repeat;
	min-width: 960px;
	height: 93px;
}

div#cont {
	background: url("/img/bg_cont.jpg") center top repeat-y;
	min-width: 960px;
}

div#contpage {
	background: url("/img/bg_mid.jpg") center top no-repeat;
	min-width: 960px;
}

div#page {
	position: relative;
	width: 880px;
	padding-left: 10px;
	margin: 0 auto;
	min-height: 690px;
}

div#footer {
	background: url("/img/bg_footer.jpg") center top no-repeat;
	min-width: 960px;
	height: 146px;
}

div#footercont {
	width: 900px;
	margin: 0 auto;
	position: relative;
	font-size: 12px;
	color: white;	
}

div#copyright {
	position: absolute;
	left: 24px;
	top: 88px;	
}

div#copyright label {
	color: #F8CE18;
}

div#copyright span {
	color: #96C623;
}

div#developer {
	position: absolute;
	left: 24px;
	top: 106px;
}

div#developer a, div#developer a:visited {
	color: #C0C0C0;
}

div#developer a:hover {
	color: #770000;
}

div#footermenu {
	position: absolute;
	left: 254px;
	top: 88px;
}

div#footermenu span {
	color: #F9D120;
}

div#footermenu a, div#footermenu a:visited {
	text-decoration: none;
	color: white;
}

div#footermenu a:hover {
	color: #770000;
}

a#logo, a#logo img {
	vertical-align: top;
}

a#logo {
	position: absolute;
	left: 20px;
	top: 12px;
}

div#mainmenu {
	position: absolute;
	left: 283px;
	top: 0px;
	background: url("/img/menu.jpg") left top no-repeat;
	width: 602px;
	height: 85px;
}

div#mainmenu a, div#mainmenu a:visited {
	color: black;
	text-decoration: none;
	font-size: 12px;
	display: block;
	position: absolute;
	top: 6px;
	width: 85px;
	padding-top: 53px;
	height: 32px;
	line-height: 13px;
	text-align: center;
}

div#mainmenu a:hover {
	color: red;
}

div#mainmenu a b {
	font-size: 15px;
}

a#mm1 {
	left: 5px;
}

a#mm2 {
	left: 95px;
}

a#mm3 {
	left: 194px;
}

a#mm4 {
	left: 302px;
}

a#mm5 {
	left: 407px;
}

a#mm6 {
	left: 507px;
}

div#rightpane {
	float: right;
	width: 258px;
	margin-top: 138px;
}

div#pagecontainer {
	padding-top: 138px;
	margin-right: 265px;
}

div#authorization {
	width: 258px;
	height: 178px;
	background: url("/img/authorization.jpg") left top no-repeat;
}

div#authorization label {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-left: 56px;
	padding-top: 15px;
	height: 30px;
}

div#authorization form {
	display: block;
	padding-left: 48px;
	padding-top: 9px;
	height: 80px;
}

div#authorization form input {
	width: 168px;
	margin-top: 12px;
	height: 20px;
	line-height: 20px;
	border: none;
	color: #757575;
}

a#dologin, a#dologin:visited {
	outline: none;
	display: block;
	padding-left: 58px;
	padding-top: 11px;
	text-decoration: none;
	font-size: 13px;
	color: blue;
}

a#dologin:hover {
	outline: none;
	color: red;
}

div#catheader {
	background: url("/img/catheader.jpg") left top no-repeat;
	width: 258px;
	height: 80px;
}

div#catheader label {
	display: block;
	font-size: 16px;
	font-weight: bold;
	margin-left: 56px;
	padding-top: 50px;
	height: 30px;
}

div#cattop {
	width: 258px;
	height: 14px;
	background: url("/img/catbg.gif") left top no-repeat;
}

div#catbottom {
	width: 258px;
	height: 6px;
	background: url("/img/catbg.gif") left -82px no-repeat;
}

ul#categories {
	list-style: none;
}

ul#categories li {
	display: block;
	height: 34px;
	width: 258px;
}

ul#categories li a.cat, ul#categories li a.cat:visited {
  outline: none;
	display: block;
	background: url("/img/catbg.gif") left -14px no-repeat;
	height: 34px;
	line-height: 32px;
	color: black;
	font-size: 12px;
	width: 258px;
	text-decoration: none;
	padding-left: 48px;
}

ul#categories li a.cat:hover {
	background: url("/img/catbg.gif") left -48px no-repeat;
}

#lastquestionsheader {
  margin-top: 85px;
  height: 40px;
}

#lastquestionsheader label {
	background: url("/img/icons.gif") 2px -71px no-repeat;
  font-weight: bold;
  font-size: 16px;
  padding-left: 28px;
  display: block;
  height: 22px;
  line-height: 24px;
  float: left;
}

#lastquestionsheader a, #lastquestionsheader a:visited {
  outline: none;
	background: url("/img/icons.gif") right -93px no-repeat;
  font-weight: bold;
  font-size: 16px;
  padding-right: 18px;
  display: block;
  margin-right: 10px;
  height: 25px;
  line-height: 24px;
  text-decoration: underline;
  float: right;
  color: #1265C3;
}

#lastquestionsheader a:hover {
  color: red;
}

#lastquestionstop {
	background: #FDFAEB url("/img/round.gif") -4px bottom no-repeat;
  height: 4px;
}

#lastquestionstop div {
	background: #FDFAEB url("/img/round.gif") left bottom no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

#lastquestionsbottom {
	background: #FDFAEB url("/img/round.gif") -4px top no-repeat;
  height: 4px;
}

#lastquestionsbottom div {
	background: #FDFAEB url("/img/round.gif") left top no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

div.lastquestions {
  background: #FDFAEB;
  color: #313131;
  font-size: 13px;
  padding: 10px 15px;
  line-height: 22px;
}

hr.lastquestions {
  height: 1px;
  background: #E6E6E6;
  border: none;
}

div#pagecontainer a.nick, div#pagecontainer a.nick:visited {
  font-size: 16px;
  color: #1265C3;
  text-decoration: underline;
  outline: none;
  background: url("/img/icons.gif") left 3px no-repeat;
  padding-left: 15px;
}

div#pagecontainer a.nick:hover {
  color: red;
}

div#pagecontainer a.questiontitle, div#pagecontainer a.questiontitle:visited,
div#pagecontainer a.answertitle, div#pagecontainer a.answertitle:visited {
  color: #5D7620;
  text-decoration: underline;
}

div#pagecontainer a.questiontitle:hover, div#pagecontainer a.answertitle:hover {
  color: red;
}

div#pagecontainer span.info, div#pagecontainer span.answering {
  color: #656565;
  font-style: italic;
}

div#pagecontainer a.goto, div#pagecontainer a.goto:visited {
  color: #1265C3;
  text-decoration: none;
  white-space: nowrap;
}

div#pagecontainer a.goto:hover {
  color: red;
}

#lastanswersheader {
  margin-top: 25px;
  height: 40px;
}

#lastanswersheader label {
	background: url("/img/icons.gif") 2px -47px no-repeat;
  font-weight: bold;
  font-size: 16px;
  padding-left: 28px;
  display: block;
  height: 24px;
  line-height: 26px;
}

#lastanswerstop {
	background: #E1F0FF url("/img/round.gif") -4px bottom no-repeat;
  height: 4px;
}

#lastanswerstop div {
	background: #E1F0FF url("/img/round.gif") left bottom no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

#lastanswersbottom {
	background: #E1F0FF url("/img/round.gif") -4px top no-repeat;
  height: 4px;
}

#lastanswersbottom div {
	background: #E1F0FF url("/img/round.gif") left top no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

div.lastanswers {
  background: #E1F0FF;
  color: #313131;
  font-size: 13px;
  padding: 10px 15px;
  line-height: 22px;
}

div.lastanswers div {
  padding-left: 23px;
  padding-top: 3px;
}

hr.lastanswers {
  height: 1px;
  background: #D8E1EA;
  border: none;
}

#popquestionsheader {
  margin-top: 25px;
  height: 40px;
}

#popquestionsheader label {
	background: url("/img/icons.gif") 2px -24px no-repeat;
  font-weight: bold;
  font-size: 16px;
  padding-left: 28px;
  display: block;
  height: 23px;
  line-height: 25px;
}

#popquestionstop {
	background: #FDF5EB url("/img/round.gif") -4px bottom no-repeat;
  height: 4px;
}

#popquestionstop div {
	background: #FDF5EB url("/img/round.gif") left bottom no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

#popquestionsbottom {
	background: #FDF5EB url("/img/round.gif") -4px top no-repeat;
  height: 4px;
}

#popquestionsbottom div {
	background: #FDF5EB url("/img/round.gif") left top no-repeat;
	float: right;
  width: 4px;
  height: 4px;
}

div.popquestions {
  background: #FDF5EB;
  color: #313131;
  font-size: 13px;
  padding: 10px 15px;
  line-height: 22px;
}

hr.popquestions {
  height: 1px;
  background: #E6E6E6;
  border: none;
}

ul#categories li a.superuser,  ul#categories li a.superuser:visited {
  float: right;
  margin-left: 1px;
  color: red;
  display: inline;
  background: none;
}

#userbar {
  font-size: 12px;
  border: 1px solid green;
  padding: 4px;
}

#userbar a, #userbar a:visited {
  color: blue;
  text-decoration: none;
}

#userbar a:hover {
  color: red;
}

div#userbar a.nick, div#userbar a.nick:visited {
  font-size: 16px;
  color: #1265C3;
  text-decoration: underline;
  outline: none;
  background: url("/img/icons.gif") left 3px no-repeat;
  padding-left: 15px;
}

/** (c) Kazan Daemon's Code http://www.kazandaemon.ru */

#about a:link, #about a:visited {
	color: blue;
	text-decoration: none;
}

#about a:hover {
	color: blue;
	text-decoration: underline;
}

p.banned {
	color: red;
}

#authorizationm form {
	width: 230px;
}

#authorizationm div.field {
	margin-top: 5px;
	text-align: right;
}

#authorizationm label {
	cursor: pointer;
	cursor: hand;
}

#authorizationm p.error {
	color: red;
}

#registration form {
	width: 300px;
}

#registration div.field {
	margin-top: 5px;
	text-align: right;
}

#registration label {
	cursor: pointer;
	cursor: hand;
}

#registration p.error {
	color: red;
}

div.pagelinks {
	margin-top: 10px;
}

div.pagelinks span.page {
	font-weight: bold;
	font-size: larger;
	color: #880000;
}

div.pagelinks a, div.pagelinks a:visited {
  color: blue;
  text-decoration: none;
}

div.pagelinks a:hover {
  color: red;
}

div.questions {
  color: #313131;
  font-size: 13px;
  padding: 10px 15px;
  line-height: 22px;
  margin-top: 15px;
}

a.makequestion, a.makequestion:visited {
  outline: none;
	background: url("/img/icons.gif") right -93px no-repeat;
  font-weight: bold;
  font-size: 16px;
  padding-right: 18px;
  display: block;
  margin-right: 10px;
  height: 25px;
  line-height: 24px;
  text-decoration: underline;
  float: left;
  color: #1265C3;
}

a.makequestion:hover {
  color: red;
}

form.makequestion {
  height: 25px;
  margin: 10px 0;
}

div.shortqa {
  color: #313131;
  font-size: 13px;
  padding: 10px 15px;
  line-height: 22px;
}

div.shortqa div {
  padding-left: 23px;
  padding-top: 3px;
}

#dropanswer p {
	font-weight: bold;
	margin: 1em 0;
}

#dropquestion p {
	font-weight: bold;
	margin: 1em 0;
}

div.controlpanel {
	font-size: 14px;
	color: #774263;
	margin: 5px 0;
	border-top: 1px solid #7C7C7C;
	border-bottom: 1px solid #7C7C7C;
	padding: 2px 0;
}

div.controlpanel a, div.controlpanel:visited {
  color: blue;
  text-decoration: none;
}

div.controlpanel a:hover {
  color: red;
}

div.answer {
  padding-left: 20px;
}


form.answer label {
	font-weight: normal;
	cursor: pointer;
	cursor: hand;
}

form.answer input.field, form.answer textarea {
	width: 458px;
	border: 1px solid black;
}

form.answer textarea {
	height: 150px;
}

form.answer div.field {
	margin-top: 5px;
}

#newquestion label {
	font-weight: normal;
	cursor: pointer;
	cursor: hand;
}

#newquestion form input.field, #newquestion form textarea {
	width: 458px;
	border: 1px solid black;
}

#newquestion form select {
	width: 460px;
	border: 1px solid black;
	vertical-align: middle;
}

#newquestion form textarea {
	height: 200px;
}

#newquestion div.field {
	margin-top: 5px;
}

#newquestion p.error {
	color: red;
}

#newquestion a:link, #newquestion a:visited {
	color: blue;
	text-decoration: none;
}

#newquestion a:hover {
	color: blue;
	text-decoration: underline;
}

#newquestion option {
	background-repeat: no-repeat;
	background-position: left center;
	vertical-align: middle;
}

#newquestion option:hover {
	background-position: 4px center;
	cursor: pointer;
	cursor: hand;
}

#cabinet form {
	width: 350px;
}

#cabinet div.field {
	margin-top: 5px;
}

#cabinet p.error {
	color: red;
}

#cabinet p.success {
	color: #008000;
}

#cabinet a:link, #cabinet a:visited {
	color: blue;
	text-decoration: none;
}

#cabinet a:hover {
	color: blue;
	text-decoration: underline;
}

#cabinet form div.field {
	text-align: right;
}

#pegas, #pegas:visited {
  display: block;
  float: right;
  text-decoration: none;
  margin-top: 90px;
  margin-right: 25px;
  width: 100px;
  height: 40px;
}