/* Zeroback casino / slot lobby pages — matches 라이브카지노.html / 슬롯.html */

.zb-lobby.sub_content_arr {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  width: auto;
  margin: 10px;
  padding: 10px;
  padding-top: 60px;
  box-sizing: border-box;
  clear: both;
}

.zb-lobby-title,
body.zb-shell .zb-lobby h2.zb-lobby-title {
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  height: 50px !important;
  line-height: 50px !important;
  margin: 0 !important;
  padding-left: 15px !important;
  border-bottom: solid 1px #444 !important;
  text-align: left !important;
  font-size: 25px !important;
  font-weight: 600 !important;
  color: #ff0000 !important;
  -webkit-text-fill-color: #ff0000 !important;
  background: none !important;
  animation: none !important;
  float: none !important;
  width: auto !important;
  display: block !important;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.7);
  z-index: 2;
}
.zb-lobby-title small,
body.zb-shell .zb-lobby h2.zb-lobby-title small {
  font-weight: 100 !important;
  font-size: 20px !important;
  color: #999 !important;
  -webkit-text-fill-color: #999 !important;
  margin-left: 6px;
}

.zb-lobby-side.submain-img {
  float: left;
  width: 40%;
  height: 700px;
  box-sizing: border-box;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-animation: zbLobbySidePulse 2.6s infinite;
  animation: zbLobbySidePulse 2.6s infinite;
  position: relative;
}

.zb-lobby-side-casino {
  background-image: url("/images/submain-casino.png");
}
.zb-lobby-side-slot {
  background-image: url("/images/submain-slot.png");
}
.zb-lobby-side-minigame {
  background-image: url("/images/submain-minigame.png");
}

.zb-lobby-companys.companys {
  float: right;
  width: 60%;
  box-sizing: border-box;
  padding: 10px;
}

.zb-lobby-grid.submenu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0;
}

.zb-lobby-grid > li {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  display: inline-block;
  vertical-align: top;
  width: 32.33%;
  margin: 0.5%;
  padding: 5px;
  transition: 0.2s;
  font-size: 14px;
}

.zb-lobby-grid > li.zb-lobby-empty {
  width: 100%;
  margin: 0;
  padding: 40px 10px;
  color: #999;
  cursor: default;
  font-size: 14px;
}

.zb-lobby-card,
.zb-lobby-card.companys-title,
.zb-lobby-card.companys-title2 {
  display: block;
  width: 100%;
  margin: 0;
  border: none;
  position: relative;
  transition: transform 0.35s ease;
  text-decoration: none !important;
  color: #fff !important;
  background: transparent;
  background-size: 100% !important;
}
.zb-lobby-card:hover {
  transform: scale(1.1);
  z-index: 2;
}
.zb-lobby-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 100px;
  object-fit: cover;
  border-radius: 2px;
  background: #111;
}
.zb-lobby-card span {
  cursor: pointer;
  display: none;
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 0;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #ffc160;
  background: rgba(0, 0, 0, 0.8);
}
.zb-lobby-card:hover span {
  display: block;
}

@keyframes zbLobbySidePulse {
  0% {
    background-position-y: 0;
    transform: scale(1);
  }
  50% {
    background-position-y: 5px;
    transform: scale(1.03);
  }
  100% {
    background-position-y: 0;
    transform: scale(1);
  }
}

@media screen and (max-width: 1023px) {
  .zb-lobby.sub_content_arr {
    margin: 6px;
    padding: 52px 4px 16px;
    min-height: 0;
  }
  .zb-lobby-title,
  body.zb-shell .zb-lobby h2.zb-lobby-title {
    font-size: 18px !important;
    height: 44px !important;
    line-height: 44px !important;
  }
  .zb-lobby-title small,
  body.zb-shell .zb-lobby h2.zb-lobby-title small {
    font-size: 13px !important;
  }
  .zb-lobby-side.submain-img {
    display: none;
  }
  .zb-lobby-companys.companys {
    float: none;
    width: 100%;
    padding: 4px;
  }
  .zb-lobby-grid > li {
    width: 48%;
    margin: 1%;
  }
  .zb-lobby-card span {
    display: block;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
  }
  .zb-lobby-card:hover {
    transform: none;
  }
}
