html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: arial, sans-serif;
	font-size: 12px;
	background: #000;
	color: #fff;
}

#content {
	box-sizing: border-box;
	min-height: 100%;
	padding-top: 85px;
	padding-bottom: 37px;
	margin-bottom: -37px;
}

#session {
	float: right;
	font-size: 12px;
}

#footer {
	padding: 9px 0;
	border-top: 1px solid #4f6990;
	background: #2c3a50;
}

.navbar-dark {
	background-color: #0c1a30 !important;
}

.navbar-brand {
	background-image: url('/images/logo.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
	text-indent: -9999em;
	width: 340px;
	max-width: 80%;
}

.navbar-form .form-control {
	background-color: #000;
	border-color: #4f6990;
}

.navbar-form .btn {
	background-color: #2f4970;
	border-color: #4f6990;
}

.subnav {
	padding: 0 1rem;
	background-color: #2c3a50 !important;
	border-top: 1px solid #4f6990;
	border-bottom: 1px solid #4f6990;
}

.subnav a {
	color: #ccc !important;
	font-weight: bold;
}

a   { color: #ccc; text-decoration: none; }
h2  { font-size: 12pt; }
img { border: 0; }
p   { margin: 0 0 1em 0; padding: 0; }

.more {
	float: right;
	color: #fff;
	font-size: 12px;
	margin: -2px 0 0 0;
	display: block;
}

.pages { clear: both; font-size: 10pt; text-align: center; padding: 15px 0 0 0; }

#game {
	clear: both;
	margin: 0 auto;
	padding: 0 0 10px 0;
}

div.title {
	border: 1px solid #4f6990;
	background: #2c3a50;
	padding: 5px;
	margin-bottom: 5px;
	text-align: left;
	font-size:10px;
}

/**************/
/* Game Cards */
/**************/
div.game-card {
	display: flex;
	margin-bottom: 10px;
}

.game-card-left {
	margin-right: 5px;
	width: 100px;
}

.game-card-right {
}

div.game-card img {
	width: 100px;
	height: 100px;
}

div.game-card .game-title,
div.game-card .game-author {
	 display: block;
}

div.game-card .game-title {
	font-weight: bold;
	font-size: 14px;
	color: #fff;
}

div.game-card p {
	display: block;
	color: #aaa;
}

div.game-card .rating {
	display: block;
	text-align: center;
	background-color: #2c3a50;
}

/*************/
/* Game rows *
/*************/
div.game_row {
  position: relative;
  font-size: 12px;
  height: 25px;
  padding: 0 0 2px 0;
  margin: 0 0 2px 0;
  border-bottom: 1px solid #222;
}

div.game_row img {
  width: 25px;
  height: 25px;
  margin: 0 0 5px 0;
}

div.game_row .date,
div.game_row .votes,
div.game_row .rating,
div.game_row .plays,
div.game_row .game_title {
  position: absolute;
  top: 4px;
}
div.game_row .game_title { left: 30px; }
div.game_row .date       { right: 250px; text-align: right; }
div.game_row .plays      { right: 0px; text-align: right; }
div.game_row .votes      { right: 0px; text-align: right; }
div.game_row .rating     { right: 0px; text-align: right; }

/*****************/
/* Tags and Links*/
/*****************/
ul.tags, ul.links  {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

ul.tags li, ul.links li {
  padding: 0;
  display: block;
  width: 12.5%;
  float: left;
  text-transform: capitalize;
}

ul.links li {
  width: 20%;
}

/***********/
/* Ratings */
/***********/
#rating { width: 80px; height: 16px; overflow: hidden;  margin: 0 auto 2px auto; padding: 0; list-style: none; clear: both; position: relative; background: url('/images/ratings.png') repeat-x left top; }
#currentrating { font-weight: bold; padding: 0 0 2px 0; }

ul#rating li a,
ul#rating li a:hover,
ul#rating li a:active,
ul#rating li a:focus,
ul#rating li.current {
  background: url('/images/ratings.png') left -1000px repeat-x;
}

ul#rating li {
  display: inline;
}

ul#rating li a:hover,
ul#rating li a:active,
ul#rating li a:focus {
  background-position: left bottom;
}

ul#rating li a,
ul#rating li.current {
  position: absolute;
  top: 0;
  left: 0;
  text-indent: -1000em;
  height: 16px;
  line-height: 16px;
  outline: none;
  overflow: hidden;
  border: none;
}

ul#rating li.one a   { width: 20%; z-index: 6; }
ul#rating li.two a   { width: 40%; z-index: 5; }
ul#rating li.three a { width: 60%; z-index: 4; }
ul#rating li.four a  { width: 80%; z-index: 3; }
ul#rating li.five a  { width: 100%; z-index: 2; }
ul#rating li.current { z-index: 1; background-position: left center; }

/*******************/
/* social networks */
/*******************/
p.social img {
  display: block;
  padding: 2px;
  float: left;
}

/*********/
/* Forms */
/*********/

td.label { font-size: 12px; font-weight: bold; width: 150px; text-align: right; padding: 0 10px 10px 0; }
td.input { width: 300px; padding: 0 5px 10px 0; }
td.input input { width: 100%; }
td.note  { font-size: 10px; font-style: italic; font-weight: normal; color: #eee; padding: 0 0 10px 0; }

/**********/
/* tables */
/**********/
table.tablesorter {
        font-family:arial;
        background-color: #4f6990;
        margin:10px 0pt 15px;
        font-size: 8pt;
        width: 100%;
        text-align: left;
}
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
        background-color: #2c3a50;
        border: 1px solid #222;
        font-size: 8pt;
        padding: 4px;
}
table.tablesorter thead tr .header {
        background-image: url(/images/bg.gif);
        background-repeat: no-repeat;
        background-position: center right;
        cursor: pointer;
}
table.tablesorter tbody td {
        color: #ffffff;
        padding: 4px;
        background-color: #000;
        vertical-align: middle;
}
table.tablesorter tbody tr.odd td {
        background-color:#0c1a30;
}
table.tablesorter thead tr .headerSortUp {
        background-image: url(/images/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
        background-image: url(/images/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
	background-color: #5c6a80;
}

@media (max-width: 767px) {
	#content {
		padding-top: 60px;
	}

	.navbar-form {
		margin-top: 5px;
	}	
}
