*{margin:0px;padding:0px;}
html, body{
	margin:0px;
	padding:0px;
	background:#fff;
	font-family:Tahoma, Arial;
	color:#333333;
	font-size:12px;
	height: 100%;
	}
body {
	
} 	
.clear{
	font-size:1px;
	height:1px;
	overflow:hidden;
	clear:both;
	}

a img{
	border:0px;
	}

img.bord{
	border:1px solid black;
	}
	
input,textarea,select{font-family:Tahoma, Arial;font-size:12px;}

a:link,
a:visited,
a:hover,
a:active{
	color: #00a0ea;
}
a:hover {
	text-decoration: none;
}
#main{
	background: #333333 url(../images/pupir_507.gif) center top repeat;
	min-height: 100%;
}
/* Header styles */
#head{
	width:920px;
	margin:0px auto;
	height:123px;
	margin-bottom: 20px;
	position: relative;
}
#head #logo {
	position: relative;
	float: left;
	width: 321px;
	height: 43px;
	left: 0px;
	top: 18px;
}
#head .annonce {
	float: right;
	margin-top: 21px;
	height: 40px;
	margin-bottom: 6px;	
	position: relative;
	background-color: #fff;
	width: 210px;
}

#head .annonce  a:link,
#head .annonce  a:visited,
#head .annonce  a:active,
#head .annonce  a:hover {
	color: #fff;
	font-size: 24px;
	margin-left: 20px;
	font-size: 10px;
    margin-top: 13px;
}
#head .annonce  img{
	width: 20px;
	height: 20px;
	position: absolute;
	left: 30px;
	top: 10px;
}

#head .menu_block {
	background: #fff;
	height: 43px;
	margin-top: 13px;
	position: relative;
}
#head .menu_block  ul {
	margin: 0px;
	padding: 0px;
	list-style:none;
}

#head .menu_block  ul {
	padding-left:5px;
}
#head .menu_block  ul  li {
	display: inline;
	padding-left: 15px;
	line-height: 40px;
}
#head .menu_block  ul  li  a:link,
#head .menu_block  ul  li  a:visited,
#head .menu_block  ul  li  a:hover,
#head .menu_block  ul  li  a:active {
	color: #00a0ea;
}
 #head .menu_block .search {
	width: 220px;
	position: absolute;
	right: 0px;
	top: 12px;
	text-align: right;
 }

 #head .menu_block .search .button {
	width: 71px;
	height: 18px;
	border: 0px;
	background: #36a3e2 url(../images/button.gif) left top no-repeat;
	display: block;
	height: 16px;
	line-height:17px;
	float: right;
	color: #fff;
	text-transform: lowercase;
	text-align: left;
	position: relative;
	text-decoration: none;
	margin: 0px;
	margin-left: 12px;
	padding: 0px 0px 2px 21px;
 }
 #head .menu_block .search select {
	width: 93px;
	height: 18px;
	margin: 0px;
 }
 #head .menu_block .search input {
	width: 158px;
	margin: 0px 12px 0px 0px;
	height: 16px;
	padding: 0px;
	color: #808080;
	font-size: 12px;
	padding: 0 6px;
 }
 #head .menu_block .search span {
	float: left;
	line-height: 16px;
 } 
 #head .menu_block .search select,
  #head .menu_block .search input{
	float: left;
	border-top: solid 1px #404040;
	border-left: solid 1px #404040;
	border-right: solid 1px #d4d0c8;
	border-bottom: solid 1px #d4d0c8;
}
#head .menu_block .search .button_new{
	float: left;
	margin-top: -2px;
}

/* Content styles */

#content {
	padding-bottom: 110px;
	width:920px;
	margin:0px auto;
}
#content #main_block {
	width: 670px;
	float: left;
	margin-right: 30px;
}

#content #right_block {
	width: 220px;
	float: left;
}
#content #main_block  table.kvest {
	width: 670px;
	margin: 0px 0px 20px 0px;
}
#content #main_block  table.kvest  tr td.kvest_block{
	background: #fff;
	width: 320px;
	vertical-align: top;
	padding: 15px 20px;
}
#content #main_block  .separator{
	width: 30px;
}
#content  h1 {
	margin: 0px;
	padding: 7px 0px 0px 0px;
	font-size: 17px;
	color: #333333;position: relative;
	font-weight: normal;
}
#content #main_block  h1 a{
	color: #00a0ea;
}
#content #main_block  h1.crownt {
	background: transparent url(../images/crown.gif) 1px top no-repeat;
}
#content  h1.crown {
	background: transparent url(../images/crown.gif) left top no-repeat;
	padding-left:1px;
	margin-left: -1px;
}
#content  .line, #profile-edit .line {
	background: transparent url(../images/dots.gif) left top repeat-x;
	margin: 8px 0px 9px;
	padding: 0px;
	font-size:1px;
	line-height: 2px;
	height: 2px;
}
#content #main_block  .kvest_block .k_block {
	margin: 0px 0px 14px 0px;
	position: relative;
	padding-right: 60px;
}
#content #main_block  .kvest_block .k_block span.data {
	color: #999999;
	font-size: 10px;
}

#content #main_block  .kvest_block .k_block .rate {
	position: absolute;
	width: 60px;
	padding-left: 15px;
	right: -5px;
	top: 13px;
}
#content   .rate img {
	width: 10px;
	height: 10px;
	margin: 0px 1px 0px 0px;
	float: left;
}
#content  .rate img.full, #content  .rate input.full{
	background: url(../images/rate.gif) left top no-repeat;
}
#content   .rate img.half, #content  .rate input.half{
	background: url(../images/rate.gif) -11px top no-repeat;
}
#content  .rate img.empty, #content  .rate input.empty{
	background: url(../images/rate.gif) -22px top no-repeat;
}
#content .rate.crown{
	background: url(../images/crown.gif) left top no-repeat;
}

#content #main_block .sort, #content #main_block .profile{
	background: #fff;
	padding: 20px;
	margin-bottom: 10px;
}
#content #main_block .sort a.gray{color:#373737}
#content #main_block .sort h1 {
	margin: 0px 0px 17px 0px;
	margin: 0px;
	padding: 0px;
	font-size: 26px;
}
#content #main_block .sort .h1space{height:17px;}
#content #main_block .sorts h1 span {
	color: #00a0ea;
}
#content #main_block .sort h1.author {
	margin-bottom: 10px;
	padding-top: 13px;
}

#content #main_block .sort ul.sort_by {
	list-style: none;
	margin: 0px 0px 20px 0px;
	padding: 0px;
}
#content #main_block .sort ul.sort_by  li{
	padding: 0px 18px 8px 0px;
	display: inline;
	font-size: 17px;
}
#content #main_block .sort ul.sort_by  li.about_author {
	display: block;
	float: left;
	background: url(../images/sk_l.gif) left top no-repeat;
	margin: -28px 0px 0px 305px;
	width: 185px;
	height: 63px;
}
#content #main_block .sort ul.sort_by  li.about_author div.cont {
	height: 63px;
	padding-left: 60px;
	padding-right: 20px;
	position: relative;
	background: url(../images/sk_r.gif) right top no-repeat;
}
#content #main_block .sort ul.sort_by  li.about_author div.cont  .ava {
	position: absolute;
	left: 25px;
	top: 3px;
	width: 30px;
	height: 30px;
}
#content #main_block .sort ul.sort_by  li.about_author div.cont h1 {
	font-size: 17px;
	background:transparent url(../images/crown.gif) no-repeat scroll left top;
	margin: 0px 0px 7px -1px;
	padding:7px 0 0 1px;
}
#content #main_block .sort ul.sort_by  li.about_author div.cont a {
	font-size: 12px;
}
#content #main_block .sort ul.sort_by  li.about_author div.cont .rate {
	height: 14px;	
} 


#content #main_block .sort ul.sort_by  li a {
	font-size: 17px;
	color: #00a0ea;
}
#content #main_block .sort ul.sort_by  li.active {
	background: url(../images/arrow.gif) 1px bottom no-repeat;
}
#content #main_block .sort ul.sort_by  li span {
	color: #fe0000;
}
#content #main_block .sort ul.select_kv {
	list-style: none;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	height: 23px;
}
#content #main_block .sort ul.select_kv  li{
	padding: 0px 10px;
	float:left;
	text-transform: lowercase;
	height: 23px;
	line-height: 23px;
}

#content #main_block .sort ul.select_kv  li a {
	color: #00a0ea;
}
#content #main_block .sort ul.select_kv  li.active {
	background: #fb5a45;
}
#content #main_block .sort ul.select_kv  li.active a{
	text-decoration: none;
	color: #fff;
	cursor: default;
}

/* new_filter by vdv73rus (vdv73rus@gmail.com) at 09.04.2011 */
#filter_sort{
	margin: 14px 0 0 0;
	position: relative;
	z-index: 20;
}
	#filter_sort .filter_group{
		float: left;
		height: 22px;
		margin: 0 24px 0 0;
	}
	#filter_sort .filter_group .pseudo_select{
		position: relative;
		z-index: 30;
		display: inline-block;
		height: 22px;
		line-height: 21px;
		width: 97px;
		color: #fff;
		background: url("../images/bg_new_filter_arrow.gif") right 9px no-repeat #36a3e2;
		border-radius: 11px;
		-moz-border-radius: 11px;
		-webkit-border-radius: 11px;
		padding: 0 0 0 11px;
		cursor: pointer;
	}
	#filter_sort .filter_group .pseudo_list{
		display: none;
		position:absolute;
		left:0;
		top: 23px;
		z-index: 100;
		width: 97px;
		padding: 6px 0 6px 11px;
		background: #36a3e2;
		border-radius: 11px;
		-moz-border-radius: 11px;
		-webkit-border-radius: 11px;
		list-style: none;
		color: #fff;
	}
		#filter_sort .filter_group .pseudo_list li{
			height: 22px;
			line-height: 21px;
		}
			#filter_sort .filter_group .pseudo_list li a{
				color: #fff;
				text-decoration: none;
				background: url("../images/bg_new_filter_bottom.gif") left bottom repeat-x;
			}
			#filter_sort .filter_group .pseudo_list li.active a{
				background: none;
				cursor: default;
			}

.white_block{background-color: #fff; position: relative; padding: 23px 23px 23px 20px;} 
.white_block  p{}
.grayText{color:#999999; font-size:11px}
.p0{padding:0px 0px 0px 0px !important;}

.kvest_descr {
	margin-bottom: 10px;
}
.kvest_descr .pic{
	float: left;
	position: relative;
	z-index: 100;
}
.kvest_descr  .text{
	background-color: #fff;
	margin-left: -30px;
	float: left;
	width: 497px;
	position: relative;
	z-index: 50;
	padding: 13px 23px 23px 50px;
}
.kvest_descr  .text .title {
	float: left;
	width: 200px;
}
.kvest_descr  .text .title span.info {
	line-height: 30px;
	display: block;
	padding-bottom: 5px;
	color: #666666;
	font-size: 11px;
}
.kvest_descr  .text .title span.info a{
	color: #666;
	font-size: 11px;
} 
.kvest_descr  .text p{
	margin-left: 200px;
	padding-top: 7px;
	line-height: 18px;
}
ul.pagination {
	list-style: none;
	margin: 0px;
	padding: 7px 0px 10px 20px;
	height: 23px;
	background: #fff;
}
ul.pagination li {
	padding: 0px 6px;
	float:left;
	text-transform: lowercase;
	height: 23px;
	line-height: 23px;
}
ul.pagination li.active {
	background: #fb5a45;
	color: #fff;
}
ul.pagination li.active a{text-decoration: none;
	color: #fff;
	cursor: default;
}

.author_descr  {
	width: 220px;
	margin-bottom: 20px;
}
#content  #main_block  .quest_page,
#content  #right_block  .quest_page  {
	margin-bottom: 0px;
}
.author_descr .pic{
	float: left;
	position: relative;
	z-index: 100;
}
.author_descr  .text{
	background-color: #fff;
	margin-left: -30px;
	float: left;
	width: 93px;
	position: relative;
	z-index: 50;
	padding: 15px 17px 15px 40px;
}
.author_descr  .text span.name {
	font-family: Arial;
	font-size: 13px;
	font-weight: bold;
}
.author_descr  .text #close {
	position: absolute;
	right: 4px;
	top: 4px;
}
.author_descr  .text ul {
	list-style: none;
}
.author_descr  .text ul li {
	line-height: 18px;
	font-size: 11px;
}
.author_descr  .text ul li.active  {
	font-weight: bold;
}
.author_descr  .text ul li  a{
	font-size: 11px;
}

/* projects_list */
.project_descr{margin-bottom:10px;}
.project_descr_strip{margin:0px !important;}
.project_descr .pic{z-index:100;width:670px;height:150px}
.project_descr  .text{background-color:#fff; z-index:50; padding: 13px 23px 23px}
.project_descr_strip  .text{padding-bottom:8px !important;}
.project_descr  .text .title {color:#494949;}
.project_descr  .text .title a{color: #666;} 
.project_descr  .text .dscr{padding-top: 10px;}
.project_descr  .text .dscr p{line-height: 18px;}


/* right_block */
#right_block .banner {
	margin-bottom: 20px;
}
#right_block .marks {
	background-color: #fff;
	padding: 10px 20px 20px;
	line-height: 22px;	
}
#right_block .marks a{padding-right: 7px;}

#right_block .best {
	background-color: #fff;
	padding: 10px 20px 25px 20px;
	margin-bottom: 20px;	
	margin-top: 20px;
}
#right_block .best.mark {margin-top: 0px;}
#right_block .best span {
	color: #666666;
	font-size: 11px;
	padding:0px;
	text-align: right;
	display: block;
	float: left;
	width: 12px;
}
#right_block .best a {
	margin-left: 12px;
}
#right_block .best a.to_all {
	margin-left: 24px;
}
#right_block .best ul {
	list-style: none;
	margin-top: -5px;
}
#right_block .best ul li{
	height: 24px;
	line-height: 24px;
	position: relative;
}
#right_block .best ul li .rate {
	right: 0px;
	top: 6px;
	padding-left: 15px;
	position: absolute;
}
#right_block .subs {
	background: #fff;
	padding: 10px 20px 20px;
}

#right_block .subs .text{
	border-top: solid 1px #404040;
	border-left: solid 1px #404040;
	border-right: solid 1px #d4d0c8;
	border-bottom: solid 1px #d4d0c8;
	width: 175px;
	height: 18px;
	line-height: 20px;
	margin-bottom: 10px;

}
#right_block  .button{
	background: #36A3E2 url(../images/button2.gif) right top no-repeat;
	border: 0px;
	color: #fff;
	text-transform: lowercase;
	padding: 0px 20px 2px 25px;
	display: block;
	height: 16px;
	line-height:17px;
	float: left;
	margin: 0px 0px 17px -20px;
	text-align:right;
	text-decoration: none;
}
#right_block .subs .note {
	color: #666666;
	font-family: Tahoma;font-size: 11px;
	text-align:center;
}
#right_block .autorisation {
	background-color: #ffffff;
	padding: 20px;
	padding-bottom: 0px;
	margin-bottom: 20px;
}
#right_block .autorisation input{
	width: 82px;
	height: 18px;
	float: left;
	margin: 0px 5px 4px 0px;
	border-top: solid 1px #404040;
	border-left: solid 1px #404040;
	border-right: solid 1px #d4d0c8;
	border-bottom: solid 1px #d4d0c8;
}
#right_block .autorisation .chbox{margin-bottom:8px;}
#right_block .autorisation .chbox input.checkbox{width:auto;height:auto;margin-top:1px;border:none;}
#right_block .autorisation .links{
	padding: 0px;
	float: left;
	line-height: 18px;
	margin: -2px 0px 12px 30px;
}
#right_block .autorisation .links a {
	font-size: 11px;
}
#right_block .autorisation .ieOnlyDisplay{display:none;}
/*Authors page */
.authors {
	width: 320px;
	height: 100px;
	float: left;
	background-color: #ffffff;
	margin: 0px 30px 10px 0px;
}
.authors.right {
	margin-right: 0px;
}
.authors img {
	float: left;
	margin-right: 20px;
}
.authors .a_text {
	float: left;
	padding-top: 10px;
	width: 190px;
}
.authors .a_text h1.crown {
	background-position: left top;
	padding-left: 2px;
}
.authors .a_text .rate {
	padding: 8px 0px 15px 0px;
}
/*------*/

/*---------Game pages---------------*/
.kvest_name {
	background-color: #ffffff;
	padding: 13px 20px;
	margin-bottom: 10px;
}
#content #main_block .kvest_name  h1 {
	font-size: 28px;
	padding: 5px 0px 0px;
}
#content #main_block .kvest_name  h1.crown {
	margin: 0px;
	background-position: 3px 0px;
}
#content #main_block .kvest_name span {
	color:#666666;
	display:block;
	padding-left:1px;
	font-size:11px;
	line-height:23px;
	padding-bottom:5px;
}
#content #main_block .kvest_name span  a{
	color:#666666;
}
#content #main_block .kvest_name .rate {
	height: 10px;
	padding-bottom: 13px;
}

.game_descr .pic{
	float: left;
	width: 320px;
	position: relative;
	z-index: 100;
	padding-top: 20px;
}
.game_descr .pic .go{
	background-color: #ffffff;
	line-height: 60px;
	height: 60px;
	padding-left: 20px;
}
.game_descr .pic .go a {
	font-size:28px;
}
.game_descr  .text{
	background-color: #fff;
	margin-left: -50px;
	float: left;
	width: 299px;
	position: relative;
	z-index: 50;
	padding: 30px 23px 32px 78px;
}
#content  .game_descr  .text .line {
	margin:-6px 0 9px;
}
.game_descr  .text p{
	line-height: 18px;
	margin-bottom: 20px;
}
.game_descr  .text p.marks {
	margin: 0px;
	padding: 5px 0px 0px 0px;
}
.game_descr  .text p.marks  a{
	margin-right: 7px;
}
#content  .game_process.register {
	background: #fff;
	padding: 20px 20px;
	width: 880px;
}
#content  .game_process.register .button2 {
	margin-left: -20px;
}
#content  .game_process {
	width: 920px;
}
#content .process_name {
	background-color: #fff;
	margin-bottom: 10px;
	position: relative;
	line-height: 68px;
	height: 68px;
}
#content .process_name  h1{
	font-size:  26px;
	padding: 0px 0px 0px 15px;
}
#content .process_name  h1.lose{background: transparent url(../images/lose.gif) 11px 18px no-repeat;padding-left:75px;}
#content .process_name  h1.win{background: transparent url(../images/win.gif) 11px 18px no-repeat;padding-left:75px;}
#content .process_name .percent {
	position: absolute;
	right: 20px;
	top: 0px;
	text-align: right;
	height: 68px;
	line-height: 68px;
	font-size: 17px;
}
.process_content {
	text-align: center;
}
.process_content .image_game_block {
	margin-bottom: -50px;
	z-index: 500;
	position: relative;
	background:#ffffff;
	padding:20px 120px 0px 120px;
	width:680px;
	margin:0px auto -50px auto;
	min-height: 30px;
}
.process_content .image_game_block .clear{
	font-size:0;
	height:1px;
	overflow:hidden;
	clear:both;
}
.process_content .image_game {	
	position:relative;
}
.process_content .image_game .image{
	min-height:300px;
	text-align:center;
}
.process_content .image_game .image img{
	max-width:680px;
}
.process_content .stats{
	float:right;
	margin:10px 10px 10px -160px;
	width:150px;
	position:relative;
	z-index:50;
}
.process_content .stats .state_block{
	border:1px solid #cccccc;
	padding:8px 9px 8px 9px;
	border-radius:5px;
	margin:0px 0px 5px 0px;
	background:#f2f2f2;
	text-align:left;
}
.process_content .state_block .header{
	color:#666666;
	font-size:12px;
}
.process_content .state_block .value{
	color:#333333;
	font-size:18px;
}
.process_content .state_block .body{
	border-top:1px solid #cccccc;
	margin:4px 0px 0px 0px;
}
.process_content .state_block .body ul{
	margin:9px 0px 0px 0px;
	padding:0px;
	list-style:none;
}
.process_content .state_block .body ul li{
	margin:9px 0px 0px 0px;
	padding:0px 0px 0px 10px;
	list-style:none;
	background:url(../images/ul-bull.png) left 6px no-repeat;
}
.process_content .text {
	background-color: #ffffff;
	padding: 75px 120px 25px 120px;
	text-align: left;
	font-size: 15px;
	line-height: 20px;
}
.process_content .text p{ 
	padding: 0px 0px 20px;
	margin: 0px;
}
.process_content .text ul {
	list-style: none;	
	padding-top: 9px;
}
.process_content .text ul li {
	margin-bottom: 20px;
}
.process_content .text .end_kvest {
	width: 500px;
	float: left;
}
.process_content .text .end_kvest .add_comment{float:none; clear:both; padding:17px 0px 0px; font-size:17px;}
#content  .process_content .text h1 { 
	font-size: 17px;
	margin-bottom: 3px;
}
.process_content .text ul li  a:link,
.process_content .text ul li  a:visited,
.process_content .text ul li  a:active,
.process_content .text ul li  a:hover {
	color: #36a3e2;
}
.process_content .text span.about {
	color:#666666;
	line-height: 20px;
display:block;
font-size:11px;
}
.process_content .text span.about  a{
	color: #666666;
}
.process_content .text img.full{
	background: url(../images/rate.gif) left top no-repeat;
}
.process_content .text img {
	width: 10px;
	height: 10px;
	margin: 0px 0px -1px 0px;
}
.process_content .text img.empty{
	background: url(../images/rate.gif) -22px top no-repeat;
}
.process_content .text .nav_links {
	float: right;
	text-align: right;
	position: relative;
}
.process_content .text .nav_links  a {
	font-size: 12px;
	line-height: 22px;
}
.process_content .text .nav_links p{padding-bottom:14px;}

.process_content .text .more_links{
	margin:25px 0px 0px 0px;
	padding:15px;
	border:1px solid #cccccc;
	background:#f2f2f2;
	font-size:12px;
	text-align:center;
	border-radius:5px;
}
.process_content .text .more_links a{
	margin:0px 10px 0px 10px;
}


.kvest_annonce {
	margin-top: 20px;
	float: left;
	width: 440px;
	margin-right: 40px;
}
.kvest_annonce.right {
	margin-right: 0px;
}
.kvest_annonce .pic {
	float: left;position: relative;
	z-index: 300;
}
.kvest_annonce .text {
	float: left;
	background-color: #ffffff;
	margin-left: -30px;
	width: 255px;
	position: relative;
	z-index: 200;
	padding: 20px 35px 24px 50px;
}
.kvest_annonce .text span.info{
	color:#666666;
display:block;
font-size:11px;
line-height:30px;
padding-bottom:5px;
}
.kvest_annonce .text span.info a {
	color: #666666;
}

/*-------------------------------------*/

/*-------------Registration----------------------*/

#content .register h1 {
	font-size: 28px;
	padding: 0px 0px 20px;
}
#content  input.inform,
#content  select.inform {
	border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
	height: 16px;
	width: 300px;
	margin: 2px 0px 15px 0px;
}

#content  select.inform {
	height: 18px;
}
#content  textarea.inform {
	border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
	height: 180px;
	width: 300px;
	margin: 2px 0px 15px 0px;
}
#content  input.inform.bot  {
	margin-bottom: 19px;
}
#content  .ava_block {
	float: left;
	padding-right: 14px;
	position: relative;
	margin: 0px;
	margin-top: 12px;
}
#content  .ava_block.crt {
	margin: 0px 0px 12px 0px;
}
.previewNotReq{font-size:11px;color:#666;margin:-18px 0 0 125px}
#content  .ava_block .delete {
	position: absolute;
	right: 0px;
	top: 0px;
}
#content  .ava_block  a {
	text-decoration: none;
	border-bottom:dashed 1px #36a3e2;
	line-height: 20px;
}
#content .ava_block  a:hover {
	border: 0px;
}
#content .button2 {
	width: 71px;
	height: 26px;
	border: 0px;
	background: #36a3e2 url(../images/button3.gif) right top no-repeat;
	display: block;
	line-height:26px;
	color: #fff;
	text-align: left;
	text-decoration: none;
	margin: 20px 0 14px -21px;
	padding: 0px 0px 2px 21px;
	font-size: 15px;
 }
 
#content .imgLoader{
	margin:-5px -23px -5px -23px;
	padding:13px 23px 15px 23px;
	background:#E6E6E6;
	z-index:2;
}
#content .imgLoader input.file{margin-top:2px;width:305px;background:#fff;height:22px;}
#content .imgLoader .grayText{padding:20px 0 0 30px;color:#666;font-size:0.9em;}
#content .imgLoader input.button{padding:3px 7px;background:#D4D2C6}
#content .imgLoader #imageImage{width:320px;margin-top:2px}
#content .imgLoader #previewImage{width:130px;margin-top:2px}
#content .imgLoader a.changeLink{text-decoration:none;border-bottom:1px dashed}
#content .imgLoader a.changeLink:hover{text-decoration:none;border-bottom:1px solid}

#content #imgLoader_processed{
	background:#E6E6E6; opacity:0.3; filter:alpha(opacity=30);
	z-index:100;
	margin-top:-163px;
	position:relative;
	height:135px;
}
#content #imgLoader_processed img{opacity:1; filter:alpha(opacity=100);}
#content #imgLoaderError{font-weight:bold;color:red;display:none;padding:5px;border:1px #f60000 solid;margin:0 0 10px}

#content .avaLoader{
	margin:-5px -20px -5px -20px;
	padding:13px 23px 15px 23px;
	background:#E6E6E6;
	z-index:2;
}
#content .avaLoader #avatarImage{margin-top:2px;}
#content #avaLoader_processed{
	background:#E6E6E6; opacity:0.3; filter:alpha(opacity=30);
	z-index:100;
	margin-top:-108px;
	position:relative;
	height:80px;
}
#content #avaLoader_processed img{opacity:1; filter:alpha(opacity=100);}
/*-----------------------------------*/

/*------------My quests block--------------------*/
.my_quests {padding-bottom:10px;}
.my_quests .my_quests_descr {
	height: 130px;
	padding: 0px;
	background-color: #ffffff;
	margin-top: 10px;
}
.my_quests .my_quests_descr .pic {
	float: left;
	margin: 0px 20px -1px 0px;
	padding: 0px;
}
.my_quests .my_quests_descr .text {
	float: left;
	margin: 0px;
	padding: 13px 0px 0px 0px;
	width: 770px;
}
#content .my_quests .my_quests_descr .text h1.blocked {
	color: #fe0000;
}
.my_quests .my_quests_descr .text  span.info {
	color:#666666;
	display:block;
	font-size:11px;
	line-height:24px;
	padding-bottom:5px;
}

.my_quests .my_quests_descr .text .edit_quest {
	background-color: #36a3e2;
	line-height: 30px;
	position: relative;
	height: 30px;
	margin: 10px 0px 0px -30px;
	padding-left: 30px;
}
.my_quests .my_quests_descr .text .edit_quest  a {
	color: #ffffff;
}
.my_quests .my_quests_descr .text .edit_quest  a.edit {
	margin-right: 20px;
}
.my_quests .my_quests_descr div.rate2{padding:11px 0 0px; float:none;height:20px;overflow:hidden}
.my_quests .my_quests_descr div.nonrate{height:7px;line-height:1px;font-size:1px}
.my_quests .my_quests_descr div.info {
	line-height: 11px;
	display: block;
	padding: 2px 0 3px;
	color: #666666;
	font-size: 11px;
}
/**-------------------------------------------------*/

/*-------------------Messages --------------------*/
.messages {
	margin-top: 10px;
}
.messages .pic {
	float: left;
	position: relative;
	z-index:100;
	width:100px;
}
.messages .text {
	float: left;
	z-index: 50;
	position: relative;
	margin-left: -30px;
	padding: 13px 20px 13px 50px;
	width: 780px;
	background-color: #ffffff;
}
#content .messages .text  h1 {
	padding-top: 0px;
	padding-bottom: 10px;
}
#content .messages .text  p {
	margin-bottom: 15px;
	line-height: 18px;
}
#content .messages .text span.info {
	color:#666666;
	font-size:11px;
}
.messages .text .edit_quest {
	background-color: #36a3e2;
	line-height: 30px;
	position: relative;
	height: 30px;
	margin: 0px -20px 0px -50px;
	padding-left: 50px;
}
.messages  .text .edit_quest  a {
	color: #ffffff;
}
.messages .text .edit_quest  a.edit {
	margin-right: 20px;
}
/*-----------------------------------------------*/

/*---------------Create quest ----------------------*/
.create-quest {
	background-color: #ffffff;
	padding: 25px 23px;
}
.create-quest .notice {
	float: right;
	width: 300px;
	color: #666666;
	padding-top: 16px;
}
.create-quest .notice  span {
	font-size: 15px;
}
.create-quest .notice  p {
	padding-top: 28px;
	line-height: 15px;
	padding-right: 70px;
	font-size: 11px;
}
#content .create-quest .button2 {
	margin-left: -23px;
}
.constructor {
	background-color: #fff;
}

.promo_text{
	background: #fff;
	margin: 20px 0 0 0;
	padding: 15px 20px;
}
	.promo_text p{margin: 0 0 12px;}
	.promo_hide{display: none;}
	#show_promo{
		text-decoration: none;
		padding: 0 12px 0 0;
		background: url("../images/promo_link_opened.gif") right 8px no-repeat;
	}
	#show_promo.closed{
		background: url("../images/promo_link_closed.gif") right 8px no-repeat;
	}
	#show_promo span{
		background: url("../images/promo_link_bg.gif") left bottom repeat-x;
	}
	

/*----------------------------------------------*/
#footer {
  height: 85px; 
  margin: -85px auto 0px auto;
  position: relative;
  width: 920px;
}
#footer .box {
	 background: #fff;
	 position: relative;
	 height: 60px;
 }
#footer .counters {position:absolute;top:15px;left:780px;width:200px;}
 #footer .left {
	position: absolute;
	left: 20px;
	top: 22px;
 }
 #footer .right {
	position: absolute;
	right: 20px;
	top: 22px;
	text-align: right;
	list-style: none;
 }
 
 #footer .right  li {
	padding-left: 15px;
	display: inline;
 }

/*MODAL Window styles*/

#modalOverlay { 
background-color:#000; /* Тут выбираем цвет затемнения */ 
cursor:wait; /* Курсор при наведении на затемненную область */ 
filter: alpha(opacity=50); /* Интенсивность затемнения */
height: 100%;
position:absolute;
} 
#modalContainer { 
height:auto;  /* Для растягивания по высоте */ 
width:460px; 
left:50%; /*в купе с margin-left, которая равна минус половине ширины центруют по горизонтали*/ 
top:25%;  /*центрует по вертикали, вместе с margin-top, если задать высоту*/ 
float:left;
margin-left:-230px;
background-color:#fff; 
/*border:1px solid #B3B3B3; */
padding: 30px;
} 

#modalContainerRegister { 
height:auto;  /* Для растягивания по высоте */ 
width:550px; 
left:50%; /*в купе с margin-left, которая равна минус половине ширины центруют по горизонтали*/ 
top:15%;  /*центрует по вертикали, вместе с margin-top, если задать высоту*/ 
float:left;
margin-left:-270px;
background-color:#fff; 
border:1px solid #B3B3B3; 
padding: 30px;
} 


a.modalCloseImg { 
background:url(../images/del.gif) no-repeat;
width:17px; /* Положение отличается от тех, что в примере. Мне кажется так удобнее */
height:17px; 
display:inline; 
z-index:3200; 
position:absolute; 
top:30px; 
right:30px; 
cursor:pointer; 
}

#modalContainer  input.button{margin-bottom:0px;}
#modalContainer h1{
	color:#333333;
	font-size:17px;
	font-weight:normal;
	padding-bottom:16px;
}
#modalContainer .button2 {
	width: 71px;
	height: 26px;
	border: 0px;
	background: #36a3e2 url(../images/button3.gif) right top no-repeat;
	display: block;
	line-height:26px;
	color: #fff;
	text-align: left;
	text-decoration: none;
	margin:0 0 0 -31px;
padding:0 27px 2px 31px;
	font-size: 15px;
 }
#modalContainer .modal_block{
	width:520px;
	padding:30px;
	float:left;
}
#basicModalContent  textarea{ 
	border-top:solid 1px #404040;
	border-left:solid 1px #404040;
	border-right:solid 1px #D4D0C8;
	border-bottom:solid 1px #D4D0C8;
	width:460px;
	height: 180px;
	margin:0px 0px 20px 0px;
}
#actionModalContent{display:none;}
#actionModalContent  .response_txt{display:none;}
#actionModalContent  .response_txt textarea{width:100%;height:50px;}
#actionModalContent  div.buttons{text-align:left;margin-left:135px;padding-top:10px}
#actionModalContent .button4 {
	width: 83px;
	height: 26px;
	border: 0px;
	display:block;
	background: #36a3e2 url(../images/button4.gif) center top no-repeat;
	line-height:26px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 0px 0px 2px;
	font-size: 15px;
	float:left;
	margin:0 4px;
}
.edit_quest_id, .edit_quest_name{display:none !important;}

#registerModalContent {padding:0 10px 0 10px;}
#registerModalContent div.title{font-weight:bold;font-size:15px;padding-bottom:17px;float:left;}
#registerModalContent input.inform,
#registerModalContent select.inform {
	border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
	height: 16px;
	width: 300px;
	margin: 2px 0px 10px 0px;
}

#modalContainerRegister #registerModalContent input.inform,
#modalContainerRegister #registerModalContent select.inform {
	border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
	height: 16px;
	width: 250px;
	margin: 2px 0px 10px 0px;
}


#registerModalContent div.left {
    float:left;
/*    margin-top:30px;*/
}

#registerModalContent div.right {
    margin-left:300px;
    line-height: 1.5;
}

/*#registerModalContent div.right div.title {font-weight:bold;font-size:15px;padding-bottom:17px;margin-top:-35px;}*/
#registerModalContent div.title2{font-weight:bold;font-size:15px;padding-bottom:17px;margin-left:300px}
#registerModalContent .line {
	background: transparent url(../images/dots.gif) left top repeat-x;
	margin: 8px 0px 9px;
	padding: 0px;
	font-size:1px;
	line-height: 2px;
	height: 2px;
}

input.informcapcha {
    border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
    height: 16px;
    width: 150px;
    float:left;
    margin: 5px 0px 10px 0px;
}

input.informcheckbox {
    border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
    margin: 20px 0px 10px 0px;
}


#registerModalContent div.buttons {padding:15px 10px 0 180px}
#registerModalContent .button5 {
	width: 181px;
	height: 26px;
	border: 0px;
	display:block;
	background: #36a3e2 url(../images/button5.gif) center top no-repeat;
	line-height:26px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 0px 0px 2px;
	font-size: 15px;
	margin:0;
}
/*----------------------*/

.progress {
	border-color:#404040 #D4D0C8 #D4D0C8 #404040;
	border-style:solid;
	border-width:1px;
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	height: 18px;
}

.bar {
	width: 0;
	height: 100%;
	background-color: lime;
}

/*additionals*/
.author_descr2 {height:45px;}
.author_descr2 div {float:left}
.author_descr2 div.author_name {padding:0 14px 0px 10px;margin-top:-3px}
.author_descr2 div.author_name h1{padding: 7px 0px 0px 0px !important;	font-size: 17px !important;}
.author_descr2 div.author_rate{padding:4px 0px 0px 0px;}
.author_descr2 div.author_letter{padding:7px 0px 0px 16px;}

.kvest_descr_p {margin-bottom: 10px;position: relative; z-index:0;}
.kvest_descr_p .pic{
	float: left;
	position: relative;
	z-index: 100;
}
.kvest_descr_p  .text{
	background-color: #fff;
	margin-left: -30px;
	float: left;
	width: 497px;
	position: relative;
	z-index: 50;
	padding: 13px 23px 23px 50px;
}
.kvest_descr_p  .text .title {
	float: left;
	width: 200px;
}
.kvest_descr_p  .text .title div.rate{padding:11px 0 20px;}
.kvest_descr_p  .text .title form div.rate{padding:11px 0 11px;}
.kvest_descr_p  .text .title div.info {
	line-height: 11px;
	display: block;
	padding: 2px 0 3px;
	color: #666666;
	font-size: 11px;
}
.kvest_descr_p  .text .title div.info a{
	color: #666;
	font-size: 11px;
} 
.kvest_descr_p  .text p{
	margin-left: 200px;
	padding-top: 7px;
	line-height: 18px;
}

#main_block span.blue {color: #00a0ea;}

/*-------------------Empty Quests --------------------*/
#content .quests_error{width:auto; background:#fff;text-align:center;padding:35px 45px 55px;margin-top:20px;}
#content .quests_error h1{font-size:26px;padding-bottom:10px;}
/**-------------------------------------------------*/


/* Static Pages */
div.staticContent{padding:0 0 18px 0}
div.staticContent h1{margin:25px 0 0px !important;margin-bottom:-6px !important}
div.staticContent p{line-height:18px;padding-top:17px;}
div.staticContent ul{padding:0;margin:0;padding:0 0 0 20px;}
div.staticContent ul li{padding:0;margin:0;line-height:18px;list-style:none}


/* FIXes */
.fixP-t1{padding-top:6px;}

/* form msgs */
.msgBlock{background:yellow;color:#fff;margin:0;padding:12px 20px 14px;width:auto;line-height:150%}
.msgBlockFull{width:880px;}
.msgError{background:#E23636}
.msgOk{background:#4ebf4b}

/* uploadify */
.uploadifyQueueItem {
	font: 11px Verdana, Geneva, sans-serif;
	border: 2px solid #E5E5E5;
	background-color: #F5F5F5;
	margin-top: 5px;
	padding: 10px;
	width: 280px;
}
.uploadifyError {
	border: 2px solid #FBCBBC !important;
	background-color: #FDE5DD !important;
}
.uploadifyQueueItem .cancel {float: right;}
.uploadifyProgress {
	background-color: #FFFFFF;
	border-top: 1px solid #808080;
	border-left: 1px solid #808080;
	border-right: 1px solid #C5C5C5;
	border-bottom: 1px solid #C5C5C5;
	margin-top: 10px;
	width: 100%;
}
.uploadifyProgressBar {
	background-color: #0099FF;
	width: 1px;
	height: 3px;
}
/*ftfix*/
.fileQueue {	margin-bottom: 10px;}
.fileUploadFO{margin-top:-10px;}
.fileUploadFO a{border:0 !important;}

/*twitter*/
a.twitter{background:url(../images/twitter.gif) 0px -1px no-repeat;padding-left:20px;padding-bottom:4px;text-decoration:none}
a.twitter span{text-decoration:underline}
a.twitter:hover span{text-decoration: none;}

/*new Rate*/
div.qRate{clear:both;padding:10px 0px;}
div.qRate div{float:left;}
div.qRate div.info{font-size:21px;color:#333;}
div.qRate a.button, div.qRate a.button:hover, div.qRate a.button:active{
	display:block;float:left; width:38px;height:24px;margin:0 7px 0 14px;text-align:center;
	font-size:13px; text-decoration:underline; color:#fff !important;
	background:#FB5A45 url(../images/ratePlus.png) 0px 0px no-repeat;
}
div.qRate a.button:hover{text-decoration:none;}
div.qRate div.userText{color:#999999}
/**/
div.rateS{clear:both;height:17px}
div.rateScrown{clear:both;height:17px;background: url(../images/crown.gif) 0px 3px no-repeat;padding-left:16px}
div.rateS_style1{clear:none;	float:left;height:23px}
div.rateS_style1 div.info{
	float:left; height:13px;text-align:right; padding:5px 9px !important;
	font-size:11px; line-height:11px; color:#fff !important;
	background:#FB5A45;
}
div.rateS_style2{clear:none;	position: absolute; right:0px;top:10px;}
div.rateS_style3{clear:none;	position: absolute; right:0px;top:3px;}
div.rateS_style2 div.info, div.rateS_style3 div.info{
	float:right; height:13px;text-align:right; padding:2px 3px !important;
	font-size:11px; line-height:11px; color:#fff !important;
	background:#FB5A45;
}

/*comments*/
.comments_head{margin-top:20px;}
.messages .comment {
	float: left;
	z-index: 50;
	position: relative;
	margin-left: -30px;
	padding: 13px 20px 13px 50px;
	width: 530px;
	background-color: #ffffff;
}
#content .messages .comment  h1 {
	padding-top: 0px;
	padding-bottom: 10px;
}
#content .messages .comment  textarea {
	width:520px;height:136px;
	border-top: 1px solid #333;
	border-left: 1px solid #333;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 2px;
}
#content .messages .comment  div.comment_content {
	margin-bottom: 15px;
	line-height: 18px;
}
#content .messages .comment span.info {
	color:#333;
}
#content .messages .comment span.info .user{text-decoration:underline;}
#content .messages .comment span.gray {
	color:#666;
}
.messages .comment .edit_quest {
	background-color: #36a3e2;
	line-height: 30px;
	position: relative;
	height: 30px;
	margin: 0px -20px 0px -50px;
	padding-left: 50px;
}
.messages  .comment .edit_quest  a {
	color: #ffffff;
}
.messages .comment .edit_quest  a.edit {
	margin-right: 20px;
}
.grayPlank{padding: 13px; background:#dedede;}
.button6 {
	width: 122px;
	height: 28px;
	border: 0px;
	display:block;
	background: #36a3e2 url(../images/button6.gif) center top no-repeat;
	line-height:26px;
	color: #fff;
	text-align: center;
	text-decoration: none;
	padding: 0px 0px 2px;
	font-size: 15px;
	margin:20px 20px 20px 0;
	float:left;
	cursor:pointer;
}

.comment .reply{padding:10px 20px;background:#eee;margin-bottom:5px;color:#666}
.comment .replyAuthor{font-weight:bold;padding-bottom:3px;}
.comment .reply .reply, .comment .reply .reply  .reply .reply, .comment .reply .reply  .reply .reply .reply .reply{background:#fff}
.comment .reply .reply .reply, .comment .reply .reply .reply  .reply .reply{background:#eee}

	/* gameList */
	div.gameCommentBlock{clear:none;	float:left;height:30px}
	div.gameCommentBlock a.info{
		float:left; height:20px;text-align:right; padding:5px 9px !important;
		font-size:11px; line-height:11px; color:#fff !important;
		background:url(../images/com_corner.gif) 0% 100% no-repeat #69c;
	}
/* /comments*/

div.blockeDiv{position:absolute; z-index:1001; top:-1000px; left:-1000px;
	background: #ddd url(../images/loader2.gif) center center no-repeat;
}

/* news */
div.news_page{background:#fff;margin-bottom:10px;width:880px;padding:20px;}
#main_block div.news_page h1{font-size:28px;margin:0;padding:0 0 5px 0;}
div.news{margin-top:15px;}
div.news .img{float:left;padding:3px 5px 5px 0}
div.news .date{font-size:10px;color:#999}
div.news_page .date{font-size:10px;color:#999}
div.news .title{font-weight:normal;font-size:12px;}
/*div.news .title a,div.news .title a:hover,div.news .title a:active,div.news .title a:visited{}*/

#right_block .newsBlock{background-color: #fff;	padding: 10px 20px 20px; margin-bottom:20px;}
#right_block .newsBlock div.news{margin-top:10px;}

#right_block .newsBlock div.news .comText{padding:1px 0px;}
/* /news */

/* social share */
.shareLinks{padding-top:10px;display:block}
.shareLinks a{text-decoration:none}
.process_content .text .shareLinks img, .shareLinks img{width: 16px; height: 16px; background-image: url(../images/share.png); background-repeat: no-repeat; background-position:-200px -200px;}

/* /social share */

/* new_editor */
#quest_editor{
	padding: 10px 0 0 0;
}
#quest_menu{
	background: #37a5e4;
	height: 40px;
}
	#content #quest_menu ul{
		padding: 0 0 0 12px;
		list-style:none;
		margin:0;
	}
	#content #quest_menu ul li{
		float:left;
		height: 40px;
		background:0;
		padding:0;
		margin:0;
	}
	#content #quest_menu ul li:hover{
		background: url(../images/bg_quest_menu_hover.gif) left top repeat-x;
	}
	#quest_menu a{
		text-decoration: none;
		color: #fff;
		line-height: 40px;
		height: 40px;
		display: block;
	}
	#quest_menu span{
		padding: 0 12px;
		line-height: 40px;
	}
	
#editor_canvas{
	position: relative;
}
#editor_canvas #canvas{
	min-height: 700px;
	position: relative;
	z-index:0;
}

#edit_menu{
	position: absolute;
	left: 20px;
	top: 20px;
	z-index:10;
	border: 1px solid #656565;
	border-width:  21px 1px 1px;
	width: 68px;
	padding: 15px 0 0 0;
	box-shadow: 5px 7px 7px #ccc;
	-moz-box-shadow: 5px 7px 7px #ccc;
	-webkit-box-shadow: 5px 7px 7px #ccc;
	background: #fff;
}
#edit_menu img, #top_edit_menu img{
	margin-bottom: 10px;
}

#content .editor_popup{
	width: 400px;
	position: absolute;
	left: 260px;
	top: 20px;
	z-index:20;
	border: 1px solid #656565;
	padding: 10px;
	box-shadow: 5px 7px 7px #ccc;
	-moz-box-shadow: 5px 7px 7px #ccc;
	-webkit-box-shadow: 5px 7px 7px #ccc;
	background: #fff;
	min-height: 18px;
}
#content .editor_popup p{
	margin:0;
	color: #36a3e2;
	text-align:center;
	line-height: 18px;
}
#content .editor_popup a.button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}
#content .editor_popup a.warning{
	background: url("../images/bg_button_popup_warning.jpg") left top no-repeat;
	width: 76px;
}
#content .editor_popup .popup_title{
	height: 20px;
	background: #656565;
	position: relative;
		left: -10px;
		top:-10px;
		width: 420px;
}
	#content .editor_popup .popup_title a{
		text-decoration: none;
		font-size: 18px;
		line-height: 18px;
		color: #ccc;
		font-weight: bold;
		float: right;
		padding: 0 10px 0 0;
	}
#content .editor_popup .fishka_container{
	float: left;
	width: 70px;
}
	#content .editor_popup .fishka_container .fishka{
		text-align:center;
		width: 36px;
		height: 36px;
		line-height: 36px;
		color: #fff;
		font-size: 14px;
		margin: 0 0 10px 10px;
	}
	#content .editor_popup .fishka_container .fishka.razvilka{background: url("../images/bg_fishka_razvilka.jpg") left top no-repeat;}
	#content .editor_popup .fishka_container .fishka.win{background: url("../images/bg_fishka_win.jpg") left top no-repeat;}
	#content .editor_popup .fishka_container .fishka.gameover{background: url("../images/bg_fishka_gameover.jpg") left top no-repeat;}
	#content .editor_popup .fishka_container .fishka.ifpoint{background: url("../images/bg_fishka_ifpoint.gif") left top no-repeat;}
#content .editor_popup .form{
	margin: 0 0 0 70px;
	color: #000;
}
#content .editor_popup .form label{
	display: block;
	margin: 0 0 4px;
}
#content .editor_popup .form input.text{
	height: 17px;
	background: #fff;
	width: 290px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}
#content .editor_popup .form textarea{
	height: 97px;
	background: #fff;
	width: 290px;
	padding: 0 4px;
	color: #000;
	border: 1px solid #000;
	margin: 0 0 15px;
}
#content .editor_popup .form .file_input{
	height: 40px;
	position: relative;
	z-index:20;
}
	#content .editor_popup .form .file_input input{
		position: absolute;
		left: 0;
		top: 10px;
		z-index: 30;
		opacity: 0;
		filter:alpha(opacity=0);
		cursor: pointer;
	}
	#content .editor_popup .form .file_input span{
		position: absolute;
		left: 0;
		top:10px;
		z-index:25;
		color: #36a3e2;
		border-bottom: 1px dashed;
		cursor: pointer;
	}
#content .editor_popup .form .steps{
	padding: 18px 0;
	background: url("../images/bg_steps.gif") left top repeat-x;
	position: relative;
}
	#content .editor_popup .form .steps .step_line{
		margin: 0 0 10px;
		position: relative;
		z-index: 30;
		overflow: hidden;
	}
	#content .editor_popup .form .steps .step_line input.text{
		width: 200px;
		float: left;
		margin: 0 10px 0 0;
	}
	#content .editor_popup .form .steps .step_line select{
		width: 60px;
		float: left;
		margin: 0 10px 0 0;
		height: 17px;
	}
	#content .editor_popup .form .steps .step_line img{
		position: relative;
		top: 3px;
	}
	#content .editor_popup .form .steps .fishka_container{
		position: absolute;
		float: none;
		border: 1px solid #656565;
		padding: 10px;
		box-shadow: 5px 7px 7px #ccc;
		-moz-box-shadow: 5px 7px 7px #ccc;
		-webkit-box-shadow: 5px 7px 7px #ccc;
		background: #fff;
		width: 100px;
		min-height: 80px;
		right: -30px;
		z-index: 100;
		top: 30px;
	}
		#content .editor_popup .form .steps .fishka_container .fishka{
			height: auto;
			width: auto;
			line-height: 18px;
			font-size: 12px;
			text-align: left;
			padding: 0 0 0 17px;
		}
		#content .editor_popup .form .steps .fishka_container .fishka.razvilka{background: url("../images/bg_fishka_razvilka_little.jpg") left 4px no-repeat;}
		#content .editor_popup .form .steps .fishka_container .fishka.win{background: url("../images/bg_fishka_win_little.jpg") left 4px no-repeat;}
		#content .editor_popup .form .steps .fishka_container .fishka.gameover{background: url("../images/bg_fishka_gameover_little.jpg") left 4px no-repeat;}
		#content .editor_popup .form .steps .fishka_container .fishka.ifpoint{background: url("../images/bg_fishka_ifpoint_little.jpg") left 4px no-repeat;}
		#content .editor_popup .form .steps .fishka_container .fishka span{
			color: #36a3e2;
			border-bottom: 1px dashed;
			cursor: pointer;
		}
		
	#content .editor_popup .form .form_buttons{
		background: url("../images/bg_steps.gif") left top repeat-x;
		padding: 10px 0 15px 0;
		overflow: hidden;
	}
	#content .editor_popup .form .form_buttons .button_submit{
		float:left;
	}
	#content .editor_popup .form .form_buttons  .warning{
		float: right;
	}
	
	
div.ui-dialog .editor_popup p{
	margin:0;
	color: #36a3e2;
	text-align:center;
	line-height: 18px;
}
div.ui-dialog .editor_popup .hr{
	height: 2px;
	background:url(../images/bg_steps.gif) left top repeat-x;
	overflow:hidden;
	margin:4px 0px 10px 0px;
}
div.ui-dialog .editor_popup a.button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}
div.ui-dialog .editor_popup a.warning{
	background: url("../images/bg_button_popup_warning.jpg") left top no-repeat;
	width: 76px;
}
div.ui-dialog .editor_popup .popup_title{
	height: 20px;
	background: #656565;
	position: relative;
		left: -10px;
		top:-10px;
		width: 420px;
}
	div.ui-dialog .editor_popup .popup_title a{
		text-decoration: none;
		font-size: 18px;
		line-height: 18px;
		color: #ccc;
		font-weight: bold;
		float: right;
		padding: 0 10px 0 0;
	}

div.ui-dialog .editor_popup .step{
	border:1px solid #cccccc;
	background:#f2f2f2;
	border-radius:5px;
	margin:10px 22px 14px 0px;
	position:relative;
}
	div.ui-dialog .editor_popup .step .icon-delete{
		position:absolute;
		right:-20px;
		top:10px;
		width:11px;
		height:11px;
		background:url(../images/delete.gif) left top no-repeat;
		cursor:pointer;
	}
	div.ui-dialog .timers .icon-delete{
		position:absolute;
		right: 25px;
		margin-top:-17px;
		width:11px;
		height:11px;
		background:url(../images/delete.gif) left top no-repeat;
		cursor:pointer;
	}
	div.ui-dialog .editor_popup .step-content{
		padding:19px 9px 9px 9px;
	}
	div.ui-dialog .editor_popup .step-header{
		position:relative;
	}
	div.ui-dialog .editor_popup .step-header .step-icon1{
		position:absolute;
		left:0px;
		top:0px;
		width:35px;
		height:19px;
		float:left;
		background:url(../images/constr_icon1.png) left top no-repeat;
	}
	div.ui-dialog .editor_popup .step-header .title{
		margin-left:40px;
		float:left;
		display:inline;
	}
	div.ui-dialog .editor_popup .step-header .title input{
		height: 17px;
		background: white;
		width: 197px;
		padding: 0 4px;
		line-height: 17px;
		color: black;
		vertical-align: middle;
		border: 1px solid black;
	}
	div.ui-dialog .editor_popup .step-header .select-wrap{
		border: 1px solid #cccccc;
		background: #ffffff;
		padding: 9px;
		border-radius:5px;
		margin:-10px -10px 0px 10px;
		float:left;
		display:inline;
		width:235px;
	}
	div.ui-dialog .editor_popup .step-header .select-wrap.close{
		border-color: #f2f2f2;
		background: #f2f2f2;
		margin-bottom:-10px;
	}
	div.ui-dialog .editor_popup .step-header .select-wrap .left-col{
		width:115px;
		float:left;
	}
	div.ui-dialog .editor_popup select{
		width:115px;
		color: black;
		vertical-align: middle;
		border: 1px solid black;
	}
	div.ui-dialog .editor_popup .step-header .select-wrap .right-col{
		width:95px;
		float:right;
		font-size:11px;
	}
	div.ui-dialog .editor_popup .step-header .select-wrap .right-col input{
		vertical-align:middle;
	}
	div.ui-dialog .editor_popup .step-params{
		padding:12px 11px 0px 40px;
		margin:15px 0px 0px 0px;
		border-top:1px solid #cccccc;
		position:relative;
		font-size:12px;
	}
	div.ui-dialog .editor_popup .step-params select{
		margin-right:7px;
	}
	div.ui-dialog .editor_popup .step-params .input-percent{
		margin-right:25px;
	}
	div.ui-dialog .editor_popup .step-params .input-percent input{
		height: 17px;
		background: white;
		width: 48px;
		padding: 0 4px;
		line-height: 17px;
		color: black;
		vertical-align: middle;
		border: 1px solid black;
		text-align:center;
	}
	div.ui-dialog .editor_popup .step-params .step-icon2{
		position:absolute;
		right:11px;
		top:14px;
		width:35px;
		height:19px;
		float:left;
		background:url(../images/constr_icon2.png) left top no-repeat;
	}
	div.ui-dialog .editor_popup .bg1-block{
		border:1px solid #cccccc;
		background:#ffffff;
		padding:15px 10px 8px 10px;
		border-radius:5px;
		width:449px;
		margin:0px -30px 0px 0px;
	}
	div.ui-dialog .editor_popup h3{
		color:#333333;
		font-size:12px;
		font-family:Tahoma, sans-serif;
		margin:25px 0px 4px 0px;
		font-weight:normal;
		padding-bottom:4px;
		background:url(../images/dots.gif) left bottom repeat-x;
	}
	div.ui-dialog .editor_popup h4{
		color:#999999;
		font-size:11px;
		font-family:Tahoma, sans-serif;
		margin:0px 0px 4px 0px;
		font-weight:normal;
	}
	div.ui-dialog .editor_popup .style-block-3{
		margin:0px 0px 15px 0px;
		position:relative;
	}
	div.ui-dialog .editor_popup .style-block-3 .step-icon4{
		position:absolute;
		right:0px;
		top:0px;
		width:35px;
		height:19px;
		float:left;
		background:url(../images/constr_icon4.png) left top no-repeat;
	}
	
	div.ui-dialog .editor_popup .timer-variants{
		
	}
	div.ui-dialog .editor_popup .timer-variants .variant{
		margin:10px 0px 20px 0px;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-left{
		float:left;
		width:185px;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-right{
		float:left;
		width:241px;
		margin-right:-50px;
		position:relative;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-left input{
		height: 17px;
		background: white;
		width: 48px;
		padding: 0 4px;
		line-height: 17px;
		color: black;
		vertical-align: middle;
		border: 1px solid black;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-bg1{
		border:1px solid #cccccc;
		border-radius:5px;
		background:#ffffff;
		padding:9px 9px 9px 9px;
		margin:-10px -50px -10px -10px;
		width:235px;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-bg1.close{
		border-color:#f2f2f2;
		background:#f2f2f2;
	}
	div.ui-dialog .editor_popup .timer-variants .icon-delete{
		top:5px;
	}
	div.ui-dialog .editor_popup .timer-variants .tv-list{
		float:right;
		width:95px;
		padding-left:10px;
		font-size:11px;
	}
	div.ui-dialog .editor_popup .step-icon5{
		vertical-align:middle;
	}
	div.ui-dialog .editor_popup .form_add_step{
		margin:20px 0px 15px 0px;
	}
	div.ui-dialog .editor_popup .step-icon3{
		width:31px;
		height:18px;
		color:#36a3e2;
		background:url(../images/constr_icon3.png) left top no-repeat;
		cursor:pointer;
	}
	
	div.ui-dialog .editor_popup .clear{
		clear:both;
		height:1px;
		overflow:hidden;
		font-size:0px;
	}
div.ui-dialog .editor_popup .fishka_container{
	float: left;
	width: 70px;
}
	div.ui-dialog .editor_popup .fishka_container .fishka{
		text-align:center;
		width: 36px;
		height: 36px;
		line-height: 36px;
		color: #fff;
		font-size: 14px;
		margin: 0 0 10px 10px;
	}
	div.ui-dialog .editor_popup .fishka_container .fishka.razvilka{background: url("../images/bg_fishka_razvilka.jpg") left top no-repeat;}
	div.ui-dialog .editor_popup .fishka_container .fishka.win{background: url("../images/bg_fishka_win.jpg") left top no-repeat;}
	div.ui-dialog .editor_popup .fishka_container .fishka.gameover{background: url("../images/bg_fishka_gameover.jpg") left top no-repeat;}
	div.ui-dialog .editor_popup .fishka_container .fishka.ifpoint{background: url("../images/bg_fishka_ifpoint.gif") left top no-repeat;}
div.ui-dialog .editor_popup .form{
	margin: 0 0 0 70px;
	color: #000;
}
div.ui-dialog .editor_popup .form label{
	display: block;
	margin: 0 0 4px;
}
div.ui-dialog .editor_popup .form input.text{
	height: 17px;
	background: #fff;
	width: 380px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}
div.ui-dialog .editor_popup .form textarea{
	height: 110px;
	background: #fff;
	width: 380px;
	padding: 0 4px;
	color: #000;
	border: 1px solid #000;
	margin: 0 0 15px;
}
div.ui-dialog .editor_popup .form .file_input{
	height: 40px;
	position: relative;
	z-index:20;
}
	div.ui-dialog .editor_popup .form .file_input input{
		position: absolute;
		left: 0;
		top: 10px;
		z-index: 30;
		opacity: 0;
		filter:alpha(opacity=0);
		cursor: pointer;
	}
	div.ui-dialog .editor_popup .form .file_input span{
		position: absolute;
		left: 0;
		top:10px;
		z-index:25;
		color: #36a3e2;
		border-bottom: 1px dashed;
		cursor: pointer;
	}
div.ui-dialog .editor_popup .form .steps{
	padding: 18px 0;
	background: url("../images/bg_steps.gif") left top repeat-x;
	position: relative;
}
	div.ui-dialog .editor_popup .form .steps .step_line{
		margin: 0 0 10px;
		position: relative;
		overflow: hidden;
	}
	div.ui-dialog .editor_popup .form .steps .step_line input.text{
		width: 200px;
		float: left;
		margin: 0 10px 0 0;
	}
	div.ui-dialog .editor_popup .form .steps .step_line select{
		width: 60px;
		float: left;
		margin: 0 10px 0 0;
		height: 17px;
	}
	div.ui-dialog .editor_popup .form .steps .step_line img{
		position: relative;
		top: 3px;
	}
	div.ui-dialog .editor_popup .form .steps .fishka_container{
		position: absolute;
		float: none;
		border: 1px solid #656565;
		padding: 10px;
		box-shadow: 5px 7px 7px #ccc;
		-moz-box-shadow: 5px 7px 7px #ccc;
		-webkit-box-shadow: 5px 7px 7px #ccc;
		background: #fff;
		width: 100px;
		min-height: 80px;
		right: -30px;
		z-index: 100;
		top: 30px;
	}
		div.ui-dialog .editor_popup .form .steps .fishka_container .fishka{
			height: auto;
			width: auto;
			line-height: 18px;
			font-size: 12px;
			text-align: left;
			padding: 0 0 0 17px;
		}
		div.ui-dialog .editor_popup .form .steps .fishka_container .fishka.razvilka{background: url("../images/bg_fishka_razvilka_little.jpg") left 4px no-repeat;}
		div.ui-dialog .editor_popup .form .steps .fishka_container .fishka.win{background: url("../images/bg_fishka_win_little.jpg") left 4px no-repeat;}
		div.ui-dialog .editor_popup .form .steps .fishka_container .fishka.gameover{background: url("../images/bg_fishka_gameover_little.jpg") left 4px no-repeat;}
		div.ui-dialog .editor_popup .form .steps .fishka_container .fishka span{
			color: #36a3e2;
			border-bottom: 1px dashed;
			cursor: pointer;
		}
		
	div.ui-dialog .editor_popup .form .form_buttons{
		background: url("../images/bg_steps.gif") left top repeat-x;
		padding: 10px 0 15px 0;
		overflow: hidden;
	}
	div.ui-dialog .editor_popup .form .form_buttons .button_submit{
		float:left;
	}
	div.ui-dialog .editor_popup .form .form_buttons  .warning{
		float: right;
	}
	
	.form .file_input{
	height: 40px;
	position: relative;
	z-index:20;
}
	.form .file_input input{
		position: absolute;
		left: 0;
		top: 10px;
		z-index: 30;
		opacity: 0;
		filter:alpha(opacity=0);
		cursor: pointer;
	}
	.form .file_input span{
		position: absolute;
		left: 0;
		top:10px;
		z-index:25;
		color: #36a3e2;
		border-bottom: 1px dashed;
		cursor: pointer;
	}
	
.user_gallery .images {
	background: #EEEEEE;
	cursor: pointer;
	float: left;
	width: 110px;
	height: 110px;
	margin: 2px;
	position: relative;
}
.user_gallery .images img {
	width: 100px;
	height: 100px;
	cursor: pointer;
	margin: 5px;
}
	.user_gallery .images img.close{
		width: 11px;
		height: 11px;
		margin:0;
		position: absolute;
		right:5px;
		top:5px;
	}
	.user_gallery .images .qq-upload-button .middle{
		position: relative;
		top:36px;
		background: url("../images/promo_link_bg.gif") repeat-x scroll left bottom transparent;
		color: #00A0EA;
		cursor: pointer;
		text-transform: lowercase;
	}

#editor_popup_choose .fishka{
	height: auto;
	width: auto;
	line-height: 18px;
	font-size: 12px;
	text-align: left;
	padding: 0 0 0 17px;
}
#editor_popup_choose .fishka.razvilka{background: url("../images/bg_fishka_razvilka_little.jpg") left 4px no-repeat;}
#editor_popup_choose .fishka.win{background: url("../images/bg_fishka_win_little.jpg") left 4px no-repeat;}
#editor_popup_choose .fishka.gameover{background: url("../images/bg_fishka_gameover_little.jpg") left 4px no-repeat;}
#editor_popup_choose .fishka.ifpoint{background: url("../images/bg_fishka_ifpoint_little.jpg") left 4px no-repeat;}
#editor_popup_choose .fishka span{
	color: #36a3e2;
	border-bottom: 1px dashed;
	cursor: pointer;
}

#editor_popup_if_choose .fishka{
	height: auto;
	width: auto;
	line-height: 18px;
	font-size: 12px;
	text-align: left;
	padding: 0 0 0 17px;
}
#editor_popup_if_choose .fishka.razvilka{background: url("../images/bg_fishka_razvilka_little.jpg") left 4px no-repeat;}
#editor_popup_if_choose .fishka.win{background: url("../images/bg_fishka_win_little.jpg") left 4px no-repeat;}
#editor_popup_if_choose .fishka.gameover{background: url("../images/bg_fishka_gameover_little.jpg") left 4px no-repeat;}
#editor_popup_if_choose .fishka.ifpoint{background: url("../images/bg_fishka_ifpoint_little.jpg") left 4px no-repeat;}
#editor_popup_if_choose .fishka span{
	color: #36a3e2;
	border-bottom: 1px dashed;
	cursor: pointer;
}

#editor_popup_errors p{
	margin: 0 0 10px;
}

span.errors {
	color: red;
}

/* New user profile */
#content #main_block .profile {
	padding: 7px 20px;
	float: left;
	margin-bottom: 20px;
	width: 630px;
}
#content #main_block .profile .left {
	float: left;
}
#content #main_block .profile .right {
	float: right;
}
.profile .head .left{
	width:350px;
}
.profile .head .like{
	background: url(../images/star.gif) no-repeat;	
	padding-left: 17px;
	margin-top: 10px;
}
.profile .head .write{
	background: url(../images/write_to.gif) no-repeat;	
	padding-left: 17px;
	margin-top: 5px;
	clear:right;
}
.profile .info {
	background: #e6e6e6;
	margin:14px -20px;
	float: left;
	padding:20px;
}
.profile .info .avatar{
	float: left;
	width:100px;
} 
.profile .info .text{
	float: right;
	width: 474px;
	color: #333;
	padding: 0 28px;
	line-height:16px;
} 
.profile .info .text tr{
	vertical-align: top;	
}
.profile .info .text td{	
	padding-bottom:3px;
	min-width: 68px;
}
.profile .rating div{
	padding-bottom: 16px;
}
.profile .rating div{
	color: #666;
	font-size: 12px;
	width:280px;
	float: left;
}
.profile .rating .players{
	float: right;
}
.profile .rating div span{
	font-size: 20px;
	display: block;
}
.profile .rating .author span{
	color:#fb5a45
}
.profile .rating .players span{
	color:#333333
}
#content #main_block table.profile-kvest{
	margin-top:15px;
}
#content #main_block .profile h1 {
	margin: 0 0 8px 0;	
	padding: 0;
	font-size: 26px;
	padding-top: 6px;
	letter-spacing: 1px;
}
.profile-kvest .k_block_nav{
	width:54px;
	margin: 0 auto;
}
.profile-kvest .k_block_nav a{
	width:23px;
	height: 23px;
	display: block;
	float: left;
	overflow: hidden;
	text-indent: -100500px;
	margin-left: 4px;
}
.profile-kvest .k_block_nav .top{
	background: url(../images/blue_top.gif);
}
.profile-kvest .k_block_nav .bottom{
	background: url(../images/blue_bottom.gif);
}
.profile-kvest .k_block_nav .top.disabled{
	background: url(../images/grey_top.gif);
	cursor: default;
}
.profile-kvest .k_block_nav .bottom.disabled{
	background: url(../images/grey_bottom.gif);
	cursor: default;
}
#content #main_block table.profile-kvest tr td.top{	
	padding-bottom: 0;
}
#content #main_block table.profile-kvest tr td.bottom{
	padding-top: 0;
}
.profile-kvest .k_block .left{
	position: relative;
	margin-right:20px;
}
.profile-kvest .icons {
	position: absolute;
	width: 47px;	
	top: 10px;
	right:0px;
}
.profile-kvest .k-block .rateS .icon{
	float: right;	
}
.profile-comments{
}
.profile-comments h2{
	margin: 0px;
	padding: 7px 0px 0px 0px;
	font-size: 18px;
	color: #333;
	position: relative;
	font-weight: normal;
}
.profile-comments .reply-link{
	background: url(../images/cloud-red.gif) no-repeat 0 1px;	
	padding-left: 17px;
	margin-top: 12px;
	margin-bottom: 26px;
}
.profile-comments .date{
	margin-bottom: 5px;
	color:#999;	
}
.profile-comments .date span{
	font-size: 10px;	
}

.profile-comments ul.pagination{
	height: 20px;
}
.profile-comments .pagination .prev{
	padding: 0px;
	margin-right:40px;
	float: left;
}
.profile-comments .pagination .next{
	padding: 0px;
	margin-left:40px;
	float: right;
}
.profile-comments .pagination .first{
	padding: 0px;
	margin-right:30px;
	float: left;
}
.profile-comments .pagination .last{
	padding: 0px;
	margin-left:30px;
	float: right;
}
#profile-edit .window{
	width: 568px;
	background: #fff;
	text-align: center;
}
#profile-edit .window textarea{
    height:130px;
}
#profile-edit .window h3{
	margin-top:15px;
	font-size: 17px;
	font-weight: normal;
	margin-bottom:15px;
}
#profile-edit .window .text, #profile-edit .window label{
	width: 253px;
	float: left;
	margin-bottom:2px;
}
#profile-edit .window .green {
	color: #14ae00;
	margin-top:-10px;
	margin-bottom:15px;
}
#profile-edit .window  .chkbox {
	margin-bottom:2px;
}
#profile-edit .window .text{
	border-top: #404040 1px solid;
	border-left: #404040 1px solid;
	border-bottom: #d4d0c8 1px solid;
	border-right: #d4d0c8 1px solid;
	margin-bottom:10px;
}
#profile-edit .window .account-data, #profile-edit .window .profile-data{
	width: 278px;	
	float: left;
	/*padding-left: 30px;*/
	text-align: left;
}

#profile-edit .window .profile-data{
}
.ajaxLink{
    text-decoration: none;
    border-bottom: 1px dashed #00a0ea;
}
.ajaxLink :hover{
    text-decoration: none;
    border-bottom: medium none;
} 
#profile-edit {
    width: 616px;
}
#profile-edit .line {
    margin-right: 30px;
}
/*close-button*/
#tip_box {
	position: absolute;
	display:none;
	border: 1px #656565 solid;
	background: #fff;
	z-index: 1011;
	padding: 2px;
	box-shadow: 5px 7px 7px #ccc;
	-moz-box-shadow: 5px 7px 7px #ccc;
	-webkit-box-shadow: 5px 7px 7px #ccc;
}

#top_filter{
		position: relative;
		z-index: 30;
		display: inline-block;
		height: 22px;
		line-height: 21px;
		width: 97px;
		color: #fff;
		background: url("../images/bg_new_filter_arrow.gif") right 9px no-repeat #36a3e2;
		border-radius: 11px;
		-moz-border-radius: 11px;
		-webkit-border-radius: 11px;
		padding: 0 0 0 11px;
		cursor: pointer;
		margin-top: 7px;
	}
	#top_filter .pseudo_list{
		display: none;
		position:absolute;
		left:0;
		top: 23px;
		z-index: 100;
		width: 97px;
		padding: 6px 0 6px 11px;
		background: #36a3e2;
		border-radius: 11px;
		-moz-border-radius: 11px;
		-webkit-border-radius: 11px;
		list-style: none;
		color: #fff;
	}
		#top_filter .pseudo_list li{
			height: 22px;
			line-height: 21px;
		}
			#top_filter .pseudo_list li a{
				color: #fff;
				text-decoration: none;
				background: url("../images/bg_new_filter_bottom.gif") left bottom repeat-x;
			}
			#top_filter .pseudo_list li.active a{
				background: none;
				cursor: default;
			}


/* Editor */
.keditor_wrap{
	position:absolute;
	left:0px;
	top:0px;
	width:0px;
	height:100%;
}
.keditor_wrap .keditor_c_middle{
	width:655px;
	top:10px;
	position:absolute;
	left:96px;
	height:98%;
}
.keditor_wrap .keditor_c_right{
	position:absolute;
	left:760px;
	top:10px;
	width:150px;
}
.keditor_wrap .ui-dialog{
	width:144px;
	margin-bottom:20px;
	position:static;
	font-size:12px;
}
.keditor_wrap .ui-dialog-title{
	margin-right:0px;
	font-size:12px;
}
.keditor_wrap .ui-dialog-content{
	overflow:visible;
	height:auto;
}
.keditor_wrap .keditor_c_popup{
	position:relative;
}
.keditor_wrap .keditor_c_popup .ui-dialog{
	position:absolute;
	right:160px;
	width:auto;
}

#content .keditor_wrap .keditor_c_popup .editor_popup label{
	display: block;
	margin: 0 0 4px;
}
#content .keditor_wrap .keditor_c_popup .editor_popup{
	position:relative;
	left:0px;
	top:0px;
	padding:0px;
	margin:0px;
	border:none;
	box-shadow:none;
	width:507px;
}
#content .keditor_wrap .keditor_c_popup .editor_popup .step{
	border:none;
	padding:0px;
	margin:0px;
	background:none;
	border-radius: none;
	-moz-border-radius: none;
	-webkit-border-radius: none;
}
#content .keditor_wrap .keditor_c_popup .editor_popup .step .step-content{
	border:none;
	padding:0px;
	margin:0px;
}
#content .keditor_wrap .keditor_c_popup .editor_popup .step-input1{
	display:block;
	margin:3px 0px 10px 40px;
}
#content .keditor_wrap .keditor_c_popup .editor_popup .step-icon1{
	background-image:url(../images/constr_icon1-w.png);
}
#content .keditor_wrap .keditor_c_popup .editor_popup .step-icon2{
	background-image:url(../images/constr_icon2-w.png);
}
#content .keditor_wrap .keditor_c_popup .editor_popup .select-wrap.close{
	background:transparent;
	border:white;
}
#content .keditor_wrap .keditor_c_popup .editor_popup .timer-variants .tv-bg1.close{
	border-color:#ffffff;
	background:#ffffff;
}
#content .keditor_wrap .keditor_c_popup .condition-wrap{
	
}
#content .keditor_wrap .keditor_c_popup .condition-wrap .input{
	margin:10px 0px 0px 0px;
}
#content .keditor_wrap .keditor_c_popup .condition-wrap .input input{
	height: 17px;
	background: #fff;
	width: 160px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}
#content .keditor_wrap .keditor_c_popup .condition-wrap p{
	margin:10px 0px 0px 0px;
}
#content .keditor_wrap .keditor_c_popup .condition-wrap .submit{
	background:url(../images/dots.gif) left top repeat-x;
	padding:6px 0px 0px 3px;
	margin:10px 0px 0px 0px;
}
#content .keditor_wrap .keditor_c_popup .condition-wrap .button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}
#content .keditor_wrap .keditor_c_popup .step-header .sh-input input{
	height: 17px;
	background: #fff;
	width: 160px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}
#content .keditor_wrap .keditor_c_popup .step-header .input2{
	float:left;
	width:185px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input2 input{
	width:155px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input3{
	float:left;
	width:82px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input3 input{
	width:67px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input4{
	float:left;
	width:82px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input4 input{
	width:67px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input5{
	float:left;
	width:82px;
	margin-right:-50px;
}
#content .keditor_wrap .keditor_c_popup .step-header .input5 input{
	width:67px;
}

#content .keditor_wrap .keditor_c_popup .submit{
	background:url(../images/dots.gif) left top repeat-x;
	padding:6px 0px 0px 3px;
	margin:10px 0px 0px 0px;
}
#content .keditor_wrap .keditor_c_popup .button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}
.keditor_general_refs{
	
}
.keditor_set_icon_del{
	width:11px;
	height:11px;
	position:absolute;
	right:-20px;
	top:3px;
	background:url(../images/delete.gif) left top no-repeat;
	cursor:pointer;
}
.keditor_link{
	color:#36a3e2;
	text-decoration:underline;
	cursor:pointer;
}
.keditor_hr{
	width:100%;
	height:2px;
	overflow:hidden;
	background:url(../images/keditor_hr.png) left top repeat-x;
	margin:10px 0px 10px 0px;
}
.keditor_link:hover{
	color:#ff0000;
}
ul.keditor_set_list{
	margin:9px 0px 0px 0px;
	padding:0px;
	list-style:none;
	font-size:12px;
}
ul.keditor_set_list li{
	margin:5px 20px 5px 0px;
	padding:0px;
	position:relative;
}
ul.keditor_set_list .keditor_link{
	display:block;
	width:100%;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
}
ul.keditor_set_list li .comment{
	font-size:10px;
	color:#808080;
	font-family:Tahoma, sans-serif;
	line-height:1.5em;
}
/* Editor */

#top_tip {
	position: absolute;
	z-index: 101;
	width: 120px;
}
#top_tip .counters {
	margin: 10px;
	border: 1px solid red;
}

#editor_popup_version a.button_submit,
#editor_popup_edit_message a.button_submit,
#point_visible a.button_submit,
#counters_visible a.button_submit,
#point_counters a.button_submit
{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}

/* Настройки */
#quest_settings_form p {
	text-align: left;
	color: black;
	margin: 6px 0;
}

#quest_settings_form p.small {	
	color: #888888;
    font-size: 11px;
    line-height: 12px;
    margin-top: -7px;
}

#quest_settings_form div.step-params {
	padding: 0px;
}

#quest_links_form div.icon-delete {
	display: none;
}

#quest_links_form div.step-params div.icon-delete {
	display: block;
}

#quest_links_form div.variant div.icon-delete {
	display: block;
}

div.ui-dialog .editor_popup #quest_links_form .step, 
div.ui-dialog .editor_popup #quest_counters_form .step{
	border:none;
	padding:0px;
	margin:0px;
	background:none;
	border-radius: none;
	-moz-border-radius: none;
	-webkit-border-radius: none;
}
div.ui-dialog .editor_popup #quest_links_form .step .step-content, 
div.ui-dialog .editor_popup #quest_counters_form .step .step-content {
	border:none;
	padding:0px;
	margin:0px;
}
div.ui-dialog .editor_popup #quest_links_form .step-input1, 
div.ui-dialog .editor_popup #quest_counters_form .step-input1 {
	display:block;
	margin:3px 0px 10px 40px;
}
div.ui-dialog .editor_popup #quest_links_form .step-icon1,
div.ui-dialog .editor_popup #quest_counters_form .step-icon1{
	background-image:url(../images/constr_icon1-w.png);
}
div.ui-dialog .editor_popup #quest_links_form .step-icon2,
div.ui-dialog .editor_popup #quest_counters_form .step-icon2{
	background-image:url(../images/constr_icon2-w.png);
}
div.ui-dialog .editor_popup #quest_links_form .select-wrap.close,
div.ui-dialog .editor_popup #quest_counters_form .select-wrap.close{
	background:transparent;
	border:white;
}
div.ui-dialog .editor_popup #quest_links_form .timer-variants .tv-bg1.close,
div.ui-dialog .editor_popup #quest_counters_form .timer-variants .tv-bg1.close{
	border-color:#ffffff;
	background:#ffffff;
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap{
	
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap .input,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap .input,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap .input{
	margin:10px 0px 0px 0px;
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap .input input,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap .input input,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap .input input{
	height: 17px;
	background: #fff;
	width: 160px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap p,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap p,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap p{
	margin:10px 0px 0px 0px;
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap .submit,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap .submit,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap .submit{
	background:url(../images/dots.gif) left top repeat-x;
	padding:6px 0px 0px 3px;
	margin:10px 0px 0px 0px;
}
div.ui-dialog .editor_popup #quest_links_form .condition-wrap .button_submit,
div.ui-dialog .editor_popup #quest_inventory_form .condition-wrap .button_submit,
div.ui-dialog .editor_popup #quest_counters_form .condition-wrap .button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}
div.ui-dialog .editor_popup #quest_links_form .step-header .sh-input input,
div.ui-dialog .editor_popup #quest_counters_form .step-header .sh-input input{
	height: 17px;
	background: #fff;
	width: 160px;
	padding: 0 4px;
	line-height: 17px;
	color: #000;
	vertical-align: middle;
	border: 1px solid #000;
}

#content .keditor_wrap .keditor_c_popup .submit{
	background:url(../images/dots.gif) left top repeat-x;
	padding:6px 0px 0px 3px;
	margin:10px 0px 0px 0px;
}
#content .keditor_wrap .keditor_c_popup .button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}

div.ui-dialog .editor_popup #quest_counters_form .step-header .input2{
	float:left;
	width:185px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input2 input{
	width:155px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input3{
	float:left;
	width:82px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input3 input{
	width:67px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input4{
	float:left;
	width:82px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input4 input{
	width:67px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input5{
	float:left;
	width:82px;
	margin-right:-50px;
}
div.ui-dialog .editor_popup #quest_counters_form .step-header .input5 input{
	width:67px;
}
div.ui-dialog .editor_popup .condition-wrap p {
	text-align: left;
	color: #222222;
}

div.modalData .form_buttons{
	background: url("../images/bg_steps.gif") left top repeat-x;
	padding: 10px 0 0 0;
	overflow: hidden;
}
div.modalData .button_submit{
	display: block;
	width: 89px;
	line-height: 18px;
	height: 18px;
	margin: 10px auto 0 auto;
	color: #fff;
	text-decoration: none;
	background: url("../images/bg_button_popup.jpg") left top no-repeat;
	text-align: center;
}

#edit_form div.counter_visible {
	background: url("../images/cvisible.jpg") left top no-repeat;
	height: 19px;
    margin-left: 11px;
    width: 35px;
}

div.bg1-block div.inventories {
	border-top: 1px solid #CCCCCC;
    font-size: 12px;
    margin: 15px 0 0;
    position: relative;
}

div.bg1-block div.inventories table tr th {
	font-weight: bold;
	color: #37A3E3;
	font-size: 17px;
	text-align: center;
}
div.bg1-block div.inventories table tr td {	
	text-align: center;
}

#condition_visible_form h4,
#counters_visible h4{
	color:#999999;
	font-size:11px;
	font-family:Tahoma, sans-serif;
	margin:0px 0px 4px 0px;
	font-weight:normal;
}

#condition_visible_form .bg1-block{
	border:1px solid #cccccc;
	background:#ffffff;
	padding:15px 10px 8px 10px;
	border-radius:5px;
	width:230px;
	margin:10px -30px 0px 0px;
}



#counters_visible .form_buttons{
	background: url("../images/bg_steps.gif") left top repeat-x;
	padding: 10px 0 15px 0;
	overflow: hidden;
}
#counters_visible  .button_submit{
	float:left;
}

#condition_visible_form  .bg1-block {
	position: relative;
}
#condition_visible_form  .bg1-block .tv-left {
	position: relative;
}
#condition_visible_form  .bg1-block .icon-delete{
	position:absolute;
	right:-20px;
	top:5px;
	width:11px;
	height:11px;
	background:url(../images/delete.gif) left top no-repeat;
	cursor:pointer;
}

#condition_visible_form  .bg1-block .tv-left .icon-delete{
	position:absolute;
	right:-5px;
	top:5px;
	width:11px;
	height:11px;
	background:url(../images/delete.gif) left top no-repeat;
	cursor:pointer;
}

.newsBlock .k_block_nav{
	width:54px;
	margin: 0 auto;
}
.newsBlock .k_block_nav a{
	width:23px;
	height: 23px;
	display: block;
	float: left;
	overflow: hidden;
	text-indent: -100500px;
	margin-left: 4px;
}
.newsBlock .k_block_nav .top{
	background: url(../images/blue_top.gif);
}
.newsBlock .k_block_nav .bottom{
	background: url(../images/blue_bottom.gif);
}
.newsBlock .k_block_nav .top.disabled{
	background: url(../images/grey_top.gif);
	cursor: default;
}
.newsBlock .k_block_nav .bottom.disabled{
	background: url(../images/grey_bottom.gif);
	cursor: default;
}

.switcher.active {
	color: black;
	cursor: default;
}

#quest_settings_form .color_preview {
	width: 60px;	
	float: right;
	border: 1px solid #CCCCCC;
    float: right;
    height: 30px;
    margin-top: 5px;
}

