/* CSS Document */

input, textarea, select{
  font-family: Arial, Helvetica, sans-serif;
}

input.qwr{     /*поле ввода (input) - поиск*/
}

input.btn{     /*стиль кнопки "Искать"*/
  background: none;
  border: none;
  font-family: hatoma, arial, sans-serif;
  font-size: 12px;
  width: 46px;
  height: 20px;
  background: url(catalog_images/search.gif) no-repeat;
  cursor: hand;
  color: black;   /* цвет шрифта */
}

input.btn_add{    /* стиль кнопки "добавить" */
  background: none;
  border: none;
  font-family: hatoma, arial, sans-serif;
  font-size: 12px;
  width: 60px;
  height: 20px;
  background: url(catalog_images/add.gif) no-repeat;
  cursor: hand;
  color: black;		/* цвет шрифта */
}

input.btn_ok{    /* стиль кнопки "ОК" */
  background: none;
  border: 1px solid navy;
  font-family: hatoma, arial, sans-serif;
  font-size: 12px;
  width: 60px;
  height: 20px;
  background: url(catalog_images/tp.gif) no-repeat;
  cursor: hand;
}

#table_content{
  width: 100%;
  text-align: center;
}

#table_content a{
  text-align: left;
}

form{
  margin: 0px;
}

/* список ссылок */

#content{
  font-family: Arial, Tahoma, sans-serif;
  font-size: 12px;
  margin: 20px;
  text-align: left;
}

#content table#cat{
  width: auto;
}

#content td{
  vertical-align: top;
  margin: 0px;
  font-size: 12px;
}

#content table#search{
  background: #ffffff;
  width: 300px;
}
#content table#search td{
  vertical-align: middle;
}


#content a{
  color: #333333;
  text-decoration: underline;
}

#content a:hover{
  color: #000000;
  text-decoration: underline;
}




#content h3.hd3{     /* заголовок */
  font-size: 13px;
  font-weight: bold;
  color: #404040;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  margin: 23px 0 3px 0;
}

#content a.robo_cat{          /*ссылка основного раздела*/
  color: #404040;
  width: 100%;
  display: block;
  padding-left: 15px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
  font-weight: normal;
  text-decoration: none;
}

#content a.robo_cat:hover{     /*ссылка основного раздела при наведении*/
  color: #791a18;
  text-decoration: none;
}

#content .sub_cat{        /*стиль подкаталога раздела*/
    padding-left: 15px;
    padding-right: 10px;
    color: #666666;
    font-size: 85%;
  }
  
#content .grey{
    padding-right: 10px; 
    color: #999999;
    font-size: 100%;
  }
  
a#begin, a#add{     /*общий стиль ссылок в начало и добавить*/
  color: #999999;
  padding-left: 10px;
  padding-right: 0px;
  padding-top: 2px;
  font-size: 11px;
  padding-bottom: 2px;
  text-decoration: none;
}

a#begin:hover, a#add:hover{
  text-decoration: none;
  color: #000000;
}


#content a#begin{     /*ссылка в начало*/
  background: url(catalog_images/up.gif) no-repeat 0px 7px;;
}
#content a#begin:hover{
  background: url(catalog_images/up_b.gif) no-repeat 0px 7px;;
}

#content a#add{         /*ссылка добавить сайт*/
  background: url(catalog_images/plus.gif) no-repeat 0px 7px;;
}

#content a#add:hover{
  background: url(catalog_images/plus_b.gif) no-repeat 0px 7px;;
}

#content a.new_link{       /* ссылки новых сайтов */
  color: #666666;
  width: 100%;
  padding-left: 18px;
  padding-right: 10px;
  padding-top: 2px;
  padding-bottom: 2px;
  background: url(catalog_images/ok.gif) no-repeat 2px 6px;
  text-decoration: none;
}
#content a.new_link:hover{
  color: #666666;
  text-decoration: underline  ;
}


/* каталог ссылок */

#content p{     /* стиль текста */
  text-align: justify;
}

#content p.link{     /* стиль абзаца с данными сайта */
  color: #333333;
}

#content p.link a{     /* стиль ссылки в абзаце с данными сайта */
  color: #333333;
  text-decoration: none;
}
#content p.link a:hover{
  color: #000000;
  text-decoration: underline;
}

#content p.link a.head{     /* стиль заголовка сайта в абзаце с данными сайта */
  font-weight: 900;
  text-decoration: none;
}
#content p.link a.head:hover{
  color: #999999;
  text-decoration: none;
}

#content p.link span{     /* стиль рубрики в абзаце с данными сайта */
  color: #999999;
}

#content #pages{     /* стиль навигации по страницам */
}

#content #pages a{     /* стиль ссылок-страниц */
  font-size: 10px;
  text-decoration: none;
  color: #999999;
}
#content #pages a:hover{
  text-decoration: none;
  color: #000000;
}

#content #pages a.next{     /* стиль кнопки "следующая" */
  text-decoration: none;
  background: url(catalog_images/next.gif) no-repeat 0px 3px;
}

#content #pages a.prev{     /* стиль кнопки "предыдущая" */
  text-decoration: none;
  background: url(catalog_images/prev.gif) no-repeat 0px 3px;
}


#content .pages{     /* стиль для слова "Страницы" */
  color: #000000;
/*  font-size: 10px;   */
  font-weight: bold;
}

#content .cur_page{     /* стиль текущей страницы */
  font-weight: bold;
  color: #000000;
  font-size: 12px;
}

/* добавление ссылок */

#content tr td{
  padding: 3px;
  font-size: 12px;
}

#content tr td.c1{    /* стиль ячеек с названиями полей ввода */
  text-align: right;
  font-size: 11px;
}

#content td textarea.add{    /* стиль текстового поля */
  overflow: auto;
  font-size: 11px;
  width:200px;
  text-align:left;
  padding: 2px 0 0 3px;
}

#content input.add{     /* стиль полей ввода */
  width:200px;
  height: 21px;
  font-size: 11px;
  text-align:left;
  padding: 1px 0 1px 3px;
}

.error{    /* стиль ячеек с выводом сообщения об ошибке */  
  color:#FF0000;
  font-size: 11px;
}

.success{
  color:#009900;
  font-size: 11px;
}

  
#content td select.add{     /* стиль выпадающего списка с категориями */
  width: 200px;
  height: 14px;
  font-size: 11px;
}



div.dv1{
  width: 100%;
  height: 2px;
  border-bottom: 1px solid #000;
}