/* Game List */

/* game lobby*/

/* game lobby box flex */

.casino-feed {
margin-top:15px;
position: relative;
}

/* Search Bar */

.wrap-search-filter{
	display: flex;
    flex-flow: row nowrap;
justify-content: space-between;
border: none;
    background: #FFFFFF;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
    
    height: 55px;
    margin-bottom: 20px;

}

.wrap-search-filter .search-holder{
	width: 88%;
    	border: none;
	margin-bottom: 16px;
   	line-height: 55px;
overflow: hidden;
}

.wrap-search-filter .search-holder .search i{
	color: #ddd;
    display: inline-block;
    font-size: 16px;
    line-height: 55px;
    padding: 0 20px;
    box-sizing: border-box;
}

.form-style-lobby {
    height: 55px;
    
    background-color: #fff;
    width: 90%;
    border: 0;
    font-size: 14px;
}

.wrap-search-filter .filter-holder{
	
    width: 10%;
 
    border: none;
    background: #ff6600;
   
    max-height: 55px;
    line-height: 55px;
    
    text-align: center;
    float: right;
}
.wrap-search-filter .filter-holder .filterButton{
	text-decoration: none;
    color: #FFF;
    line-height: 55px;
    display: block;
    cursor: pointer;
}

.wrap-search-filter .filter-holder .filterButton img{
	display: inline-block;
    width: 16px;
    padding-right: 10px;
}

.wrap-search-filter .filter-holder .filterButton span{
	display:inline-block;
}

div#filterSection {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: 101;
}

.section-header a.filterButton{
	margin-right: 35px;
}

.casino-feed .section-header a::after {

content: "";
    background-image: url(/img/assets/svg/icon-sorting_answers.svg);
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    right: 12px;
    top: 12px;
}

div.list {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start
}

.list .col-md-3:first-child, .list .col-md-3:nth-child(4n+5) {
    margin-left: 0;
}

div.lobby.col-md-3 {
    width: calc(100%/4 - 11px);
    max-height: 210px;
    max-width: 280px;
    min-width: 245px;
    background: #FFFFFF;
    margin-bottom: 20px;
    margin: 24px 0 0 16px;

}

div.lobby.item.col-md-3 { 
width: calc(25% - 8px);
box-sizing: content-box;
max-height: none;
max-width: none;
min-width: none;
background: transparent;
margin: 0 4px 4px 4px;
}

div.lobby.item.col-md-3 h3.SerchName {
background-color: #FFF;
}

div.lobby.col-md-3:hover{
webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
    -moz-box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.25);
}

div.imagen {
 position: relative;
 background-color: white;
 

}

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

.lobby img.lazy {
width:auto;
}

.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: 8px 12px 8px 12px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.favorite {
    color: #FFF;
    cursor: pointer;
    right: 2;
    top: 2; 
    padding: 2px 5px;
    position: absolute;
    text-align: left;
    z-index: 100;
}



/*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: 100;}
    
    .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;
}

/* End */



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


/*Game lobby mobile*/

div#lobby-list {

margin: 0 15px;
} 

div.list {

    justify-content: space-between!important;
}

div.lobby.col-md-3  {
margin-bottom: 5px;
/* max height - prevent to collaps once games failed to load*/
max-height: 170px;
background-color: #2D2D2D;
color: #fff;
margin:0 0 5px 0px!Important;
    }
    
.lobby img {
           max-height: 137px;
}

div.list h3 {

   

}

}


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

 div.lobby.col-md-3  {
width: 49%; 
min-width: unset;
}

div.lobby.item.col-md-3  {
width: 25%; 
box-sizing: border-box;
padding: 0 2px;
min-width: unset;
background-color: transparent;
}

.item h3.SearchName {
background-color: #ffffff;
}
.casino-feed .section-header a::after { 
    right: 15px;
    top: 7px;
}

.section-header a.filterButton{
	margin-right: 20px;
}

.form-style-lobby {
    width: 75%;
}

.wrap-search-filter .search-holder .search i {
    padding: 0px 15px;
}

.wrap-search-filter .filter-holder {
    width: 35%;
}}

@media only screen and (min-device-width : 481px) and (max-device-width : 768px)  {
div.lobby.item.col-md-3  {
width: 33.33%; 
}}


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

div.lobby.item.col-md-3  {
width: 50%; 
}}
