/*

*/
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
 
.clearfix {
    display: inline-block;
}
 
html[xmlns] .clearfix {
    display: block;
}
 
* html .clearfix {
    height: 1%;
}
/*

*/
#top-link, #bottom-link{
    cursor: pointer; 
    display: none; 
    padding: 0px;
    position: fixed;
    right: 5px;
    top: 100px;
    opacity:0.9;
    filter:alpha(opacity=90);
    -moz-opacity:0.9;
    z-index: 1000;
    height: 45px; width:23px;
}
#bottom-link{
    z-index:999;  display: block;   
}
#top-link a,#bottom-link a {
    display:block; 
}
#bottom-link a {
    position:relative;
    top:50px;
}
/*
Login form
*/
	.modal_login{
		display: none;
		width: 301px;
		height: 243px;
		position: absolute;
		left: 50%;
		top: 200px;
		margin-left: -151;
		background: url('/i/login/m_log_bg.png') no-repeat left top;
	}
	.modal_login form{
		position: relative;
		height: 243px;
	}
	.m_log_header{
		height: 70px;
		background: url('/i/login/m_log_header.png') no-repeat left top;
		padding-top: 10px;
		margin-bottom: 11px;
	}
	.m_log_logo{
		background: url('/i/login/m_log_logo.png') no-repeat left top;
		width: 268px;
		height: 64px;
		margin-left: 17px;
		position: relative;
	}
	.m_log_close_btn {
		position: absolute;
		top: 0;
		right: 0;
		width: 19px;
		height: 19px;
		background: url('/i/login/m_logo_close_btn.png') no-repeat center;
		cursor: pointer;
	}
	.m_log_body{
		padding: 0 17px;
	}
	.m_log_body p{
		margin: 0;
		font-size: 12px;
		font-family: Arial;
		margin-bottom: 6px;
		color: #333;
	}
	.m_log_body .bottom_shadow{
		background: url('/i/login/m_log_shd.png') no-repeat center bottom;
		padding-bottom: 13px;
	}
	.m_log_body input{
		width: 265px;
		height: 22px;
		padding: 2px;
		line-height: 18px;
		font-size: 12px;
		border:1px solid #abadb3;
	}
	.m_log_footer{
		background: url('/i/login/m_log_footer.png') no-repeat center;
		height: 36px;
		width: 300px;
		position: absolute;
		bottom: 0;
	}
	.m_log_footer a{
		display: block;
		float: left;
		color: #333333;
		font-size: 12px;
		text-decoration: underline;
		margin-left: 17px;
		margin-top: 8px;
		line-height: 20px;
		font-family: Arial;
	}
	.m_log_footer a:hover{
		text-decoration: none;
	}
	.m_log_footer input{
		display: block;
		float: right;
		background: url('/i/login/m_log_btn.png') no-repeat center;
		border:none;
		width: 89px;
		height: 20px;
		text-align: center;
		cursor: pointer;
		color: #fff;
		font-size: 12px;
		margin-top: 8px;
		margin-right: 17px;
		font-family: Arial;
	}
	.modal_first_promo{
		background: url('/i/login/box.png') no-repeat center;
		width: 650px;
		height: 724px;
		position: absolute;
		left: 50%;
		margin-left: -325px;
		/*display: none;*/
	}
	.modal_wrapper{
		position: relative;
		width: 380px;
		margin-top: 366px;
		margin-left: 107px;
	}
	.modal_wrapper .why{
		/*padding: 20px;*/
		padding-left: 14px;
		padding-right: 13px;
		padding-top: 9px;
		padding-bottom: 9px;
		background: #fff;
		background: rgba(256,256,256,0.57);
		margin-bottom: 5px;
	}
	.orange_ribbon{
		background: #f26522;
		height: 31px;
		width: 272px;
		margin-left: 31px;
		padding-left: 50px;
		color: #fff;
		font-weight: bold;
		font-size: 12px;
		font-family:Arial;
		position: relative;
	}
	.happy_face{
		width: 96px;
		height: 70px;
		background: url('/i/login/happy.png') no-repeat center;
		position: absolute;
		left: -30px;
		top: -1px;
	}
	.modal_first_promo .why p{
		font-size: 12px;
		color: #333333;
		padding-left: 80px;
		margin: 0;
		font-family:Arial;
	}
	.modal_first_promo .why_h3{
		font-family:Arial;
		font-size: 12px;
		font-weight: bold;
		color: #ff6633;
		margin-top: 5px;
		margin-bottom: 5px;
	}
	.modal_first_promo .why span{
		font-family: Arial;
		font-size: 12px;
		color: #333333;
	}
	.double_list{
		background: #f26522;
		padding: 5px 0;
		margin-bottom: 10px;
	}
	.double_list ul{
		float: left;
		padding: 0;
		margin: 0;
		width: 158px;
		margin-left: 5px;
	}
	.double_list ul li{
		list-style: none;
		padding-left: 6px;
		background: url('/i/login/marker.png') no-repeat left 6px;
		color: #fff;
		font-size: 10px;
		font-family: Arial;
	}
	.double_list ul.first_list{
		width: 180px;
		margin-left: 3px;
	}
	.clr{
		clear:both;
	}
	.reg_now a{
		display: block;
		float: left;
		font-family: Arial;
		color: #fff;
		font-size: 12px;
		background: #f26522;
		text-align: center;
		text-decoration: none;
		height: 28px;
		width: 98px;
		line-height: 28px;
		margin-right: 9px;
	}
	.reg_now a:hover{
		text-decoration: underline;
	}
	.reg_now p{
		color: #333;
		font-size: 12px;
	}
	.modal_wrapper form{
		padding-left: 14px;
		font-family: Arial;
		color: #333;
	}
	.modal_wrapper form span{
		font-size: 12px;
		width: 46px;
		display: block;
		float: left;
		line-height: 22px;
	}
	.modal_wrapper form input{
		display: block;
		float: left;
		margin-right: 10px;
	}
	.login_row input{
		width: 188px;
	}
	.pass_row input{
		width: 109px;
	}
	.modal_wrapper form input[type=submit]{
		width: 50px;
		height: 20px;
		background: url('/i/login/form_log_btn.png') no-repeat center;
		font-size: 11px;
		border:none;
		margin-top: 3px;
		cursor: pointer;
	}
	.log_row{
		height: 26px;
	}
	.log_row a{
		color: #666666;
		font-size: 12px;
		line-height: 22px;
	}
	.log_row a:hover{
		text-decoration: none;
	}
	.modal_wrapper .m_log_close_btn{
		right: -158px;
		top: -136px;
	}

/* */
.advert, .advert a {
	color: #ff6600;
	font-weight:bold;
}
/* */
.posthead {
	width:100%;
}
.postheadleft {
	float:left;
}
/* */

		.scores {
/*			-webkit-box-shadow: 2px 2px 5px 0px rgba(50, 50, 50, 0.75);
			-moz-box-shadow:    2px 2px 5px 0px rgba(50, 50, 50, 0.75);
			box-shadow:         2px 2px 5px 0px rgba(50, 50, 50, 0.75);*/
			float:right;
			margin: 3px 10px 0 10px;
		}
		.scores div {
			float:left;		
			text-align: center;			
			height: 16px;
			line-height: 16px;
			vertical-align: middle;
			font-weight: bold;
			color: white;
			font-family: Arial;
		}
		.scores div.sc_minus {
			background-color: #000080;
			-webkit-border-radius: 4px 0 0 4px;
			-moz-border-radius: 4px 0 0 4px;
			border-radius: 4px 0  0 4px;
		}
		.scores div.sc_plus {
			background-color: #F60;
			-webkit-border-radius: 0 4px 4px 0;
			-moz-border-radius: 0 4px 4px 0;
			border-radius: 0 4px 4px 0;
		}
		.scores div.sc_plus, .scores div.sc_minus {
	        width: 25px;
			font-family:  "Courier New", Courier, monospace !important;
			font-size: 16px;
			cursor: pointer;
		}
		.scores .sc_plus:hover, .scores .sc_minus:hover {
			font-size: 20px;
		}
		.scores .sc_minusn {
			background-color: #eeeeff;			
			color: #000080 !important;
		}
		.scores .sc_plusn {
			background-color: #ffeeee;			
			color: #f60 !important;
			border-left: 1px solid #333;
		}
		.scores .sc_plusn, .scores .sc_minusn {
			font-size: 13px;
			width: 50px;
		}

 .fancybox-next span {
  left: auto;
  right: 20px;
 }
 .fancybox-prev span {
  left: 20px;
 }
/*@font-face
{
 font-family: tele2font;
 src: url(http://izhevsk.ru/i/tele2font/Tele2RussiaText-Regular_1.otf);
}
.topstrip{
	height: 30px; width: 100%; line-height: 30px; background-color: white; text-align: center; vertical-align: middle;
	font-family:tele2font;
	font-size:18px;
}
.topstrip img {
    position:absolute;right:20px;margin-right:20px;margin-top:3px
}*/

.cf:before,.cf:after {content:" ";display:table;}
.cf:after {clear: both;}
.cf {*zoom: 1;}
/* */
.tgbholder {
	text-align:center;width:100%;max-width:980px;margin:2px auto;padding:2px;border: 1px solid #aaa;
	-webkit-border-radius: 2px 2px 2px 2px;
	-moz-border-radius: 2px 2px 2px 2px;
	border-radius: 2px 2px 2px 2px;
}
.tgb {
	width:326px;
	float:left;text-align:center;
}
.tgb div {width:326px !important;margin:0;!important;}

table.advholder > tbody > tr:nth-child(1) > td:nth-child(1) > table.headermessage > tbody > tr > td > table.messagebody > tbody > tr > td > div.post > div.postinner {
max-height:500px;
overflow:hidden;
}
#showme {
display:none;
cursor:pointer;
width:99%;
padding:5px;
background:#fff;
color:#000;
box-shadow: 0px 0px 4px #CCC;
border: 1px solid #CCC;
text-align:center;
}
.rightadv {width:auto;}
.rightadv div {
	margin: 0 auto;
	text-align: center;
}
.postadv {width:100%; margin-left: 19px;}
.postadv div, .postadv div div {width:100% !important;height:auto;}
.postadv iframe {width:100% !important;height:auto !important;}
.topadv iframe{width:100% !important;}