body {
	background-color: #000;
	color: #EEE;


	
	/*background-image: url('../../images/avatars/skynet.gif');*/
	
	background-repeat: no-repeat;
	background-image: url('images/mainlogo.jpg');
	/*background-image: url('images/mainlogo_snow_deer.jpg');	*/
	background-position: left top; 
	
}

.mainlogo {
	display: block;
	height: 80px;
	width: 261;
}
A {
	COLOR: #cc8833; 
	TEXT-DECORATION: none;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
	
}
A:hover {
	COLOR: #cc6622; TEXT-DECORATION: underline
}
A.side {
	COLOR: #ccc; TEXT-DECORATION: none
}
A.side:hover {
	COLOR: #ccc; TEXT-DECORATION: underline
}
A.sidePost {
	COLOR: #ccc;
	display: block;
	TEXT-DECORATION: none;
	padding-top: 1px;
}
A.sidePost:hover {
	/*TEXT-DECORATION: underline;*/
	background-color: #505050;
}
div.sideSmall .Title {
	COLOR: #ccc; 
	TEXT-DECORATION: none;
	font-weight: bold;
}
div.sideSmall {
	COLOR: #999; 
	TEXT-DECORATION: none;
	font-size: 9pt;
	margin-top: -1px;	
	padding-bottom: 1px;
	text-align: right;
	border-bottom: 1px solid #555;
}
div.sideSmall .Time {
	TEXT-DECORATION: none;
	float: left;
	font-size: 9pt;
	padding-left: 8px;
}
div.sideSmall .User {
	TEXT-DECORATION: none;
	font-size: 9pt;
}

A.sideBold {
	COLOR: #CC8833; TEXT-DECORATION: none; FONT-WEIGHT:bold;	
}
A.sideBold:hover {
	COLOR: #CC6622; TEXT-DECORATION: underline; FONT-WEIGHT:bold;
}
A.white {
	COLOR: #ccc; TEXT-DECORATION: none
}
A.white:hover {
	COLOR: #ccc; TEXT-DECORATION: underline
}
BODY {
	FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
}
FORM {
	MARGIN: 0px
}
hr {
	BORDER: #444 1px solid; 
	HEIGHT: 0px
}
HR.side-hr {
	BORDER-TOP: #222 1px solid; BORDER-BOTTOM: #666 1px solid; HEIGHT: 2px
}
TD {
	FONT-SIZE: 10pt; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif
}
PRE {
	FONT-SIZE: 10pt; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif
}
.pages{
	font-size: 9pt;	
}
A.header{
	font-size: 17pt;
}
.alt {
	COLOR: #aaa
}
.white-header {
	PADDING-RIGHT: 4px; BORDER-TOP: #555 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 10pt; PADDING-BOTTOM: 4px; COLOR: #888; PADDING-TOP: 4px; BORDER-BOTTOM: #555 1px solid; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; BACKGROUND-COLOR: #333
}
.full-header {
	FONT-SIZE: 10pt; 
	COLOR: #999; 
	FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
	/*BACKGROUND-COLOR: #333*/
/*
	background-repeat: no-repeat;
	background-image: url('images/Deer.png');
	-webkit-animation: header_deer_a 25s linear infinite;
  	-moz-animation: header_deer_a 25s linear infinite;
  	-ms-animation: header_deer_a 25s linear infinite;
  	animation: header_deer_a 25s linear infinite;*/
}

@keyframes header_deer_a {
 0% { background-position: -1000px 32px; }
 100% { background-position: 5000px 32px; }
}

@-moz-keyframes header_deer_a {
 0% { background-position: -1000px 32px; }
 100% { background-position: 5000px 32px; }
}

@-webkit-keyframes header_deer_a {
 0% 	{ background-position: -1000px 32px; }
 100%   {  background-position: 5000px 32px; }
}

@-ms-keyframes header_deer_a {
 	0% 	 { background-position: -1000px 32px; }
 	100% { background-position: 5000px 32px; }
}


.button {
	border: #bbb 2px solid;
	color: #bbb;
	MARGIN-TOP: 2px; FONT-SIZE: 10pt 
	FONT-FAMILY: 'Open sans', Arial,Verdana,Sans-Serif; 
	height: 32px; 
	BACKGROUND-COLOR: #333;
}
.button:hover{
	BACKGROUND-COLOR: #222;
}
.textbox {
	border: #bbb 2px solid; 
	FONT-SIZE: 10pt; 
	color: #bbb;
	padding: 5 5 5 5px;
	FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
	BACKGROUND-COLOR: #333;
}
.textbox:hover{
	BACKGROUND-COLOR: #303030;
}
.sub-body {
  BORDER-TOP: #555 0px solid;
  BORDER-LEFT: #555 0px solid; 
  BORDER-BOTTOM: #555 0px solid; 
  BORDER-RIGHT: #555 0px solid; 
 /* BACKGROUND-COLOR: #333;*/
}

.main-body {
	padding: 8px; 
	font-size: 10pt;
	line-height: 1.5;
	COLOR: #eeeeee;  
	BACKGROUND-COLOR: #333
}
.side-body {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 10pt; PADDING-BOTTOM: 6px; COLOR: #999; PADDING-TOP: 4px;
}
.main-bg {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; PADDING-TOP: 0px; BACKGROUND-COLOR: rgba(0, 0, 0, 0.8); 
}
.border {
	border: 0px;
}
.side-border-left {
	BACKGROUND-COLOR: rgba(64, 64, 64, 0.7);
}
.side-border-right {
	BORDER-LEFT: #555 0px solid; BACKGROUND-COLOR: #444
}
.news-footer {
	PADDING-RIGHT: 4px; BORDER-TOP: #555 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 9pt; PADDING-BOTTOM: 4px; COLOR: #ddd; PADDING-TOP: 3px; BACKGROUND-COLOR: #000
}
.barmain {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 10pt; PADDING-BOTTOM: 4px; COLOR: #aaa; PADDING-TOP: 4px; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif
}
.capmain {
	padding: 15 15 5 15px; FONT-SIZE: 17pt; COLOR: #ff8c00; BORDER-BOTTOM: #555 0px solid; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
	background-color: rgba(48, 48, 48, 0.7); 
}
.capmain_right {
	padding: 15 15 5 15px; FONT-SIZE: 11pt; COLOR: #ff8c00; BORDER-BOTTOM: #555 0px solid; FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
	background-color: rgba(48, 48, 48, 0.7); 
}
.table-border {
  border: 0px;
  BACKGROUND-COLOR: rgba(0, 0, 0, 0.4);
}
.scapmain {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 12pt; PADDING-BOTTOM: 5px; COLOR: #ff8c00; PADDING-TOP: 4px; 
	 FONT-FAMILY: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif; 
        BACKGROUND-COLOR: rgba(0, 0, 0, 0.2);
}
.tbl-border {
	#BACKGROUND-COLOR: #555
}
.tbl {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 10pt; PADDING-BOTTOM: 10px; PADDING-TOP: 10px
}
.tbl1 {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 11pt; PADDING-BOTTOM: 10px; COLOR: #ffffff; PADDING-TOP: 10px; BACKGROUND-COLOR: #333;
	line-height: 1.5;
}
.tbl2 {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 11pt; PADDING-BOTTOM: 10px; COLOR: #cc8833; PADDING-TOP: 10px; BACKGROUND-COLOR: #151515
}
.tbl3 {
	PADDING-RIGHT: 4px; PADDING-LEFT: 0px; FONT-SIZE: 10pt; PADDING-BOTTOM: 10px; COLOR: #ffffff; PADDING-TOP: 10px; BACKGROUND-COLOR: #333
}
.forum-caption {
	PADDING-RIGHT: 4px; PADDING-LEFT: 4px; FONT-SIZE: 10pt; PADDING-BOTTOM: 2px; COLOR: #ff8c00; PADDING-TOP: 0px; HEIGHT: 20px; BACKGROUND-COLOR: #000
}
.quote {
	BORDER-RIGHT: #444 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #444 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; MARGIN: 0px 20px; BORDER-LEFT: #444 1px solid; COLOR: #ffffff; PADDING-TOP: 2px; BORDER-BOTTOM: #444 1px solid; BACKGROUND-COLOR: #151515
}
.poll {
	BORDER-RIGHT: #000 1px solid; BORDER-TOP: #000 1px solid; BORDER-LEFT: #000 1px solid; BORDER-BOTTOM: #000 1px solid; HEIGHT: 12px
}
.comment-name {
	FONT-WEIGHT: bold; COLOR: #cc8833
}
.shoutboxname {
	FONT-WEIGHT: bold; COLOR: #cc8833
}
.shoutbox {
	COLOR: #dddddd;
	padding: 3px;
	width: 97%; 
	background-color: #555;
}
.shoutbox_new {
	COLOR: #dddddd;
	padding: 3px;
	width: 97%; 
	background-color: #963;
}
.shoutboxdate {
	FONT-SIZE: 8pt; COLOR: #999
}
.small {
	FONT-WEIGHT: normal; FONT-SIZE: 10pt
}
.small2 {
	FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #aaa
}
img.avatar{
	/*width: 50%;*/
	margin-top: 5px;
	border-radius: 0px;
}
.side-small {
	FONT-WEIGHT: normal; FONT-SIZE: 10pt; COLOR: #999
}
.side-label {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px; BACKGROUND-COLOR: #333
}
.gallery {
	PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 8px; PADDING-TOP: 16px
}
.gallery IMG {
	BORDER-RIGHT: #ccc 1px solid; BORDER-TOP: #ccc 1px solid; FILTER: gray; BORDER-LEFT: #ccc 1px solid; BORDER-BOTTOM: #ccc 1px solid
}
.gallery:hover IMG {
	BORDER-RIGHT: red 1px solid; BORDER-TOP: red 1px solid; FILTER: none; BORDER-LEFT: red 1px solid; BORDER-BOTTOM: red 1px solid
}
IMG.activegallery {
	BORDER-RIGHT: green 1px solid; BORDER-TOP: green 1px solid; FILTER: none; BORDER-LEFT: green 1px solid; BORDER-BOTTOM: green 1px solid
}

/* XProger: картинки в viewpage.php */
img.shot {
	border: 1px solid #ff8c00;
}

.loginname{
	text-align: left;
	position: relative;	
}

.pointscount {	
	right: 0px;
	top: 4px;
	text-align: right;	
	padding-right: 10px;
	width: 40px;
	background-image: url(igdcpoint.png);
	background-repeat: no-repeat;
	background-position: right;
	position: absolute;	
}

/* Современные браузеры, кроме Chrome, Opera, Safari */
@keyframes go-show-hide {   /* назовём анимацию: "go-left-right" */
    from {
    	opacity: 0;
    }
    to {
    	opacity: 1;
    }
}

  /* Префикс для Chrome, Opera, Safari */
@-webkit-keyframes go-show-hide {
    from {
    	opacity: 0;
    }
    to {
    	opacity: 1;
    }
}

.profile_panel {
	margin: 5px auto;
	width: 166px;
	position: relative;
}

.profile_panel .buttons {
	position: absolute;
	top: 0px;
	right: 0px;
	width: 50px;
	height: 100%;
	text-align: center;	
}

.profile_panel .buttons a {
	display: block;
	position: relative;
	width: 48px;
	height: 32px;
	margin: 0 0 2px 0;
	padding: 0px;
	background-image: url('images/profile_button.png');
	text-align: center;
	line-height: 32px;
	font-size: 13px;
	font-weight: bold;
}

.profile_panel .buttons a:hover{
	text-decoration: none;
}

.profile_panel .buttons a img {
	margin: 0px;
	vertical-align: middle;
}

.profile_panel .buttons a img.new {

    animation: go-show-hide 0.5s infinite alternate;
    -webkit-animation: go-show-hide 0.5s infinite alternate;
}

.profile_panel .buttons .msg
{
	position: relative;
}

.profile_panel .buttons .msg img
{
	top: 0;
	position: absolute;
	z-index: 50;
	left: 13px;
}

.profile_panel .buttons .msg .count
{
	left: 0;
	top: 0;
	width: 48px;
	position: absolute;
	text-align: center;
	color: #cc8833;
	z-index: 45;
	/*text-shadow: 1px 1px 1px #000, -1px -1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000,
				2px 2px 1px #000, -2px -2px 1px #000, -2px 2px 1px #000, 2px 2px 1px #000;*/
}


.progressbar_chat
{
	border: 1px solid #000;
	padding: 0;
	margin: 0;
	margin-top: 2px;
	height: 4px;
	width: 100%;
}

.progress_chat
{
	height: 4px;
}

.progress_chat
{

}

#progressbar
{
	border: 1px solid #444;
	padding: 0;
	margin: 0;
	height: 21px;
	width: 100%;
	position: relative;
}

#progressbar #progress
{
	position: absolute;
	width: 100%;
	height: 100%;
	background: #222;
}

#progressbar #caption
{
	position: absolute;
	width: 100%;
	height: 100%;
	text-align: center;
	font-weight: 100%;
	color: #ff8c00;
}

.helpbox
{
	border: 1px solid #555;
	margin: 4px auto;
	background-color: #282828;
	width: 100%;
}

.helpbox #button
{
	text-align: center;
	cursor: pointer;	
	color: #ff8c00;
	padding: 4px;
	font-size: 17px;
}

.helpbox .text
{
	padding: 0 10px;
}

.helpbox p
{
	text-indent: 16px;
}
/* панель активности конкурсов */
.side_panel div.item
{
	padding: 5px;
}

.side_panel div a.title
{
	font-size: 24px;
	color: #FF8C00;
}

.side_panel a 
{
	 display: block; 
	 text-align: center;
}

.side_panel .progressbar
{
	border: 1px solid #000;
	padding: 0;
	margin: 0;
	margin-top: 2px;
	height: 6px;
	width: 100%;
}

.side_panel .progress
{
	border-right: 1px solid #000;
	padding: 0;
	margin: 0;
	height: 6px;
	background-color: #cc6622;
	/*background-image: url('images/pollbar.gif');*/
}

.side_panel .progressbar_caption
{
	text-align: center;
	color: #FF8C00;
}

.side_panel .info {
	width: 100%;
	
}

.side_panel .title
{

}

.side_panel .timer
{
	font-size: 24px;
	text-align: center;
	color: #FF8C00;
}

.side_panel .timer span
{
        font-size: 50%;
	color: #AAA;
}

.side_panel .result
{	
	color: #EEE;
}

.side_panel .avatar 
{
	display: inline-block;
	margin: 1px;
}

.side_panel .avatar img 
{
	width: 24px;
	height: 24px;
}

.side_panel .users {
	margin: 0 -5px;
}

.side_panel .users .progressbar
{
	margin: 0;
	padding: 0;
	height: 3px;
	width: 22px;
}
.side_panel .users .progress
{
	height: 3px;
	border: none;
}



/* конкурсы */
.contest #tableadd
{
	text-align: center;
	display: block;
}

.contest th {
	font-size: 10pt; 
	color: #AAA; 
	padding: 3px;
	padding-right: 10px;
}

.contest input.text {
	margin-top: 3px;
	border: 0px; 
	background-color: #555;
	color: #AAA; 
	width: 100%;
	padding-left: 3px;
}

.contest textarea {
	margin-top: 3px;
	border: 0px; 
	background-color: #555;
	width: 100%;
	color: #AAA; 
}

.input_help
{	
	padding: 0px;
	font-size: 10px;
}

.contest div.text {
	margin: 15px 5px 10px 5px;
}

.contest div.control.right
{
	text-align: right;
}

.contest div.control a
{
	padding: 5px;
	border: 1px solid #555;
	text-decoration: none;
	margin-left: 5px;
}

.contest div.control a:hover
{
	background-color: #222;
}

.contest ul.error 
{
	list-style: none;
	border: 1px solid #000;
	background-color: #222;
	padding: 0;
	margin: 0;
	margin-bottom: 10px;
}

.contest ul.error li
{
	padding-left: 26px;
	background-repeat: no-repeat;
	background-position: 4px 2px;
}

.contest ul.error li.error
{
	background-image: url(images/error.png);
}

.contest ul.error li.warning
{
	background-image: url(images/warning.png);
}

.participants a 
{
	padding: 0;
	margin: 0;
	display: inline-block;
	width: 54px;
	margin-left: 3px;
	border: 1px solid #111;
}

.participants a.passed 
{
	border: 1px solid #ff8c00;
}

.participants a.passed div
{
	padding: 0;
	margin: 0;
	height: 5px;
	width: 100%;
	background-color: #ff8c00;
}


.participants a .progressbar
{
	padding: 0;
	margin: 0;
	height: 16px;
	width: 100%;
	background-color: #222;
	border-top: 1px solid #111;
	position: relative;
}

.participants a .progressbar .label
{
	font-size: 11px;
	text-align: center;
	color: #ff8c00;
	position: absolute;
	bottom: 0px;
	width: 54px;
}

.participants a .progress 
{
	padding: 0;
	margin: 0;
	height: 16px;
	background-color: #533;
	border-right: 1px solid #000;
}

.participants a img 
{
	padding: 0;
	margin: 0;
	height: 54px;
	width: 54px;
}


#dialog_form {
	position: fixed; 
	z-index: 999; 
	top: 50%; 
	left: 50%;
	border: 1px solid #111;
	display: none;

	background: #444;
	-moz-box-shadow: 4px 4px 30px #130507;
	-webkit-box-shadow: 4px 4px 30px #130507;
	box-shadow:4px 4px 30px #130507;
	-moz-transition: top 800ms;
	-o-transition: top 800ms;
	-webkit-transition: top 800ms;
	transition: top 800ms;
}

#dialog_form .title
{
	padding: 3px;
	padding-left: 10px;
	margin-bottom: 5px;
	border-bottom: 1px solid #111;
	color: #ff8c00;
}

#dialog_form .body
{
	position: relative;
	padding: 8px;
}

#dialog_form .body input[type="text"], #dialog_form .body textarea {
	background-color: #555;
	color: #AAA; 
	padding-left: 3px;
	border: 1px solid #111;
}


#dialog_form .button_panel
{
	text-align: right;
	padding-right: 5px;
	height: 23px;
}

#dialog_form .button_panel a, #dialog_form .button_panel input[type="submit"], #dialog_form .button_panel input[type="button"]
{
	padding: 0px;
	margin: 0 0 5px 5px;
	color: #cc8833;
	background-color: #333;
	text-decoration: none;
	width: 120px;
	text-align: center;
	display: inline-block;
	border: 1px solid #111;
}

#dialog_form .button_panel a:hover, #dialog_form .button_panel input[type="submit"]:hover, #dialog_form .button_panel input[type="button"]:hover
{
	background-color: #222;
}

#dialog_bg 
{
	display: none;
	z-index: 998; 
	background: #000; 
	left: 0; 
	top: 0; 
	position: fixed;
	width: 100%; 
	height: 100%; 
	opacity: 0.7;
	-moz-transition:opacity 800ms;
	-o-transition:opacity 800ms;
	-webkit-transition: opacity 800ms;
	transition:opacity 800ms;
}



.main-body .post_img {
    width: 100%;
}

.main-body .post_img img {  
    /*width: 100%;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  	max-width: 100%; 
}



.main-body .post {
	/*border: 1px solid #F00;*/
}

.main-body .post .left {
	/*float: left;*/
	width: 134px;
	/*margin: 0 10px 10px 0;*/	
	text-align: right;
	vertical-align: top;
}

.main-body .post .right {
	/*float: left;*/
	width: 134px;
	/*margin: 0 10px 10px 0;*/	
	text-align: left;
	vertical-align: top;
}

.main-body .post  .left .username {
	font-size: 17pt;
}

.main-body .post .left .avatar img {
	width: 73px;
	height: auto;
}

.main-body .post .left .rank {
	font-size: 10pt;
	color: #888;
}

.main-body .post .content {
	position: relative;
	margin-left: 12px;
	margin-right: 12px;
	font-size: 11pt;
	background: #424242;
	color: #DDD;
	padding: 8px 8px 20px 8px;
	vertical-align: middle;
	min-height: 32px;
	border: 1px solid #666;
}

.main-body .post .content .arrow {
	position: absolute;
	left: -8px;
	top: 12px;
	width: 8px;
	height: 20px;
	bottom: 1px solid #F00;
	background: url(images/left_arrow.png) no-repeat;
}

.main-body .post .content .arrow_right {
	position: absolute;
	right: -8px;
	top: 12px;
	width: 8px;
	height: 20px;
	bottom: 1px solid #F00;
	background: url(images/right_arrow.png) no-repeat;
}

.main-body .post .nicetime {
	color: #AAA;
	font-size: 10pt;	
	padding: 0px 15px;
}

.main-body .post .content .edit {
	position: absolute;
	top: -22px;
	right: 3px;
	font-size: 10pt;	
}

.main-body .post .content .time {
	position: absolute;
	float: right;
	color: #AAA;
	font-size: 10pt;	
	bottom: 0px;
	right: 0px;
	padding: 3px 6px 3px 3px;
}

.main-body .post .content .quote {
	padding: 8px;
	margin: 5px 20px;
	color: #EEE;
	border: none;
	background-color: #555;
	border: 1px solid #666;
}

.main-body .clear {
	/*clear: both;*/
	height: 20px;
}

.main-body .progressbar
{
	border: 1px solid #000;
	padding: 0;
	margin: 0;
	margin-top: 2px;
	height: 6px;
	margin-left: 135px;
	position: relative;
}

.main-body .progressbar.max
{
	background: #008800;
}

.main-body .progress
{
	border-right: 1px solid #000;
	padding: 0;
	margin: 0;
	height: 6px;
	background-color: #cc6622;
	position: absolute;
	/*background-image: url('images/pollbar.gif');*/
}

.main-body .progressbar_caption
{
	text-align: center;
	color: #FF8C00;
}

.main-body .progressbar_caption .green
{
	color: #00AA00;
}


.main-body .progress_add
{
	font-size: 80%;
	padding: 3px;
	margin-left: 160px;
}

.main-body .progress_add input[type="edit"]
{
	width: 100px;
	border: 1px solid #464646;
	background: #000;
	color: #BBB;	
	margin-right: 10px;		
}

.main-body .progress_add input[type="submit"]
{
	width: 100px;
	border: 1px solid #BBB;
	background: #333;	
	color: #BBB;	
	margin-top: 3px;
}

.main-body .goal_but
{
	display: inline-block;
	border: 1px solid #666;
	padding: 3px 8px;
	margin: 3px;
	margin-left: 0;
	cursor: pointer;
}

.main-body .goal_but:hover
{
	background: #464646;
}

.main-body .goal_but.action
{
	background: #464646;
}

.main-body .goal_but.action:hover
{
	background: #333;
}

.main-body .menu
{
	margin-bottom: 10px;
}

.main-body .menu .list td
{
	padding: 0 10px;
}

.main-body .menu .list td.right
{
	text-align: right;
}

.main-body .menu .list img
{
	margin: 0;
	padding: 0;
	margin-right: 5px;
	width: 24px;
	height: 24px;
	vertical-align: middle;
}





/*
.main-body .progressbar
{
	margin: 0;
	padding: 0;
	position: relative;
	border: 1px solid #CC8A00;
	height: 19px;
	margin-left: 137px;
	margin-top: 2px;
	height: 7px;
}

.main-body .progress
{
	border-right: 1px solid #000;
	padding: 0;
	margin: 0;
	height: 7px;
	background-color: #5F4020;
	position: absolute;
	z-index: 3;
}
*/


/* withSnow */
/*

.full-header {

  background-image: url("images/snow1.png"), url("images/snow2.png"), url("images/snow3.png");
  -webkit-animation: snow 20s linear infinite;
  -moz-animation: snow 20s linear infinite;
  -ms-animation: snow 20s linear infinite;
  animation: snow 20s linear infinite;
}


@keyframes snow {
 0% {
 background-position: 0px 0px, 0px 0px, 0px 0px;
 }

 100% {
 background-position: 500px 2000px, 400px 800px, 300px 600px;
 }
}

@-moz-keyframes snow {
 0% {
 background-position: 0px 0px, 0px 0px, 0px 0px;
 }

 100% {
 background-position: 500px 2000px, 400px 800px, 300px 600px;
 }
}

@-webkit-keyframes snow {
 0% {
 background-position: 0px 0px, 0px 0px, 0px 0px;
 }

 100% {
 background-position: 500px 2000px, 400px 800px, 300px 600px;
 }
}

@-ms-keyframes snow {
 0% {
 background-position: 0px 0px, 0px 0px, 0px 0px;
 }

 100% {
 background-position: 500px 2000px, 400px 800px, 300px 600px;
 }
}
*/

/* streams panel*/

.streams_panel 
{

}

.streams_panel .item
{
	display: inline-block;
	margin: 3px;
	background: #464646;
	position: relative;
	color: #CC8833; 
	border: 1px solid #464646;
}

.streams_panel .item:hover
{
	border: 1px solid #CC8833;
}

.streams_panel .item .name
{
	font-size: 14px;
	padding: 0 5px;
	width: 170px;
	position: absolute;
	overflow: hidden;
	text-overflow: ellipsis;
  	white-space: nowrap;
	background: url(images/line.png);
}

.streams_panel .item .user
{
	padding: 1px;
	font-size: 12px;
	height: 20px;
	position: absolute;
	bottom: 0;
	color: #CCC;
	background: url(images/line.png);
}
.streams_panel .item .user div
{
	line-height: 20px;
	display: inline;
	padding: 0 5px;
}

.streams_panel .item .user img
{
	width: 20px;
	height: 20px;
	margin: 0;
	float: left;
}

.streams_panel .item .preview
{
	width: 180px;
	height: 120px;
	text-align: center;
}

.streams_panel .item .preview img
{
	max-width: 180px;
	height: 120px;
}

.streams_panel .limit_age
{
	position: absolute;
	bottom: 2px;
	right: 2px;
	width: 32px;
	height: 32px;
}

.streams_panel .timer
{	
	padding: 0 5px;
	width: 170px;
	position: absolute;
	top: 20px;
	color: #CCC;
	font-size: 11px;
	/*background: url(images/line.png);	*/
	text-align: right;
	font-weight: bold;
	text-shadow: 
		-0   -3px 1px #000000,
		 0   -3px 1px #000000,
		-0    3px 1px #000000,
		 0    3px 1px #000000,
		-3px -0   1px #000000,
		 3px -0   1px #000000,
		-3px  0   1px #000000,
		 3px  0   1px #000000,
		-1px -3px 1px #000000,
		 1px -3px 1px #000000,
		-1px  3px 1px #000000,
		 1px  3px 1px #000000,
		-3px -1px 1px #000000,
		 3px -1px 1px #000000,
		-3px  1px 1px #000000,
		 3px  1px 1px #000000,
		-2px -3px 1px #000000,
		 2px -3px 1px #000000,
		-2px  3px 1px #000000,
		 2px  3px 1px #000000,
		-3px -2px 1px #000000,
		 3px -2px 1px #000000,
		-3px  2px 1px #000000,
		 3px  2px 1px #000000,
		-3px -3px 1px #000000,
		 3px -3px 1px #000000,
		-3px  3px 1px #000000,
		 3px  3px 1px #000000,
		-3px -3px 1px #000000,
		 3px -3px 1px #000000,
		-3px  3px 1px #000000,
		 3px  3px 1px #000000;
}

.streams_panel .timer span 
{
	font-size: 20px;
}


.stream 
{
	/*width: 1000px;
	margin: 0 auto;*/
	background: rgba(0, 0, 0, 0.7);
}

.stream #player
{
	position: relative;
}

.stream #player .ratio
{
	display: block;
	width: 100%;
	height: auto;
	min-width: 640px;
}

.stream #player div
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%; 
	height: 100%;
}

.stream #player iframe, .stream .player object
{
	width: 100%; 
	height: 100%;
}

/*
html,body        {height:100%;}
.wrapper         {width:80%;height:100%;margin:0 auto;background:#CCC}
.h_iframe        {position:relative;}
.h_iframe .ratio {display:block;width:100%;height:auto;}
.h_iframe iframe {position:absolute;top:0;left:0;width:100%; height:100%;}
*/
.stream .caption
{
	background: #222;
	height: 48px;
	position: relative;
}

.stream .caption img.avatar
{
	width: 40px;
	height: 40px;
	margin: 4px;
	margin-right: 10px;
	float: left;
}

.stream .caption .edit 
{
	margin: 0 0 2px 0;
	padding: 0px;
}

.stream .caption .title
{
	padding-top: 2px;
	font-size: 18px;
}

.stream .caption .title .edit
{
	vertical-align: middle;
	margin-left: 5px;
}

.stream .caption .title form {
	padding: 0;
	margin: 0;
	display: none;
	margin-top: 2px;  
}

.stream .caption .title input
{
	font-size: 18px;
	border: 1px solid #555;
	color: #ccc;
	/*font-family: 'Open sans', Verdana,Tahoma,Arial,Sans-Serif;*/
}

.stream .caption .title input[type="edit"]
{
	background: #222;
	width: 400px;
}

.stream .caption .title input[type="submit"]
{
	background: #444;
	width: 100px;	
	margin-left: 2px;
}

.stream .caption .user
{
	font-size: 13px;
	color: #888;
	display: inline-block;
}


.stream .slider_online, .stream .status_online
{
	background: url("images/slider_online.png") no-repeat;
	margin-top: -2px;
	vertical-align: middle;
	height: 13px;
	display: inline-block;
}

.stream .slider_online
{
	width: 24px;
	border: 2px solid #666;
	background-color: #222;
	border-radius: 8px 8px;
	cursor: pointer;
	background-position: -1px -17px;
}

.stream .slider_online:hover
{
	background-color: #111;
}

.stream .slider_online.active
{
	background-position: 10px -1px;
}

.stream .status_online
{
	width: 10px;
	background-position: -2px -17px;
}

.stream .status_online.active
{	
	background-position: -2 -2px;
}

.stream .caption .user #rating
{
	width: 11px;
	height: 15px;
	margin-right: 10px;
	font-weight: bold;
	color: #AAA;
}

.stream .caption .user #rating.active
{
	color: #0A0;
	cursor: pointer;
}

.stream .caption .user #rating.active:hover
{
	text-decoration: none;
	color: #888;
}

.stream .limit_age
{
	float: right;
	margin: 4px;
	margin-left: 3px;
}

.stream #online_count
{
	float: right;
	display: inline-block;
	margin: 4px;
	background: url(images/viewer.png) no-repeat 0px 2px;
	padding-left: 20px;
}

.stream ul.players
{
	margin: 0;
	margin-top: 2px;
	padding: 0;
	height: 20px;
	text-align: right;
	float: right;
	/*position: absolute;*/
}

.stream ul.players li
{
	list-style: none;
	display: inline-block;
	cursor: pointer;
}

.stream ul.players li
{
	padding: 0 10px;
	font-size: 12px;
	color: #cc8833;
}
.stream ul.players li:hover
{
	text-decoration: underline;
}

.stream ul.players li.active
{
	color: #00AA00;
	cursor: default;
}

.stream ul.players li.active:hover
{
	text-decoration: none;
}

.stream .rating
{
	height: 6px;
	display: none;
}	

.stream .rating .progress
{
	width: 40%;
	padding: 0;
	margin: 0;
	height: 6px;
	background-color: #cc6622;
	position: absolute;
}

.chat_side_panel
{
	background: #000;
	position: relative;
	height: 650px;
}
/*
.chat_block
{
	background: #222;
	width: 240px;
	height: 468px;
	margin-left: 0;
	position: relative;
}

.stream .clear
{
	clear: both;
	height: 10px;
}

.chat_block .form
{
	position: absolute;
	width: 230px;
	bottom: 0;
	height: 40px;
	padding: 4px;
}

.chat_block .info
{
	position: absolute;
	width: 230px;
	bottom: 0;
	padding: 2px 6px;
	font-size: 11px;
	font-family: Arial;
	text-align: center;
}

.chat_block .command
{
	font-size: 11px;
	padding: 0;
	margin: 0;
	line-height: 20px;
	color: #999;
}

.chat_block .command li
{
	list-style-image: none;
	list-style-type: none;
	margin: 0;
	padding: 0 3px;
	display: inline-block;
	cursor: pointer;
}

.chat_block .command li:hover
{	
	text-decoration: underline;
	color: #cc8833;
}

.chat_block .form input[type="edit"]
{
	border: 1px solid #464646;
	background: #000;
	color: #BBB;	
	margin-right: 3px;	
	width: 207px;
}

.chat_block .form input[type="submit"]
{
	width: 20px;
	border: 1px solid #666;
	background: #333;	
	color: #888;	
	margin-top: 3px;
}

.chat_block .form input[type="submit"]:hover
{
	border: 1px solid #888;
}

.chat_block .chat
{
	overflow: auto;
	height: 420px;
	padding: 2px 5px;
	font-size: 11px;
	font-family: Arial;
	color: #AAA;
	margin: 2px;
}

.chat_block .chat .message
{
	margin-bottom: 2px;
	word-wrap: break-word;
}

.chat_block .chat .message .time
{
	color: #464646;
	float: right;
}

.chat_block .chat .message .time:hover
{
	color: #AAA;
}


.chat_block .chat .message .user
{
	font-weight: bold;
	color: #7797be;
}

.chat_block .chat .message .user span
{
	cursor: pointer;
}

.chat_block .chat .message .user div#menu
{	
	cursor: pointer;
	display: inline-block;
	width: 16px; 
	height: 8px;
	background: url("images/bullet.png") no-repeat center;
}

.chat_block .chat .message .user.admin
{	
	color: #cc8833;
}

.chat_block .chat .message img
{
	width: 24px;
	height: 24px;
	float: left;
	margin-right: 3px;
}

.chat_block .chat .message.youMessage
{
	color: #6A6;
}

.chat_block .chat .message .streamer
{
	opacity: 0.5;
}
.chat_block .chat .message .streamer:hover
{
	opacity: 1;
}
.chat_block .chat
{
}

.chat_block .chat::-webkit-scrollbar {
    width: 6px;
}

.chat_block .chat::-webkit-scrollbar-track {
	border: 1px solid #333;
	border-radius: 3px;
}
.chat_block .chat::-webkit-scrollbar-thumb {
	background: #444;
	border-radius: 3px;
}

.chat_block .chat_menu
{
	font-size: 11px;
	font-family: Arial;
	padding: 2px;
	padding-bottom: 0px;
	margin: 0px;
	display: none;
	background: #000;
  	position: absolute;
  	width: 120px;
  	z-index: 9999;
	border: 1px solid #333;
	left: 10px;
}

.chat_block .chat_menu li
{
	padding: 0 5px;
	margin: 0px;
	text-align: left;
	list-style-image: none;
	list-style-type: none;
	cursor: pointer;
	padding: 2px;
	font-weight: bold;
	border: 1px solid #777;
	cursor: pointer;
	margin-bottom: 2px;
}

.chat_block .chat_menu li:hover
{
	background: #222;
}

.chat_block .chat_menu .close
{
	position: absolute;
	right: 0;
	top: 0;
	background: #000;
	border: 1px solid #DDD;
	padding: 0 2px;
	font-weight: bold;
	cursor: pointer;
}
*/
#sortable_players, #sortable_voices
{
	width: 100%;
}

#sortable_players, #sortable_voices
{
	padding: 0px;
	margin: 0px;
	margin-bottom: 10px;
}

#sortable_players li, #sortable_voices li, #sortable_title
{
	padding: 0px;
	margin: 3px;
	list-style-image: none;
	list-style-type: none;
	border: 1px solid #464646;
	background: #333;
}

#sortable_players table, #sortable_voices table, #sortable_title table
{	
	width: 100%;
}

#sortable_players .num, #sortable_voices .num, #sortable_title .num
{
	width: 32px;
	text-align: center;
	cursor: n-resize;	
}

#sortable_players .del
{
	width: 32px;
	text-align: center;
	cursor: pointer;	
}

.stream_edit input[type="edit"], .stream_edit input[type="submit"], .stream_edit select, .stream_edit textarea, #sortable_voices textarea
{
	border: 1px solid #464646;
	background: #111;
	color: #BBB;	
	margin-right: 3px;	
	width: 100%;	
}
.stream_edit input
{
	padding-left: 5px;
}

.stream_edit .preview img
{
	height: 80px;
	width: auto;
	max-width: 200px;
	margin-top: 5px;
}

.sortable_players_add
{
	cursor: pointer;
	border: 1px solid #666;
	background: #333;	
	color: #BBB;	
	padding: 2px 6px;
	margin: 3px;	
	font-size: 12px;
}

.sortable_players_add:hover
{
	border: 1px solid #888;
	background: #222;	
}	

.sortable_players_info
{
	margin-left: 3px;	
	color: #BBB;	
	font-size: 12px;
	padding-top: 10px;
}

.sortable_players_error
{
	margin-left: 3px;	
	color: #F66;	
	font-size: 12px;
	padding-top: 10px;
}

.birthdate
{
	font-size: 11px;
	font-family: Arial;
}

.birthdate .item
{
	display: block;
	margin-top: 3px;
}


.birthdate img
{
	width: 24px;
	height: 24px;
	float: left;
	margin-right: 3px;
}

.rouble 
{
	display: inline-block;
	position: relative;
	margin: 0 3px;
}

.rouble:before 
{
	display: block;
	content: "_";
	position: absolute;
	top: -0.25em;
}

/* forum new */

#postlist #item #panel_command img, 
#postlist #item #panel_save img
{
	cursor: pointer;
}

#sortable_voices li .user {
	font-size: 120%;
}

/*

#sortable_voices li:nth-of-type(1) .user {
	color: #ffd700;
	font-size: 160%;
}

#sortable_voices li:nth-of-type(2) .user {
	color: #c0c0c0;
	font-size: 140%;
}

#sortable_voices li:nth-of-type(3) .user {
	color: #cd7f32;
	font-size: 120%;
}
*/
#sortable_voices .avatar img {
	width: 50px;
	height: 50px;
	vertical-align: middle;
}

#sortable_voices a:hover {
	text-decoration: none;
}

#contest_admin_panel td {
	padding: 2px 0;
	margin: 0px;
	background: none;
}

#contest_admin_panel tr.admin:nth-of-type(2n)
{
	background: #282828;

}

#contest_admin_panel input[type="text"], .contest_admin_panel input[type="submit"], .contest_admin_panel select, .contest_admin_panel textarea
{
	border: 1px solid #464646;
	background: #111;
	color: #BBB;	
	margin-right: 3px;
	padding: 2px;	
}

#contest_admin_panel img.avatar, .avatar32, #sortable_voices .gallery_item img {
	width: 32px;
	height: 32px;
	margin: 0;
	vertical-align: middle;
}

#sortable_voices .gallery_item img {
	margin: 1px;
}

#contest_admin_panel #add_game_field, #contest_admin_panel #add_screen {
	cursor: pointer;
}

#contest_admin_panel .igdc_gallery {
	text-align: left; 
	min-height: 32px;
}

#contest_admin_panel .igdc_gallery a {
	margin: 1px;
}

.contest_result td {
	margin: 0;
	padding: 2px;
}

#streams_scheduled td, #streams_scheduled th
{	
	border: 1px solid #464646;
	background: #111;
	color: #BBB;	
	margin-right: 3px;
	padding: 2px 6px;
	font-size: 12px;	
}

.tabs-content .tabs ul {
	list-style: none;
}

.tabs-content .tabs li {
    list-style: none;
    position: relative;
    display: inline-block;
}

.tabs-content .tabs li a {
	background: #333;
	display: block;
    padding: 5px 10px;	
    margin: 0 4px;
}

.tabs-content .tabs li.ui-state-active a {
	background: #444;
}		

#streams_scheduled td.point_green, #streams_scheduled td.point_red {
	padding-left: 18px;
	background-repeat: no-repeat;
	background-position: 2px;
}

#streams_scheduled td.point_green {
	background-image: url("images/point_green.png");
}

#streams_scheduled td.point_red {
	background-image: url("images/point_red.png");
}
png");
}

