﻿.dummy {
	color: red; /* why does the first style selector not register?? */
}

.filter-vertical .game:not(.vertical),
.filter-horizontal .game.vertical,
.filter-has-issues .game:not(.has-issues),
.filter-text .game:not(.matches-text-filter) 
{
	display: none;
}


h1 {
	margin-left: 15px;
	font-size: 2em;
	font-weight: bold;
	margin-right: 10px;
	display: inline-block;
}
h2 {
	font-size: 1.17em;
	display: inline-block;
	font-weight: normal;
	opacity: 50%;
}

a {
	cursor: pointer;
}

.wanted {
	cursor: default;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 10;
	background: white;
	padding: 5px 15px;
	border: 1px solid #999;
	text-align: right;
}

	.wanted ul {
		list-style-type: none;
		padding 0;
		display: none;
		margin: 10px 0;
	}

		.wanted ul li {
			padding: 0;
			margin: 0;
			font-size: 12px;
		}

	.wanted:hover {
		font-size: 20px;
	}

		.wanted:hover ul {
			display: block;
		}

nav {
	display: flex;
	justify-content: space-between;
}
.filtering {
	margin-top: 5px;
	font-size: 15px;
	line-height: 1.3em;
}
.filtering a {
	line-height: 1.3em;
	padding-bottom: 6px;
}

.topcompanies {
	max-width: 300px;
	font-size: 13px;
	overflow-y: hidden;
	max-height: 55px;
	position: absolute;
	right: 0;
	padding: 2px 5px;
	background: inherit;
}
.topcompanies h3 {
	padding: 0;
	margin: 0;
	font-size: 12px;
	font-weight: normal;
}
.topcompanies:hover {
	max-height: none;
}
@media only screen and (max-width: 1000px) {
	.topcompanies {
		display: none;
	}
}

.game.has-issues .image:after {
	content: '';
	display: block;
	position: absolute;
	right: -2%;
	bottom: -3%;
	width: 27%;
	top: 0;
	background-image: url(/wrench.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: bottom;
	opacity: 0.75;
}
		
.game .image {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	margin: auto;
	position: relative;
	aspect-ratio: 4 / 3;
}
.game.vertical .image {
	background-size: 100% 160%;
}

.game.clone.vertical .image {
	aspect-ratio: 3 / 4;
}
.game.clone:not(.expanded) .image img {
	min-width: 400px;
}
.game.clone.vertical:not(.expanded) .image img {
	min-width: 300px;
}

.game .subGame {
	display: none;
}

.game.clone .subGame {
	display: block;
}

.subGame .subImage {
	height: 100px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
}

.game.invisible {
	-moz-opacity: 0.0;
	opacity: 0.0;
	filter: alpha(opacity=0);
	position: absolute;
}

/*form div > span {
	display: inline-block;
	margin-right: 10px;
	width: 100px;
}*/

.matches {
	background: white;
	border: 1px solid #999;
	position: absolute;
	width: 200px;
	margin-left: 100px;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
	font-stretch: extra-condensed;
}

	.matches .result {
		padding: 2px 5px;
		font-weight: normal;
		font-size: 0.7em;
		cursor: pointer;
		user-select: none;
	}

		.matches .result.selected {
			background: #4477ff;
			color: white;
		}

#addGameDetails img {
	max-width: 200px;
	max-height: 200px;
}

input[readonly] {
	border: none;
	outline: none;
	font-size: inherit;
	font-family: inherit;
	color: inherit;
	font-weight: inherit;
}

#imageFinder img {
	border: 1px solid #000;
	margin-right: 2px;
	margin-top: 2px;
	max-height: 150px;
	max-width: 150px;
	cursor: pointer;
	min-height: 20px;
	min-width: 20px;
}

#imageFinder div {
	max-height: 700px;
	overflow-y: scroll;
}

#gameInfo > div {
	font-family: sans-serif;
	font-size: 11px;
	font-stretch: normal;
	margin: 3px 0;
}

#gameInfo a {
	font-weight: bold;
}
