body {
	background-color: rgb(250, 250, 250);
	background-image: url(../img/bg_main.jpg);
	background-repeat: repeat-x;
	background-attachment: fixed;
	margin: 0;
	padding: 0 0 10px 0;
	font-family: "Lucida Grande", Tahoma, Arial, sans-serif;
	color: rgb(50, 50, 50);
}
body {
	behavior: url("/css/csshover.htc");
}
a {
	color: #AA0000;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

#container {
	background-color: rgb(235, 235, 235);
	margin: 0 auto;
	padding: 0 5px 10px 5px;
	width: 950px;
	border-right: 1px solid rgb(190, 190, 190);
	border-bottom: 1px solid rgb(190, 190, 190);
	border-left: 1px solid rgb(190, 190, 190);
}

#container img {
	margin: 0;
	padding: 0;
	border: 0;
}
img{
	vertical-align:middle;
}
.clear {
	display: block;
	clear: both;
}

/* LOGGED ACTIONS ################################################# */
#loggedact {
	display: block;
	background-color: rgb(210, 210, 210);
	background-image: url(../img/bg_loggedact.jpg);
	background-position: bottom left;
	background-repeat: repeat-x;
	border-right: 1px solid rgb(190, 190, 190);
	border-bottom: 1px solid rgb(190, 190, 190);
	border-left: 1px solid rgb(190, 190, 190);
	padding: 5px 10px 5px 10px;
	text-align: right;
	line-height: 1.5em;
	font-size: 11px;
	font-weight: bold;
}

#loggedact a {
	background-color: transparent;
	display: inline-table;
	padding: 0 3px 0 3px;
	border-left: 1px solid rgb(230, 230, 230);
	border-right: 1px solid rgb(190, 190, 190);
}

#loggedact a:link,#loggedact a:visited {
	background-color: transparent;
	color: rgb(0, 0, 0);
	text-decoration: none;
}

#loggedact a:hover {
	background-color: rgb(220, 220, 220);
	color: rgb(200, 0, 0);
}

#loggedact a:active {
	background-color: rgb(195, 195, 195);
	color: rgb(255, 255, 255);
}

/* TOP ##############################################################*/
#top {
	display: table-cell;
	width: 930px;
	vertical-align: middle;
	margin: 0;
	padding: 0 10px 0 10px;;
	background-color: rgb(235, 235, 235);
	background-image: url(../img/bg_top.gif);
	background-position: center top;
	background-repeat: no-repeat;
	/*border: 1px solid rgb(255,0,0);*/
}

#toplogo {
	float: left;
	background-color: transparent;
	position: relative;
}

#toplogin {
	float: right;
	width: 475px;
	padding: 0 0 5px 0;
	background-color: transparent;
	text-align: right;
	font-size: 11px;
	line-height: 1.5em;
	color: rgb(50, 50, 50);
}

span#choose_game:hover span#games {
	display: block;
}

#games{
	position: absolute;
	left: 0;
	top: 40%;
	border: 1px solid #000;
	background-color: rgb(235, 235, 235);
	width: 160px;
	margin: 0px;
	padding: 2px;
	padding-top: 5px;
	left: 0;
	z-index: 102;
	display: none;
	font-weight: bold;
}

#games a {
	clear: left;
}

#toplogin a {
	background-color: transparent;
	font-weight: bold;
}

#toplogin a:link,#toplogin a:visited {
	color: rgb(200, 0, 0);
	text-decoration: none;
}

#toplogin a:hover {
	color: rgb(255, 0, 0);
	text-decoration: underline;
}

#toplogin a:active {
	background-color: rgb(220, 220, 220);
	color: rgb(100, 0, 0);
}

#toplogin form {
	margin: 0;
	padding: 20px 0 0 0;
	border: 0;
	vertical-align: middle;
}

.inputeml {
	width: 80px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: rgb(235, 235, 235);
	background-image: url(../img/inputeml.gif);
	background-position: 0 50%;
	background-repeat: no-repeat;
	border: 1px solid rgb(190, 190, 190);
	font-size: 11px;
	color: rgb(0, 0, 0);
}

.inputpwd {
	width: 80px;
	margin: 0 5px 0 0;
	padding: 2px;
	background-color: rgb(235, 235, 235);
	background-image: url(../img/inputpwd.gif);
	background-position: 0 50%;
	background-repeat: no-repeat;
	border: 1px solid rgb(190, 190, 190);
	color: rgb(0, 0, 0);
	font-size: 11px;
}

.btlogin {
	padding: 1px 2px 1px 2px;
	background-color: rgb(235, 235, 235);
	border: 1px solid rgb(190, 190, 190);
	color: rgb(200, 0, 0);
	font-size: 11px;
	font-weight: bold;
}

/* HEAD ##############################################################*/
#head {
	display: block;
	background-color: transparent;
	height: 110px;
}

/* MAIN MENU ######################################################*/
#mainmenu {
	display: block;
	padding: 0 3px 0 3px;
	background-color: transparent;
	background-image: url(../img/bg_mainmenu.jpg);
	background-position: center top;
	background-repeat: repeat-y;
}

/**** Menu ****/
div #mainmenu_txt ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

div #mainmenu_txt ul {
	color: #FFFFFF;
	font-size: 13px;
	font-weight: bold;
	text-decoration: none;
}

div #mainmenu_txt ul li {
	position: relative;
	margin-right: 1px;
}

div #mainmenu_txt ul li {
	float: left;
	position: relative;
}

div #mainmenu_txt ul ul {
	list-style: none;
	position: absolute;
	left: 0;
	top: 100%;
	display: none;
	border: 1px solid #000;
	background-color: #FFF;
	width: 160px;
	margin: 0px;
	padding: 0px;
	left: 0;
}

div #mainmenu_txt ul li ul li {
	margin: 0px;
	padding: 3px;
	width: 154px;
}

div #mainmenu_txt ul li ul li:hover {
	background-color: #F0F0F0;
}

div #mainmenu_txt ul li ul li a {
	font-size: 12px;
}

div #mainmenu_txt ul li a {
	color: #FFFFFF;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: bold;
	font-variant: small-caps;
	margin-right: 22px;
	text-decoration: none;
	text-transform: uppercase;
	font-weight: bold;
	font-variant: small-caps;
}

div#mainmenu_txt ul li:hover ul {
	display: block;
}

/**** END Menu ****/
#mainmenu_txt {
	display: block;
	padding: 9px 7px 5px 7px;
	background-color: transparent;
	background-image: url(../img/bg_mainmenu_txt.jpg);
	background-position: center top;
	background-repeat: repeat-x;
}

#mainmenu_txt ul li a {
	background-color: transparent;
	text-decoration: none;
	padding: 0 7px 0 0;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-weight: bold;
}

#mainmenu_txt ul li a:link,#mainmenu_txt a:visited {
	color: rgb(0, 0, 0);
}

#mainmenu_txt ul li a:hover {
	color: rgb(200, 0, 0);
}

#mainmenu_txt ul li a:active {
	color: rgb(150, 150, 150);
}

#toplogin form {
	margin: 0;
	padding: 20px 0 0 0;
	border: 0;
	vertical-align: middle;
}

#mainmenu_bottom {
	display: block;
	height: 14px;
	background-color: transparent;
	background-image: url(../img/bg_mainmenu_bottom.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	clear: both;
}

.mainad_block {
	display: block;
	background-color: transparent;
	padding: 0 0 10px 0;
	text-align: center;
}

/* MAIN ##############################################################*/
#main {
	display: block;
	background-color: transparent;
	padding: 0 10px 10px 10px;
}

#content_top {
	display: block;
	margin: 0;
	padding: 0;
	background-color: transparent;
}

#content {
	display: block;
	padding: 0 0 5px 0;
	background-color: transparent;
	background-image: url(../img/bg_content.jpg);
	background-position: center top;
	background-repeat: repeat-y;
	border-bottom: 1px solid rgb(160, 160, 160);
}

/* MAIN LEFT SIDE #################################################*/
#leftside {
	float: left;
	width: 665px;
	padding: 0 0 0 10px;
	background-color: transparent;
	line-height: 1.5em;
	font-size: 13px;
}

#leftside h1 {
	display: block;
	margin: 0 0 12px 0;
	padding: 5px 5px 1px 5px;
	font-size: 18px;
	color: rgb(200, 0, 0);
	background-color: transparent;
	border-top: 1px solid rgb(235, 235, 235);
	border-bottom: 2px solid rgb(200, 0, 0);
}

#leftside h2 {
	display: block;
	margin: 0 0 5px 0;
	padding: 5px;
	font-size: 16px;
	font-variant: small-caps;
	font-weight: bold;
	border-top: 1px solid rgb(210, 210, 210);
	border-right: 1px solid rgb(210, 210, 210);
	border-left: 1px solid rgb(210, 210, 210);
	margin-top:5px;
}

div#chat-window{
	border-bottom: 1px solid rgb(210, 210, 210);
	border-right: 1px solid rgb(210, 210, 210);
	border-left: 1px solid rgb(210, 210, 210);
	padding-left:5px;
}

#leftside h2 a:link,#leftside h2 a:visited {
	color: rgb(0, 0, 0);
	text-decoration: none;
}

#leftside h2 a:hover {
	color: rgb(200, 0, 0);
}

#leftside h2 a:active {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}

small {
	font-variant: normal;
	font-weight: normal;
	font-size: 11px;
	color: rgb(120, 120, 120);
}

#leftside p {
	display: block;
	margin: 0;
	padding: 0 5px 10px 5px;
	text-align: justify;
}

#leftside p a {
	background-color: transparent;
	text-decoration: none;
}

#leftside p a:link,#leftside p a:visited {
	color: rgb(170, 0, 0);
}

#leftside p a:hover {
	color: rgb(255, 0, 0);
	text-decoration: underline;
}

#leftside p a:active {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}

.item_more {
	display: block;
	background-color: transparent;
	padding: 0 5px 20px 5px;
	text-align: right;
	font-size: 11px;
	color: rgb(120, 120, 120);
	border-top: 1px solid rgb(245, 245, 245);
}

.item_more a:link,.item_more a:visited {
	color: rgb(200, 0, 0);
	text-decoration: none;
}

.item_more a:hover {
	text-decoration: underline;
}

.item_more a:active {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}

.paging {
	display: block;
	background-color: transparent;
	padding: 0 5px 20px 5px;
	text-align: center;
	font-size: 11px;
	color: rgb(170, 170, 170);
}

.ladtable {
	display: block;
	background-color: rgb(250, 250, 250);
	margin: 0 103px 10px 100px;
	padding: 5px;
	border-top: 1px solid rgb(220, 220, 220);
	border-right: 1px solid rgb(200, 0, 0);
	border-bottom: 1px solid rgb(220, 220, 220);
	border-left: 3px solid rgb(200, 0, 0);
	font-size: 11px;
}

.ladtable div {
	display: block;
	background-color: rgb(255, 255, 255);
	padding: 2px 0 1px 0;
	border: 1px solid rgb(230, 230, 230);
	clear: both;
}

.ladspl {
	float: left;
	background-color: transparent;
	width: 180px;
	padding: 0 3px 0 0;
	vertical-align: middle;
	text-align: right;
	font-weight: bold;
}

.ladspr {
	float: right;
	background-color: transparent;
	width: 260px;
	padding: 0 0 0 3px;
	vertical-align: middle;
}

.ladtable a {
	background-color: transparent;
	text-decoration: none;
}

.ladtable a:link,.ladtable a:visited {
	color: rgb(170, 0, 0);
}

.ladtable a:hover {
	color: rgb(255, 0, 0);
	text-decoration: underline;
}

.ladtable a:active {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}

.paging a {
	padding: 0 2px 0 2px;
	background-color: transparent;
	text-decoration: none;
	font-weight: bold;
	border: 1px solid rgb(255, 255, 254);
}

.paging span.current{
	font-weight: bold;	
	color:#000;
}

.paging a:hover {
	color: rgb(0, 0, 0);
	border: 1px solid rgb(200, 200, 200);
}

.paging a:active {
	color: rgb(200, 0, 0);
}

.paging div.disabled {
	color: rgb(170, 170, 170);
	display: inline;
}

/* MAIN RIGHT SIDE #################################################*/
#rightside {
	float: right;
	width: 235px;
	padding: 0 5px 0 0;
	background-color: transparent;
}

.rmenu_block {
	display: block;
	padding: 0;
	margin: 0 0 10px 0;
	background-color: transparent;
	border-bottom: 2px solid rgb(200, 0, 0);
}

.rmenu_title {
	display: block;
	background-color: rgb(200, 0, 0);
	padding: 5px 10px 5px 10px;
	font-size: 12px;
	color: rgb(255, 255, 255);
}

.rmenu_block a {
	display: block;
	padding: 3px 10px 3px 10px;;
	background-color: transparent;
	font-size: 11px;
	font-weight: bold;
	text-decoration: none;
}

.rmenu_block a:link,.rmenu_block a:visited {
	color: rgb(100, 100, 100);
}

.rmenu_block a:hover {
	color: rgb(255, 255, 255);
	background-color: rgb(100, 100, 100);
}

.rmenu_block a:active {
	color: rgb(0, 0, 0);
	background-color: rgb(255, 255, 255);
}

.rpoll_block {
	display: block;
	padding: 0;
	margin: 0 0 10px 0;
	background-color: transparent;
	border-bottom: 2px solid rgb(100, 100, 100);
}

.rpoll_block form {
	margin: 0;
	padding: 0;
}

.rpoll_title {
	display: block;
	background-color: rgb(100, 100, 100);
	padding: 5px 10px 5px 10px;
	font-size: 12px;
	color: rgb(255, 255, 255);
}

.rpoll_answ {
	display: block;
	padding: 3px 10px 3px 10px;
	background-color: transparent;
	font-size: 11px;
	font-weight: bold;
}

.btvote {
	padding: 1px 2px 1px 2px;
	background-color: rgb(235, 235, 235);
	border: 1px solid rgb(190, 190, 190);
	color: rgb(100, 100, 100);
	font-size: 11px;
	letter-spacing: 1px;
}

.rpoll_note {
	display: block;
	padding: 3px 10px 7px 10px;
	text-align: center;
	font-size: 11px;
	color: rgb(200, 0, 0);
}

.rad_block {
	display: block;
	background-color: transparent;
	padding: 0 0 10px 0;
	text-align: center;
}

.rad_block span {
	display: table-cell;
	vertical-align: middle;
	width: 88px;
	padding: 0 15px 0 14px;
}

/* FOOTER ########################################################*/
#footer {
	display: block;
	background-color: transparent;
	padding: 0 50px 0 50px;
	font-size: 11px;
	color: rgb(120, 120, 120);
	text-align: center;
	line-height: 1.6em;
}

#footer a {
	background-color: transparent;
	font-weight: 100;
}

#footer a:link,#footer a:visited {
	color: rgb(70, 70, 70);
	text-decoration: none;
}

#footer a:hover {
	color: rgb(200, 0, 0);
	text-decoration: underline;
}

#footer a:active {
	color: rgb(0, 0, 0);
	text-decoration: underline;
}

table.results {
	width: 100%;
	font-size: 12px;
}

table.results td a,div.stats table a {
	text-decoration: none;
	color: #003366;
	font-size: 12px;
}

table.results a,div.stats table a:hover {
	text-decoration: underline;
}

table.results th {
	color: #FFF;
	text-transform: uppercase;
	background-color: #CC0000;
}

table.results tr:hover {
	background-color: #D2D2D2;
}

table.results td {
	text-align: center;
}

table.results td small {
	font-size: 10px;
	font-weight: bold;
}

.green {
	font-weight: bold;
	color: green;
}

.red {
	font-weight: bold;
	color: red;
}

.yellow {
	font-weight: bold;
	color: #ffcc00;
}

span.view_results {
	font-size: 10px;
	font-style: italic;
}

input.radio {
	float: left;
	margin-right: 5px;
}

div.former {
	float: left;
	width: 1px;
	font-size: 1px;
	position: relative;
	z-index: 2;
}

fieldset.default {
	border: 2px solid #D9D7B1;
	-moz-border-radius: 5px;
	/*-webkit-border-radius: 5px;*/
	padding: 10px;
	margin: 0px;
	margin-bottom: 10px;
}

fieldset.default legend {
	font-size: 15px;
	font-weight: bold;
	color: #062A5E;
	padding: 0px;
	margin: 0px;
	margin-left: 3px;
	margin-right: 3px;
	padding-left: 7px;
	padding-right: 7px;
}

div.user_avat,div.user_avat2 {
	cursor: pointer;
	padding: 10px;
	border: 1px solid #F0F0F0;
}

div.stats {
	float: left;
	width: 177px;
	margin-right: 4px;
}

div.stats table {
	border-collapse: collapse;
	width: 100%;
}

div.stats table th {
	color: #FFF;
	text-transform: uppercase;
	background-color: #CC0000;
}

div.stats table td {
	text-align: center;
}

span.grey {
	color: #F0F0F0;
}

div.data_info {
	width: 150px;
	margin-right: 10px;
	text-align: right;
	font-weight: bold;
	float: left;
}

abbr {
	cursor: help;
}

div.profile_games_links {
	background-color: #CC0000;
	margin-bottom: 3px;
	padding: 1px 0px 1px 5px;
}

div.profile_games_links a {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}

div.profile_games_links a:hover {
	text-decoration: underline;
}

ul.red_tabs {
	list-style: none;
	margin: 0;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

ul.red_tabs li {
	float: left;
	background-color: #CC0000;
	margin-right: 3px;
	padding: 1px 5px 1px 5px;
	margin-bottom: 1px;
}

ul.red_tabs li.selected_game_in {
	border-bottom: 1px solid #CC0000;
	margin-bottom: 0px;
}

ul.red_tabs li a {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}

/* form elements */
form {
	margin: 10px;
	padding: 5px;
	border: 1px solid #f2f2f2;
	background-color: #FAFAFA;
}

label {
	display: block;
	font-weight: bold;
	margin: 5px 0;
}

input {
	padding: 2px;
	border: 1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color: #777;
}

textarea {
	width: 400px;
	padding: 2px;
	font: normal 1em Verdana, sans-serif;
	border: 1px solid #eee;
	height: 100px;
	display: block;
	color: #777;
}

input.button {
	margin: 0;
	font: bolder 12px Arial, Sans-serif;
	border: 1px solid #CCC;
	padding: 1px;
	background: #FFF;
	color: #CC0000;
}

div.submit {
	margin-top: 10px;
}

div.completion {
	border: 1px solid #000;
	background-color: #808080;
	padding: 1px;
	width: 90%;
	height: 15px;
	position: relative;
}

div.completed {
	background-color: #1F406E;
	height: 15px;
}

div.completion span {
	font-size: 11px;
	position: absolute;
	right: 43%;
	top: -1px;
	color: #FFF;
}

div.auto_complete {
	position: absolute;
	background-color: white;
	margin: 0px;
	padding: 0px;
}

div.auto_complete ul {
	border: 1px solid #888;
	background-color: white;
	list-style: none;
	padding: 2px;
	margin: 0px;
	width: 350px;
}

div.auto_complete ul li {
	padding: 0px;
	margin: 0px;
}

div.auto_complete li.selected {
	background-color: #CC0000;
	color: #FFF;
	cursor: pointer;
}


div.error-message {
	color: #FF0000;
	font-weight: bold;
}

div.flash-success {
	background-color: green;
	color: #FFF;
	text-align: center;
}
div.flash-notice {
	background-color: yellow;
	text-align: center;
}
div.flash-error {
	background-color: red;
	color: #FFF;
	text-align: center;
}

div.game_info {
	margin: 10px 0;
	padding: 10px;
	text-align: left;
	display: block;
	overflow: auto;
	/* white-space: pre; */
	background: #FAFAFA;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #CC0000;
}

div.game_info ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

div.game_info ul li {
	clear: both;
}

div.game_info ul li label {
	display: block;
	float: left;
	width: 150px;
	padding: 0;
	margin: 0 5px 0 0;
}

 /* Forum */
  table.forums{
  	border-collapse:collapse;
  	clear:both;
  	margin-top:10px;
  	width:100%;
  }
  table.forums th{
  color: #FFF;
	text-transform: uppercase; 
	background-color: #CC0000;	
	padding-left:5px;
	padding-right:5px;
  }
  table.forums td{
    text-align:center;
    border:1px dotted #808080;
    padding:5px;
  }
  table.forums td h2{
    text-transform: none; 	
    padding:0px;
    margin:0px;
  }
  table.forums td small{
    font-size:10px;
    font-weight:bold;
  }
  
  blockquote {
	margin: 10px;
	height:auto;
 	/*padding: 0 0 0 32px;  	
  	background: #FAFAFA url(images/quote.gif) no-repeat 5px 10px !important; 
	background-position: 8px 10px;*/
	border: 1px solid #f2f2f2; 
	border-left: 4px solid #CC0000; 
	clear:both;
	cursor:pointer;
}

blockquote:hover {
	border-left: 4px solid green; 
}	

blockquote div.user_avat{
	float:left;
	border:0;
	cursor:default;
}
#session_flash{
	background-color: green;
	color: #FFF;
	clear:both;
	text-align: center;
	padding:20px;
}
#top-banner{
  margin-top:5px;
  margin-bottom:5px;
  clear:both;
  text-align:center;
}
div#chat-window{
	height:200px;
	overflow-y:scroll;
}
.red{
	color:#640000;
}