.hardware-wrapper, .dev-wrapper, .games-wrapper {
  padding: 0px 40px;
}

.gamecards {
  display: flex;
  flex-wrap: wrap;
  display: none;
  margin: 0 auto;
}

.gamecard {
  width: 200px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.3s ease-in-out;
  border-radius: 5px;
}

/* .gamecard.untested {
  cursor: default;
} */

.gamecard:hover {
  box-shadow: 0px 0px 19px 1px rgba(0, 0, 0, 0.29);
  transition: box-shadow 0.3s ease-in-out;
}

.gamecard.untested {
  opacity: .8;
  filter: grayscale(1);
  /* transition: all .2s ease-out; */
}

.gamecard.clone .gamedata .gamename {
  color: #558282;
}

.gamecard.untested:hover {
  opacity: 1;
  filter: grayscale(0);
  /* transition: all .2s ease-out; */
}

.gamevisual {
  width: 200px;
}

.gamevisual img {
  vertical-align: bottom;
  width: 200px;
}

.missingscreenshot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 120px;
  background: #e0e0e0;
  color: white;
}

.missingscreenshot i {
  font-size: 150%;
  margin-bottom: 3px;
}

.gamevisual.hardware {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
  /* background-color: #e4e4e4; */
  background: repeating-linear-gradient(45deg,#ececec,#ececec 10px,#e8e8e8 10px,#e8e8e8 20px);
  border-radius: 5px 5px 0px 0px;
}

.gamevisual.hardware a {
  text-align: center;
}

.gamevisual.hardware img {
  width: auto;
  margin: 0 auto;
}

.gamedata {
  background: white;
  padding: 10px;
  display: flex;
  align-items: center;
  border-radius: 0px 0px 5px 5px;
}

.gamedata.hardware {
  padding: 5px 10px;
}

.gamedata .gamename {
  display: block;
  font-family: "Raleway", sans;
  font-size: 15px;
}

.gamedata .gameclone {
  color: #1f495e;
  display: block;
  font-style: italic;
  font-size: 12px;
}

.gamedata .gametechdata {
  color: #9e9e9e;
  font-size: 11px;
  margin-top: 5px;
}

.gamedata .gameinfos {
  flex: 1;
}

.gamedata .gamesupport {
  padding-left: 5px;
}

.gamedata .gamedev {
  margin-right: 5px;
}

.gamedata .gameyear {
  margin-right: 5px;
}

.gamedata .gamenote {

}

/* List mode toggle */
#listModeToggle {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

#listModeToggle .current {
  color: #b7b7b7;
  font-size: 18px;
}

.tools .sort {
  color: #b7b7b7;
  font-size: 18px;
  margin: 0px 10px 0px 20px;
}

[data-listmode] {
  cursor: pointer;
  color: #b7b7b7;
  margin-left: 10px;
}

/* list mode */
.gamecards.list {
  display: flex;
  flex-direction: column;
}

.gamecards.list .gamecard {
  width: 100%;
  margin-bottom: 0px;
  display: flex;
  flex-direction: row;
  min-height: 38px;
}

.gamecards.list .gamecard:hover {
  box-shadow: none;
  transition: none;
}

.gamecards.list .gamevisual {
  /* width: 40px;
  height: 40px;
  overflow: hidden; */
  display: none;
}

/* .gamecards.list .gamevisual img {
  width: 40px;
} */

.gamecards.list .gamedata {
  flex: 1;
  padding: 0px;
  border-radius: 5px;
}

.gamecards.list .gamedata .gametechdata {
    margin-top: 0px;
    flex-basis: 55%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gamecards.list .gamedata .gameinfos {
  padding-left: 15px;
}

.gamecards.list .gamedata .gamename {
  /* font-weight: 600; */
}

.gamecards .gamedata .gamehighscore {
    display: none;
}

.gamecards.list .gamedata .gamehighscore {
  display: block;
  flex-basis: 10%;
  font-size: 16px;
  position: relative;
  top: 2px;
}

.gamecards.list.compact .gamedata .gamehighscore {
    flex-basis: 10%;
    font-size: 13px;
    margin-right: 5px;
}

.gamecards.list .gamedata .gamedev {
    flex-basis: 30%;
}

.gamecards.list .gamedata .gameyear {
    flex-basis: 30%;
}

.gamecards.list .gamedata .gamenote {
    flex-basis: 30%;
    flex-shrink: 0;
    min-width: 50px;
}

.gamecards.list .gamecard:nth-child(odd) .gamedata {
  background: none;
}

.gamecards.list .gamecard:nth-child(even) .gamedata {
  background: white;
}

.gamecards.compact.list .gamecard:nth-child(odd) .gamedata {
  background: white;
}

.gamecards.compact.list .gamecard:nth-child(even) .gamedata {
  background: none;
}

.gamecards.list .gamecard .gamedata:hover {
  background: #ffede6;
  transition: background .15s ease-out;
}

/* No hover mode */
.gamecards.list.nohover .gamecard {
  cursor: default;
}

.gamecards.list.nohover .gamecard:nth-child(even) .gamedata:hover {
  background: none;
}

.gamecards.compact.list.nohover .gamecard:nth-child(odd) .gamedata:hover {
  background: white;
}

.gamecards.list .gamedata .gameinfos {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gamecards.list .gamedata .gameclone {
  color: #a0a0a0;
}

.gamecards.list .gamedata .gamesupport {
    margin-right: 5px;
    display: flex;
    align-items: center;
    flex-basis: 12%;
    justify-content: flex-end;
    color: #9e9e9e;
    font-size: 11px;
}

.gamecards.list .gamedata .gamesupport.multiple {
    flex-basis: 20%;
    flex-wrap: wrap;
}

.gamecards .gamedata .gamesupport .gamesupportname {
  display: none;
}

.gamecards.list .gamedata .gamesupport .gamesupportname {
  display: block;
  margin-right: 10px;
  text-align: right;
}

/* Developers pages */
.developerData {
  display: none;
  flex-basis: 70%;
  color: #9e9e9e;
  font-size: 11px;
}

.gamecards.list .developerData {
  display: flex;
}

.editorcontent, .editortotal {
  flex-basis: 10%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editortotal.hardware {
  flex-basis: 10%;
}

.editorcontent {
  font-size: 20px;
}

.editornotes {
  flex-basis: 70%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editoryears {
  flex-basis: 20%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar {
  display: inline-flex;
  align-items: center;
  width: 242px;
  height: 35px;
}

.radar.small {
  height: 25px;
}

.bulletnote {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  margin-right: 5px;
}

.radar_0 { background-color: #4e4c4c; }
.radar_1 { background-color: #914538; }
.radar_2 { background-color: #d12a24; }
.radar_3 { background-color: #e14b22; }
.radar_4 { background-color: #e17222; }
.radar_5 { background-color: #e29b21; }
.radar_6 { background-color: #e4c41e; }
.radar_7 { background-color: #cdd726; }
.radar_8 { background-color: #87c037; }
.radar_9 { background-color: #40ae40; }
.radar_10 { background-color: #33aa99; }

.radar .item {
  min-height: 1px;
  border-radius: 7px;
  display: inline-block;
  width: 22px;
  border: 1px solid #1515151f;
}

/* Score mode */
.game_settings {
  margin-top: 10px;
  text-align: center;
  padding: 5px;
  color: #a0a0a0;
  font-size: 12px;
}

.game_settings span {
  margin: 0px 10px;
}

/* Compact mode */
.gamecards.list.compact.score {
  font-size: .8em;
}

.gamecards.list.compact .gamedata .gamesupport .gamesupportname {
  display: none;
}

.gamecards.list.compact.score .gamedata {
  padding: 5px;
}

.gamecards.list.compact.score .gamedata .player {
  flex: 1;
}

.gamecards.list.compact.score .gamedata .score {
  flex-basis: 30%;
  text-align: right;
}

.gamecards.list.compact.score .gamedata .stage {
  flex-basis: 30%;
  text-align: center;
}

.gamecards.list.compact.score .gamedata .onecc {
  flex-basis: 30px;
  display: flex;
}

.gamecards.list.compact.score .gamedata .onecredit {
  font-size: 8px;
  padding: 3px 4px;
  border-radius: 5px;
  color: white;
}

.gamecards.list.compact .gamedev,
.gamecards.list.compact .gameyear {
  display: none;
}
.gamecards.list.compact .gamedata .gametechdata {
  flex-basis: 20%;
  flex-shrink: 0;
}

/* Footer mode */

.gamecards.compact.footer .gamecard:nth-child(odd) .gamedata {
  background: none;
}

.gamecards.footer .gamecard .gamedata {
  background: none;
}

.gamecards.footer .gamecard .gamedata:hover {
  background:#ffffff21;
}