/*--------------------------------------------------------
   Таблица стилей форума
   файл:      stylesheet.css
  (с) andrvm
---------------------------------------------------------*/

* {
   margin:0;
   padding:0;
   border:0;
}

html {
   height:100%;
   background:#fbfbfb;
}

body {
   font: normal 12px Tahoma, Verdana, Arial, Helvetica, sans-serif; 
   background:#ededed;
   color:#333;
   position:relative;
   margin:0 auto;
   min-height:100%;
   height:auto !important;
   height:100%;
   z-index:0; 
   width:1000px;
}

a  {
   text-decoration:underline;
   outline:none;
   color: #005cb5;
}

textarea {
   background:#fbfbfb;
   border:1px solid #bbb;
}

h3 {
   font-size:12px;
   position:relative;
}

p {
   padding:5px 0 5px 0;
}

ul {
   list-style:none;
   position:relative;
   padding:0;
   margin:0;
 }

pre {
   font-size: 1.1em;
   font-family: Monaco, 'Courier New', monospace;
}

blockquote, code {
   display:block;
   border:1px solid #bbb;
   background: #ecf5d8;
   margin:10px;
   padding:10px;
   font-style:normal;
   color:#42681d;
}

cite {
   display:block;
   margin-bottom:10px;
   color:#333;
}

code {
   background: #fbfbfb;
   color:green;
   font-family:Verdana, Geneva, sans-serif;
}

.nowrap {
   white-space: nowrap;
}

.username-coloured {
   font-weight: bold;
}

.sep {
   color: #325375;
}

img {
   border: none;
}

.title {
   font-size:13px;
   font-weight:bold;
   color:#333;
}

.wrapper, #search-result-title {
  overflow:hidden;
  padding:5px 10px 5px 10px;
}


#login, #postheader, #message {
   position:relative;
   padding:10px;	
}

.forums, #login, #search-jump,
.login-bottom, #footer, .stat, #message  {
   background:#dedede;
}

/* навигация (меню) */
.navbar {
   position:relative;
   overflow:hidden;
   /*margin:10px 0 10px 0;*/
 }

.navbar ul {
   width:100%;
   position:relative;
   overflow:hidden;
 }

.navbar li {
  float:left;
 }

.navbar li a {
  display:block; 
  text-decoration:underline;
 }

/**
 * Вспомогательные классы  и селекторы
 */

.clearfloat {
   clear:both;
 }

.floatleft {
   float:left;
 }

.floatright {
   float:right;
 }

.alignright {
   text-align:right;
 }

.alignleft {
   text-align:left;
 }

.aligncenter {
   text-align:center;
 }
 
.lineheight15 {
   line-height:1.5
}

.border {
   border:1px solid red;
}

.padding0 {
   padding:0;
}

/**
 * Элементы управления
 */

.input, select {
   padding:2px;
   background:#fafafa;
   border:1px solid #bbb;
   font-size:11px;
}

.button, .but, .button2 {
   border:1px solid #666;
   padding:2px 5px 2px 5px;
   color:#9cf771;
   font-weight:bold;
   font-family:Tahoma,Verdana, Geneva, sans-serif;
   background:url(images/but_bg.gif) repeat-x left center;/*#acacac;*/
   cursor:pointer;
   outline:none; 
   font-size:11px;
   
}

.but {
   background: #898989; /*898989*/
   color: #97f772; /*background:#989898; color:#aece5c;*/ 
   /*border:0;*/
}

.button2{
	color:white;
	background:#666;
}
.error {
   display:block;
   background:#fbfbfb;
   color:#ff5500;
   text-align:center;
   padding:5px 10px 5px 10px;
   margin:5px 0 5px 0;
}

.confirm {
   text-align:center;
   color:#999;
}

/*------------------------------
   Шапка
----------------------------*/
#head {
  height:100px;
  position:relative;
  background:url(images/head_bg.jpg) no-repeat left;
  color:silver;
  width:1000px;
}

#head h1, #head h1 a {
  position:absolute;
  left:75px;
  top:20px;
  width:205px;
  height:55px;
}
			   
#head h1 a {
  text-indent:-3000px;
  left:0px;
  top:0;
}

#head h2, #head p {
  padding:10px 0 0 380px;
  font-size:11px;
}
             
#head h2 span {
  color:#dcdcdc;
}
			   
#head h2 strong {
  color:#9cf771;
}
             
#head a#logged {
  position:absolute;
  right:10px;
  top:10px;
  font-size:11px;
  color:#d14c9d; 
  display:block;
  font-weight:bold;
}

#head p#leader {
  padding:20px 0 0 380px;
  /*text-align:center;*/
  color:white;
}

#head p#leader span {
  color:#fe9329;
  font-weight:bold;
}

#head p#leader a {
  color:#6dca53;
  font-weight:bold;
}

/* Основное меню (mainNav) */

.navbar #mainNav{
  background:white;
}
			  
.navbar #mainNav li {
  line-height:27px;
  width:95px;
  text-align:center;
  position:relative;
}
              
.navbar #mainNav li:first-child {
  border-left-width:0;
  width:75px;
}

.navbar #mainNav li a {
  height:27px;
  color:gray;
  font-weight:bold;
  font-size:1.06em;
}

.navbar #mainNav a.selected, .navbar #mainNav a:hover {
  color:#333;
  background:#ededed;
  text-decoration:none;
}

/* Языковое меню (langNav) */

.navbar #langNav {
  position:absolute; 
  height:27px;
  top:8px;
  right:5px;
  width:auto;
}

.navbar #langNav li {
  line-height:27px;
  padding-right:10px;
  position:relative;
}

.navbar #langNav li a {
  color:gray;
  text-transform:uppercase;
}

.navbar #langNav li img {
  opacity:0.5;
}

.navbar #langNav li a:hover,
.navbar #langNav li a.selected {
  text-decoration:none;
}

.navbar #langNav li a:hover img, .navbar #langNav li a.selected img {
  opacity:1;
}

/**
 * бегунок алфавитный
 */
.begun {
  font-size:11px;
  padding:5px 0 5px 10px;
  font-weight:bold;
 }

.begun a {
  color:#6DCA53; 
  padding:0 2px 0 2px;
 }

/**
 * Панели (в шапке)
 */

#menuBar {
  padding:10px;
  position:relative;
  margin:5px 0 0 0;
}

#adminBar {
  padding:5px 10px 5px 10px;
}

#adminBar a, #menuBar a {
  margin-right:5px;
 }

#menuBar a {
  color:#333;
  text-decoration:none;
}

#menuBar a span {
  text-decoration:underline;
}

#search-box {
  position:absolute;
  top:0;
  right:10px;
}

#search-box .input, #search-result-title .input {
  width:150px;
  font-size:11px;
  background: #fafafa url(images/find.png) 5px center no-repeat;
  padding-left:30px;
}

#search-result-title .floatleft {
  font-style:italic;
}

/*.navBar {
  position:relative;
  overflow:hidden;
  margin:10px 0 10px 0;
}*/

p.breadcrumbs {
  padding:0px 10px 0px 10px;
  margin:5px 0 5px 0;
  color: #57687A;
  font-weight: bold;
  white-space: normal;
  font-size:13px;
}

p.breadcrumbs a {
  color: #7494c3;
}

#searchBar {
  padding:0 10px 10px 10px;
  position:relative;
}

#searchBar p {
 position:absolute;
 right:10px;
 bottom:5px;
 }

#searchBar a {
  color:#333;
}



/*------------------------------
  Контент
----------------------------*/

#content {
   overflow:hidden;
   padding:0 0 50px 0;
   width:1000px;
}

#postheader h3 {
   padding:0;
}

#postheader p {
   font-size:11px;
}

/**
 * Форум
 */

 /* заголовок ( форум, темы, ... */
.header {
  display:block;
  position:relative;
  overflow:hidden;
  height:16px;
  line-height:16px;
  background:#999;
  color:white;
  font-weight:bold;
  width:1000px;
}

.header dl {
  width:1000px;
  padding:0 10px 0 10px;
}

.header dt, .header dd {
  border-right:1px solid #dedede;
  float:left;
  text-align:center;
  display:block;
}

.header dt {
  text-align:left;
  width:597px;
}

.header dt.n {
  text-align:center;
  width:50px;

}

.header dd.topics, .header dd.posts {
  width:100px;
}

.header dd.name {
  width:375px;
}

.header dd.lastpost {
  width:180px;
  border-right:0;
}

.header a {
  color:white;
}

/* таблица с форумами */ 
.forums {
   color:#333;/*#71625b;*/
   width:1000px;
   clear:both;
}

/* первая ячейка (с иконкой) */
.forums td {
  background:#e6ebf6;
  padding:10px 5px 10px 5px;
  text-align:center;

}

.forums td.icon {
  background-position: 5px 50%;
  background-repeat: no-repeat;
  width:572px;
  padding-left: 30px;
  text-align:left;
}

.forums td.topics, .forums td.posts {
  width:90px;
}

.forums td.lastpost {
  width:174px;
  padding-right:10px;
}

/* расцветка ячеек */
.row1 td {
	/*background:#ededed;*/
}

.row2 td, td.row2 {
	background:#ededed;
}


/*.forums .cat {
/*  background:#ccc;
  border:0;
}*/

/* название форума */
.forumname {
  padding:5px 10px 5px 10px;
  font-size:14px;
  color: #1a40ae;
  /*background:#fafafa;*/
  
}

/* название категории */
.catname {
 background:#fbfbfb;
 color:#333;
 height:26px;
 line-height:26px;
 padding-left:10px;
 font-size:12px;
}

/* описание форума */
span.forumdesc {
  font-size:11px;
  color:#555;
}
/* модераторы */
span.moderlist {
  font-size:11px;
  /*font-weight:bold;*/
  color:#333;
}

/* Топики */
#topics .wrapper,
#topicbody .wrapper {
  /*padding:5px 10px 5px 10px;*/
}

#topics .header dt {
   width:527px;

}

#topics .forums td.icon {
   width:502px;
}

#topics .author,
#topics .replies,
#topics .views {

   width:90px;
}

#topics .forums td.author,
#topics .forums td.replies,
#topics .forums td.views {
	width:80px;
}

/* Тело топика */
#topicbody .header dt {
   width:120px;
}

#topicbody .header dd.lastpost,
#topicbody .forums td.lastpost,
#last-query-search .forums td.lastpost {
   width:850px;
   text-align:left;
   padding-left:10px;
}

#topicbody .forums td.author,
#last-query-search .forums td.author {
   width:114px;	
   padding-left:10px;
}

#topicbody .postauthor {
	
}

#topicbody .forums  td.postbottom {
	padding:2px 10px 2px 10px;
	
}

#topicbody .forums td.author {
	font-family:Verdana, Geneva, sans-serif;
	font-size:11px;
}

#topicbody .forums td.author img {
    margin:5px 0 5px 0;
}
 
.postbody {
	margin:10px 0 10px 0;
}

/**
 * Различные шаблоны
 */

 /* список пользователей */
#memberlist .header dt, #memberlist .header dd 
#memberlist .forum  td {
	text-align:center;
}

#memberlist .header dd.lastpost {
   border-right:1px solid #dedede;
}

/*#memberlist .name {
  width:250px;
}*/
 
/* логин */
#login {
  overflow:hidden;
  
}

#login .but {
  position:absolute;
  top:20px;
  right:50px;
}
#login p label {
  width:150px;
  float:left;
}

#login .floatleft {
  width:565px;
}

#login .floatright {
  width:400px;
  position:relative;
}

/* messages */
#message {
  margin-top:10px;
}

#message .forumname{
  padding-left:0;
}

/* расширенный поиск, постинг сообщений */
fieldset dl {
  position:relative;
  overflow:hidden;
  background:#dedede;
  margin:1px -10px 0px -10px;
  padding:10px;
}

fieldset dl dt {
  float:left;
  width:60%;
}

.postmessage fieldset dl dt {
  width:35%;	
}

fieldset dl dd {
  width:35%;
  float:right;
}

.postmessage fieldset dl dd {
  width:60%;
}

.wrapper fieldset dl span {
  font-size:11px;
  font-style:italic;
  font-family:Verdana, Geneva, sans-serif;
}

/* последние поисковые запросы */
#last-query-search .header dt,
#last-query-search .forums td.author {
  width:756px;
  text-align:left;
}
 
#last-query-search .header dd.lastpost,
#last-query-search .forums td.lastpost {
  width:214px;
  text-align:left;
}

/* заголовок форума */
.topictitle {
  text-align:left;	
}

/**
 * Ссылки
 */

/* заголовок форума */
a.forumtitle {
  color: #1e4f9b; /*#363b8d;*/
  font-weight:bold;
  font-size:13px;
}
/* название категории */
.catname a {
  color:#999;
  text-decoration:none;
  display:block;
  width:550px;
  text-align:center;
 }

.catname a:hover, .forums td.lastpost a:hover {
  text-decoration:underline;
 }

/* last post */
.forums td.lastpost a {
  color:#71625b;
  text-decoration:none;
}

/* new topic */
.new {
	display:block;
	font-size:12px;
	color:#d14c9d;
	font-weight:bold;
	position:absolute;
	right:10px;
	top:5px;
	/*color:#333;*/
}

dd .new {
	top:-1px;
}

/* moder link */
.linkmcp {
	color:green;
}

/* admin's links */
.gensmall {
    color: #cc0000;

}


/*------------------------------
  Подвал
----------------------------*/

/**
 * Статистика
 */

.stat {
  margin-top:5px;
  padding:10px;
  position:relative;
  overflow:hidden;
}

.stat p {
  padding:2px 0 2px 0;
}

.stat a {
  color:#d14c9d;
}
/* легенда форума */
.legend  {
  position:relative;
  overflow:hidden;
  padding-left:30%;
  margin:10px 0 10px 0;
}

.legend p {
  float:left;
  position:relative;
  overflow:hidden;
  height:16px;
  line-height:16px;
  margin-right:10px;
}

.legend p img {
  float:left;
  margin-right:10px;
}

/* форма логина */
.login-bottom {
  padding:0px 10px 0px 10px;
  margin:5px 0 5px 0;

}

#footer {
  position:absolute;
  bottom:0;
  left:0;
  height:32px;
  width:100%;
  border-top:4px solid white;
}

#footer span {
  text-align:center;
  font-weight:normal;
  font-size:11px;
  line-height:32px;
  display:block;
  font-family:Verdana, Geneva, sans-serif;
}

#footer span a {
  color:#6dca53;
  text-decoration:none;
}

#footer #hosttracker {
   position:absolute;
   right:10px; 
   top:10px;
}

/**
 * Mozilla hack's
 */
@-moz-document url-prefix(){
   #langNav li a img {
	   padding:0;
   }
}

