/* RESET
--------------------------------------------------------------------------------------------*/
html{font-size:100%;}
*html{ font-size:120%; } /* for IE */

html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
	}
img, fieldset {
	border: 0;
	}
body {
	font:0.625em Arial,Tahoma,Verdana,sans-serif;
	background:transparent url(http://static.setlinks.ru/background-head-table.gif) 0 0 repeat-x;
}

html>body:first-of-type {font-size:10px;}

#_main {
	font-size: 1.2em; /* 12px/10 = 1.2em */
	}

select, input, textarea {
	font-size:1em; /* 12px/12 = 1em */
	}

h1, h2, h3, h4, h5, h6 {
	padding-bottom: 0.833em; /* 10px/12=0.833em */
	}

H1 {
	font-size: 2em; /* 24px/12 = 2em */
	}

H1 {
	font-size:1.5em; /* 18px/12 = 1.5em */
	font-weight:normal;
	padding:0.833em; /* 10px/12 = 0.833em */
	}


h2 {
	font-size: 1.25em; /* 15px/12 = 1.25em */
	}
H5, H6 {
	font-size:1em; /* 12px/12 = 1em */
	}
P {
	padding-bottom: 1.16em; /* 14px/12 = 1.16em */
	}

.error {
	color:#C00;
	font-weight: bold;
	padding:0.41em; /* 5px/12 = 0.41em */
	}

.confirmation {
	color: #080;
	font-weight: bold;
	}

.my-notice {
	border:2px solid #FFD324;
	padding:.8em;
	background:#FFF6BF;
	color:#817134;
	}

.my-error,.my-notice,.my-success {
	border:2px solid #ddd;
	padding:0.8em;
	font-weight:bold;
	}

.my-error {
	background:#FBE3E4;
	color:#D12F19;
	border-color:#FBC2C4;
	}

.my-notice {
	background:#FFF6BF;
	color:#817134;
	border-color:#FFD324;
	}

.my-success {
	background:#E6EFC2;
	color:#529214;
	border-color:#C6D880;
	}

.my-error a {
	color:#D12F19;
	}

.my-notice a {
	color:#817134;
	}

.my-success a {
	color:#529214;
	}

div.fieldset {
	border: solid 1px #999;
	padding: 1em;
	margin: 1em 0;
	}
/*
legend span {
	display: block;
	font-weight: bold;
	font-size: 3.4em;
	color: #000;
	}
*/



/* HEADER
-------------------------------------------------------------------------------------------------*/
#logo {
	background:url(/images/ru-logo.gif) 40px 50% no-repeat;
	height:7.33em; /* 88px/12 = 7.33em */
	height:5.25em; /* 63px/12 = 5.25em */
	}


#logout {
	text-indent:18px;
	display:block;
	width:60px;
	background:url(/images/logout.gif) 0 50% no-repeat;
	}

/* LOGIN BLOCK
-------------------------------------------------------------------------------------------------*/
#login_block {
	width:19.17em; /* 230px/12 = 19.17em */
	width:22em;
	}
#login_block LABEL{
	display:block;
	height:2.25em; /* 27px/12 = 2.25em */
	width:17.5em;   /* 210px/12 = 17.5em */
	width:21.6em;   /* 210px/12 = 17.5em */
	margin:0 auto;
	}
#login_block SPAN {
	width:6.66em; /* 80px/12 = 6.66em */
	display:block;
	float:left;
	}
#login_block INPUT{
	display:block;
	width:14em; /* 120px/12 = 10em */
	float:left;
	}

#login_block LEGEND{
	font-size:1.33em; /* 16px/12 = 1.25em */
	font-weight:bold;
	padding-bottom:0.5em; /* 6px/12 = 0.5em */
	}

/* COMMON
--------------------------------------------------------------------------------------------------*/
.notice {
	padding:10px 10px 10px 50px;
	background:#EEE url(http://static.setlinks.ru/comment.gif) no-repeat;
	color:#34A;
	display:block;
	width:31.66em; /* 380px/12  = 31.66em */
	}


.right {
	float:right !important;
}
.left {
	float:left !important;
}

/* BUTTONS */
.button {
	height:2.5em; /* 30px/12 = 2.5em */
	width:99.9%;
	clear:both;
	margin-top:5px;
}
.button button{
    display:block;
    float:right;
    margin:0 2px 0 0;
    background:#6E6D6D url(/images/button-submit.gif) 0 0;;
	border:0;
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size: 1em /* 12px/12 = 1em */
    text-decoration:none;
    font-weight:bold;
    color:#FFF;
    cursor:pointer;
	cursor:hand;
    padding:5px 10px 6px 7px; /* Links */
	}
	.button button:hover {
		background:#AAA;
		}
.button button{
	width:auto;
    overflow:visible;
    padding:2px 8px 3px 9px; /* IE6 */
	}
.button button[type]{
    padding:3px 8px 3px 9px; /* Firefox */
    line-height:1.42em; /* Safari */ /* 17px/12 = 1.42em */
	}
*:first-child+html button[type]{
    padding:1px 8px 2px 9px; /* IE7 */
	}
.button button img{
    margin:0 3px -4px 0 !important;
    padding:0;
    width:16px; /* 16px/12 = 1.33em */
    height:16px; /* 16px/12 = 1.33em */
	}

/* hack for safari */
body:first-of-type, body:first-of-type *{font-weight:500 !important;}
body:first-of-type EM {font:italic normal 99.5%/1 Tahoma,Arial;}

.hidden {
	display:none;
	}

#footer {
	bottom: 0;
	padding:0.833em; /* 10px/12 = 0.833em */
	}

#container {
	clear:both;
	border:1px solid #666;
	padding:1.25em; /* 15px/12 = 1.25em */
	}
.username {
	color:#009DF7;
	font-size:1.5em; /* 18px/12 = 1.5em */
	text-transform:capitalize;
	}
.sltables {
	background:#CCC;
	border:1px solid #CCC;
	border-collapse:collapse;

	}
	.sltables TD, .sltables TH {
		padding:5px;
		border:1px solid #CCC;
		}
	.sltables TH {
		background:#878787;
		color:#FFF;
		font-weight:600;
		}
	.sltables TD {
		background:#EEE;
		margin:2px;
		}
	.sltables CAPTION {
		font-size:1.5em;
		text-align:left;
		}


.main-tabs-nav li {
	float:left;
	}

.main-tabs-nav .main-tabs-selected a span {
	background:#F3F3F3 url(/images/tab.gif) 0 1px no-repeat;
	height:27px;
	line-height:27px;
	padding:0 0 0 27px;
	padding:0 0 0 24px;
	color:#FFF;
	text-align:right !important;
	font-size:1.08em; /* 13px/12 = 1.08em */
	font-weight:600;
	text-shadow: #000 0 0; /* for safari */
	}

.main-tabs-nav .main-tabs-selected a {
	background:#F3F3F3 url(/images/tab.gif) 99% 1px no-repeat;
	height:27px;
	line-height:27px;
	padding-top:0;
	padding-right:25px;
	text-align:right;
	}

.main-tabs-nav a span {
	height:27px;
	line-height:27px;
	padding-left:27px;
	padding-right:0;
	padding-top:1px;
	}
.main-tabs-nav {
	list-style:none;
	list-style-position:outside;
	background:#F3F3F3;
	height:27px;
	padding-left:50px;
	}

.main-tabs-nav a, .main-tabs-nav a span {
	float:left;
	padding:0 12px;
	font-size:11px;
	}


.main-tabs-nav a:link, .main-tabs-nav a:visited {
	color:#000;
	}

.main-tabs-nav A:hover {
	text-decoration:none;
	cursor:hand;
	}

.main-tabs-selected A:hover {
	cursor:auto;
	}

.main-tabs-nav a {
	outline-color:invert;
	outline-style:none;
	outline-width:0;
	padding-left:0;
	white-space:nowrap;
	}

#submenu {
	clear:both;
	list-style:none;
	width:100%;
	height:1.66em; /* 20px/12 = 1.66em */
	background:#666;
	display:block;
	padding-top:5px;
	}

	#submenu LI {
		float:left;
		color:#FFF;
		padding-left:10px;
		}
	#submenu A {
		color:#FFF;
		}
	#submenu A:hover {
		text-decoration:none;
		}
	#main-menu {
		clear:both;
		}

	.message-container {
		text-align:center;
		margin:5px 0 20px 0;
		margin-bottom:1em;
		}

/* FOR SITE FORM
-------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------*/
.counter {
	float:right;
	font-size:0.833em; /* 10px/12 = 0.833em */
	color:#A55;
	width:2.5em; /* 20px/12 = 1.66em */
	height:10px;
	}

.field_hint {
	font-size:0.92em; /* 11px/12=0.92em */
	line-height:0.833em; /* 10px/12 = 0.833em */
	font-weight:normal;
	font-style:italic;
	display:block;
	clear:right;
	color:#666;
	}
.testForm .digits {
	width:50px;
}

.testForm fieldset {
	width:69.9em;  /* рамка вокруг формы */
	border:solid 1px #333;  /* нормальная граница рамки */
	padding:10px;
	}

.testForm legend {
	color:#333; /* IE использует цвет шрифта не такой, как у остальных элементов, исправляем */
	background:inherit;
	font-weight:bold;
	}

.testForm label {
	float:left; /* подписи к полям сдвигаются влево */
	width:23em; /* ширина колонки подписей */
	line-height:1.4em;
	margin-right:0.1em; /* отступ до поля ввода */
	text-align:right;
	font-weight:bold;
	clear:left;
	}

.testForm textarea {
	height:4.16em; /* 50px/12 = 4.16em */
	}

.testForm input, .testForm select, .testForm textarea, .testForm #site_categories, .divtext {
	margin:0 0 1.9em 0.5em;
	width:43em; /* ширина полей формы */
	*width:42.1em; /* hack for ie */
	padding:1px;
	border:1px solid #999;
	font-size:12px !important;
	}
	.testForm select {
		width:43.28em;
		*width:42.5em; /* hack for ie */
		}

.testForm .noresize {
	width:auto; /* для кнопок, переключателей */
	}

.testForm .submit {
	float:right;
	padding:4px;
	}

.testForm .chk {
	clear:both;
	width:100%;
	width:44em;
	text-align:left;
	padding-left:23em;
	margin-bottom:5px;
	font-weight:normal;
	}

.testForm .chk INPUT, #site_categories INPUT {
	width:auto;
	margin-bottom:0px;
	border:0;
	*height:15px; /* hack for ie6 */
	}
#site_categories LABEL {
	border:1px solid #000;
	border:0;
}
#site_categories LI LI{
	*margin-top:4px; /* hack for ie6 */
}
.testForm div.error {
	clear:both;
	margin:0;
	position:relative;
	top:-20px;
	right:25px;
	border:0;
	padding:0;
	text-align:right;
	}

.testForm input.error, .testForm textarea.error {
	border:1px solid #F00;
	color:#000;
	}
#test_result, #site_categories {
	height:16.66em; /* 200px/12 = 16.66em */
	overflow:auto;
	border:1px solid #BBB;
	font-weight:bold;
	background:#EEE;
	height:200px;
	}

#site_categories > LI {
	margin:1px 5px;
	padding-top:5px;
	}
#site_categories UL {
	list-style:none;
	}
#site_categories UL LI{
	margin-left:20px;
	}
#site_categories LABEL{
	padding:0 !important;
	width:auto;
	margin:0;
	font-weight:normal;
	float:none;
	}
#site_categories INPUT{
	width:auto;
	margin:1px;
	}

A.report-link {
	background-image:url(/images/report.gif);
	background-image:url(/images/my_edit.gif);
	background-image:url(/images/regin-link.gif);
	background-image:url(/images/my_delete.gif);
	background-image:url(/images/my-go2url.gif);
	background-image:url(/images/prev_page.gif);
	background-image:url(/images/next_page.gif);
	}
/* USER SITES LIST
 * *****************************************************************************************/
A.report-link{
	background:url(/images/report_bw.gif) no-repeat;
	width:14px;
	height:14px;
	display:block;
	float:left;
	margin:3px 3px 0 3px;
	}

	A.report-link:hover {
		background-image:url(/images/report.gif);
		}

A.edit-link{
	background:url(/images/my_edit_bw.gif) no-repeat;
	width:13px;
	height:13px;
	display:block;
	float:left;
	margin:3px 3px 0 3px;
	}
	A.edit-link:hover {
		background-image:url(/images/my_edit.gif);
		}

A.regin-link {
	background:url(/images/regin-link-bw.gif) no-repeat;
	width:16px;
	height:16px;
	display:block;
	float:left;
	margin:1px 1px 0 3px;
	}
	A.regin-link:hover {
		background-image:url(/images/regin-link.gif);
		}

A.delete-link{
	background:url(/images/my_delete_bw.gif) no-repeat;
	width:13px;
	height:13px;
	display:block;
	float:left;
	margin:3px 3px 0 3px;
	}
	A.delete-link:hover {
		background-image:url(/images/my_delete.gif);
		}
A.reset-categories-link{
	background:url(/images/reset_categories_bw.gif) no-repeat;
	width:16px;
	height:16px;
	display:block;
	float:left;
	margin:3px 3px 0 3px;
	}
	A.reset-categories-link:hover {
		background-image:url(/images/reset_categories.gif);
		}

A.copy-catalogs-link{
	background:url(/images/page_white_stack.png) no-repeat;
	width:16px;
	height:16px;
	display:block;
	float:left;
	margin:3px 3px 0 3px;
	}


A.go2url-link{
	background:url(/images/my-go2url-bw.gif) no-repeat;
	margin:2px 5px;
	display:block;
	float:left;
	width:12px;
	height:12px;
	}
	A.go2url-link:hover {
		background-image:url(/images/my-go2url.gif);
		}

.sltables A {
	cursor:pointer;
	cursor:hand;
	}

#pages_name {
	float:left;
	font-weight:bold;
	display:block;
	}

#pages_nums {
	float:left;
	display:block;
	}

#pages_box {
	background:#FFF;
	}

#pages_nums A, #pages_nums SPAN {
	display:block;
	margin-left:6px;
	float:left;
	}

#pages_nums SPAN{
	font-weight:bold;
	}

#prev_page, #next_page {
	width:16px !important;
	height:16px;
	display:block;
	text-indent:16px;
	overflow:hidden;
	background:url(/images/next_page_bw.gif) no-repeat;
	}

		#prev_page {
			background-image:url(/images/prev_page_bw.gif);
			}
		#prev_page:hover {
			background-image:url(/images/prev_page.gif);
			}
		#next_page:hover {
			background-image:url(/images/next_page.gif);
			}
	.cat_info {
		height:20px;
		background:#F0F0F0;
		padding:1px;
		}
	.cat_info DIV {
		float:left;
		padding-right:10px;
		}
	.cat_info DIV SPAN {
		color:#2A4;
		}
