/* 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(../img/search.gif) no-repeat;
	cursor: hand;
}

input.btn_add{    /* стиль кнопки "добавить" */
	background: none;
	border: none;
	font-family: hatoma, arial, sans-serif;
	font-size: 12px;
	width: 60px;
	height: 20px;
	background: url(../img/add.gif) no-repeat;
	cursor: hand;
}

input.btn_ok{    /* стиль кнопки "ОК" */
	background: none;
	border: 1px solid navy;
	font-family: hatoma, arial, sans-serif;
	font-size: 12px;
	width: 60px;
	height: 20px;
	background: url(../img/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: #333333;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}

#content a.robo_cat{          /*ссылка основного раздела*/
	color: #000000;
	width: 100%;
	display: block;
	padding-left: 15px;
	padding-right: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	font-weight: normal;
	background: url(../img/rub.gif) no-repeat 2px 6px #ffffff;
	text-decoration: none;
}

#content a.robo_cat:hover{     /*ссылка основного раздела при наведении*/
	color: #ff3300;
	background: url(../img/rub_b.gif) no-repeat 2px 6px #ffffff;
	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(../img/up.gif) no-repeat 0px 7px;;
}
#content a#begin:hover{
	background: url(../img/up_b.gif) no-repeat 0px 7px;;
}

#content a#add{         /*ссылка добавить сайт*/
	background: url(../img/plus.gif) no-repeat 0px 7px;;
}

#content a#add:hover{
	background: url(../img/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(../img/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(../img/next.gif) no-repeat 0px 3px;
}

#content #pages a.prev{     /* стиль кнопки "предыдущая" */
	text-decoration: none;
	background: url(../img/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;
}

#content input.add{     /* стиль полей ввода */
	width:200px;
	height: 19px;
	font-size: 11px;
}

.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;
}
