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

	 Page style

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

* {
	-webkit-user-select: none;
}

input {
	-webkit-user-select: auto;
}

body {
	background: #000 url(../images/html/default/bg_header_bottom.png) repeat-x center top;
	color: #fff;
}

acronym {
	cursor: help;
}

a {
	color: #1480cd;
	outline: none;
	text-decoration: underline;
}

a:hover {
	color: #6cf;
}

input.minimal {
	background: #e3e3e3;
	border: 1px solid #bbb;
	border-radius: 2px;
	box-shadow: inset 0 0 1px 1px #f6f6f6;
	color: #333;
	font-weight: bold;
	line-height: 1;
	padding: 6px;
	text-align: center;
}

input.minimal:hover {
	background: #ccc;
	box-shadow: inset 0 0 1px 1px #d9d9d9;
	color: #222;
	cursor: pointer;
}

input.minimal:active {
	background: #d0d0d0;
	box-shadow: inset 0 0 1px 1px #e3e3e3;
	color: #000;
}

input.minimal:disabled {
	background: #e3e3e3;
	color: #999;
}

/* Play */
#gamelist div.gameslisthead {
	background: #000 url(../images/html/default/bg_header_bottom.png) repeat-x center top;
	height: 55px;
	position: fixed;
	width: 100%;
	z-index: 2;
}

#gamelist table.gameslist {
	padding: 54px 10px 10px;
	width: 100%;
}

#gamelist div.gameslisthead table.gameslist {
	padding-top: 10px;
}

#gamelist thead tr {
	background: #212121 url(../images/html/default/bg_container.png);
}

#gamelist thead th.asc span, thead th.desc span {
	background: url(../images/html/icons/sort.png) no-repeat right top;
	padding-right: 18px;
}

#gamelist thead th.desc span {
	background-position: right bottom;
}

#gamelist thead th {
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	line-height: 20px;
	padding: 7px 5px;
	text-transform: uppercase;
}

#gamelist thead th.colexpand,
#gamelist thead th.colicon,
#gamelist tbody td.colexpand,
#gamelist tbody td.colicon {
	width: 14px;
}

#gamelist thead th.colstatus,
#gamelist tbody td.colstatus {
	width: 140px;
}

#gamelist thead th.colrating,
#gamelist tbody td.colrating {
	width: 70px;
}

#gamelist thead th.coldev {
	width: 210px;
}

#gamelist thead th.colfav {
	width: 46px;
}

#gamelist tbody td.coldev {
	width: 220px;
}

#gamelist tbody td.colfav {
	width: 36px;
}

#gamelist thead th.colfav {
	padding: 7px 0;
	text-align: center;
}

#gamelist tr {
	cursor: default;
}

#gamelist tr.spacing td {
	 border-bottom: 1px solid #000;
	 border-top: 1px solid #000;
}

#gamelist tr.heading {
	background-color: #2c2c2c;
}

#gamelist tr.row {
	background-color: #000;
}

#gamelist tr.rowalt {
	background-color: #0b0b0b;
}

#gamelist td.colexpand a {
	background: url(../images/html/icons/expand.png) no-repeat center bottom;
	cursor: pointer;
	display: block;
	height: 18px;
	opacity: 0.5;
	width: 24px;
}

#gamelist td.colexpand a:hover {
	opacity: 1;
}

#gamelist td.colexpandon a {
	background-position: center top;
}

#gamelist td.colicon img {
	height: 20px;
	width: 20px;
}

#gamelist td.colname,
#gamelist td.colstatus,
#gamelist td.colrating,
#gamelist td.coldev {
	padding: 4px 5px;
}

#gamelist td.colname a {
	display: block;
	float: right;
	margin-left: 5px;
	margin-top: 1px;
	height: 16px;
	width: 16px;
}

#gamelist td.colname a.update {
	background: url(../images/html/icons/update.png) no-repeat center center;
}

#gamelist td.colname a.demo {
	background: url(../images/html/icons/demo.png) no-repeat center center;
}

#gamelist td.colname a.preorder {
	background: url(../images/html/icons/preorder.png) no-repeat center center;
}

#gamelist td.coldev a {
	color: #fff;
	text-decoration: none;
}

#gamelist td.coldev:hover a {
	color: #1480cd;
}

#gamelist tr.on td.coldev:hover a {
	color: #000;
}

#gamelist td.colfav a {
	background: url(../images/html/icons/stars.png) no-repeat center top;
	cursor: pointer;
	display: block;
	height: 18px;
	margin-left: 9px;
	width: 18px;
}

#gamelist td.colfav a.on {
	background-position: center -18px;
}

#gamelist td.colfav a:hover {
	background-position: center -36px;
}

#gamelist tbody tr:hover {
	background-color: #212121;
}

#gamelist tbody tr.on {
	background-color: #1480cd;
}

/* Settings */
#gamesettingbuttons {
	margin: 0 20px 10px;
	text-align: right;
}

#gamesettings {
	margin: 10px;
}

#gamesettings > div {
	background-color: #2c2c2c;
	border-radius: 0 2px 2px 2px;
}

#gamesettings ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

#gamesettings ul.tabs li {
	display: inline;
	float: left;
	margin-right: 5px;
	position: relative;
}

#gamesettings ul.tabs li a {
	background-color: #212121;
	border-radius: 2px 2px 0 0;
	color: #666;
	display: block;
	font-size: 1.2em;
	line-height: 1.5;
	padding: 4px 10px;
	text-decoration: none;
	text-transform: uppercase;
}

#gamesettings ul.tabs li a.on {
	font-weight: bold;
}

#gamesettings ul.tabs li a.on,
#gamesettings ul.tabs li a:hover {
	background-color: #2c2c2c;
	color: #fff;
}

#gamesettings table.gamesettings {
	padding: 10px;
}

#gamesettings tr th,
#gamesettings tr td {
	padding: 2px 0;
}
	
#gamesettings tr th {
	color: #666;
	width: 160px;
	text-align: right;
	padding-right: 10px;
}

#gamesettings select {
	padding: 1px;
}

#gamesettings select.setting_cvar {
	width: 300px;
}

#gamesettings input.text {
	width: 500px;
}

#gamesettings input.error {
	color: #cc0000;
}

#gamesettings img.theme_big_img {
	background-color: #000;
	border: 5px solid #000;
	height: 300px;
	max-width: 100%;
}

#gamesettings img.theme_subimage {
	float: left;
	margin: 5px;
}

#gamesettings img.theme_subimageon {
	margin: 0;
	border: 5px solid #000;
}

#gamesettings img.theme_subimage:hover {
	background-color: #000;
	border: 3px solid #666;
	margin: 0;
	padding: 2px;
}

#gamesettings span.note {
	color: #666;
}

#gamesettings span.error {
	color: #c00;
	font-weight: bold;
}

/* Darkness */
#overlay {
	background: #000;
	height: 100%;
	left: 0;
	opacity: 0.9;
	overflow: hidden;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 3;
}

/* Playlist */
#overlayplaylist, #overlayproperties, #overlay_addfriend, #overlay_disconnect {
	display: none;
	overflow: hidden;
	padding: 2px;
	position: fixed;
	z-index: 3;
}

#overlayplaylist label {
	color: #666;
	display: block;
	line-height: 20px;
	padding: 3px 6px 2px;
}

#overlayplaylist checkbox {
	float: left;
	margin-right: 5px;
}

#overlayplaylist div.item {
	background: #2c2c2c;
	cursor: pointer;
	font-size: 2em;
	line-height: 1;
	margin-bottom: 2px;
	padding: 5px 10px;
}

#overlayplaylist div.content div:first-child {
	border-radius: 2px 2px 0 0;
}

#overlayplaylist div.content div:last-child {
	border-radius: 0 0 2px 2px;
}

#overlayplaylist div.on {
	background: #1480cd;
}

/* Properties */
#overlayproperties div.title {
	font-size: 2em;
	line-height: 1;
	margin-bottom: 2px;
	padding: 5px 10px;
}

#overlayproperties div.content {
	background: #2c2c2c;
	color: #666;
	margin-bottom: 2px;
	padding: 10px;
	border-radius: 2px;
}

#overlayproperties div.content p {
	color: #fff;
	margin: 0;
}

#overlayproperties div.content p.heading {
	font-weight: bold;
}

#overlayproperties div.content input.text {
	float: right;
	margin-left: 5px;
}

#overlayproperties div.content label {
	float: right;
	line-height: 24px;
}

#overlayproperties div.buttons {
	padding: 5px 10px;
	text-align: right;
}

#overlayproperties div.buttons label {
	color: #666;
	display: block;
	float: left;
	line-height: 20px;
	padding: 3px 0 2px;
}

#overlayproperties div.buttons input.checkbox {
	float: left;
	margin-right: 5px;
}