﻿/*
	Submission Sections
*/







/*
	Filter box
*/
#filter .header {
	padding: 6px;
}

#filter h2 {
	display: inline-block;
	margin: 0 8px 0 0;
	vertical-align: text-bottom;
}

#filter .header input[type="text"] {
	width: 200px;
	margin: 0 12px 0 0;
}

#filter.collapsed .content {
	display: none;
}

#filter td {
	padding: 8px;
	vertical-align: middle;
}

#filter td.prompt {
	padding-right: 16px;
	text-align: right;
}

#filter .final-step {
	margin: 16px 0 0;
}

#filter .final-step input[type="submit"]{
	padding: 8px 16px;
	font-size: 16px;
}







/* File list */
table.list td.name,
table.list td.desc {
	text-align: left;
}







/*	"View as" links (on section and submission pages) */
.view-select {
	position: absolute;
	top: 0; right: 10px;
	padding: 6px;
	font-size: 13px;
	font-weight: normal;
}
.view-select img {
	position: relative;
	top: 4px;
	margin: 0 6px;
}







/*
	Gallery view
*/
.gallery-sort {
	margin-bottom: 16px;
	text-align: right;
}
.gallery {
	width: 100%;
	text-align: center;
}
.gallery li {
	display: inline-block;
	min-width: 256px;
	max-width: 300px;
	margin: 10px;
	text-align: center;
	vertical-align: top;
}
.gallery li:last-child {
	border: none;
}
.gallery .screenshot-container {
	max-width: 260px;
	min-height: 224px;
	max-height: 250px;
	margin: 0 auto 8px;
	padding: 8px 8px 0;
	overflow: hidden;
}
.gallery li img.screenshot {
	max-width: 256px;
	max-height: 224px;
	border: 1px solid #222;
	box-shadow: 0px 0px 0px 1px #888;
}
.gallery li img.screenshot:hover {
	border: 1px solid #222;
	box-shadow: 0px 0px 0px 1px #888, 0px 0px 3px 3px #666;
}
.gallery li h3 a {
	color: #FFF1A8;
}







/*
	Submission page
*/
#submission-details tr.first td {
	border-top: 1px solid transparent;
}
#submission-details tr.last td {
	border-bottom: 1px solid transparent;
}
#submission-details td {
	padding: 5px 8px;
	text-align: left;
	vertical-align: top;
}
#submission-details td.attr {
	width: 130px;
	text-align: right;
	vertical-align: top;
}
#submission-details td.name {
	font-size: 14px;
	font-weight: bold;
}

#submission-details td.claimed {
	padding-left: 156px;
}

.tag, a.tag {
	position: relative;
	display: inline-block;
	height: 18px;
	margin-right: 8px;
	border: 1px solid #CCC;
	border-radius: 9px 1px 1px 9px;
	padding: 0 8px 0 16px;
	color: #AAA;
	font-weight: normal;
}
a.tag:hover {
	background-color: rgba(255,255,255,0.1);
	color: #CCC;
	text-decoration: none;
}
.tag::after {
	position: absolute;
	left: 6px;
	content: "•";
}

.download-section {
	padding: 16px 0;
	text-align: center;
}
.download-section a.button {
	display: block;
	margin: 0 auto 4px;
	width: 150px;
	padding: 16px 8px;
	font-size: 20px;
}

#gallery, #list, #scroller {
	text-align: center;
}

#gallery img {
	margin: 32px 16px 0;
	border: 1px solid #222;
	box-shadow: 0px 0px 0px 1px #888;
}
#gallery img.small-screenshot {
	margin: 0 16px;
	max-width: 100px;
}







/*
	Hack page
*/

.player-list {
	display: none;
}

#mark-as-played {
	margin-bottom: 16px;
	text-align: center;
}

h1#review-heading {
	margin: 0;
}

.review .header {
	position: relative;
}
.review .review-info {
	position: absolute;
	top: 0;
	right: 8px;
	font-size: 12px;
	font-weight: normal;
}

.review .sidebar {
	float: left;
	width: 150px;
	max-width: 150px;
	padding: 2px 8px;
	overflow-x: hidden;
	text-overflow: ellipsis;
}
.review .sidebar p {
	margin: 0;
	font-size: 11px;
	color: #AAA;
	text-align: center;
}

.review .verdict {
	margin: 3px 5px 3px 166px;
	font-size: 12px;
	color: #BBB;
	text-align: right;
}

.review .content {
	margin-left: 166px;
}

span.accepted, span.rejected {
	background-position: center left;
	background-repeat: no-repeat;
	padding-left: 10px;
}

span.accepted {
	color: #92DB00;
	background-image: url('../images/accepted.png');
}
span.rejected {
	color: #F97;
	background-image: url('../images/rejected.png');
}

span.rating {
	font-weight: bold;
	font-size: 16px;
}

#rating {
	width: 60px;
}







/*
	Memory maps
*/
.memorymap td {
	padding: 4px 8px !important;
	vertical-align: top !important;
}

.memorymap td.addr a {
	font-family: monospace;
	font-weight: normal;
}







/*
	Tag list
*/
#tag-list h3  {
	margin-bottom: 8px;
}
#tag-list h3 .view-all {
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: normal;
}
#tag-list .submission-list {
	display: none;
	margin: 16px 0 32px 16px;
}
#tag-list .submission-list li {
	margin: 2px 0;
}
#tag-list .submission-list li .secondary-info {
	margin-left: 8px;
}