#gameList-favourite {
  min-height: 50px;
}

#carouselContainer div.none:before {
  content: "No games available to you here :(";
}

#carouselContainer #favourite.none:before {
  content: "No Favourites Here! When logged in, click the star in the top corner of a game entry to favourite it!";
}

#carouselContainer #recent.none:before {
  content: "No Recents Here! Perhaps you'd like to play...?";
}

.games .game {
  position: relative;
  margin-right: 1rem;
  margin-bottom: 0;
  width: calc(25% - 1rem);
  float: left;
  background: url(../images/bg-register.jpg) no-repeat center center;
  background-size: cover;
  background-color: rgba(11, 11, 11, 0.75);
  background-blend-mode: luminosity;
  flex-grow: 1;
}
.remainder .game {
  width: calc(50% - 1rem);
}

.game img {
  height: 100px;
  object-fit: fill;
  width: 100%;
  object-fit: scale-down;
}

.game-wrapper .game {
  width: calc(25% - 1rem);
  margin-bottom: 1rem;
}

.carousel-item .game:last-child,
.carousel-item .game:nth-child(4n),
.remainder .game:nth-child(2n) {
  margin-right: 0;
}

.tiny.game img {
    height: 45px;
}


.gamebox-buttons-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.gamebox-buttons-container {
  opacity: 0;
  transition: 0.5s;
}
.gamebox-buttons-container h4 {
  color: #eaeaea;
  text-shadow: 0 3px 5px #404040;
  float: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game:hover .gamebox-buttons-container {
  opacity: 1;
}

.game:not(.tiny):after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: 0.5s;
  -webkit-transition: 0.5s;
}
.game:hover:after {
  opacity: 1;
}

.game a {
  text-decoration: none;
}

.real-btn,
.demo-btn {
  padding: 6px 12px;
  font-size: 1rem;
  text-decoration: none;
  display: block;
  width: auto;
  margin: 10px 20px;
  z-index: 99;
}
.real-btn {
  background: #ffb503;
  border: 1px solid #ffb503;
  color: #000;
  font-weight: bold;
}
.real-btn:hover {
  background: #d1a246;
  color: #fff;
  transition: all 0.3s ease-out;
}

.demo-btn {
  background: #d60006;
  border: 1px solid #d60006;
  color: #fff;
  font-weight: bold;
}

.demo-btn:hover {
  background: #651211;
  color: #fff;
  transition: all 0.1s ease-out;
}
#balloon {
  background-color: #eaeaea;
  border-radius: 10px;
  text-align: center;
  padding: 0.25rem;
  color: #000;
}

.list-load-anim {
  background: url(../../assets/images/loading.svg) no-repeat center center;
  width: 200px;
  height: 200px;
  margin: auto;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #614747 !important;
  color: #ccc !important;
}

/* TABS */
.games-menu {
  border-bottom: none;
  overflow: hidden;
}

.games-menu.nav-tabs .nav-link {
  background-color: #000;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in;
}
.nav-link:focus {
  outline: none;
}

.games-menu .nav-item.show .nav-link,
.games-menu .nav-item .nav-link:hover {
  background-color: #ffc107;
  color: #000;
}

@media only screen and (max-width: 767px) {
  .games .game {
    width: 48%;
    margin-right: 4%;
  }

  .game-wrapper .game {
    width: calc(20% - 0.25rem);
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
    flex-grow: initial;
  }

  .gamebox-buttons-container h4,
  .real-btn,
  .demo-btn {
    font-size: 0.875rem;
  }
  .real-btn,
  .demo-btn {
    padding: 3px 0px;
    margin: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .games .game {
    margin-bottom: 1rem;
  }
  .game img {
    height: 150px;
  }

  .game-wrapper .game:nth-child(4n) {
    width: 25%;
    margin-right: 0;
  }
}

@media only screen and (min-width: 1600px) {
  .game img {
    height: 230px;
  }
}

@media only screen and (max-width: 1024px) {
  .games-menu {
    overflow-x: auto;
  }
}
