/*

Custom style

You can override the default class or style here

This file will not be overwritten by the updater

*/
p {
  margin-bottom: 20px;
}
.container {
  max-width: 100%;
}

.img-rounded {
  border-radius: 5%;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  column-gap: 16px;
  margin-bottom: 16px;

  /* Adjusting thumbnail auto rows */
  grid-auto-rows: minmax(auto, auto);
  grid-auto-flow: dense;

  /* Fixing spacing issue between items */
  row-gap: 16px;
}

.grid-item {
  border-radius: 7px;
}
.span-header {

  display: flex;
  flex-direction: column;
  align-items: self-start;
  justify-content: flex-start;
  padding-top: 10px;
}

.span-header {
	grid-column-end: span 2;
	grid-row-end: span 1;
}

.span-2 {
  grid-column-end: span 2;
  grid-row-end: span 2;
}

.span-3 {
  grid-column-end: span 3;
  grid-row-end: span 3;
}
img.small-thumb {
  width: 100%;
  border-radius: 7px;
}
.list-game {
  border-radius: 5px;
  position: relative;
}

.grid-layout .list-title {
  overflow: hidden;
  padding: 0.35714em;
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  position: absolute;
  top: 50%;
  pointer-events: none;
  opacity: 0;
  font-weight: bold;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}
.list-thumbnail {
  border-radius: 7px;
}
#mainNav {
  width: 100%;
}
#mainNav .container {
  padding-left: 18px;
  padding-right: 18px;
  justify-content: flex-start;
}
/* there is no nav item */
#mainNav .navbar-nav {
  display: none;
}
body .jquery-comments .highlight-background {
  background: #FF5C35!important;
}

.left-panel-block .category-item li {
	color: rgba(0, 0, 0, 0.9);
}

@media (hover: hover) and (pointer: fine) {
  .grid-layout .list-game:hover > .list-title {
    opacity: 1;
    transition: all 0.5s ease;
  }
  .list-thumbnail:hover {
    background: rgba(33,51,67,.8);
    opacity: 1;
    transition: all 0.5s ease;

  }
  .list-thumbnail:hover img {
    position: relative;
    z-index: -1;
}
}
@media(max-width: 1199.98px){
  .game-wrapper .grid-layout {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;

}

#mainNav .container {
  justify-content: flex-end;
}

.navbar-brand {
  margin-top: 11px;
}

}

@media only screen and (max-width: 767px) {
  .grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(121px, 1fr));

    /* Adjusting thumbnail auto rows */
    grid-auto-rows: minmax(auto, auto);

    /* Fixing spacing issue between items */
    grid-gap: 14px;
    row-gap: 14px !important ;
  }


}

@media(max-width: 575.98px){
  .span-header {
    flex-direction: row;
    align-items: flex-start;
    padding-bottom: 15px;
    grid-column-end: span 3;
  }
  .top-nav{
    padding-top: 0;
  }
}
.content-right,.left-panel-block {
  display: none;
}
@media(min-width: 576px){
  .span-header {

    max-width: 295px;
  }
}
@media(min-width: 1200px){

  .game-wrapper {
    display: grid;
    grid-template-columns: auto 3fr 300px;

}
.game-wrapper .span-header {

  justify-content: flex-start;

}

.content-right,.left-panel-block {
  margin-top: 20px;
  margin-left: 20px;
  display: block;
}
}