/* Game List */

/* game lobby*/

/* game lobby box flex */
div.list {
     display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}


div.lobby.col-md-3 {
    width: calc(100% * (1/4) - 10px - 1px);
    max-height: 210px;
    max-width: 280px;
    min-width: 245px;
    background: #FFFFFF;
    margin-bottom: 20px;
}

div.imagen {
 position: relative;
}

.lobby img {
    width: 100%;
    height:auto;
   max-height: 156.8;
}

.linklobby {
    position: absolute;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    bottom: 0;
    top:0;
    opacity: 0;
    text-align: center;
    transition: 0.3s ease-out;
    
}

.linklobby:hover {
    opacity: 1;
    padding: 35px 0 0 0;
   
    
}

a.naranja {
    
    background-color: #ff6501;
    color: #FFF;
    transition: 0.3s easy;
}

.blanco {
   
    background-color: rgb(187, 187, 187, 0) ;
    border: 2px solid #E3E3E3;
    color: #FFF;
    transition: 0.3s easy;
}

    .linklobby a.naranja:hover {
        
        background-color: #ff6501;
        color: #FFF !important;
    }

    a.blanco:hover {
         background-color: rgb(187, 187, 187, 1);
        color: #FFF !important;
    }

.linklobby a {
    display: block;
    margin: 5px auto;
    padding: 5px 10px 5px 10px;
    width: 80%;
    cursor: pointer;
    border-radius: 3px; }
    
    
    h3.SearchName, .gamelist h3 {
    font-weight: 600;
    font-size: 12px;
    padding: 5px 5px 10px 20px;
    margin: 0;}
    
    
    div#filter {
        display:none;
}


.favorite {
    color: #FFF;
    cursor: pointer;
    left: 0;
    padding: 2px 5px;
    position: absolute;
    text-align: left;
    top: 0; 
    display:none;
}



/*mobile lobby*/
.mobilebuttons {
    margin: 35vh auto;
    width:100%;
}

    
    .linklobbymobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: none;
    z-index: 9999;
-webkit-transform: translateZ(0px)!important;
-webkit-transform: translate3d(0,0,0)!important;
-webkit-perspective: 1000!important;
}
    
    .linklobbymobile a {
    display: block;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    margin: 0px auto;
    padding: 15px 0;
    width: 60%;
        
    }
    
.linklobbymobile .fa-times  {
   display: inline-block;
    color: #FFF;
    font-size: 30px;
    position: absolute;
    right: 27px;
    top: 134px;
}

.fa-times:before {
    content: "\f00d";
}


.gamelist{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between; 
}

.lobby-grid{
    display: flex;
    flex-flow: row wrap;
    overflow: unset;
    justify-content: space-between; 
    padding: 15px;
    padding-top: 0;
}

.lobby-cards{
    width: calc(100% * (1/2) - 2px - 1px);
    background: #2D2D2D;
    margin-bottom: 5px;
    flex-grow: 0;
    display: block;
}

.lobby-cards .lobby-game-card-title{
    font-weight: 600;
    font-size: 12px;
    display: block;
    color: #ffffff;
}

.game-card{
    width: calc(100% * (1/4) - 10px - 1px);
    max-height: 210px;
    max-width: 280px;
    background: #FFFFFF;
    margin-bottom: 20px;
}

.game-card:hover{
    cursor: pointer;    
}


.game-card-thumbnail img{
    width: 100%;
    height: auto;
}
.game-card-footer{
    padding: 5px 5px 10px 20px;
}
.game-card-title{
    font-weight: 600;
    font-size: 12px;
    display: block;
}
.game-card-cat{
    font-size: 12px;
    font-weight: 300;
    display: block;
}

.list .lobby a {

    text-decoration: none;

}

.list .lobby a .SearchName {

    color: #000000;

}

/* End */



@media screen and (max-width: 1024px) {


/*Game lobby mobile*/

 div.lobby.col-md-3  {
          margin-right: 10px;
          /* max height - prevent to collaps once games failed to load*/
          max-height: 170px;
    }
    
    div.lobby.col-md-3:first-of-type {
          margin-left:20px;
    }
    
    div.list {
        flex-flow: row;
     clear: both;
    overflow-x: scroll!important;
    overflow-y: hidden!important;
   -webkit-overflow-scrolling: touch!important; 
    overflow: -moz-scrollbars-none!important;
    }

 div.lobby.col-md-3  {
          margin-right: 10px;
          /* max height - prevent to collaps once games failed to load*/
          max-height: 170px;
    }
    
    div.lobby.col-md-3:first-of-type {
          margin-left:20px;
    }
    
    div.list {
        flex-flow: row;
        overflow:scroll;
      -webkit-overflow-scrolling: touch;
    }
    
.lobby img {
           max-height: 137px;
}



}