.mask {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all .1s linear
}

.mask>div {
    position: relative;
    color: #eee;
    padding: 5px 20px;
    width: 70%
}

.mask a {
    color: #eee;
    display: block;
    font-size: 15px;
    padding: 5px 10px;
    border: 1px solid #fff;
    background: #121212
}

.game-modal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,.75);
    overflow: hidden;
    z-index: 101;
}
.casinomodalwrap::-webkit-scrollbar,
.slotmodalwrap::-webkit-scrollbar {
    width: 7px;
}
.casinomodalwrap::-webkit-scrollbar-thumb,
.slotmodalwrap::-webkit-scrollbar-thumb {
    background-color: #404040;
}
.casinomodalwrap::-webkit-scrollbar-thumb:hover
.slotmodalwrap::-webkit-scrollbar-thumb:hover{
    background-color: #202020;
}
.casinomodalwrap::-webkit-scrollbar-track
.slotmodalwrap::-webkit-scrollbar-track {
    background-color: #cccccc;
}

.casinomodal,
.slotmodal {
    background: #141414;
    border: 3px solid #69cdf4;
    border-radius: 30px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 110;
    width: 1314px;
    padding-bottom: 30px;
}
.casinomodal>h3,
.slotmodal>h3 {
    width: 100%;
    position: relative;
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    padding: 15px 0;
    background: #333;
    border-radius: 30px 30px 0 0
}

.casinomodal>h3 .close,
.slotmodal>h3 .close {
    position: absolute;
    right: 15px;
    top: 9px;
    height: 40px;
    cursor: pointer;
}

.casinomodalwrap,
.slotmodalwrap {
    /*max-height: 680px;*/
    overflow-y: auto;
    padding-top: 30px;
    min-width: 320px;
}

.casinomodalwrap ul  {
    padding: 0 25px 25px;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}
.slotmodalwrap ul {
    padding: 0 25px 25px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
}

.slotmodalwrap div {
    padding: 0 25px 0 25px;
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
	background: #262626;
    margin-bottom: 15px;
}

.casinomodalwrap ul.casino-games li {
    width: 25%;
    max-width: 229px;
    height: 260px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    margin-bottom: 15px;
}
.casinomodalwrap ul.casino-games li:before {
    content: "";
    width: 206px;
    height: 206px;
    transition: all .8s linear 0s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: url(/images/game/banner/casino_banner_bg.webp) 50% no-repeat;
    background-size: contain;
}
.casinomodalwrap ul.casino-games > li:hover:before {
    content: "";
    background: url(/images/game/banner/casino_banner_bg_on.webp) 50% no-repeat;
    background-size: contain
}
.casinomodalwrap ul.casino-games > li:not(.maintenance):hover .mask {
    transform: scale(1);
    opacity: 1;
}
.casinomodalwrap ul.casino-games li .gameImg {
    width: 100%;
    height: 260px;
    background-repeat: no-repeat;
    background-position: 50%;
    position: absolute;
    bottom: 15px;
}
.casinomodalwrap ul.casino-games li.maintenance:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    z-index: 5;
    background: url(/img/game_maintenance.webp) 50% no-repeat;
    background-size: contain;
}
.casinomodalwrap ul.casino-games .name {
    font-size: 14px;
    width: 100%;
    height: 40px;
    /* text-shadow: 0 2px 6px rgba(0,0,0,.77); */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    /*background-image: linear-gradient(180deg, rgba(249,246,244,1) 0%, rgba(185,184,182,1) 50%, rgba(147,145,144,1) 100%);*/
    background-color: #333333;
    border: 1px solid #69cdf4;
    position: absolute;
    z-index: 3;
    bottom: -11px;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}
.casinomodalwrap ul.casino-games .name em {
    display: none;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 400;
    background: none;
}
.slotmodalwrap ul.slot-games li {
    transition: all 1s ease;
    cursor: pointer;
    flex: auto;
    max-width: 190px;
    width: 190px;
}

.slotmodal ul.slot-games li:active,.slotmodal ul.slot-games li:focus,.slotmodalwrap ul.slot-games li:hover {
    transform: scale(1.1)
}
.slotmodalwrap ul.slot-games li img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #555;
    height: 160px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center
}

.sname {
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slotmodalwrap ul.slot-providers li a {
    color: #ffffff;
    padding-bottom: 5px;
}
.slotmodalwrap ul.slot-providers li.active a {
    color: #0066cd;
    border-bottom: 3px solid #0066cd;
}

.slotmodalwrap ul.slot-providers li a:hover {
    color: #0066cd;
}


.scrNavi {
    width: 100%;
    /*margin-bottom: 20px;*/
	padding-bottom: 20px;
	background: #000000;
}

.scrNavi ul {
    white-space: nowrap;
    overflow-x: auto;
    text-align: center;
    margin: 0px 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    position: inherit;
    z-index: 4;
    padding: 40px 0px 0px;
}

.scrNavi li {
    box-sizing: border-box;
    width: calc(50% - 4px);
    font-size: 15px;
    color: rgb(255, 255, 255);
    line-height: 50px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /*border: 1px solid #ae5319;*/
	border: 1px solid #175f7b;
    position: relative;
    border-radius: 5px;
    background: url(/images/game/banner/tab-bg.webp) 0% 0% / cover no-repeat;
}

.scrNavi li img {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
}

.slotmodalwrap ul li img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #555;
    height: 160px;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}

.sname {
    font-size: 20px;
    color: #fff;
    margin-top: 5px;
    line-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.12em;
}

.scrNavi a {
	/*
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.navi li span {
    color: rgb(255, 255, 255);
    font-size: 2rem;
    height: 25px;
}

.navi li span.nameS {
    font-size: 1.5rem;
    color: rgb(255, 255, 255);
	margin-left: 10px;
}

.navi .on {
    /*background: url(/images/game/banner/tab-bg_on.jpg) 100% / cover no-repeat;*/
	/*background-image: linear-gradient(#e39665, #c14831);*/
	background-image: linear-gradient(#9adbff, #207fa4);
    box-sizing: border-box;
}

.tab-content {
    display: none;
}

.tab-content.on {
    display: inherit;
}

.casinomodalwrap, .slotmodalwrap {
    max-height: 680px;
    overflow-y: auto;
    padding-top: 30px;
    min-width: 320px;
}

.game-list-modal
{
	display: none;
}

.slot-providers li
{
	margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: Spoqa Han Sans, Spoqa Han Sans JP, "Sans-serif";
    font-family: SUIT;
	font-size: 1.2rem;
	cursor:pointer;
}