/* Responsive  Styles */

.mobile {
    display: none !important;
}

.mobile-menu {
    width: calc(100% - 60px);
    height: 60px;
    display: none;
    left: 0;
    bottom: 0;
    position: fixed;
    z-index: 10;
    background-color: #040201;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-top: solid 1px #333;
}

.mobile-menu button {
    width: calc(50% - 8px);
    height: 35px;
    border-radius: 18px;
    border: none;
    background-color: #1c1a1b;
    color: #ffffff;
    margin: 0 4px;
}

.mobile-menu button i {
    color: var(--yellow);
    margin-right: 5px;
}

.mob-menu-btn {
    width: 38px;
    height: 40px;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0 0 2px 5px;
    position: relative;
    z-index: 9;
}

.mob-menu-btn span {
    width: 80%;
    display: block;
    height: 3px;
    background-color: #fff;
    margin: 0 0 8px;
    border-radius: 5px;
}

.mob-menu-btn span:first-child {
    position: relative;
    margin-top: 0;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.mob-menu-btn span:nth-child(2) {
    width: 100%;
    opacity: 1;
    transition: opacity .3s;
}

.mob-menu-btn span:last-child {
    margin-bottom: 0;
    position: relative;
    top: 0;
    transition: top .3s .3s, transform .3s 0s;
}

.mob-menu-btn.opened span:first-child {
    top: 11px;
    transform: rotate(-45deg);
    transition: top .3s 0s, transform .3s .3s, color .3s .3s;
}

.mob-menu-btn.opened span:nth-child(2) {
    opacity: 0;
}

.mob-menu-btn.opened span:last-child {
    top: -11px;
    transform: rotate(45deg);
    transition: top .3s 0s, transform .3s .3s;
}

.right-menu-btn .normal-icon {
    transition: 0.3s;
    opacity: 1;
    transform: rotate(0deg);
}

.right-menu-btn.opened .normal-icon {
    opacity: 0;
    transform: rotate(45deg);
}

.right-menu-btn .open-icon {
    transition: 0.3s;
    opacity: 0;
    transform: rotate(-45deg);
    position: absolute;
}

.right-menu-btn.opened .open-icon {
    opacity: 1;
    transform: rotate(0deg);
    font-size: 12px;
    position: absolute;
}

.sn-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 98;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: 0.3s;
}

.sn-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* - - - - - - - - - - Banner Queries - - - - - - - - - - */

@media(max-width:1200px){

    .banner-carousel {
        width: 70%;
    }

    .jackpot-board {
        width: calc(100% - 616px);
    }

    .bs-board {
        width: 298px;
    }

    .bs-board table tr td a {
        max-width: 180px;
    }

    .bs-board table tr .date-td {
        width: auto;
    }

    .search-section .title-panel:after {
        width: 50%;
        right: -57%;
    }

    .slot-btn {
        width: calc(20% - 22px);
    }

    .casino-btn {
        width: calc(20% - 22px);
    }
}

@media(max-width:1060px){

    .mobile {
        display: block !important;
    }

    .desktop {
        display: none !important;
    }

    .wrapper {
        padding-top: 70px;
    }

    .header-section {
        background-color: rgba(0, 0, 0, 0.75);
        border-bottom: solid 1px rgba(255, 255, 255, 0.1);
        position: fixed;
        top: 0;
        left: 0;
    }

    .header-top {
        height: 70px;
    }

    .header-section .logo {
        width: 80px;
        top: 0px;
    }

    .before-login button {
        width: 50px;
        height: 35px;
        font-size: 12px;
		border-radius:3px;
    }

    .before-login .login-link {
        font-size: 12px;
    }

    .sidebar-left{
        width:100%;
        height:100%;
        top:70px;
        left:-100%;
        background-color: #222222;
        border-right: solid 1px rgba(255, 255, 255, 0.05);
        margin:0 !important;
        padding:10px 10px 100px;
        display:block;
        overflow-y:auto;
        position:fixed;
        transition:0.5s;
        z-index:98;
    }

    .sidebar-left.active{
        left:0;
    }

    .sidebar-left::-webkit-scrollbar {
        width:0px;
        background:transparent;
    }

    .sidebar-left::-webkit-scrollbar-thumb {
        background:transparent;
    }

    .main-menu {
        align-content: flex-start;
    }

    .main-menu .bs-ul {
        width: 100%;
        display: block;
    }

    .main-menu .bs-ul li {
        padding-right: 0;
        display: block;
    }

    .main-menu .bs-ul:last-child li {
        padding-left: 0;
    }

    .main-menu .bs-ul li a {
        height: 50px;
        justify-content: flex-start;
        padding: 0 20px;
        margin: 0 0 4px;
    }

    .main-menu .bs-ul li a:before,
    .main-menu .bs-ul li a:after {
        transform: skew(0deg);
    }

    .main-menu .bs-ul:last-child li a:before,
    .main-menu .bs-ul:last-child li a:after {
        transform: skew(0deg);
    }

    .main-menu .bs-ul li a:after {
        display: none;
    }

    .main-menu .bs-ul li a .icon-panel {
        width: 30px;
        margin-right: 10px;
    }

    .main-menu .bs-ul li a .icon {
        max-width: 26px;
        max-height: 26px;
        margin-right: 0;
    }

    .main-menu .bs-ul li a span {
        min-width: 100px;
        text-align: left;
    }

    .sidebar-right{
        width:280px;
        height:100%;
        top:70px;
        right:-100%;
        background-color: #222222;
        border: none;
        border-left: solid 1px rgba(255, 255, 255, 0.05);
        margin:0 !important;
        padding:10px 10px 100px;
        display:block;
        overflow-y:auto;
        position:fixed;
        transition:0.5s;
        z-index:98;
        align-content: flex-start;
        transform: translateX(0);
        left: auto;
        opacity: 1;
        border-radius: 0;
        pointer-events: auto;
    }

    .sidebar-right.active{
        right:0;
    }

    .sidebar-right::-webkit-scrollbar {
        width:0px;
        background:transparent;
    }

    .sidebar-right::-webkit-scrollbar-thumb {
        background:transparent;
    }

    .after-login .account-info .labels {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .after-login .drop-down .mypage-link{
        height: 40px;
    }

    .banner-section {
        margin-top: 10px;
    }

    .jackpot-board {
        width: 100%;
    }

    .search-section .title-panel .icon {
        width: 26px;
        top: 0;
    }

    .search-section .title-panel .title {
        font-size: 24px;
    }

    .footer-section {
        margin: 0;
    }

    .bs-board {
        width: calc(50% - 5px);
        margin-top: 10px;
    }

    .withdrawal-board {
        margin-left: 0;
    }

    .logo .rising {
        width: 140px;
        top: 10px;
        left: -40px;
        animation: lgRisingAnim 10s ease infinite;
    }

}

@media(max-width:1024px){

    .banner-section .banner-panel {
        height: 250px;
    }

    .banner-carousel .text-panel h1 {
        font-size: 40px;
    }

    .banner-carousel .text-panel h2 {
        font-size: 24px;
    }

    .banner-carousel .more-btn {
        width: 160px;
        height: 40px;
        font-size: 16px;
        margin-top: 20px;
	line-height:30px;
    }

    .slot-btn {
        width: calc(25% - 22px);
    }

    .casino-btn {
        width: calc(25% - 22px);
    }
}

@media(max-width:860px){ 

    .search-section .title-panel:after {
        display: none;
    }

}

@media(max-width:767px){

    .banner-section .banner-panel {
        height: 190px;
    }

    .banner-carousel .text-panel h1 {
        font-size: 30px;
    }

    .banner-carousel .text-panel h2 {
        font-size: 18px;
    }

    .banner-carousel .more-btn {
        width: 110px;
        height: 30px;
        font-size: 14px;
        margin-top: 15px;
    }

    .search-section {
        margin-top: 10px;
    }

    .search-section .title-panel {
        /*display: none !important;*/
    }

    .search-panel {
        max-width: 560px;
        margin: 15px auto 0;
        display: none !important;
    }

    .slot-section {
        margin-top: 60px;
    }

    .slot-btn {
        width: calc(33.33% - 22px);
    }

    .casino-btn {
        width: calc(33.33% - 22px);
    }

    .notice-board {
        height: 35px;
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .notice-board .notice-link {
        width: 80px;
        height: 30px;
        left: 2px;
    }

    .board-section {
        margin-top: 0;
    }

    .jackpot-board {
        order: 2;
    }

    .bs-board {
        width: 100%;
        margin-top: 0;
    }

    .withdrawal-board {
        height: 150px;
        margin-left: 0;
        order: 3;
        margin-top: 5px;
    }

    .event-board.desktop-sm {
        display: none;
    }

    .event-board.mobile-sm {
        display: block;
    }

    .event-board {
        height: 38px;
        margin-left: 0;
        padding: 0 10px;
        margin-top: 5px;
    }

    .rolling-event {
        width: calc(100% - 60px);
        margin-left: auto;
    }

    .event-board ul li div:first-child {
        border-radius: 5px;
    }

    .event-board .header {
        height: 100%;
        font-size: 14px;
        position: absolute;
        left: 10px;
        top: 0;
    }

}

@media(max-width:760px){
    .logo .rising {
        width: 140px;
        top: 10px;
        left: -40px;
        animation: lgRisingAnim 10s ease infinite;
    }

@media(max-width:600px){
    .logo .rising {
        width: 140px;
        top: 10px;
        left: -40px;
        animation: lgRisingAnim 10s ease infinite;
    }
    .logo .h1_txt {
        font-size: 14px;
        line-height: 70px;
    }
    .tab .p_tab {
        width: 100%;
        float: left;
        list-style: none;
        padding: 10px 0px;
        background: url(../img/bg/jacpot_btn.png);
        font-weight: bold;
        font-family: 'SBAggroB';
        height: 150px;
        line-height: 140px;
        border-radius: 0px 10px 10px 0px;
        text-shadow: 1px 1px 3px #000;
        font-size: 14pt;
        filter: grayscale(100%);
        transition: 0.3s;
    }

    .banner-background .palace {
        left: -4.5%;
    }

    .banner-background .seven {
        left: 13.5%;
    }

    .banner-background .fireworks {
        top: 6%;
        left: 22%;
    }

    .banner-background .loy-kratong {
        left: 2.75%;
    }

    .banner-background .piggy {
        left: auto;
        right: 0;
        z-index: 1;
    }

    .banner-background .coins {
        left: auto;
        right: 5%;
    }

    .banner-background .pig-glow {
        left: auto;
        right: 6.75%;
    }

    .banner-carousel {
        width: 100%;
    }

    /* Carousel Nav */

    .carousel-nav {
        width: 14px;
    }

    .carousel-indicators li {
        width: 12px;
        height: 12px;
        margin: 2px 0;
    }

    .carousel-nav .carousel-pn {
        width: 14px;
        height: 20px;
        color: rgba(255, 255, 255, 0.5);
        font-size: 8px;
        margin: 5px 0;
    }

    .carousel-nav .carousel-pn:hover {
        color: var(--yellow);
        border-color: rgba(255, 255, 255, 0.5);
    }

    .carousel-nav .carousel-pn:first-child {
        border-radius: 9px 9px 0 0;
    }

    .carousel-nav .carousel-pn:last-child {
        border-radius: 0 0 9px 9px;
    }

    .footer-section .company-logo img {
        max-width: 76px;
        margin: 7px 10px;
    }

}

@media(max-width:500px){
    .logo .rising {
        width: 140px;
        top: 10px;
        left: -50px;
        animation: lgRisingAnim 10s ease infinite;
    }

    .container {
        padding: 0 10px;
    }

    .banner-section .banner-panel {
        height: 36vw;
    }

    .banner-carousel {
        width: 100%;
    }

    .banner-carousel .text-panel h1 {
        font-size: 6vw;
    }

    .banner-carousel .text-panel h2 {
        font-size: 4vw;
    }

    .banner-carousel .text-panel h2 img {
        max-width: 60%;
        height: auto;
    }
        
    .banner-carousel .more-btn {
        margin-top: 3%;
    }

    /* Jackpot Section */

    .jackpot-board {
        height: auto;
        border-width: 1px;
        padding: 5px 0;
    }

    .jackpot-board:before {
        background-size: 10px;
    }

    .jackpot-board .header .title {
        font-size: 18px;
    }

    .jackpot-board .header .deco {
        width: 104px;
        height: 12px;
    }

    .jackpot-board .header .deco:first-child {
        left: -114px;
    }

    .jackpot-board .header .deco:last-child {
        right: -114px;
    }

    .jackpot-board .header .deco:before {
        width: 12px;
        height: 12px;
    }

    .jackpot-board .jackpot-amount .amount {
        font-size: 9.6vw;
    }

    .jackpot-board .jackpot-amount .symbol {
        font-size: 8vw;
        margin-left: 2%;
    }

    .slot-btn {
        width: calc(50% - 22px);
    }

    .casino-btn {
        width: calc(50% - 22px);
    }

    .bs-board table tr td a {
        max-width: 200px;
    }

    .customerModal .form-container .form-group input {
        height: 50px;
        font-size: 16px;
    }

    .event-banner .view-btn {
        width: 70px;
        height: 26px;
        font-size: 12px;
    }

    .event-banner .a-footer .title {
        font-size: 10px;
        max-width: calc(100% - 80px);
    }

    .mobile .customer-panel {
        padding: 5px 20px;
    }

    .mobile .customer-panel .bs-ul li {
        width: 100%;
        padding: 10px 0;
        border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    }

    .mobile .customer-panel .bs-ul li:last-child {
        border-bottom: none;
    }

    .mobile .customer-panel .bs-ul li .info {
        display: inline-block;
        min-width: 120px;
        text-align: left;
    }

    .mobile .customer-panel .bs-ul li .icon-panel {
        margin-right: 10px;
    }
}

@media(max-width:440px){

    .popular-section .header .title-panel {
        font-size: 16px;
    }

}

@media(max-width:414px){

    .banner-carousel .more-btn {
        width: 90px;
        height: 26px;
        font-size: 12px;
    }

    .slot-section {
        margin-top: 45px;
    }

    .slot-btn {
        margin-bottom: 45px;
    }

    .casino-btn {
        margin-bottom: 45px;
    }

    .rolling-realtime ul li a {
        max-width:190px;
        white-space:nowrap;
        text-overflow:ellipsis;
        text-decoration:none;
        overflow: hidden;
        margin-right: 0;
    }

}

@media(max-width:375px){

    .slot-section {
        margin-top: 45px;
    }

    .mobile .customer-panel {
        padding: 5px 20px;
    }

    .mobile .customer-panel .bs-ul li {
        width: 100%;
        padding: 10px 0;
        border-bottom: solid 1px rgba(255, 255, 255, 0.1);
    }

    .mobile .customer-panel .bs-ul li:last-child {
        border-bottom: none;
    }

}

@media(max-width:360px){

    .slot-btn {
        margin-bottom: 40px;
    }

    .casino-btn {
        margin-bottom: 40px;
    }    
}


/*=========================================================== M O D A L ===============================================================*/

@media(max-width:1200px){

    .game-btn {
        width: calc(20% - 14px);
    }

}

@media(max-width:1100px){

    .game-btn {
        width: calc(25% - 14px);
    }

}

@media(max-width:1024px){

    .modal .mob-menu-btn {
        display: block;
    }

    .modal-content {
        flex-wrap: wrap;
        flex-direction: column;
        min-height: auto;
        -webkit-backdrop-filter: blur(0);
        backdrop-filter: blur(0);
        background-color: #222222;
    }

    .modal-close-btn {
        top: 0;
    }

    .modal-sidebar {
        display: none;
        width: 100%;
    }

    .modal .logo {
        margin: 30px 0 20px;
    }

    .modal-panel {
        width: 100%;
    }

    .gameListModal .modal-panel {
        width: 100%;
    }

    .gameListModal .modal-list {
        display: flex !important;
    }

    .game-list-container .scroll-panel {
        width: 100%;
        min-height: initial;
        max-height: initial;
        margin: 0;
        overflow-y: auto;
        padding: 0;
    }

    .game-btn {
        width: calc(20% - 14px);
    }

}

@media(max-width:860px){

    .game-btn {
        width: calc(25% - 14px);
    }

}

@media(max-width:767px){

    .modal-list .bs-ul {
        flex-wrap: wrap !important;
        justify-content: flex-start;
    }

    .modal-list .bs-ul li {
        width: 33.33%;
    }

    .level-information {
        height:auto;
        padding: 5px 10px;
    }

    .level-information .bs-ul {
        width: 100%;
    }

    .level-information .bs-ul li {
        width:calc(50% - 3px);
        height: 40px;
        margin-right: 6px;
    }

    .level-information .bs-ul li:last-child {
        margin-right: 0;
    }

    .level-information .bs-ul li .labels {
        margin-right: 10px;
    }

    .level-information .point-form{
        width:100%;
        margin: 5px 0 0;
    }

}

@media(max-width:600px){

    .customerModal .modal-banner:before,
    .customerModal .modal-banner:after {
        display: none;
    }

    .game-btn {
        width: calc(33.33% - 10px);
        margin: 5px 5px;
    }

}

@media(max-width:500px){
    .modal-list a {
        font-size: 12px;
    }

    .bs-table tr td a {
        max-width: 180px;
    }

    .bs-table tr .title-td {
        max-width: 180px;
        padding: 0 0 0 5px;
    }

    .bs-table tr .count-td {
        width: auto;
    }

    .bs-table tr .date-td {
        width: auto;
        font-size: 12px;
    }

    .bs-table tr .nav-td {
        width: auto;
        padding: 0 4px;
    }

    .bs-table tr .count-tag {
        width: 20px;
        height: 20px;
        margin: 0 0 0 5px;
    }

    .level-icon {
        width: 24px;
    }

    .bs-table td .level-icon {
        margin-right: 0;
    }

    .bs-table td .level-txt {
        width: 100%;
        text-align: center;
    }

    .modal-body {
        padding: 30px 10px 40px;
		max-width:1200px;
    }

    .modal-title .title {
        font-size: 18px;
    }

    .form-footer button {
        margin: 0 3px;
    }

    .modal-banner .mb-text {
        font-size: 14px;
    }

    .modal .logo {
        width: 140px;
    }

    .game-btn {
        width: calc(33.33% - 8px);
        margin: 5px 4px;
        padding: 1px;
    }

    .game-btn .g-panel .g-footer .name-text {
        font-size: 10px;
    }

}

@media(max-width:414px){

    .customerModal .customer-panel .bs-ul li {
        width: 100%;
        padding: 0;
        display: block;
        margin: 5px 0;
    }

}

@media(max-width: 1700px){
    .wrapper {
        padding-right: 130px;
    }

    .wrapper.affix {
        padding-right: 130px;
    }

    .container {
        max-width: 100%;
    }
}

@media(max-width: 1060px){
    .wrapper {
        padding-right: 0;
    }

    .ads-banner {
        display: none;
    }
}