* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
body {
	font: 12px/18px Arial, Tahoma, Verdana, sans-serif;
	height: 100%;
	background:url(images/bg.jpg) top center no-repeat;
}
a {
	color:#666666;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 0px 0;
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
#wrapper {
	width: 96%;
	min-width: 1000px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
    margin: 0 auto;
}


/* Header
-----------------------------------------------------------------------------*/
#header {
    width:100%;
   	height:auto;
}

.head{
	width:100%;
}
a.logo{
    display:block;
   	float:left;
   	width:220px;
   	height:50px;
   	background:url(images/logo.png) left 10px no-repeat;
   	margin:0 0 0 10px;
}
.top_menu_right{
	width:60%;
	float:right;
}
.top_menu_right ul{
	float:right;
}
.top_menu_right li {
	display:block;
	float:left;
	background:url(images/top_sep.png) top right no-repeat;
	list-style:none;
	height:60px;
}
.top_menu_right li.top_menu_right_last {
	display:block;
	float:left;
	background:none;
	list-style:none;
	height:60px;
}
.top_menu_right li a{
	display:block;
	font:12px arial;
	color:#232222;
	padding:8px 18px 10px 17px;
	text-decoration:none;
	float:left;
	margin-top:11px;
}
.top_menu_right li a img{
	float:left;
	margin:-5px 4px 0 0;
}
.top_menu_right li a:hover,.top_menu_right li.top_menu_right_cur a{
	color:#666666;
	text-decoration:none;
}
/*.tm{
    width:100%;
   	float:left;
   	position:relative;
   	background:#c6c6c6 url(images/top_m_bg.jpg) top left repeat-x;
}

.top_menu{
	float:left;
	position:relative;
}
.top_menu ul{
	display:block;
	float:left;
	position:relative;
}
.top_menu li {
	display:block;
	float:left;
	list-style:none;
	position:relative;
}
.top_menu li.top_menu_last{
	display:block;
	float:left;
	list-style:none;
}
.top_menu li.top_menu_last a,.top_menu li.top_menu_last a:hover {
	background:none;
}
.top_menu li a{
	display:block;
	font:bold 14px arial;
	color:#232222;
	padding:13px 17px 13px 17px;
	text-decoration:underline;
	float:left;
	background:url(images/top_m_sep.jpg) top right no-repeat;
}
.top_menu li a:hover{
	color:#c34141;
	text-decoration:none;
}*/


/**************************************************************************************************/
/*************************************************НОВЫЕ СТИЛИ*************************************************/

.tm{
	width:100%;
	float:left;
	position:relative;
	background:url(images/top_m_bg.jpg) top left repeat-x;
	padding:8px 0 0 0;
	overflow:hidden;
}

.top_menu{
	clear:left;
	float:left;
	position:relative;
	left:50%;
}
.top_menu ul{
	display:block;
	float:left;
	position:relative;
	right:50%;
}
.top_menu li {
	display:block;
	float:left;
	list-style:none;
	position:relative;
	padding:0 8px 30px 49px;
	background:url(images/top_m_sep.jpg) top right no-repeat;
}
.top_menu li.top_menu_last{
	display:block;
	float:left;
	list-style:none;
	padding:0 8px 30px 49px;
	background:none;
}
.top_menu li.top_menu_with_sub{
     padding:8px 18px 0px 49px;
     font:bold 14px arial;
     color:#232222;
     text-decoration:none;
}
.top_menu li.top_menu_last a,.top_menu li.top_menu_last a:hover {
}
.top_menu li a{
	display:block;
	font:bold 14px arial;
	color:#232222;
	padding:8px 17px 5px 2px;
	text-decoration:underline;
	float:left;
}
.top_menu li.top_menu_with_sub a{
	color:#232222;
	text-decoration:none;
}
.top_menu li a:hover,.top_menu li.top_menu_cur a,.top_menu li.top_menu_cur{
	color:#b00d0e;
	text-decoration:none;
}
.top_menu li img.top_menu_icon{
	position:absolute;
	top:0;
	left:17px;
	display:block;
}
.top_menu li img.top_menu_icon_cur{
	position:absolute;
	top:0;
	left:17px;
	display:none;
}
.top_menu li.top_menu_cur img.top_menu_icon_cur{
	display:block;
}
.top_menu li.top_menu_cur img.top_menu_icon{
	display:none;
}
.top_menu li ul.sub,.top_menu li.top_menu_with_sub ul.sub{
     list-style:none;
     left:50%;
     right:0;
     margin:5px 0px 0 -75px;
     float:none;
     max-width:120px;
     border:none;
     background:none;
}
.top_menu li ul li,.top_menu li.top_menu_last ul li {
	float:left;
	width:100%;
	overflow: hidden;
	border:none;
	background:none;
	padding:0 0 0 0;
	text-align:center;
}
.top_menu li ul li a,.top_menu li.top_menu_last ul li a,.top_menu li.top_menu_cur ul li a,.top_menu li.top_menu_with_sub ul li a {
	width: 100%;
	height: auto;
	padding: 3px 10px 3px 0px;
	font: 12px arial;
	color:#4d4e57;
	text-decoration:underline;
	border:none;
	background:none;
	text-align:center;
	margin:0;
	float:left;
}
.top_menu li ul li a:hover ,.top_menu li.top_menu_last ul li a:hover,.top_menu li.top_menu_cur ul li a:hover,.top_menu li.top_menu_with_sub ul li a:hover,.top_menu li ul li.top_menu_cur a {
	border:none;
	background:none;
	text-decoration:none;
	color:#b00d0e;
}
.top_menu li:hover ul,.top_menu li:hover.top_menu_last ul {
	display:block;
	z-index: 50;
	height: auto;
	overflow:visible;
}



/* Middle
-----------------------------------------------------------------------------*/
#content {
    padding: 20px 0 10px;
   	float:left;
   	width:100%;
}
.top_line{
	width:96%;
	border-top:1px solid #fbfbfb;
	border-bottom:1px solid #dbdbd9;
	border-left:none;
	border-right:none;
	font:17px arial;
	color:#232222;
	height:36px;
	padding:10px 2% 0px 2%;
}
.top_line_nobord{
	width:96%;
	border:none;
	font:17px arial;
	color:#232222;
	padding:8px 2% 0px 2%;
	height:30px;
	background:#efefef;
}
a.new_dir{
	display:block;
	float:left;
	background:url(images/new_r.png) top left no-repeat;
	padding:6px 10px 4px 30px;
	font:12px arial;
	color:#232222;
	text-decoration:none;
}
.save{
	display:block;
	float:right;
	background:url(images/save.png) top center no-repeat;
	padding:6px 14px 4px 30px;
	font:12px arial;
	color:#232222;
	text-decoration:none;
	border:none;
}


table{
	width:100%;
	border:none;
	border-collapse:separate;
	border-spacing:0;
}
table th{
	border-top:1px solid #fbfbfb;
	border-bottom:1px solid #dbdbd9;
	border-left:none;
	border-right:none;
	font:17px arial;
	color:#232222;
	height:42px;
	padding:0 0 0 25px;
	text-align:left;
}

table td{
	height:30px;
	text-align:left;	
	background:#f9f9f9;
	padding:0 0 0 25px;
}

table tr.level1 td{
	height:30px;
	text-align:left;
	background:#ffffff;
	padding:0 0 0 25px;
	color:#232222;
	font:bold 12px arial;
}
table tr.level1 td a{
    color:#232222;
   	font:bold 12px arial;
}
table tr.level2 td{
	height:30px;
	text-align:left;
	background:#f7f7f7;
	padding:0 0 0 25px;
	color:#333333;
	font:12px arial;
}
table tr.level3 td{
	height:30px;
	text-align:left;
	background:#f0f0f3;
	padding:0 0 0 25px;
	color:#2e465c;
	font:12px arial;
}
table tr.level4 td{
    height:30px;
    text-align:left;
    background:#f0f0f3;
    padding:0 0 0 25px;
    color:#2e465c;
    font:12px arial;
}
table tr.level5 td,table tr.level6 td{
    height:30px;
    text-align:left;
    background:#f0f0f3;
    padding:0 0 0 25px;
    color:#2e465c;
    font:12px arial;
}
table tr.not_visible td{
	height:30px;
	text-align:left;
	padding:0 0 0 25px;
	color:#aaa9a9;
	font:bold 12px arial;
}

table tr.level2 td.pad1{
	padding:0 0 0 50px;
}
table tr.level3 td.pad2{
	padding:0 0 0 70px;
}
table tr.level4 td.pad3{
    padding:0 0 0 90px;
}
table tr.level5 td.pad4{
    padding:0 0 0 110px;
}
table tr.level6 td.pad5{
    padding:0 0 0 110px;
}
table  tr:hover td,table  tr.level3:hover td,table  tr.level2:hover td,table  tr.not_visible:hover td{
	background:#e8e8e8;
	
}

table td img{
	padding:5px 0 0 0px;
}
table td input.inp{
	width:31px;
	height:24px;
	background:url(images/input.png) top center no-repeat;
	border:none;
	padding-left:3px;
}
table td input.inp_txt {
    background: url("images/input.png") no-repeat scroll center top transparent;
    border: medium none;
    height: 24px;
    padding-left: 3px;

}
/*td.pad1{*/
	/*padding:0 0 0 40px;*/
/*}*/
/*td.pad2{*/
	/*padding:0 0 0 50px;*/
/*}*/
/*td.pad3{*/
	/*padding:0 0 0 60px;*/
/*}*/
/*td.pad4{*/
	/*padding:0 0 0 70px;*/
/*}*/
/*td.pad5{*/
	/*padding:0 0 0 80px;*/
/*}*/
/*td.bold{*/
	/*font-weight:bold;*/
/*}*/
td.pict{
	width:25px;
	text-align:left;
	padding:0 5px 0 10px;
}
.error{
	color:#FF0F0F;
	text-align:center;
	font:italic 12px arial;
}

.help_buttons a
{
    text-decoration: none;
}
.help_buttons
{
    display: none;
}

/************************************������********************************************/
.main{
	max-width:1300px;
    min-width: 1000px;
	background:#efefef;
	padding:0 4px;
	padding-bottom:12px;
	min-height:700px;
	margin:0 auto;
}
h1{
	display:block;
	border-bottom:1px solid #dbdbd9;
	font:17px arial;
	color:#232222;
	line-height:42px;
	padding:0 0 0 25px;
	
}
table.admin_form{
	width:99%;
	margin:15px 0.4% 0 0.4%;	
	padding:0px 4px 0 4px;
	border-collapse:collapse;
	border:none;
	float:left;
}

table.admin_form td{
	border:none;
	height:42px;
	background:#efefef;
	cursor:default;
}
.dv_save{
	border-top:1px solid #fbfbfb;
	border-bottom:1px solid #dbdbd9;
	border-left:none;
	border-right:none;
	height:25px;
	padding:8px 0 8px 25px;
}
.dv_save_pref{
	border-top:1px solid #fbfbfb;
	border-bottom:1px solid #dbdbd9;
	border-left:none;
	border-right:none;
	height:25px;
	padding:8px 0 8px 25px;
	font:bold 15px arial;
}
.dv_save_b{
	border:none;
	height:35px;
	padding:20px 0 8px 25px;
}
.dv_form{
	border-top:1px solid #fbfbfb;
}
td.label{
	width:200px;
	padding:0 30px 0 0;
	text-align:right;
	font:12px arial;
	
}
input.pole{
	width:497px;
	height:23px;
	padding:0 0px 0 3px;
	float:left;
	font:12px arial;
	background:#e3e3e3 url(images/input_big.png) top left no-repeat;
	border:none;
}
input.pole_index{
	width:147px;
	height:23px;
	padding:0 0px 0 3px;
	float:left;
	font:12px arial;
	background:#f7f7f7 url(images/input_small.png) top left no-repeat;
	border:none;
}
input.pole_index_middle{
    width:90%;
    max-width: 450px;
   	height:23px;
   	padding:0 0px 0 3px;
   	float:left;
   	font:12px arial;
   	background:url(images/input_l.png) top left no-repeat;
   	border:none;
}
img.pole_r{
	float:left;
	margin:-5px 0 0 0px;
}
select.pole{
    width:505px;
    height:22px;
    padding:0px 0px 0px 0;
    background-color:#d7d7d7;
    border-top:1px solid #afafaf;
    border-left:1px solid #afafaf;
    border-bottom:none;
    border-right:none;
}

.selector{
	float:left;
	width:505px;
	height:22px;
}




textarea.editor{
	width:94%;height:200px;
	margin:20px 3% 0;
}
input, textarea {
    outline: none;
} 
input:active, textarea:active {
    outline: none;
}
:focus {
    outline: none;
}
.path{
    width:96%;
  	border-left:none;
  	border-right:none;
  	font:12px arial;
  	color:#232222;
  	height:20px;
  	padding:10px 2% 0px 2%;
}
.path a{
    font:12px arial;
   	color:#727272;
}
/*****************************************************************/

.new_dir{
	max-width:300px;
	float:left;
	background:#dedfe2 url(images/bt_bg.jpg) bottom left repeat-x;
	padding:2px 2px 2px 2px;
	position:relative;
    margin:0 8px 0 0;
}
.new_dir a{
	display:block;
	float:left;
	background:url(images/bt_icon1.png) left center no-repeat;
	padding:4px 10px 4px 30px;
	font:12px arial;
	color:#232222;
	text-decoration:none;
}
.save_bt{
	float:right;
	background:#dedfe2 url(images/bt_bg.jpg) bottom left repeat-x;
	padding:2px 2px 2px 2px;
	position:relative;
    margin:0 8px 0 0;
}
.save{
	display:block;
	float:left;
	background:url(images/bt_icon2.png) left center no-repeat;
	padding:4px 10px 4px 30px;
	font:12px arial;
	color:#232222;
	text-decoration:none;
	border:none;
}
.new_dir img.tl,.save_bt img.tl{
	position:absolute;
	top:0;
	left:0;
}
.new_dir img.tr,.save_bt img.tr{
	position:absolute;
	top:0;
	right:0;
}
.new_dir img.bl,.save_bt img.bl{
	position:absolute;
	bottom:0;
	left:0;
}
.new_dir img.br,.save_bt img.br{
	position:absolute;
	bottom:0;
	right:0;
}
/* Footer
-----------------------------------------------------------------------------*/
#footer {
    margin: -10px 0 0;
   	min-width: 1000px;
   	height: 100px;
   	background:url(images/footer_bg.jpg) center bottom no-repeat;
   	position: relative;
   	float:left;
   	width:100%;
}

.fleft{
	width:45%;
	padding:62px 0 0 12px;
	font:12px arial;
	color: #232222;
	text-align:left;
	float:left;
	/*background:url(images/footer_l.jpg) top left no-repeat;*/
}

/* Overlay
-----------------------------------------------------------------------------*/
#alert
{
    width: 1000px;
    position: fixed;
    top: 5%;
    left: 50%;
    margin-left: -500px;
    display: none;
    max-height: 90%;
    overflow-y: auto;
    border: solid 2px #fff;
    background-color: #fff;
}
#alertResponse
{
    width: 600px;
    position: fixed;
    top: 35%;
    left: 50%;
    margin-left: -300px;
    display: none;
    max-height: 90%;
    overflow-y: auto;
    border: solid 2px #fff;
    background-color: #fff;
}

#alertTab,#alertTabResponse
{
    width:96%;
    background:#efefef;
    padding:0 2%;
    padding-bottom:12px;
    margin:0 auto;
}

.overlay_dark
{
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background: url("images/dark.png") repeat;
    display: none;
}

#overlay_close,#overlay_close_response
{
    position: fixed;
    cursor: pointer;
    margin-left: 1000px;
    margin-top: -30px;
    background: url("images/alert_exit_ball.png") no-repeat;
    width: 30px;
    height: 30px;
}

#loading
{
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    background: url("images/loading.gif") no-repeat center center;
    display: none;
}

.div_editor table td
{
    height: 30px;
}

/***************************************авторизация********************************************/
table.auth{
	width:90%;
	text-align:center;
	background:none;
	border:none;
	margin-top:30px;
}

table.auth td,table.auth tr:hover td{
	border:none;
	width:50%;
	background:none;
	padding:0 0 0 0;
	cursor:default;
	height:30px;
}
table.auth th,table.auth tr:hover th{
	border:none;
	width:48%;
	background:none;
	text-align:right;
	font:bold 12px arial;
	color:#232222;
	padding:0 20px 0 0;
	cursor:default;
	height:30px;
}
form.auth label{
	width:60px;
	text-align:right;

}
input.authpole{
	width:100px;
	height:27px;
	border:none;
	padding:0px 7px 0px 10px;
	margin:5px 0 5px 0;
	vertical-align:middle;
	background:url(images/authpole.png) left 3px no-repeat;
}
input.authcheck{
	margin-left:27px;
}
label.mind{
	font:12px arial;
	color:#9e9e9e;
	padding-left:9px;
}
.enter{
	background:url(images/enter.png) top left no-repeat;
	padding:3px 70px 6px 13px;
	font:12px arial;
	color:#232222;
	text-decoration:none;
	border:none;
	cursor:pointer;
	text-align:left;
}
/****************************************Настройки*************************************/

h2{
	display:block;
	border-bottom:1px solid #dbdbd9;
	border-top:1px solid #fff;
	border-left:none;
	border-right:none;
	font:bold 14px arial;
	color:#232222;
	padding:12px 0 13px 25px;
}
td.label_n{
	width:200px;
	padding:0 30px 0 0;
	text-align:right;
	font:12px arial;

}
input.pole_n{
	width:237px;
	height:23px;
	padding:0 0px 0 3px;
	float:left;
	font:12px arial;
	background:#e3e3e3 url(images/input_n.png) top left no-repeat;
	border:none;
}
table.admin_form{
	width:99%;
	margin:15px 0.4% 0 0.4%;
	padding:0px 4px 0 4px;
	border-collapse:collapse;
	border:none;
}

.link {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    width: 200px;
}
img.link_hide {
    position: absolute;
    right: 0;
    top: 0;
    padding:0;
}

.hidden{
    display: none;
}
.select{
    width: 400px;
    margin: 0 auto;
}
select.pole_select, input.pole_select, input.pole_select_small {
    background-color: #EAEAEA;
    border: 1px solid #AFAFAF;
    height: 22px;
    margin: 5px 0 0;
    padding: 0 0 0 0;
    width: 200px;
}
input.pole_select_small{
    width:100px;
}
select.pole, select.pole_optgroup{
    width:505px;
    height:22px;
    padding:0px 0px 0px 0;
    background-color:#d7d7d7;
    border-top:1px solid #afafaf;
    border-left:1px solid #afafaf;
    border-bottom:none;
    border-right:none;
}
select.pole_optgroup option{
    padding:0 0 0 15px;
}
.cke_reset{
 cursor: text;
}