.ngdialog.ngdialog-theme-default.ngdialog-gamespopup {
  /*padding-top: 0;*/
}

.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-overlay{
  /*background: rgba(0, 0, 0, 0.1);*/
}

.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-close{
  text-shadow: none;
}

.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-close:before {
  font-size: 40px;
  right: -2px;
  top: -40px;
  color: #ffffff;
  background: #edb021;
  /* border: 2px solid #000000; */
  border-radius: 4px 4px 0 0;
  line-height: 40px;
  width: 55px;
  height: 40px;
}

.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-close:hover:before,
.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-close:active:before {
  color: #ffffff;
}

.ngdialog.ngdialog-theme-default.ngdialog-gamespopup .ngdialog-content{
  min-width: 1072px;
  min-height: 290px;
  border-radius: 0;
  background: #0f0f0f;
  font-size: 15px;
  font-weight: bold;
  color: #ffffff;
  text-align: center;
  padding: 0;
  border: 2px solid #edb021;
}
.ngdialog-games-page.live{
  background: url("/common/images/gamespopup/bg-live.jpg") right no-repeat center top #000000;
  height: 788px;
}
.ngdialog-games-page.slot{
  background: url("/common/images/gamespopup/bg-slot.jpg") right no-repeat center top #000000;
  height: 975px;
}
.ngdialog-games-page.sports{
  background: url("/common/images/gamespopup/bg-sports.jpg") right no-repeat center top #000000;
  height: 570px;
}
.ngdialog-games-page.Others{
  background: url("/common/images/gamespopup/bg-mini.jpg") right no-repeat center top #000000;
  /*height: 780px;*/
}
.ngdialog-games-page{
  /*padding: 1em 1em;*/
  padding: 20px 20px 15px;
}

.ngdialog-games-page nav{
  margin-bottom: 20px;
}
.ngdialog-games-page nav .list-inline{
  margin-left: 0;
  padding-right: 46px;
}

.ngdialog-games-page nav .list-inline>li{
  width: calc(100% / 3 - 10px);
  height: 50px;
  text-transform: uppercase;
  background: #11030d;
  border: 1px solid #edb021;
  color: #ffffff;
  line-height: 50px;
  padding: 0;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 0;
  font-size: 16px;
}

.ngdialog-games-page nav .list-inline>li:last-child {
  position: absolute;
  font-size: 25px;
  right: 16px;
  top: 20px;
  color: #ffffff;
  background: #11030d;
  border: 1px solid #edb021;
  line-height: 46px;
  width: 50px;
  height: 50px;
  border-radius: 0;
  margin-right: 0;
}

.ngdialog-games-page nav .list-inline>li:last-child:hover{
  background: #edb021;
  border: 1px solid #edb021;
}

.ngdialog-games-page nav .close-container{
  background-color: #000000;
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  right: 0;
}

/*.ngdialog-games-page nav .list-inline>li:hover,*/
.ngdialog-games-page nav .list-inline>li.active,
.btn-primary.active{
  border: 1px solid #edb021;
  background: #edb021;
}

.ngdialog-games-page nav .list-inline>li.active a{
  color: #ffffff;
}

.ngdialog-games-page nav .list-inline>li>a{
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}

.ngdialog-games-page .game-button-container{
  width: 1032px;
  position: relative;
  font-size: 0;
  margin: 0 auto;
  animation: cc_anim 1s ease 1;
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  flex-wrap: wrap;
}
.ngdialog-games-page .game-buttons-popup{
  float: left;
  margin-bottom: 10px;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
  border: 1px solid #edb021;
}

.ngdialog-games-page .game-buttons-name{
  height: 45px;
  color: #fff;
  font-size: 14px;
  line-height: 44px;
  background: #0a6b74;
}

.ngdialog-games-page .game-buttons-popup.evo:nth-child(4n+4),
.ngdialog-games-page .game-buttons-popup.live:nth-child(4n+4),
.ngdialog-games-page .game-buttons-popup.slot:nth-child(4n+4){
  margin-right: 0;
}

.ngdialog-games-page .game-buttons-popup.evo,
.ngdialog-games-page .game-buttons-popup.live,
.ngdialog-games-page .game-buttons-popup.slot{
  width: calc(100% / 4 - 6px);
}
.ngdialog-games-page .game-buttons-popup.sports{
  width: calc(100% / 2)
}
.ngdialog-games-page .game-buttons-popup.Others{
  width: calc(100% / 5);
}
.ngdialog-games-page .game-buttons-popup.Powerball.Powerball-1020 {
  width: 100%;
  height: auto;
}
.ngdialog-games-page .game-buttons-popup.Powerball.Powerball-1020:first-child img {
  width: 99%;
}
.ngdialog-games-page .game-buttons-popup.Powerball.Powerball-1020:nth-child(n+2):nth-child(-n+5){
  width: calc(100% / 4 - 0px);
}
.ngdialog-games-page .game-buttons-popup.V2G{
  width: 100%;
  height: auto;
}
.ngdialog-games-page .game-buttons-popup.Powerball img,
.ngdialog-games-page .game-buttons-popup.V2G img{
  /*width: 100%;*/
}

/*.ngdialog-games-page .game-buttons-popup.sports{
  width: calc(98% / 2);
  height: 373px;
  float: left;
  margin-right: 14px;
  position: relative;
  cursor: pointer;
  border: none;
}*/

/*.ngdialog-games-page .game-buttons-popup.Others{
  width: 100%;
  height: 373px;
  border: none;
}*/
/*
.ngdialog-games-page .game-buttons-popup.sports:nth-of-type(2){
  margin-right: 0;
}*/

.ngdialog-games-page .game-buttons-popup.sports:nth-of-type(3n + 3),
.ngdialog-games-page .game-buttons-popup.sports:nth-of-type(7),
.ngdialog-games-page .game-buttons-popup.Others:nth-child(5n+9):nth-child(-5n+19),
.ngdialog-games-page .game-buttons-popup.Powerball:nth-child(5){
  margin-right: 0;
}
.ngdialog-games-page .game-buttons-popup.Others.Others-1020{
  display:none ;
}

/*.ngdialog-games-page .game-buttons-popup.live:nth-of-type(n + 11){*/
/*  margin-bottom: 20px;*/
/*}*/

/*.ngdialog-games-page ..game-buttons-popup.live:hover::after,
.ngdialog-games-page .game-buttons-popup.slot:hover::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  border: 3px solid #fff;
  box-shadow: 0px 0px 10px #d153c7, 0px 0px 10px #d153c7;
  transition: 0.5s;
}*/

@keyframes cc_anim {
  0% {
    top: -20px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}

.ngdialog-games-page .game-buttons-popup:hover .overlay{
  opacity: 1;
}

.ngdialog-games-page .game-buttons-popup .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s;
  opacity: 0;
  background: rgb(0 156 255 / 40%);;
  z-index: 99999;
  border: 1px solid #edb021;
}

.ngdialog-games-page .game-buttons-popup .overlay .tbl {
  display: table;
  width: 100%;
  height: 100%;
}

.ngdialog-games-page .game-buttons-popup .overlay .center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  width: auto;
  height: auto;
}

.ngdialog-games-page .game-buttons-popup .overlay button {
  width: 80px;
  height: 80px;
  background-color: transparent;
  border: none;
  color: #fff;
  position: relative;
  font-size: 15px;
  text-align: center;
  outline: none;
}

.ngdialog-games-page .game-buttons-popup .overlay button img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  animation: play_anim 2s linear infinite;
}

.ngdialog-games-page .game-buttons-popup .overlay .title {
  width: 130px;
  height: 35px;
  margin: 20px auto 0;
  display: table;
  line-height: 35px;
  padding: 0;
  border: 1px solid #3598fe;
  background: #3598fe;
  color: #ffffff;
  border-radius: 10px;
}

.ngdialog-games-page .game-buttons-popup .overlay .title:hover,
.ngdialog-games-page .game-buttons-popup .overlay .title:active,
.ngdialog-games-page .game-buttons-popup .overlay .title:focus{
  border: 1px solid #edb021;
  background: #11030d;
  color: #ffffff;
}
.ngdialog-games-page .game-buttons-popup .overlay .title:hover p{
  color: #ffffff;
}

.ngdialog-games-page .game-buttons-popup .overlay .title p {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  font-size: 14px;
  white-space: nowrap;
}

/*@keyframes play_anim {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}*/

/*load slot*/
.slots-games-container{
  background-color: #f7f7f7;
  transition: 0.5s;
  position: relative;
  display: none;
  width: 1032px;
  margin: 0;
  animation: cc_anim 1s ease 1;
  border-radius: 10px;
}

.slots-games-container .header{
  width: 100%;
  height: 78px;
  float: left;
  display: table;
  background: #000000 no-repeat;
  background-size: cover !important;
}
.slots-games-container .header .slot-header {
  position: relative;
  display: inline-block;
  float: left;
  margin-left: 10px;
}
.slots-games-container .header p {
  color: #fff;
  font-size: 18px;
  display: inline-block;
  text-align: left;
  vertical-align: middle;
  font-family: NotoSansKr-Regular;
  font-weight: 700;
  margin: 0;
  padding: 10px;
}
.slots-games-container .header img{
  position: relative;
  display: inline-block;
  padding: 10px;
}

.slots-games-container .header button {
  width: 40px;
  height: 40px;
  border: none;
  background: url("/common/images/slots/sg_close.png") center center no-repeat transparent;
  float: right;
  margin-top: 18px;
  margin-right: 21px;
  background-size: 100% 100%;
  position: relative;
  z-index: 2;
  transition: 0.5s;
}

.slots-games-container .header button:hover,
.slots-games-container .header button:focus{
  background-image: url("/common/images/slots/sg_close_on.png");
  outline: none;
  border: none;
}

.slots-page .sub-slot-button{
  width: 100%;
  height: 47px;
  background-color: #1e2333;
  float: left;
  position: relative;
  line-height: 45px;
  text-align: left;
  font-size: 16px;
}

.slots-page .sub-slot-button .list-inline{
  margin-left: 0;
}

.slots-page .sub-slot-button .list-inline>li{
  font-size: 13px;
  padding: 0 10px 0 20px;
  transition: 0.5s;
  cursor: pointer;
  color: #ffffff;
}

.slots-page .sub-slot-button .list-inline>li img.checkActive{
  opacity: 0;
}

.slots-page .sub-slot-button .list-inline>li.active,
.slots-page .sub-slot-button .list-inline>li:hover{
  color: #edb021;
  text-shadow: none;
}

.slots-page .sub-slot-button .list-inline>li.active img.checkActive{
  opacity: 1;
}

.btn.btn-sm.play{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  width: 100px;
  height: 35px;
  border: 1px solid #edb021;
  background: #edb021;
  color: #ffffff;
  font-size: 14px;
  font-family: NotoSansKr-Regular;
  transition: 0.5s;
  border-radius: 0;
}

/*view slots*/
.slots-games-container .slots-button{
  background: #040a1c;
}
.slot-wrapper{
  padding: 0 16px 16px 23px;
  height: 673px;
  width: 100%;
  /* margin-top: 16px; */
  overflow-x: hidden;
  background-color: #040a1c;
}
.wrapper__content{
  margin: 0 auto;
}
.slots .sub-slot-button{
  border-bottom: 1px solid #e2e2e2;
  background-color: #ffffff;
}

.slots .sub-slot-button li{
  text-transform: uppercase;
  color: #666666;
  line-height: 40px;
  text-align: center;
  padding: 1px 18px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
}

.slots .sub-slot-button li.active span,
.slots .sub-slot-button li:hover span{
  border-bottom: 2px solid #a50000;
  padding-bottom: 9px;
  color: #a50000;
}

.slots .bbin-page{margin-bottom: 10px; cursor: pointer;}

.slots .video-container{
  position: relative;
}
.slots .video-frame{
  position: absolute;
  width: 100%;
  top:0
}
.slots .video-panel{
  position: absolute;
  width: 100%;
  margin: 56px 0 0 10px;
}

.slots .video-panel.video-panel-1005{
  margin: 56px 0 0 275px;
}

.slots .place-holder-layout-title{
  width: 100%;
  height: 28px;
  background: #d5d5d5;
  position: absolute;
  bottom: 0;
}

/*SLOT GAMES*/
.slot-box{
  float: left;
  margin: 0 10px 10px 0;
  position: relative;
  font-size: 13px;
  overflow: hidden;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: -0.4px;
  width: 147px;
  height:179px;
  background: #f2f2f2;
  border: solid thin #000000;
  transition: 0.5s;
}


.slot-box--hover {
  background-color: rgba(0, 0, 0, 0.8);
  height: 100%;
  opacity: 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 9;
}

.slot-box:hover .slot-box--hover {
  cursor: pointer;
  opacity: 10;
  transition: opacity 0.2s ease-in-out;
}


.slot-box__item{
  /*height: 145px;*/
  width: 160px;
}

.slot-box.slot-box-1052,
.slot-box.slot-box-1102 {
  height: 249px;
}

.slot-content-1102 .slot-box--hover .btn ,
.slot-content-1052 .slot-box--hover .btn {
  margin-top: 35%;
}

.slot-box__name{
  background-color: rgba(0, 0, 0, 0.8);
  bottom: 0;
  color: #ffffff;
  margin: 0;
  overflow: hidden;
  padding: 5px;
  position: absolute;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/*SLOT GAMES*/


.slot-box__item.slot-1080{
  /*height: 155px;*/
}


.slot-box__item.slot-1015{
  height: 142px;
}

.slot-box:nth-of-type(7n+7) {
  margin-right: 0;
}

.slots .main-container.clearfix{
  border: 2px solid #e2e2e2;
  margin-top: 7px;
}

.slots .page-banner>img{
  height: 150px;
}

.slots-page .slot-box:hover .slot-box__item {
  transform: scale(1.4);
  transform-origin: 50% 50%;
  transition: .3s ease-in-out;
  -webkit-transition: .3s ease-in-out;
  z-index: 2;
  position: relative;
}

.ngdialog-games-page .game-buttons-popup:hover .game-buttons-name,
.slots-page .slot-box:hover p{
  color: #edb021;
  background: #11030d;
}

.slots-page .slot-box--hover p{
  margin-top: 50%;
  color: #ffffff;
  white-space: nowrap;
}

/*
 *  STYLE 4
 */

.scrollbar{
  overflow-y: scroll;
}

.ngdialog-games-page .game-buttons-popup.live:hover::after,
.ngdialog-games-page .game-buttons-popup.slot:hover::after,
.ngdialog-games-page .game-buttons-popup.sports:hover::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  transition: 0.5s;
}



#slots-con::-webkit-scrollbar-track
{
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,1);
  background-color: #000000;
}

#slots-con::-webkit-scrollbar
{
  width: 14px;
  background-color: #260525;
}

#slots-con::-webkit-scrollbar-thumb
{
  background-color: #951792;
  border: 2px solid #951792;
}

.loadingGifSlot{
  position: absolute;
  bottom: 50px;
}
.header.slot-1053{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1053.jpg") right no-repeat;
}
.header.slot-1065{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1065.jpg") right no-repeat;
}
.header.slot-1061{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1061.jpg") right no-repeat;
}
.header.slot-1112{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1112.jpg") right no-repeat;
}
.header.slot-1012{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1012.jpg") right no-repeat;
}
.header.slot-1027{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1027.jpg") right no-repeat;
}
.header.slot-1034{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1034.jpg") right no-repeat;
}
.header.slot-1047{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1047.jpg") right no-repeat;
}
.header.slot-1052{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1052.jpg") right no-repeat;
}
.header.slot-1066{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1066.jpg") right no-repeat;
}
.header.slot-1083{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1083.jpg") right no-repeat;
}
.header.slot-1089{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1089.jpg") right no-repeat;
}
.header.slot-1071{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1071.jpg") right no-repeat;
}
.header.slot-1080{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1080.jpg") right no-repeat;
}
.header.slot-1062{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1062.jpg") right no-repeat;
}
.header.slot-1084{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1084.jpg") right no-repeat;
}
.header.slot-1079{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1079.jpg") right no-repeat;
}
.header.slot-1099{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1099.jpg") right no-repeat;
}
.header.slot-1085{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1085.jpg") right no-repeat;
}
.header.slot-1082{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1082.jpg") right no-repeat;
}
.header.slot-1008{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1008.jpg") right no-repeat;
}
.header.slot-1098{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1098.jpg") right no-repeat;
}
.header.slot-1100{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1100.jpg") right no-repeat;
}
.header.slot-1102{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1102.jpg") right no-repeat;
}
.header.slot-1010{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1010.jpg") right no-repeat;
}

.header.slot-1011{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1011.jpg") right no-repeat;
}

.header.slot-1103{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1103.jpg") right no-repeat;
}
.header.slot-1104{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1104.jpg") right no-repeat;
}
.header.slot-1115{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1115.jpg") right no-repeat;
}
.header.slot-1123{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1123.jpg") right no-repeat;
}
.header.slot-1156{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1156.jpg") right no-repeat;
}
.header.slot-1124{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1124.jpg") right no-repeat;
}
.header.slot-1107{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1107.jpg") right no-repeat;
}
.header.slot-1111{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1111.jpg") right no-repeat;
}
.header.slot-1105{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1105.jpg") right no-repeat;
}
.header.slot-1184{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1184.jpg") right no-repeat;
}
.header.slot-1131{
  background: url("/common/images/game-buttons/slot-popup/header/slot-header-1131.jpg") right no-repeat;
}
.slot-open .fa-times-circle-o{
  font-size: 40px!important;
  color: #999999!important;
}
.slot-open .fa-times-circle-o{
  position: absolute;
  transform: translateY(-50%);
  top:50%;
  right: 0;
}
.slot-open .fa-times-circle-o:hover,
.slot-open .fa-times-circle-o:focus,
.slot-open .fa-times-circle-o:active{
  color: #ffffff!important;
}

.slot-box--hover .btn.btn-sm.play:hover{
  color: #fff;
  background: #11030d;
  border: 1px solid #edb021;
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ngdialog-games-page nav .list-inline>li {
    width: calc(97% / 5);
  }
}
@supports (-ms-ime-align: auto){
  .ngdialog-games-page nav .list-inline>li {
    width: calc(97% / 5);
  }
}
