/*

	Этот файл содержит программерские дополнения.
	Должен быть первым и присутствовать везде, кроме служебных страниц(но в логине присутствует).

*/

a{
	color: #58595B;
	}
	

#header.unreg{
	border-bottom: 1px solid #A7A9AC; 
}
a.logout.register{
	margin-left: 1ex;
	}
/*** SEARCH ***/
.searching
{
margin-bottom: 50px;
}
.search-header
{
	margin-bottom: 32px;
	font-size:22px;
	font-weight:normal;
	padding: 0;
	margin: 0 0 28px 0;
}
.search-input
{
	background:#E9E7DF url(/i/box-background.png) no-repeat scroll 0 0;
	border:medium none;
	color:#555555;
	display:block;
	font-size:26px;
	margin-top:3px;
	width:100%;
}
#search-checkbox
{
	margin-bottom: 37px;
	padding-top: 22px;
	}
	#search-checkbox input
	{
		width: 14px;
		height: 14px;
		float:left;
	}
	#search-checkbox label
	{
		float:left;
		font-size: 12px;
		padding-top: 4px;
		margin:0 24px 0 5px;
		
	}
#search-result-change	
{
	margin-top: -15px;
	}
	#search-result-change h2.change
	{
		font-size:18px;
		font-weight:normal;
		float: left;
		margin-right: 30px;
	}
	#search-result-change sup
	{
		color:#ed1846;
		font-size: 10px;
	}
.border-none
{
	border:none !important;
}

/*** AGREEMENT ***/
#agreement{
	position: fixed;
	top:0;
	left:0;
	overflow:hidden;
	width: 100%;
	height: 100%;
	z-index: 9999;
	}
#agreement.full-page{
	position: absolute;
	top:100px;
	overflow: visible;
	width: 100%;
	height: 700px;
	z-index: 9999;
	}
	#agreement .shadow {
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		background: black;
 		opacity: 0.5;
	}	
	#agreement .shadow {
		filter:alpha(opacity=50);
		}
	#agreement .corners-bbb-20px{
		position:absolute;
		top: 50%;
		left: 50%;
		overflow:hidden;
		margin: -267px 0 0 -341px;
		width: 682px;
		height: 534px;
		}
	#agreement.full-page .corners-bbb-20px{
		top: 0;
		margin-top: 0;
		}
		#agreement form{
			font-family: Verdana, Arial, sans-serif;
			margin: 0;
			padding: 0 51px;
			background: black;
			border: solid #dcdcdc 1px;
			border-width: 0 1px;
			color: #999;
			}
			#agreement fieldset{
				display: block;
				padding: 0;
				margin: 0;
				border: none;
				}
			#agreement legend{
				font-size: 22pt;
				display: block;
				padding-bottom: 1em;
				}
	#agreement textarea, #agreement code, #agreement div.text{
		display: block;
		font-family: Verdana, Arial, sans-serif;
		width: 566px;
		height: 308px;
		background: #bfbfbf;
		color: #333;
		font-size: 11pt;
		overflow: scroll;
		overflow-x: auto;
		padding: 5px;
		line-height: 16px;
		}
		#agreement code p, #agreement div.text p{
			margin-bottom: 1em;
			}
	
	#agreement label{
		display: block;
		padding-top: 0.5em;
		font-size: 11pt;
		}
	#agreement .btn{
		text-align: right;
		padding-top: 0.8em;
		padding-bottom: 0.5em;
		}
		#agreement button{
			/*background: url(/i/btn_pink_continue.gif);*/
			background: none;
			width: 152px;
			height: 36px;
			padding: 0;
			margin: 0;
			border: none;
			cursor: pointer;
			}	
		
		
/* corners-bbb-20px */
.corners-bbb-20px_left, .corners-bbb-20px_right{
	height: 20px;
	width: 20px;
	background: url(/i/bigblackbox-20px.png) no-repeat;
	}
.corners-bbb-20px_top, .corners-bbb-20px_bottom{
	display: block;
	height: 20px;
	}
	.corners-bbb-20px_top .center{
		height: 19px;
		background: url(/i/black-1px.gif);
		border-top: solid #dcdcdc 1px;
		margin: 0 20px;
		}
	.corners-bbb-20px_bottom .center{
		height: 20px;
		background: url(/i/black-1px.gif);
		border-bottom: solid #dcdcdc 1px;
		margin: 0 20px;
		}
	.corners-bbb-20px_top .corners-bbb-20px_left{
		float: left;
		}
	.corners-bbb-20px_top .corners-bbb-20px_right{
		float: right;
		background-position: -20px 0px;
		}
	.corners-bbb-20px_bottom .corners-bbb-20px_left{
		float: left;
		background-position: 0px -20px;
		}
	.corners-bbb-20px_bottom .corners-bbb-20px_right{
		float: right;
		background-position: -20px -20px;
		}
		
		
		
/*** Quiz ***/
#quiz{
	color: #000;
	line-height: 125%;
	}
	#loginator div { 
		text-align: left/* !important*/;
		}
	#quiz .intro-text a{
		color: #ed1846;
		}
	#quiz p{
		margin-bottom: 1.2em;
		}
	#quiz p.cta{
		margin-bottom: 0;
		}
	#quiz label{
		line-height: 125% !important;
		margin-top: 1.2em;
		margin-bottom: .7em;
		}
	#quiz input[type='hidden']{
		display: none;
		}
	#quiz select{
		max-width: 270px;
		/*_width: 270px;*/
		*width: 270px;
		}
	
	#quiz .cta{
		text-align: center;
		margin-top: 2em;
		}
		#quiz .cta button{
			float: none;
			/*width: 80px;
			height: 22px;
			background: url(/i/btn_poehali.gif) left top no-repeat;
			color: #fff;
			font-size: 13px;
			border: none;
			line-height: 22px;*/
			}
			
.attractive ul.contests .current a{
	color: #ED1846 !important;
	}
	


/*** Profile fixes ***/
#profile {
	margin-right: 31px !important;
	}
	#profile-navigation{
		/*display: none;*/
		}

/*#profile, #profile.b-round .content{
	min-width: 777px !important;
	}
#profile-information{
	width: auto !important;
	}
*/
#profile-general {
	width: 23% !important;
	}
/*
#profile-summary {
	margin-left: 10% !important;
	width: 30%;
	}
#profile-contacts {
	width: 27%;
	}
*/	
	
/*** Voting IE7 fixes ***/
*+html .posts .hatom .hentry .entry-meta .entry-vote a.vote-against span,
*+html .posts .hatom .hentry .entry-meta .entry-vote a.voted-against span,
*+html .posts .hatom .hentry .entry-meta .entry-vote a.vote-on span,
*+html .posts .hatom .hentry .entry-meta .entry-vote a.voted-on span{
	margin-top: 0 !important;
	}

/*** promo posts title fix ***/
*+html .posts .hatom .hentry .entry-intel{
	height: auto !important;
	}

/*** forgotten border ***/
.posts .hatom .hentry .entry-meta .entry-vote a.voted-on{
	border-left: solid 1px white;
	}

/*** 1-pixel vote lag in IE7 ***/
*+html .posts .hatom .hentry .entry-meta .entry-vote{
	margin-right: 2px;
	}

/*** footer fix ***/
#footer ul.navigation li{
	margin-right: 2ex!important;
	}
/*#popup-box div.content
{
	width: 400px !important;
}*/